|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem with loadMovie / loadSound
Hello....
I am working on a button that hopefully will both load a movie and a sound on the same command. Somehow I am having problems with this, and was hoping for some help. The .swf movie will load, however, the sound wont work. I tried first loading in it thorugh loadSound, then with attachsound ... I would be really greatful if someone could tell me if I can load both on the same mouse event and what I might do wrong... -ps. I did load the sound to a movie clip with : myMusic=new Sound (MusicMC); Here is the button command..... on (release) { unloadMovie (_root.screen); } on (release) { //_root.screen.gotoAndStop(2); loadMovie ("scen5.swf", _root.screen); } on (release) { _root.myMusic.loadSound("/music/sample1.mp3", true); _root.myMusic.start(); _root.myMusic.setVolume(100); } |
|
#2
|
|||
|
|||
|
why do you have 3 on (release) ?
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Problem with loadMovie / loadSound |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|