dcsimg
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: combo box (on change script openURL)

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Location
    Eastern Europe
    Posts
    4

    combo box (drop-down navigation)

    how to open many URL's (www. ...) with the drop-down navigation (from combo box) ???
    RDI -(Ro)

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Let's assume your combobox is named combo_4.

    3dfa will assign it to a variable named combo_4 or you can change it to suit your needs.


    Add the options you need putting http://whatever.com in each for you options. Then in the Onchange script put

    openURL (combo_4,"new")

    update the combobox and there you go.

  3. #3
    Junior Member
    Join Date
    Mar 2005
    Location
    Eastern Europe
    Posts
    4

    combo box (on change script openURL)

    I need help for this example:

    i have a combo box with the following options: "google", "msn" and "aol". The options must open (with the drop down navigation) following URL's: "http://www.google.com", "http://www.msn.com" and "http://www.aol.com". I need the on change script for this example.

    Thank you!
    RDI -(Ro)

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Well if you're not using the actuall URLs in the combo box then just check for what you are using and go to a URL based on that.

    Something like
    code:

    if (combo_4=="Google"){
    openURL ("http://google.com","new")
    }


    etc...

  5. #5
    A Senior Newbie - How Odd ForumNewbie's Avatar
    Join Date
    Mar 2003
    Posts
    590

    Example

    I'm in a helpful mood
    Attached Files Attached Files
    Please note that my domain has changed to http://www.morganmultinational.com

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