Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-14-2002, 01:59 AM   #1
rop65828
MOM
 
Join Date: Jan 2002
Location: Portugal
Posts: 59
Unhappy comboBox

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...
rop65828 is offline   Reply With Quote
Old 09-14-2004, 04:43 AM   #2
floydus
Registered User
 
Join Date: Sep 2004
Posts: 5
Default You'll do that with change handler

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
floydus is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.