Question
Opening URL Targets with AS3
I have the following code on my Actions Frame 1 (copied and
modified from the Flash CS3 Help Files):
function loadPageFrame(event:MouseEvent):void
{
var myURL:URLRequest = new URLRequest(" http://www.adobe.com/");
navigateToURL(myURL);
}
Btn1.addEventListener(MouseEvent.CLICK, loadPageFrame);
This code is working great, but not exactly what I need - I need it to load the target URL into a secondary HTML Frame on my site. My top FRAME is a FLASH AS 3 SWF Navigation Header. This is where the code referenced above resides. The bottom frame (labeled "content.html") is my target. Can anyone help me with this?
function loadPageFrame(event:MouseEvent):void
{
var myURL:URLRequest = new URLRequest(" http://www.adobe.com/");
navigateToURL(myURL);
}
Btn1.addEventListener(MouseEvent.CLICK, loadPageFrame);
This code is working great, but not exactly what I need - I need it to load the target URL into a secondary HTML Frame on my site. My top FRAME is a FLASH AS 3 SWF Navigation Header. This is where the code referenced above resides. The bottom frame (labeled "content.html") is my target. Can anyone help me with this?