Results 1 to 6 of 6

Thread: Random Animation Effect...

  1. #1
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random Animation Effect...

    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

    http://www.patronspirits.com/en.phtml

    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!

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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.
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Apr 2006
    Posts
    584
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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.
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Oct 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi tomyknoker

    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.

    Regards
    Subha

  6. #6
    Join Date
    Jun 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •