Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : combo box variable?


sq2adam
6/22/2004 11:03:54 PM
behived
6/23/2004 7:17:55 AM
sq2adam,

when you want to set variables in a combobox in flash you must do the
following:
drag the combobox on the scene, open the parameters tab in the properties panel
give the labels you want (the names you want to be displayed e.g.: belgium,
holland, france)
give the data you want (e.g. belgium,holland,france)
then you can retrieve the info (example for a form)
put this code on the submit button
country=test.getValue();
the variable country will be set equal to the data of the selected label

hope this will help you out....

ps: i've answered also to your other post,... maybe i'll have to edit the ps
:-)
AddThis Social Bookmark Button