Solved

Having dynamic html pages

Posted on 2007-03-20
3
209 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

943 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

18 Experts available now in Live!

Get 1:1 Help Now