all groups > flash actionscript > october 2004 >
You're in the

flash actionscript

group:

Combo box or listbox with actionscript


Combo box or listbox with actionscript kwp
10/31/2004 10:33:10 PM
flash actionscript:
I am looking for an actionscript I can use in combination with a listbox or
combo box. I wan the user to be able to click on a selected file name from my
list box and be able to launch a word doc, an html file an exe file or a pdf
file in a browser window or in the new application by selecting the file name.
I am thinking it would be an if then else type of statement but not sure if
there might be and example of some code for launching another application and
the corresponding file from my Flash interface.
Re: Combo box or listbox with actionscript maulia
11/1/2004 2:04:49 AM
Well you can have say a Listbox: ========== myfile1 myfile2 ==========
Details: label: myfile1 data: file1.doc label: myfile2 data: file2.jpg And
just use a getURL, pointing to the file mentioned in your selected data
listox/combobox Let me know if it's still unclear :)
AddThis Social Bookmark Button