dcsimg
First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Zoubin Zarin | Website: http://www.zarinmedia.com/

Scripting (cont)

In frame 3 on the "action" layer I placed a simple stop action to stop the movie from looping.

I also created a button I called "again" and placed it in frame 3 on the "Refresh Button" layer. When an On Click event occurs, it will simply goto and play frame 1.

Thats it! You can modify this .fla to read the bar1 to bar28 values from a text file. All you have to do is simply use a loadmovie script with a load variables. This will load the text file into your variables. When doing this keep in mind that 'with Load Variables, the text at the URL must be in the standard MIME format application/x-www-urlformencoded (a standard format used by CGI scripts). Any number of variables can be specified. For example, bar1=56&bar2=83&bar3=4&bar4=72 etc...

Here is the end result!!

» Level Advanced

Added: 2000-04-13
Rating: 7.98 Votes: 327
» Author
Zoubin Zarin is the core of zarinmedia, a newmedia company specializing in advanced flash design / development / and programming. Zoubin is also the creator of www.flashskills.com, a directory of freelance flash developersonline, listed according to skill level, location, availability for work.
» Download
Download the files used in this tutorial.
» Forums
tuteicon
More help? Search our boards for quick answers!
fk_wncornlft
fk_wnmid
fk_wncornrght
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.