A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: URL links

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Location
    Silverhill AL
    Posts
    11

    URL links

    Hey there,
    I have changed a flash template over to pretty much everything i want, i added a place for 6 links, there already set up with buttons and such on them, my question is how to i make it for when u click on each specific one it take you to the URL i specified

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    on(release){
    getURL("http://www.mysite.com/page1.html", "_self");
    }

    Use _blank if you want to open a new window. _self opens a new page in the same window.

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Location
    uk
    Posts
    17
    Can I also use this to get a new pop-up window of say 600X400 in the centre of the screen?

    Fez
    cheers

    Ferret

  4. #4
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Only if the code to size and position it is already in that page.

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Location
    uk
    Posts
    17
    Ah OK Thanks
    cheers

    Ferret

  6. #6
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    I think this will work if you put it above the body tag on the page. Change the self.resizeTo line to your dimensions.
    Attached Files Attached Files

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