IT Community - Software Programming, Web Development and Technical Support

Display html files in Flash

This is a discussion on Display html files in Flash within the Flash Actionscript Programming forums, part of the Web Development category; Display html files in Flash...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Flash Actionscript Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-18-2007, 11:03 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Default Display html files in Flash

Display html files in Flash
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-19-2007, 12:54 AM
bluesky bluesky is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 201
bluesky is on a distinguished road
Default Re: Display html files in Flash

Load a HTML File in Flash

Goals:


This project is used to display html content in Flash

Steps:

1) create a flash document.
2) create one textarea and one button control.
3)In the onclick event of button, copy the following code.

var obj:LoadVars = new LoadVars();
textarea.html = true;
obj.onData = function (src:String):Void
{
if (src != undefined)
{
message_txt.text = src;
}
else
{
message_txt.text = "Unable to load external file.";
}
}

obj.load("sample.html");
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Animated Index html Using Flash aramesh Flash Actionscript Programming 0 09-07-2007 08:06 AM
How do I rename all the files from .htm to .html after copying them from a PC to a UN oxygen HTML, CSS and Javascript Coding Techniques 1 07-27-2007 04:04 AM
How to Display ms office files in asp.net? theone ASP and ASP.NET Programming 1 07-21-2007 01:36 AM
Load and edit external SWF files in flash oxygen Flash Actionscript Programming 0 07-19-2007 11:56 PM
Display tooltips in flash oxygen Flash Actionscript Programming 0 07-18-2007 12:53 AM


All times are GMT -7. The time now is 10:49 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0