# \[mx\] Newbie in need of Flash Guru help

**URL:** https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985
**Category:** flash
**Created:** [February 7, 2003, 2:10am UTC](https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985 "2003-02-07T02:10:45Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![undefined](https://avatars.discourse-cdn.com/v4/letter/u/7feea3/32.png) [@undefined](https://forum.kirupa.com/u/undefined)
#### Post date: [February 7, 2003, 2:10am UTC](https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985/1 "2003-02-07T02:10:45Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 7, 2003, 2:14am UTC](https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985/2 "2003-02-07T02:14:26Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 7, 2003, 2:16am UTC](https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985/3 "2003-02-07T02:16:42Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 7, 2003, 2:17am UTC](https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985/4 "2003-02-07T02:17:57Z")

</div>

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

:love:

~ Seretha

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 7, 2003, 2:06pm UTC](https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985/5 "2003-02-07T14:06:21Z")

</div>

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

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

pom :cowboy:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 7, 2003, 5:46pm UTC](https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985/6 "2003-02-07T17:46:16Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 8, 2003, 3:53pm UTC](https://forum.kirupa.com/t/mx-newbie-in-need-of-flash-guru-help/12985/7 "2003-02-08T15:53:53Z")

</div>

Listbox tute, but combobox works exactly the same:

[http://www.kirupa.com/developer/mx/listbox.asp](http://www.kirupa.com/developer/mx/listbox.asp)

pom :crazy:
