Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML in FLash

Status
Not open for further replies.

crazybeans128

Programmer
Aug 5, 2003
79
US
How can i load an HTML page into flash? I've tried things like MovieClip.loadMovie("page.html") and that of course didn't work, but something along those lines would be nice, so i can just edit the HTML instead of the file itself.

 
Hey crazy
What exactly are you trying to do? You can load HTML into a textfield, although it has a lot of restrictions. Flash doesn't support HTML too much yet, I hope this is a feature they will soon implement. You could use loadVariables("your_text_file.html", this);, then load the HTML into an HTML text field, but it would have to be formatted a certain way. I don't think this is what you want though.

"Apache Server is Apache server on Linux. Apache server is 'A Patchy' Server on Windows."

Flash101 :)
- Flash Resource Site
 
Hey crazy
What exactly are you trying to do? You can load HTML into a textfield, although it has a lot of restrictions. Flash doesn't support HTML too much yet, I hope this is a feature they will soon implement. You could use loadVariables("your_text_file.html", this);, then load the HTML into an HTML text field, but it would have to be formatted a certain way. I don't think this is what you want though.
 
Oh man sorry about the double post, it sent me to an error page the first time i hit submit,and I assumed it didn't post it, so I hit the post button again. Sorry.

"Apache Server is Apache server on Linux. Apache server is 'A Patchy' Server on Windows."

Flash101 :)
- Flash Resource Site
 
My plan was to have a page where you could launch a HTML page, or a Flash page. Then in the HTML page, there would be frames and it would load the HTML page I defined. The same would happen in the Flash page. It would load the same HTML frame. In this way, when i go to update the information each day, i could just update one page instead of opening Flash and editing a Flash file and also editing an HTML file. And other ideas would be great. What is an iframe?

 
Dynamic text on both the flash and HTML pages loaded from something like a text file. But you will have to use some kind of server side script to do it.
 
I was thinking something like that. For the Flash page i could just edit a text file with some variables and it would post them, and when it was new, i would move the old posts down a variable to a differnt location on the text file.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top