Mar 1, 2007 #1 999000333 Programmer Joined Nov 20, 2006 Messages 39 Hello is it possible to load a html file like we do for swf files? for a swf we use loadMovie...but for an html file? Thank you Paola
Hello is it possible to load a html file like we do for swf files? for a swf we use loadMovie...but for an html file? Thank you Paola
Mar 1, 2007 #2 billwatson Instructor Joined Dec 18, 2002 Messages 2,312 Location CA load into a text area tags flash supports http://livedocs.adobe.com/flash/mx2....htm?context=Flash_MX_2004&file=00001040.html Upvote 0 Downvote
load into a text area tags flash supports http://livedocs.adobe.com/flash/mx2....htm?context=Flash_MX_2004&file=00001040.html
Mar 2, 2007 Thread starter #3 999000333 Programmer Joined Nov 20, 2006 Messages 39 Hello billwatson I created a dynamic text field in my Flash file called myText and there I put this code myData = new LoadVars(); myData.onLoad = function() { myText.html=true; }; myData.load("testlive.html"); Where testlive.html is the html file I want to upload when a user enter my website. Can you please let me know what I'm doing wrong? creating a dinamic text is a way to go? Thank you. Upvote 0 Downvote
Hello billwatson I created a dynamic text field in my Flash file called myText and there I put this code myData = new LoadVars(); myData.onLoad = function() { myText.html=true; }; myData.load("testlive.html"); Where testlive.html is the html file I want to upload when a user enter my website. Can you please let me know what I'm doing wrong? creating a dinamic text is a way to go? Thank you.
Mar 2, 2007 #4 oldnewbie Technical User Joined Dec 6, 2000 Messages 9,142 Location CA http://www.oman3d.com/tutorials/flash/loadvars_bc/ Regards. Web Hosting - Web Design 01/07/07 -> OLDNEWBIE VS JOSHUA MUSSLEWHITE Upvote 0 Downvote
http://www.oman3d.com/tutorials/flash/loadvars_bc/ Regards. Web Hosting - Web Design 01/07/07 -> OLDNEWBIE VS JOSHUA MUSSLEWHITE
Mar 2, 2007 #5 billwatson Instructor Joined Dec 18, 2002 Messages 2,312 Location CA Code: myHtml = new XML(); myHtml.ignoreWhite = true; myHtml.load("testLive.html"); myHtml.onLoad = function() { myText.html=true myText.htmlText = myHtml; }; Upvote 0 Downvote
Code: myHtml = new XML(); myHtml.ignoreWhite = true; myHtml.load("testLive.html"); myHtml.onLoad = function() { myText.html=true myText.htmlText = myHtml; };