Welcome, Guest
  • Author Topic: Need help streaming audio and jpegs  (Read 1194 times)

    Adam

    • Jr. Programmer
    • **
    • Posts: 96
      • View Profile
      • Email
    Need help streaming audio and jpegs
    « on: 05/20/06, 20:33 »
    I want to stream the timeline, running the audio and loading the images as I go. I want to set up various preloads between pauses in the audio and load the frames containing the images. The preloads will check to see if the frames with the images are loaded and then precede to play, or loop if necessary. I've heard this called "smart-streaming".

    But I can't get it to work properly. When I watch the stream through the bandwidth profiler, I see that Flash is holding back. The preload duration in the profiler indicates that it Flash is waiting 72 frames (6 seconds). It seems that Flash is calculating how far into the timeline it needs to go before it starts playing. That causes a long delay at the start and it's not necessary because the built-in preloads I set up in the timeline will pause the play at better moments during the presentation.

    How can I tell Flash to start playing before the 72 frames are preloaded? Thanks in advance.

    Adam

    nothingGrinder

    • Mods
    • Systems Administrator
    • *****
    • Posts: 823
    • Automatic websites with social media distribution
      • View Profile
      • nothingGrinder
    Re: Need help streaming audio and jpegs
    « Reply #1 on: 05/20/06, 20:44 »
    if you are using any classes or components, you will be exporting them on the first frame. So, flash calculates all  your classes and components on the first frame , then starts teh movie. if you dont want this, then go into publish setting and into Flash then look at actionscrpt 2.0 settings, then change the frame number to the first preloading frame.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Need help streaming audio and jpegs
    « Reply #2 on: 05/21/06, 06:03 »
    Load optimization is allways an issue.

    So it is wise to plan your application and load sections, as they are needed.
    Keep the first part as simple as possible, so that users have at least a nice looking interface to start with ;)
    happy flashing
    8)
    Ronald