Flasher Archive

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


Subject: Load Music (2)
From: FlashActionScript
Date: Wed, 21 Mar 2001 13:25:46 -0000

While waiting for my previous reply.
I tried this stunt and it works, I'm afraid if this is
how flashers do it, comments would be highly
appreciated.

Step --> 01
I imported a music on a separate file (music.swf) and
have this loop using AS on the timeline and not the
music.

Step ---> 02
On the ON state of my music button, in the main
timeline, I use this AS

on (release) {
loadMovieNum ("music.swf", 15999);
}
// 15999 because it is the last level and I don't have
to scratch my head remembering the levels that I am
using in this project.

Step ---> 03
on the OFF state of the button
on (release) {
unLoadMovieNum (15999);
}


This is serving my purpose of the music ON/OFF, but
will somebody tell me how to use a single button
having on and off state to on/off my music loop.
Please tell me how to check if a loadMovieNum is a
particular movie is done or not.

Thanking in anticipation.
Regards
Brajeshwar
(Sorry for the bold email ID of mine, that was one
nice phrase not taken on Yahoo relating to flash)

__________________________________________________
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]