...

View Full Version : flash design



dispector
08-06-2005, 06:45 PM
i want to make a site in flash, which ive never done before, and was wondering what is best way to load external files in to the movie? So say you click "contact us", an external file called contact.txt, or .html or whatever the extension needs to be is displayed in the content area of the site.

iota
08-07-2005, 08:54 AM
On the first keyFrame, type :




myData = new LoadVars();
myData.onLoad = function(){
myText_txt.text = this.content;
};
myData.load("example1.txt");

stop();



Where MyText_txt property is set to Dynamic Text.


See : http://icebergz.flashband.net/

For the sake of your clear understanding, refer to the attached file.
Hope you OK :)

__________________________

Submit your vote for us here :
http://www.codingforums.com/showthread.php?goto=newpost&t=65351



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum