A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [RESOLVED] Link will not open in same window [AS2]

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    19

    resolved [RESOLVED] Link will not open in same window [AS2]

    Hey,

    I have a simple link in my flash movie. The code attached to the button click goes like this:

    Code:
    getURL(_root.link,_self);
    The link is loaded dynamically.
    The link works, but it won't open in the same tab! It keeps opening in a new tab.

    Does anyone have a clue what's wrong?

  2. #2
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,317
    Try
    getURL(_root.link,"_self");
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

  3. #3
    Junior Member
    Join Date
    Mar 2008
    Posts
    19

    Thanks

    Thanks! Works like a charm!


  4. #4
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,317
    nice one
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

Tags for this Thread

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