14
Jan

I'm working on a swf. I want to have the new link open in the same window after pressing a button. So I added the following code to the button. But still, this code open a new window.

on(release){

getURL("http://www.mylink.com",_self)}

I'm very new to using code in swf. All I can do is always involving with drags and drops. So any advice "for dummies" would be appreciated.


Answer:
Try taking the target out…(remove _self). I think the default is to open a new page in the existing one.

Book Mark it-> del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkList

Tags: , , , ,

This entry was posted on Monday, January 14th, 2008 at 10:10 pm and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or TrackBack URI from your own site.

Leave a reply

Name (*)
Mail (*)
URI
Comment