A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Help Using Listbox...

  1. #1
    Junior Member
    Join Date
    Aug 2006
    Posts
    6

    Help Using Listbox...

    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

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    If you want the choices of your users to be added to the url use this:

    In the onChange property of your listbox
    PHP Code:
    _root.myVariable "http://www.gosomeplace.com?lb=" getValues(); 

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

    PHP Code:
    on(press){
        
    getURL(_root.myVariable);
        } 
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center