Embedding iframes in Flash

  • jrgtampabay
  • Born
  • Born
  • No Avatar
  • Joined: Aug 19, 2007
  • Posts: 1
  • Loc: Tampa, FL
  • Status: Offline

Post August 19th, 2007, 12:04 pm

I am in the process of learning flash while designing my first website. I would like to embed a google calendar in the website but am finding this not to be an easy task. Can anyone offer assistance on how this is accomplished? I'm using Flash MX.

I've found several posts on this topic and several make reference to adding the iframe statement to the html file? What html file are they referring to? I have a flash movie file named "main" and this generates a 'main" html file. If I edit this main.html file it just gets over written.

Sorry if this is a stupid question. As I said, I am learning.

Thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 19th, 2007, 12:04 pm

  • dhonsvick
  • Beginner
  • Beginner
  • No Avatar
  • Joined: May 27, 2007
  • Posts: 49
  • Status: Offline

Post August 20th, 2007, 7:55 am

Hmmm interesting idea ... iFrames in Flash...

I am thinking that you may have to design your flash movie around and HTML template.... so in essence your page is not completly flash on that page. Flash has some HTML parsing capabilities but not near the extent that your Browser has.

I could be wrong but my approach would be to let the Browser handle the IFrame on that page. The other aspect is that even if flash was able to do this I suspect you would be running into the crossdomain sandbox built into Flash.

So let the browser be a browser and let flash be flash ;). You can design your page so that you would not be able to notice.
  • deathblade
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 08, 2007
  • Posts: 419
  • Loc: u.k
  • Status: Offline

Post August 20th, 2007, 4:23 pm

you could code the flash into a html page load it into another page using frames

so somewhere in index.html you would have

Code: [ Select ]
<iframe
src ="/calendar.swf"
width="100%" hight="100%>
</iframe>
  1. <iframe
  2. src ="/calendar.swf"
  3. width="100%" hight="100%>
  4. </iframe>


set hight and width as needed

this would them load your calendar into the page


[/code]
This is a block of text that can be added to posts you make. There is a 500 character limit.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post October 16th, 2009, 11:13 pm

Happy birthday !

Just out of curiosity and since it's been awhile, how's the Flash coming ? :D
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 43 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.