Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Looping audio stream problem
From: Dan Sobczak
Date: Tue, 11 Jan 2000 07:09:21 GMT

Ooops -- sorry... there was a typo in my e-mail addy in the original msg...
It should be:

zonaatvelocityhsi [dot] com

Thanks!
-Dan

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Dan
Sobczak
Sent: Monday, January 10, 2000 11:51 PM
To: flasheratchinwag [dot] com
Subject: FLASH: Looping audio stream problem


I've been lurking on this list for a couple months now, learning a heck of a
lot in experimenting with Flash4 and reading as many of the posts here as I
can...

I've come across a problem I just cannot find the solution to, and was
hoping someone might know the answer.

I have a simple Flash movie of 2 scenes. Both scenes have a .wav (4 measures
of music - both are in "stream" sync format) file. Scene 1 plays its .wav
once, then the movie moves on to Scene 2.

Scene 2 is supposed to play its .wav, and if the yellow button in the
lower-right is NOT clicked, then the movie is sent back to Scene 2-Frame 1,
thus looping the .wav file until the yellow button is pressed. Once the
button is pressed, that's the end of the movie.

However, the problem is -- when Scene 2 loops back to its Frame 1 (thus
looping the music clip), there is a brief audio pause as soon as the movie
hits Scene 2-Frame 1 again, and the music seems to not pick up again until
frame 2 or 3, effectively chopping off the very beginning of my music loop.

My music clip in Scene 2 begins in Frame 1, which is the very same frame
that the text "Scene 2-Frame 1!" appears. And my action at the end of the
music clip (which is in the same frame as the very last frame of the music
clip) says, basically, "if button is not pressed, goto and Play Frame 1".

An example of this is here:

http://www.phoenix360.com/test/neo/dsobczak.html

My goal is to make the 4 measures of music in Scene 2 loop repeatedly (and
seemlessly!) until the user clicks the yellow button. I don't wanna have to
set the sound properties of my Scene 2 .wav file to loop "X-number" of
times, 'cuz it'll just add precious bytes to my .swf file, thus killing my
final download time when the project is completed. Plus, the final movie
will need to loop indefinately until that button is clicked by the user.

Has anyone run into this before? If so, what's the solution? Or is it just
a Flash4 bug? This happens when the movie is played locally or over the
'Net (I'm on a P2/400mhz, 256mbs RAM, on a T1).

Any help is greatly appreciated!!

-- Dan Sobczak
-- zonaatvelocityhsi [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Looping audio stream problem, Dan Sobczak

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]