Hi, im a n00b and I just wanna know, how do I make it so i just hav a page in a flash program and I wanna add news constantly but don't wanna keep making a new downloadable one.
So how can i make something of flash read a .TXT file?
Hi, im a n00b and I just wanna know, how do I make it so i just hav a page in a flash program and I wanna add news constantly but don't wanna keep making a new downloadable one.
So how can i make something of flash read a .TXT file?
im a n00b
Hi,
You can use the LoadVars object to handle data from a text file......
If your webhost supports PHP, you can create an admin interface to modify the text file and never need to touch the .fla file or the text file for modification. Here is a tutorial on how to achieve something like that.....Code:myVars = new LoadVars(); myVars.onLoad=function(success){ if(!success){ trace("Failed to load!"); }else{ myVariable=myVars.myVariable } } myVars.load("somefile.txt");
http://www.flashadvisor.com/tutorial...nd_PHP-28.html
A mind once stretched by a new idea never regains its original dimensions.
- Oliver Wendell Holmes
There are currently 1 users browsing this thread. (0 members and 1 guests)
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial |
|
|
Bollywood Actress |
Web Hosting Provider |
Bookmarks