Help - loading HTML page in iframe via actionscript 3

  • chin-shan
  • Born
  • Born
  • chin-shan
  • Posts: 1

Post 3+ Months Ago


I have a base page, containing a flash object and an iframe object (named - "myframe"). The flash object contains a button. Clicking on this button should load a page (for eg:") in the iframe object - myframe.

I've used the following function:

var request:URLRequest = new URLRequest("");
navigateToURL(request, "myframe");

However, when i open the base page and click on the button, it is opening the page in a new window, instead of the iframe.

Need help, very urgent !!!
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23469
  • Loc: Woodbridge VA

Post 3+ Months Ago

Never tried this and there's no indication if it worked. Check the second answer here ... stom-frame

//to get it to work with javascript you'll probably have to import and use the ExternalInferface class

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 6 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.