-
Begin the rat race
combo box
Hi, ive created a combo box for a site and would like to make the selections that u choose from the list be attatched to a pdf file.
so it works like this, click the box, a list falls down, select which one u want, once clicked, you download the file attached to it.
hope this is enough info for u guys.
im using flash mx aswell,
cheers, all the best
-
give this a read:
http://visualintensity.com/flash-tutorials/mx/combobox/
you may have a problem in that the common behavior of IE these days is that pdf files are "DISPLAYED" via the acrobat plugin and not "SAVED"
there is no easy way within flash to simulate the "right click save as" behavior of HTML links.
-
Begin the rat race
thanks for that, works well, just one more question if u dont mind.
how do i add more actions to my drop down menu choices.
for example, all the links i have got at the moment go to the same url page, how and where do i put there actions so they can go to there own specific page.
cheers, take care
-
basically each item in your combobox can have a label and data parameter.
the label is what appears in the combobox and the data is a piece of information that the label represents...
for instance you could have items in a combobox with the following parameters
item0
label: flashkit
data: http://www.flashkit.com
in this scenario you would see "flashkit" in the combobox, but when you clicked on it you would use actionscript to getURL for its data: http://www.flashkit.com
i use the saying: label is what you see, data is what you get.
here is a tutorial i wrote for something similar for a mx2004 listbox component.
the general theories apply equally to the combobox. use your flash help to pinpoint how to reference the label and data values via actionscript.
i don't work with mx components so I can't offer specific help
http://www.doyouhaveapen.com/tutoria...cher/index.htm
-
Begin the rat race
thank you, cheers kind sir
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|