;

PDA

Click to See Complete Forum and Search --> : Help Using Listbox...


James McGuiness
04-19-2007, 04:48 PM
Hi,

I want a user to make a selection from a (multi-select) listbox and then upon hitting a button, I want to have the action script URL say this:

http://www.gosomeplace.com?lb=the selected listbox values

Thanks in advance!
-Jim

dniezby
04-21-2007, 06:33 PM
If you want the choices of your users to be added to the url use this:

In the onChange property of your listbox

_root.myVariable = "http://www.gosomeplace.com?lb=" + getValues();


Then in your button actions put this: (I just tried it)

on(press){
getURL(_root.myVariable);
}