Solved

Having dynamic html pages

Posted on 2007-03-20
3
196 Views
Last Modified: 2010-04-03
I have a flash file (.fla) but would like a way for my friend to be able to update the content on some of the pages without having to rebuild the site.  Basically, I am looking for a way for him to just load anything he wants (html code) into a file (say outside.html) and then when the flash site is loaded and someone clicks on a button it just pulls that page (outside.html) into a box with everything he has done.  I have seen the following movie:
http://maclab.guhsd.net/flash/2004/dynamic_text_01.mov

but don't want just text. I would like my friend to be able to do whatever he wants inside the file (outside.html as html source) and then flash just presents it inside the box.   Is this possible?  If so, how?
0
Comment
Question by:tazmanian
  • 2
3 Comments
 
LVL 14

Expert Comment

by:trigger-happy
Comment Utility
It's possible through the dynamic text box (you create a text box in flash and then turn it into a dynamic one from the properties panel). Then you have to enable html code for the textbox so that it will interpret the html code and display it as an html file. To load, you'll need to use actionscripting to load up the file into the textbox (a google search will yield a good number of tutorials about this). The only issue is that the textboxes in flash have limitations when it comes to displaying html stuff, though i'm not sure as to what the exact limitations are.

--trigger-happy
0
 

Author Comment

by:tazmanian
Comment Utility
So, what would an example actionscript look like for when the person hits the button and calls the outside.html into a box to that is say 300x200 that is to be rendered as html?
0
 
LVL 14

Accepted Solution

by:
trigger-happy earned 250 total points
Comment Utility
http://www.oman3d.com/tutorials/flash/loadvars_bc/

That tutorial has it all

--trigger-happy
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now