I've googled it. I've checked out adobe.com for help. I even checked the anipedia. I can't figure out how to get my video to loop. I get error # 1087. it says I have extra characters at the end of the program. this is the code I've got.
on(release){
gotoAndPlay("frame");
}
so... WTF?! I JUST WANT A SIMPLE REPLAY BUTTON!!!!
Edit: O wait, I see what's wrong. You're not adressing the main timeline from the button.
TRY THIS CODE INSTEAD
on(release){
_root.gotoAndStop(5);
}
5 being the frame you want of course.
Dammit! I got the same error! It won't let me put code on the button itself... could that be the problem?
Quote from: FuzzDammit! I got the same error! It won't let me put code on the button itself... could that be the problem?
wait so you select the button before you bring up the actionscript panel, right?
lmfao, put your AS to AS2, not 3 in the publish settings. I am pretty sure that's the problem.
I love you Nicole! <3 your such a badass. Thanks everyone else for trying. What's the deal with AS3?
AS3 can only be used on the main stage and it's different from AS2 by far. It's more similar to other coding languages.
in other words, AS3 was adobe's way of fucking over something that worked and making it so complicated that it doesnt work anymore. you have to completely fuckin relearn the scripting language
i hope they make some sort of combination of AS2 and 3 in flash 10 cuz honestly i havent seen one positive outcome from AS3. maybe thats cuz im not a coder but AS3 is like a slap in the face to animators
Quote from: f0din other words, AS3 was adobe's way of fucking over something that worked and making it so complicated that it doesnt work anymore. you have to completely fuckin relearn the scripting language
i hope they make some sort of combination of AS2 and 3 in flash 10 cuz honestly i havent seen one positive outcome from AS3. maybe thats cuz im not a coder but AS3 is like a slap in the face to animators
That's why you're still allowed to use AS2. AS3 is for games only, they lag by far less and everything works faster. It's easier to code loops and shit as far as I heard. You might need to learn a new coding language but it's worth it.
I have only heard positive about it actually.
like i said AS3 is for coders not animators. they need to integrate it with AS2 somehow in flash 10