Groups | Blog | Home
all groups > flash (macromedia) > february 2007 >

flash (macromedia) : linking out from an external swf



Greg Arroyo
2/13/2007 10:27:57 PM
I am loading a swf into a web page from an external server and I can not get
the buttons that link out to work.

[b]Example:[/b]
I have a swf with a square button at http://mixxncompany.com/button.swf. When
you click on this button it opens a new window for google.com. But when I load
this swf (by pointing to http://mixxncompany.com/button.swf) at
http://dreamlifemedia.com/button.html, it does not open the link.

[b]ActionScript used:[/b]
myButton.onRelease = function() {
getURL("http://www.google.com", "_blank");
}

What is stopping this from linking out, and what can I do about it?
Greg Arroyo
2/14/2007 1:22:38 AM
I finally figured it out. And of course it had to be the one place I wasn't
looking, the embed code.

I had this line in my embed code (not sure how or why it was there)

<param name="allownetworking" value="internal" />

Once I removed it, it was all good.
AddThis Social Bookmark Button