To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-11-2007, 08:17 PM   #1
educ8or
Member
 
Join Date: Mar 2006
Location: Torrington, CT
Posts: 44
[F8] randomly loaded images

Hello there, I was originally going to post this in the Actionscript area, but after reading some of the posts my question appears to be much too simple to warrant it's inclusion among such complicated scenarios, I suspect the solution to mine is much simpler. So here goes..

I want to have some movie clips that will randomly load images from a specified image folder, every time the is brought to this specific frame, they would encounter a new series of images. I'm familiar with using a move clip loader, and I know there are ways to make things random within Flash.

What I'm not sure about, however, is how to integrate the two, where if perhaps I had a folder of image001.jpg, image002.jpg, etc. that I could use something which would select these images randomly - this is still in it's conceptual stages at the moment, but any input would be appreciated greatly. Much thanks.
educ8or is offline   Reply With Quote
Old 01-14-2007, 10:10 AM   #2
educ8or
Member
 
Join Date: Mar 2006
Location: Torrington, CT
Posts: 44
Should this be on the ActionScript Forums?

Hey there, this is the first time I've asked a question without getting some input, usually I get more great advice than I know what to do with.. is this becuase this should be placed in the ActionScript area instead of newbies? The problem seems so simple that I didn't think it should go in there..

thanks..
educ8or is offline   Reply With Quote
Old 01-14-2007, 01:28 PM   #3
a_modified_dog
FK'n_dog
 
a_modified_dog's Avatar
 
Join Date: Apr 2003
Location: "aaarf"
Posts: 9,176
name your images - image0.jpg, image1.jpg.....

have your random generator output -
randNum = 0; // or 1 or 2 etc

load your movieclip with -
myClip.loadMovie("myFolder/image"+randNum+".jpg");
a_modified_dog is offline   Reply With Quote
Old 01-14-2007, 10:10 PM   #4
educ8or
Member
 
Join Date: Mar 2006
Location: Torrington, CT
Posts: 44
thanks for the help, I got it up and running!
educ8or is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash Newbies

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:21 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.