Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2008
    Posts
    235
    Thanks
    6
    Thanked 21 Times in 20 Posts

    as 2.0 getURL() same window/tab

    Hi

    I have been using this:

    on(release) {
    getURL("collection.php?pid=1", _top);
    }

    I have also tried using _self, _parent and _blank and they all open a new window/tab when clicked if i omit the target window it just doesnt do anything, and if I leave it out completely (as it IS optional) it doesnt do anything when clicked!

    Any assistance is appreciated.

    Thanks,

    Andy
    Andrew Sharman
    Web designer, developer and programmer.

    If you found my post helpful, why not give thanks! :)

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Code:
    on(release) {
    getURL("collection.php?pid=1", "_self");
    }
    http://www.adobe.com/support/flash/a...ionary377.html

    Just need to enclose in quotations.

  • Users who have thanked gnomeontherun for this post:

    udjamaflip (05-07-2008)

  • #3
    Regular Coder
    Join Date
    Mar 2008
    Posts
    235
    Thanks
    6
    Thanked 21 Times in 20 Posts
    Thanks, appears I was looking at an out-dated tutorial perhaps as it said to not use "" or it was just...wrong

    Thankyou regardless!
    Andrew Sharman
    Web designer, developer and programmer.

    If you found my post helpful, why not give thanks! :)


  •  

    Posting Permissions

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