Aaron Burgess
May 8th, 2002, 10:35 PM
I did this e-card, and it seemed fine. Then I played it on another persons computer (both PC), and the sound failed to work. I'm using Flash 5. Other e-cards with sound produced by other people worked fine. So here's my code.
On the first frame (root) I have:
s = new Sound();
s.attachSound("first");
s.start(0, 100);
Further down the timeline I change the music, and so I have:
s.stop(["first"]);
s.attachSound("second");
s.start(0, 100);
With the linkage in the Library I have it as Export this symbol. So it's saved out in the swf file.
So after that I just made a quick swf with the sound file dropped straight onto the first frame so it runs without calling it up in action script, anf that worked.
What am I doing wrong?
On the first frame (root) I have:
s = new Sound();
s.attachSound("first");
s.start(0, 100);
Further down the timeline I change the music, and so I have:
s.stop(["first"]);
s.attachSound("second");
s.start(0, 100);
With the linkage in the Library I have it as Export this symbol. So it's saved out in the swf file.
So after that I just made a quick swf with the sound file dropped straight onto the first frame so it runs without calling it up in action script, anf that worked.
What am I doing wrong?