Need Help with Flash CS4

Recommended Videos

jasoncyrus

New member
Sep 11, 2008
1,564
0
0
Hey guys, I havnt used flash much since CS2, busy with regular non flash work.

So I've got CS4 now and Laugh at me all you want but I cant remember how to make a button that will go from frame 205 to frame 206.

At this point I am on the verge of enraging and smashing my desk in a final fantasyesque manouver.

Anyway...

I've tried the tutorials and they are annoying and confusing as hell, they are showing me how to make a fancy moving changing button that displays different things depending on states when all I want is a lnk that will take me from 205 to 206! >< used to just be select the button, put gotoandplay(206) and such and away it went.

Now apparently I need like...12 lines of code to do that. The fuck?

Please help me before I smash my computer and monitor in a fit of uncontrollable rage over this.

I have the button symbol. What now. Please, for my sanity, put it in basic english, if possible the code aswell, if you link to a tutorial, for the love of the gods PLEASE let it be a simple one.

Thanks.
 

jasoncyrus

New member
Sep 11, 2008
1,564
0
0
Hopefully someone replies soon as this is causing me to enrage on a Brutalis level.

EDIT:

Problem solved thanks to youtube of all places.


Action Script 2:
WedButton1.onRelease = function(){
gotoAndStop(206);
}

Actionscript 3:
stop();
import flash.events.MouseEvent;

WedButton1.addEventListener(MouseEvent.CLICK, wed1);

function wed1(event:MouseEvent):void {
gotoAndStop(206);
}

Noting I had to name the frame 206 in AS3, could name it anything but the frame number seemed a lot easier than giving it an actual name.

That is very...VERY different from the old On Release method. Which idiot at adobe decided changing the whole frigging code system was a good idea. Seriously, the fuck?