Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-29-2006, 01:44 PM   #1
THEwagner
Registered User
 
THEwagner's Avatar
 
Join Date: Aug 2006
Posts: 56
Default Var.: Alpha Numeric Expression?

Hello,
I’m in a real pickle. I need to set “myvar” to the alpha numeric expression: “00N30000000tM2x”. Any help would be more than awesome!


Code:

//--------Ideal, but produces a syntax error: -------//

00N30000000tM2x =mycombo.selectedItem.label;



//--------Original Code --------------------------//

myvar=mycombo.selectedItem.label;
THEwagner is offline   Reply With Quote
Old 08-29-2006, 01:55 PM   #2
Kraken
Flash beneath the fathoms
 
Join Date: Apr 2001
Location: Kansas City
Posts: 678
Default

ActionScript Code:
var myVar:String = "00N30000000tM2x"; mycombo.selectedItem.label = myVar;

something like that?
__________________
The coolest website ever!
Visit my friend Ray's site.
Kraken is offline   Reply With Quote
Old 08-29-2006, 02:11 PM   #3
THEwagner
Registered User
 
THEwagner's Avatar
 
Join Date: Aug 2006
Posts: 56
Default

Thanks for the quick reply! Unfortunately this is still not working . I was trying to pass the selected item from a comboBox to a dynamic text field which had the assigned variable of “00N30000000tM2x” so that the selected item gets sent to me in a e-mail.


Flash doesn’t play nice with dropdown menus and forms? Yes/No?
THEwagner is offline   Reply With Quote
Old 08-29-2006, 02:14 PM   #4
Kraken
Flash beneath the fathoms
 
Join Date: Apr 2001
Location: Kansas City
Posts: 678
Default

don't use variables for the values of a textField. Use its "text" property:
ActionScript Code:
myTextfield.text = mycombo.selectedItem.label;
__________________
The coolest website ever!
Visit my friend Ray's site.
Kraken is offline   Reply With Quote
Old 08-29-2006, 02:23 PM   #5
THEwagner
Registered User
 
THEwagner's Avatar
 
Join Date: Aug 2006
Posts: 56
Default

Thanks for the tip. Everything is now operational!
Very cool, Very cool.
THEwagner 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
How do I change the alpha of a movie being loaded in with a Loader Component? Shaun-Optimus Components 0 06-01-2006 03:29 PM
onEnterFrame and alpha fade not working bjones8050 ActionScript 2.0 2 05-18-2005 03:24 PM
Alpha fade actionscript KarenInPA Other Flash General Questions 4 10-31-2004 01:24 AM
mc selection w/ alpha bael ActionScript 2.0 5 05-14-2004 05:00 PM
deformation of picture with alpha CubeLuke Other Flash General Questions 1 04-03-2003 08:16 PM


All times are GMT. The time now is 08:40 AM.

///
Follow actionscriptorg on Twitter

 


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