Hello:

I forget to say that the script I Put it over the sprite (Microsoft Form Combo Box) 
and with the property inspector it was set to behavior.

Thanks in advanced.



Miguel Urbano






[EMAIL PROTECTED] wrote:

>Hello!
>
>Excuse me for my english, but I will try to explain me.
>
>I am doing a projector in wich:
>
>1.-I insert an Active Control (Microsoft Form Combo Box) to select one of many 
>options.
>
>2.- I do a script of type behavior with the next text.
>
>-----------text-----------------
>
>--Copyright 1999 Chuck Neal 
>[EMAIL PROTECTED] 
>--If you find this code helpful, send me an e-mail and let me know. �:-) 
>
>property startText, choiceList, whatDo, spriteNum 
>
>on getPropertyDescriptionList me 
> �return [#startText : [#format : #string, #default : "DefaultText", #comment : 
>"Default text in drop-box."], #choiceList : [#format : #string, #comment : "List of 
>choices separated by (;)", #default : "Choice 1;Choice 2;Choice 3"]] 
>end 
>
>on beginSprite me 
> �
> �the itemDelimiter = ";" 
> �repeat with x = 1 to choiceList.item.count 
> � �addItem(sprite spriteNum, choiceList.item[x]) 
> �end repeat 
> �(sprite spriteNum).text = startText 
> �
>end 
>
>on getBehaviorDescription me 
> �describe = "Combo box startUp script. �Requires the MS Forms Combo Box Active X." & 
>return & "Drop this behavior on a Microsoft ComboBox ActiveX sprite. �This will build 
>and populate the dropdown list. �To retrieve the property just get the text of sprite 
>X property for the ActiveX Sprite." 
> �return describe 
>end 
>
>
>
>---------end text ----------------------------------------------
>
>
>how do I obtain the value of the selected option, and with that value and assign this 
>value to a variable, and with this variable, use a handler to do another script in 
>which we can to go to another movie or another action?
>
>
>Thanks in advanced.
>
>
>
>Miguel Urbano
>
>
>__________________________________________________________________
>The NEW Netscape 7.0 browser is now available. Upgrade now! 
>http://channels.netscape.com/ns/browsers/download.jsp 
>
>Get your own FREE, personal Netscape Mail account today at 
>http://webmail.netscape.com/
>[To remove yourself from this list, or to change to digest mode, go to 
>http://www.penworks.com/lingo-l.cgi �To post messages to the list, email 
>[EMAIL PROTECTED] �(Problems, email [EMAIL PROTECTED]). Lingo-L is for 
>learning and helping with programming Lingo. �Thanks!]
>

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to