[mx] Newbie in need of Flash Guru help

What’s up?

I’m about as new to flash MX as you can get but, I have the basic understanding. Right now, I’ve figured out how to write an action script that will allow me to change text with a button. However, I would like to be able to do it by a combo box. In other words, I would like to make it so that when you change the combo box to a different label, the text field will change to a different outside text file.

Any help or links to tutorials would be appreciated.

Im fairly new to flash as well but this should work.

When they choose a combo box tell the actionscript to unLoad the original movie (which would be the text) and Load the new text as a movie clip.

The tutorials for that are listed in Kirupa

:love:
~ Seretha

on (rollOver) {
_root.createEmptyMovieClip(“container”, 1);
_root.container.loadMovie(“profilemenu.swf”);
_root.container._x = 360;
_root.container._y = 80;
_root.createEmptyMovieClip(“container2”, 2);
_root.container2.loadMovie(“tfprofile.swf”);
_root.container2._x = 480;
_root.container2._y = 84;
}
on (rollOut) {
_root.container.removeMovieClip();
_root.container2.removeMovieClip();
}


except change the rollover to onPress (I believe)

:love:

~ Seretha

sorry i should have mentioned to leave the ‘container’ stuff but replace the .swf files with your own

:love:

~ Seretha

Comboboex don’t really work that way, Seretha :beam:

Actually, there are tutes here that should help you, undefined.

pom :cowboy:

Why make it all so complicated?? (-:

  1. Select your button, convert it to a movieclip symbol so you’ll have a button inside a movieclip.

  2. Inside the new movieclip, make a new keyframe (lets say on frame 5), and on that keyframe, replace the button you had earlier with the 2nd button, and change the actions accordingly.

  3. Make it so everytime you press one of the buttons, it will gotoAndStop to the other keyframe, where the 2nd button is. For example:

BUTTON 1 on keyframe 1:
on (press) {
<<insert your actionscript here>>
gotoAndStop(5);
}

BUTTON 2 on keyframe 2:
on (press) {
<<insert your other actionscript here>>
gotoAndStop(1);
}

Of course, don’t forget to put a Stop; action on the first frame.

Listbox tute, but combobox works exactly the same:

http://www.kirupa.com/developer/mx/listbox.asp

pom :crazy: