Animation

  1. Home
  2. Computing & Technology
  3. Animation
photo of Adrien-Luc Sanders

Adrien-Luc's Animation Blog

By Adrien-Luc Sanders, About.com Guide to Animation since 2005

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

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore Animation

About.com Special Features

Animation

  1. Home
  2. Computing & Technology
  3. Animation

©2009 About.com, a part of The New York Times Company.

All rights reserved.