A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Slow playback from HTML file

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    5

    Slow playback from HTML file

    I created a flash file that plays perfectly from the player but when I call it from an HTML page the speed is slowed dramatically why would that happen?

    FYI my FPS is set to 60, this was the first thing I tried.

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    60 is way to fast for a web browser, try 20-25
    ( 30 FPS is what most video is at )

  3. #3
    Not really Fat... or a Cat ^_^
    Join Date
    Feb 2006
    Posts
    63
    Quote Originally Posted by estudioworks
    60 is way to fast for a web browser, try 20-25
    ( 30 FPS is what most video is at )
    Estudioworks is absolutely right, and even commercial films run at 24 fps!!!

    Remember that HTML is like a layered cake and memory and performance is lost on every layer: System > browser > HTML code > Flash plugin > your SWL Movie.

    If you are not coding a shooter game, you can do with much less FPS

    --Ganbare!
    What are you going to do about it?... There's gotta be people for everything --Joan Manoel Serrat

  4. #4
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    I've cut my FPS down to 20 and my timing is still off depending on whose computer Im viewing it on. My project is a 1.5 min MP3 audio clip that plays while I transition pictures at specific points. An audio slide show if I had to give it a name. Here a link to it. Is what Im trying to do even possible? Or is my timing going to off depending on the viewers machine no mater what I do?

    http://furniturestyle.com/ME2/dirmod...6FA31536DC5E8F

  5. #5
    perplexed by actionscript alien_landscape's Avatar
    Join Date
    Jan 2006
    Location
    UK
    Posts
    289
    Make sure your sound track is set to 'stream' in the properties panel. This should force Flash to constrain the soundtrack to your animation, Flash will automatically drop the odd frame when playing back on a slow machine to ensure that the sound is synchronised.

    Have you tried lowing the jpeg quality on the publish settings? That might help the animation to run more smoothly. Always keep your images at 72 dpi, and no larger than they need to be on screen. (Ignore me if you already knew that)

  6. #6
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    It was the streaming option! I had it set to event.

  7. #7
    perplexed by actionscript alien_landscape's Avatar
    Join Date
    Jan 2006
    Location
    UK
    Posts
    289
    Glad to be of service.

  8. #8
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    Thank you!!!

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center