Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Flash Tutorial: Generate a Random Frame with AS3 -HD-

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,415
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 8, 2010

In this tutorial, you will learn how to create a random frame generator using AS3 in Flash CS4.

Be sure to SUBSCRIBE because there will be a new tutorial every week.

Follow me on Twitter @RiverCityGraphx

Like us on on facebook: http://on.fb.me/i8UQpt

Suggest tutorials at http://www.rivercitygraphix.com

For project files, help forums, and more check out the website at http://www.rivercitygraphix.com

For business related inquires contact us at rivercitygraphix@yahoo.com

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (RiverCityGraphix)

  • can u show up a video to link a continueous path frame to a button.. i.e from 1,2,3,...10

    not random..!

  • @pshygnoik Yes, I have an Automatic Image Gallery tutorial on my channel.

Top Comments

  • Could you have a code to direct the button to specific random frames? Like a button to choose between frames 1,3 and 6 only.

  • 666! :P

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • Hi im creating a quiz, and i need it to display the questions in a random order. the code works fine. I just need a way stopping it from playing the same frame twice. I know that ill need some form of loop or array but im not sure where to start.

  • You really saved my life with this! How long did it take you to get so familiar with actionscript? I'm in my second year of college learning this stuff and I can barely get to grips with it

  • @RiverCityGraphix can you help me out. Just like Pshygnoik asked you, im trying to create a button that can jump to 3( or more) specific frames at a time. And i want that button to stay there so each time i hit it its gonna jump to any of these specific frames i chose.

  • russin rollet?anyone?

  • is there a way for us to start from a certain frame? because my images starts coming in only from frame 5 to 20. Any idea how i can do it?

  • Sorry, it's still a great piece of code but is there anyway to get the script to show a random image from the beginning? At the moment it always shows Image 1 and then a random image. It would be great if the first thing you saw was different each time.....

  • Brilliant - so easy when you know how. Many thanks for this one...you've saved me a lot of work :)

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more