Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-07-2008, 12:56 AM   PM User | #1
udjamaflip
Regular Coder

 
Join Date: Mar 2008
Posts: 235
Thanks: 6
Thanked 21 Times in 20 Posts
udjamaflip is an unknown quantity at this point
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! :)
udjamaflip is offline   Reply With Quote
Old 05-07-2008, 01:23 AM   PM User | #2
gnomeontherun
Senior Coder

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

Just need to enclose in quotations.
gnomeontherun is offline   Reply With Quote
Users who have thanked gnomeontherun for this post:
udjamaflip (05-07-2008)
Old 05-07-2008, 09:23 AM   PM User | #3
udjamaflip
Regular Coder

 
Join Date: Mar 2008
Posts: 235
Thanks: 6
Thanked 21 Times in 20 Posts
udjamaflip is an unknown quantity at this point
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! :)
udjamaflip is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:28 PM.


Advertisement
Log in to turn off these ads.