Flash external files?
- Started
- Last post
- 6 Responses
- err
Im trying to make flash find the newest swf and load it. So I can have a "next" button in the main swf file .
I can name the swf's in sequence (i.e. 001.swf, 002.swf...) I need this so it will be easier to update.
This is probably the same type of scripting used in.
http://www.vudumedia.com/zooilog…
- mrming0
loadMovie (myNum+".swf", "myTarget");
Where myNum is your number - increment this on clicking the button.
- err0
Great but what if there isn't a newer one?
- mrming0
Flash hasn't got the ability to look at the files in a directory. You'll have to keep a list in a text file or SQL table.
For example in a text file you could set the variable totalMovies=5 and then change it every time you upload a new one.
- err0
Sorry Im not that good at action scripting.
BTW I like your site mrming.
Great way to improve your typography skills.
- mrming0
Thanks. It's easy enough to do what you're talking about. Get a book on actionScript and learn some of the basics and then you'll figure it out no probs! :-)
- karramarro0
I have no programming skills, I just designed the zooilogic, But I can tell you that it works with an xml database . I hope this helps you ?¿?¿