Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysound.start (0,1) Help!

Status
Not open for further replies.

n3lson

Technical User
Sep 16, 2002
17
0
0
US
I am using FlashMX. I have a sound that I want to play once in the beginning, but it keeps looping. It is linked to the library as music. Please help! Tell me what i'm missing.

Here is what I have in my actions area in frame 1.

stopAllSounds();
fscommand("allowscale", "false");
fscommand("showmenu", "false");
mypage = 1;
mysound = new Sound();
mysound.attachSound("music");
mysound.start(0,1);


 
Is your whole movie looping?

Regards,

cubalibre2.gif
 
No, the whole movie is not looping.
 
Using your exact code works fine for me, and the sound doesn't loop.
Must be something wrong somewhere else or you've left out posting some other code lying around that would make it loop.
Maybe a link to your .fla?

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top