Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    May 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Setting the Exact time for a Flash Movie to Play

    Hi

    I'm fairly new to Flash (and I really don't know actionscript), so I hope this isn't too stupid a question, but I've searched and I can't find the answer.

    I have built a Flash movie that runs for about 30 seconds. There are a few transitions and I need it for a presentation project. I would like the movie to take 2 hours to run from the beginning to the end (i.e. 2 hours in total - really slowly ). What would be the best way to get this done?

    Also, are there any issue or tips that I should think about when a Flash movie runs this slowly?

    Thanks for any help.

  • #2
    Regular Coder Stooshie's Avatar
    Join Date
    Mar 2008
    Location
    Dundee, Scotland
    Posts
    378
    Thanks
    9
    Thanked 39 Times in 39 Posts
    If you are not too worried about specific transitions happening at exact times, then you could just have the movie looping continuously.
    Regards, Stooshie
    O

  • #3
    New to the CF scene
    Join Date
    May 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks.

    But perhaps I didn't explain this very well.

    What I want is, instead of the movie running for 30 seconds, I want one loop of the movie to last for 2 hours.

  • #4
    Regular Coder Stooshie's Avatar
    Join Date
    Mar 2008
    Location
    Dundee, Scotland
    Posts
    378
    Thanks
    9
    Thanked 39 Times in 39 Posts
    OK, got you.

    In CS3 you can slow the frame rate to decimal places. (not sure about other versions)

    You will have to work it out as follows:

    newfps[fps] = ( (currentfps[fps] * currenttime[secs]) / newtime[secs])

    If you are currently running at 12fps (the default) and the clips lasts 30 secs I work it out at 0.05fps for the new value.
    Regards, Stooshie
    O

  • #5
    Regular Coder Stooshie's Avatar
    Join Date
    Mar 2008
    Location
    Dundee, Scotland
    Posts
    378
    Thanks
    9
    Thanked 39 Times in 39 Posts
    Just had another thought.

    The above could be quite jerky every time the timeline moves from one frame to the next.

    You could extend the number of frames to make the movie last 2 hours. This would make the action much smoother but could be more involved to do.
    Regards, Stooshie
    O


  •  

    Posting Permissions

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