Flasher Archive

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


Subject: Music Loop
From: FlashActionScript
Date: Wed, 21 Mar 2001 12:26:49 -0000

Why is the music loop not started automatically

//this is the AS on the starting frame of my animal
music project
Animal_loop = new Sound();
Animal_loop.attachSound("Animal_loop");
onoff = 0;

//this is the AS on the button that on/off
//the animal_loop music which is a linkage of the wave
file that I have imported
on (release) {
if (onoff == 0) {
onoff = 1;
animal_loop.start(0,999);
}
else {
onoff = 0;
animal_loop.stop("animal_loop");
}
}

My problem is the on/off button works but the music is
not started automatically on entering the frame.
I want the Animal_loop (music) to start automatically.

Thanking in anticipation

Regards
Brajeshwar

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/



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