-
Controlling timeline and movie clips with AS3
After 4 years pause I'm back in graphic design, and where I live, we get to do everything. I used to be quite good at Flash (web banners mostly), but now there is ActionScript3, i totally hate.
From my standpoint it's incredibly frustrating. If something is wrong in the AS3 code, the whole playback gets fckd up, stop(); does not work, and it just keeps playing in loop (wdf?).
it seems incredibly hard to find any information, there used to be a lot of tutorials for AS2, but as Flash is doomed anyway, it seems as nobody invests time in Flash any more.
What i want is give my clickTAG btn a ROLL_OVER function, to have a ROLL_OVER state for my web banner
in AS2 it looks and works like this:
Code:
on (rollOver) {
movieClipBOX.gotoAndPlay('bannerStage2AnimIN');
}
on (rollOut) {
movieClipBOX.gotoAndPlay('bannerStage2AnimOUT);
}
Can someone translate this to AS3?
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|