Help In Buttons Flash Mx

How do i make it so if I click a button in a box, on the other side of it a picture appears??

  1. Make a new, empty movieclip by pressing CTRL+F8, give it any name and drag it from the library (F11) to the stage so that is is at the place where the image should come.

  2. Now give it the instance name (on the left in the Property Inspector) [COLOR=BLUE]showpic[/COLOR].

  3. Right click the movieclip’s icon (the circle with the cross in it) and select [COLOR=BLUE]Edit in Place[/COLOR].

  4. Select the first frame in the timeline, right click it and select [COLOR=BLUE]Actions[/COLOR]. This will bring up the Actions Window.

  5. Click the blue icon above the white text field and select [COLOR=BLUE]Expert Mode[/COLOR]. Now type in the white textfield [COLOR=BLUE]stop();[/COLOR].

  6. Select the second frame, then choose [COLOR=BLUE]Import[/COLOR] from the File menu. Double-click your picture (it will now be on the stage) and resize it to your needs (using the Transform tool, Transform Window or Info Window).

  7. Do the exact same as in step 4 - 5, except now for frame two instead of frame one.

  8. Now add this code to your button:

[AS]
on (release){
_root.showpic.gotoAndStop(2);
}
[/AS]

There ya go, a complete user guide :stuck_out_tongue: By the way, why is this in Footer Contest ?

this belongs in the flash sections, not a footer contest.

Voetsjoeba, i had nothin to do wid d problm or solutn
just wanted to congratulate on this great explaination :thumb:

u should exploit and write tute.i m not kiddin:P or am i:P hahaha
no seriously, i like the way u explained it. :slight_smile:

Thx Flasherjaz :slight_smile: I do my best :slight_smile:

[EDIT] So did it work out for ya ? [/EDIT]