| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
MOM
Join Date: Jan 2002
Location: Portugal
Posts: 59
|
ok...
when i select any item from the combobox i want the movie to go back to frame 1... simple!?!?... but i cant do it... Any HELP please... |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Sep 2004
Posts: 5
|
Click once on your combobox in design mode, select properties window, give it instance name "myComboBox", click parameters tab on the right, and in change handler type onSelect...
onSelect = function () { var1=int(mycomboBox.getSelectedIndex()); if(var1!=0){ //if user selected first item (which is nothing in my case)... } else this._parent.gotoAndPlay(1); // could also be this._parent.gotoAndStop(1); } //end of function hope this help |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing the selected item in a combobox | mcmcom | Components | 3 | 07-28-2006 12:42 PM |
| Capturing ComboBox Input? | nymnyi | Components | 2 | 08-12-2004 02:49 PM |
| Combobox driving me mad | xplosive | Components | 5 | 04-14-2004 03:53 PM |
| [mx] combobox, focus & keypad arrows | chartrandi | Components | 0 | 03-31-2004 12:12 PM |