PDA

View Full Version : html page within a flash movie??


robertrees.org
04-19-2006, 04:25 PM
Hi folks. I am a long time HTML guy, VERY new flash guy. I am working with Flash MX Pro 2004, and am pretty much in the conceptual stage until I get this question answered.

I would like to call an HTML page (http://www.robertrees.org/blog/weblog.php) which is my BLOG into my FLASH movie. I could always link to it within my movie and then make the Blog open in _blank window, but I would really like the ability to load this page (with scrollbars for navigation) into the working area of my flash site. I imagine that it would have to be called into a text area or something similar, but I am actionscript stupid.

Thanks for any help you can provide.

Robert

hooj
04-19-2006, 05:29 PM
Flash does have the ability to render HTML pags, but as of the latest release it isn't that powerful. It only recognizes a small handful of HTML tags, and can't do any Java components embedded in your page. It also won't process any PHP code in the page either. Basically, Flash can only display HTML text and <src> images.

You can apply stylesheets to HTML that you bring into Flash, but also be warned that the property value names are different. font-weight becomes fontWeight; text-align becomes textAlign.

I'm pretty sure Adobe/Macromedia wants to add more support for displaying HTML docs inside of a Flash movie, but it isn't there yet.