Solved

Having dynamic html pages

Posted on 2007-03-20
3
228 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
ID: 18756561
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
ID: 18756895
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
ID: 18760477
http://www.oman3d.com/tutorials/flash/loadvars_bc/

That tutorial has it all

--trigger-happy
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Rotating Adobe pdf document 4 330
blocked plugin flash 5 123
Windows 7, Adobe Flash Player and Internet Explorer 11 15 105
black magic design 1 131
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

733 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