-
"sound.start(loop);" doen't work. Why? (MX)
hey dudes,
I'm making a presentation using flashMX. And i tried using
the "sound object". Everything works fine, except that it
doen't loop.
here's the script:
.......................................
introSound = new Sound();
introSound.attachSound("intro_loop");
introSound.setVolume(100);
introSound.start(loop);
.......................................
Last line is the one supposed to do d trick. Even AS Help says so.
Yes yes yes, the sound has proper linkage & correct name. It just
plays once, thats it. Any ideas why its not wurkin??
~Avrinder
-
the correct syntax is:
mySound.start( secondsOffset, loops );
loops is a numeric value/numeric variable that determines the number of time the sound loops/
i.e.
mySound.start( 0, 100 );//no Offset, loop 100 times
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Click Here to Expand Forum to Full Width
|