...

View Full Version : as 2.0 getURL() same window/tab



udjamaflip
05-07-2008, 01:56 AM
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

gnomeontherun
05-07-2008, 02:23 AM
on(release) {
getURL("collection.php?pid=1", "_self");
}

http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary377.html

Just need to enclose in quotations.

udjamaflip
05-07-2008, 10:23 AM
Thanks, appears I was looking at an out-dated tutorial perhaps as it said to not use "" :) or it was just...wrong :p

Thankyou regardless! :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum