Targeting an iFrame from Flash

  • lcarruthers
  • Born
  • Born
  • lcarruthers
  • Posts: 1

Post 3+ Months Ago

The getURL("http://www.somesite.com", "traffic");

does work in Flash 8 but you have to publish to the web. If you test it locally it opens a new window. :D
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • gillskad
  • Born
  • Born
  • gillskad
  • Posts: 1

Post 3+ Months Ago

joebert wrote:
Sure, In your HTML give your Iframe a name like,
Code: [ Select ]
<iframe src="defaultPage.html" name="frameName"></iframe>


Then just target that frame with your button in flash with getURL() like so,
Code: [ Select ]
button.onPress = function(){
   getURL("pageToLoad.html", "frameName");
}
  1. button.onPress = function(){
  2.    getURL("pageToLoad.html", "frameName");
  3. }


Of course replace pageToLoad.html with your page & frameName with the name of your Iframe. :)




I am having multiple iframes in my home page. The target framename works fine in opera and firefox, but while using IE8, target page doesn't get opened target iframe in same window ,instead its open in new window.

Is there any alternative to open in target page in target frame in same window.

thanks.
  • flashwebb
  • Born
  • Born
  • flashwebb
  • Posts: 2

Post 3+ Months Ago

Hi
i trying to get my guestbook to work inside a flashpage

i was using this code
loadMovieNum("guestbook.swf", 1);

and the guestbook show up..but the record is no showing

you can see it in action here (Click on GBOOK)
http://www.flashwebb,se/test/flash1.html

i download the guestbook from
http://www.flash-db,com/GuestBookTut/

and you can see the guestbook in action here
http://www.flashwebb,se/test/guestbook.swf

So why don't the record show up???
i notice that when i click on gbook and the guestbook show up..then it will stay up..even when i click on the other link...how can i get it to close when i click on other link??

NOTE:Remove , and replace with . or the url will not work
The URL is Off...i think becuse i'am a new member :wink:

regards
Peter

Post Information

  • Total Posts in this topic: 33 posts
  • Users browsing this forum: No registered users and 9 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-2014. Ozzu® is a registered trademark of Unmelted, LLC.