Welcome, Guest
Sign in
Create account
Home
Home Page
Components
Buy & Sell
Freelance
Marketplace
Tutorials
Flash Tutorials
Games
Free Online Games
Community
Message Board
Home
Help
Search
Login
Register
Subscribe to
Our Feed
Follow Us
On Google +
Follow Us
On Twitter
Become a fan
On Facebook
Flash-DB
»
General
»
Flash MX 2004
(Moderators:
Flash-db
,
Musicman
,
vesa kortelainen
,
Ronald Wernecke
,
Andresss
,
papachan
) »
Need help streaming audio and jpegs
« previous
next »
Print
Pages: [
1
]
Author
Topic: Need help streaming audio and jpegs (Read 1194 times)
Adam
Jr. Programmer
Posts: 96
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
Logged
nothingGrinder
Mods
Systems Administrator
Posts: 823
Automatic websites with social media distribution
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.
Logged
nothingGrinder
nothingGrinder
nothingGrinder Blog
Follow me on Twitter
Ronald Wernecke
Global Moderator
Systems Administrator
Posts: 6203
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
Logged
happy flashing
Ronald
Print
Pages: [
1
]
« previous
next »
Flash-DB
»
General
»
Flash MX 2004
(Moderators:
Flash-db
,
Musicman
,
vesa kortelainen
,
Ronald Wernecke
,
Andresss
,
papachan
) »
Need help streaming audio and jpegs