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:
Play 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 Stop If (eltime < 2500) Get URL ("fast.html") Else 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|
Rating: 7 Votes: 106
|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 the files used in this tutorial.|
|Download (58 kb)|
|More help? Search our boards for quick answers!|