Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > General > Animation and Effects

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-15-2004, 06:04 PM   #1
morvak
Registered User
 
Join Date: May 2004
Posts: 1
Default Random Images + Random Movement + Random Transparency

Greetings

I want to make an animated header for my site. Say 700x100.

What I want to accomplish is take approx. 20 images and have them appear in this space at random spots, and moving from where they appear to 1 direction, then disappearing. over and over again.

the images need to appear at a random point at 0% transparency (invisible), then as they move towards their designated random point they become transparent to 100% then "disappear" as they reach their destination.

i would like to completely randomize this. randomize where they appear, random the length of "visibility", and random the direction they are going.

i don't want the images too move TOO Fast or TOO slow, and i don't want them to "appear" and then "disappear" too fast or too slow either. i do want a threshold of 'visibility" and "movement".

i have no idea how to accomplish this, but it would seem not too hard. i believe i need to call math.random for position, transparency and where they "move" to.

is this easy to do? could anyone help me with the code to do this?

i would greatly appreciate it. some guidance or hints. maybe exisitng code to look at if this has already been done before ? thanks!!!!
morvak is offline   Reply With Quote
Old 05-16-2004, 04:59 PM   #2
Ruben
Me
 
Ruben's Avatar
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 3,512
Send a message via MSN to Ruben Send a message via Skype™ to Ruben
Default

Making you a sample, but it's kinda midnight here in Holland, so you'll have to wait 'till tomorrow, sorry

- Ruben
__________________
.
Originally Posted by MichaelxxOA
"He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit."
Ruben is offline   Reply With Quote
Old 05-17-2004, 06:46 AM   #3
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

morvak
welcome to the forums

whay don't u start doing a fla and let us help ya then
__________________
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 05-17-2004, 11:55 AM   #4
Ruben
Me
 
Ruben's Avatar
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 3,512
Send a message via MSN to Ruben Send a message via Skype™ to Ruben
Default

Check the attachement, is this what you wanted?

- Ruben
Attached Files
File Type: zip header.zip (4.1 KB, 1285 views)
__________________
.
Originally Posted by MichaelxxOA
"He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit."
Ruben is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:08 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.