Reader Question: "Can you use iframes in Flash?"
Friday November 14, 2008
Suzie asks:
"I want to use an iframe to load content into Flash so I can just update the HTML page without having to republish the SWF every time I change a few words. So far I can't get it to work. Is that possible?"Iframes, as a rule, are considered a bad design idea overall - although when borderless, they do have their uses for seamless integration of dynamic content into a page. Where Flash is concerned, though, iframes just don't work; the tag isn't one of those supported within Flash. However, there are ways around that - including loading information from a text file and using dynamic text fields to display it. This tutorial shows how that can be done by assigning your text-based content to a variable loaded from a .txt file, which can easily be edited to change the value of the variable and adjust your text content.


Comments
No comments yet. Leave a Comment