First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Knoj | Website:

More Actionscripting

Place a keyframe on the 6th frame of the actions layer.

Double click on the 6th frame of the actions layer. This will bring up the Frame Properties Box. Under the actions tab, you will need to enter the folowing actionscript:

Set Variable: "starttime" = GetTimer

Place a keyframe on the 25th frame of actions.

Double click on the 25th frame, and add the folowing actions:

Set Variable: "eltime" = GetTimer - starttime
If (eltime < 2500)
    Get URL ("fast.html")
    Get URL ("slow.html")
End If

You will want to substitute "fast.html" for the page you will want to send the user to if their computer is fast enough. You will also want to substitute "slow.html" for the page you will want to send the user to if their computer is too slow for all of your animations. I have substituted each for a text field that displays either "Too Slow!", or "Fast enough." You may also want to change the number "2500" up or down depending on your animation. Try out many diffrent numbers, and see what the results are on your computer. The smaller the number, the faster the computer will have to be, the bigger the number, the slower the computer can be.

This tutorial shows a result of "Too slow!" on a 100 Mhz computer, but gives a result of "Fast enough" on a 233 Mhz.

» Level Advanced

Added: 2000-12-25
Rating: 7 Votes: 106
(10 being the highest)
» Author
I am called "Knoj" (that's spoken as "Noj"), but my official title is "Jon Reneberg". I am a 19 year old college student in Peru Nebraska.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
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: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.