Solved

Having dynamic html pages

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error 2032 in all the browser 6 2,850
Flash Player Action Script Error 1090 5 215
Adobe Acrobat Pro: chasing the white background wallpaper dimensions 3 192
flash professional 3 20
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

791 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