View Full Version : Random Animation Effect...
08-11-2006, 07:20 AM
On the following website is a fairly simple Flash animation, the bottles come out at the screen and then fade away... This I can handle :)
I want to create this same effect however but on a video, how fast and which position the bottles come out at the screen is decided upon by the users mouse... How could I achieve this same effect if it were played on a screen without a mouse?
Thanks in advance!
08-11-2006, 09:37 AM
Not sure I understand exactly correct.. but:
When you do a mouse controled animation you need to check for mouse compatibility, meaning is the mouse there? Most games, movies, etc. do this with a simple button... click here to continue. If they don't click, they don't continue. if they do click, then they have a mouse.
On the other hand, for something like the bottle animation, you would need to set a default behavior. Basically the movie will need to play through regardless of visitors mouse controls.
Your AS would then take the "default" codes and apply changes to that based on mouseOver/Up/Down events.
This way the visitor will be able to control the bottles, but if they just sit there something still happens.
08-11-2006, 09:47 AM
Sorry I wasn't clear... I want to tranpsoe the animation onto a looping DVD so basically the mouse behaviours couldn't be there... I still wanted to have the same effect though... any ideas? Also do you know how I could create it so that instead of playing an animation with ten bottles in the current order each bottle would play at random? so the entire animation would never just repeat itself?
08-11-2006, 09:55 AM
Hmmm... off the top of my head I am thinking this might work:
Use arrays to your advantage. Set up each bottle in a tween of motion accross the stage. Then set up an array to hold all the bottles and their paths. Then create a function to call the array in a random order, reset(); then start again with a new random order.
What I still don't understand.. and maybe its me not getting it, as opposed to you not explaining well..
What do you really want to accomplish with the mouse effects to then take the mouse away? Using mouse effects needs a mouse, or other input (keyboard) to influence the AS, otherwise it is a frame by frame animation, doing exactly hat you have programmed it to do.
08-19-2006, 08:03 AM
the fact is not clear to me. If you want to use it as a video then how the dynamic or interactive part is coming? If you render a flash movie into a video format it doesn't render the AS. Scripots for dynamicism, you can expect it on a video(not flash movie).
My little knowledge serve you this much.
06-14-2007, 07:08 PM
What I have done for now, is, I have done some animation on flash. Then I have exported it as Avi. Then I imported it into windows media player because I wanted to use the animation as an intro to a DVD.
Then when saved. I burnted it onto DVD. I know there are better ways than this but for now, the knowledge I have, this is what I know. Hope that helps.
Finally, if you do create a DVD. Make sure to have another computer to test the DVD. And also the DVD player which is fixed for your TV to test out again.
Then you know it's done its jobs.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.