A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How do i Put a URL link in this button?

Hybrid View

  1. #1
    Senior Member
    Join Date
    Aug 2006
    Posts
    131

    How do i Put a URL link in this button?

    yeh i know its dumb but I bought something off of flashden.net.. and i'm confused about putting a link in the code.. ITs probably so simple. its just a scrolling list for navigation... but it has dummy items.. When i went to add my own lists to it, it so weird. Heres what it looks like

    //------------------------------------------------
    //total menu items
    ti = 10;
    //------------------------------------------------
    //set up some demo items
    n = 0;
    while (Number(n)<Number(ti)) {
    set("item" add n, "item" add n);
    n = Number(n)+1;
    }
    //------------------------------------------------
    //what to do with YOURs?
    //remove the above LOOP (which creates dummy variable names.) START at "0"!!!!! Create variables named item0="blah", item1="test", item2="and so on..." and you're set! Look at the button action. It is currently set to GETURL and load a "swf" file with the same name as the button you just clicked on into a placeholder (which does not exist in this demo).



    So what do i do to add a link to say "contact" that goes to a url?

    thanks any help is greatly appreciated!

  2. #2
    Senior Member
    Join Date
    Aug 2006
    Posts
    131
    YO, i'm opening up this post in the AS forum. thx for your time. please close this moderators

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