all groups > macromedia flash sitedesign > september 2005 >
You're in the

macromedia flash sitedesign

group:

Sound object issues


Sound object issues Krik Eortz
9/29/2005 9:04:45 AM
macromedia flash sitedesign:
I'm having this really odd problem with a sound object.../
I wrote script to create a new sound object, attach a sound, and play it at
runtime. It works great in one movie, but if I try to load that movie into
another root movie, it doesn't work; also, if I use the same code in that
other root movie, place it there, that refuses to work as well. The root movie
will still play sounds if I drag them onto the stage, but I can't get a sound
object to play there. Any ideas on why this would happen?
Erik
ebkortz@yahoo.com
erik@kortzcrystal.com
Re: Sound object issues Evasive705
9/29/2005 5:04:01 PM
erik,

it would help if you cut and paste ur script here so we can have a look.

Burden
Re: Sound object issues Marcos -- The New Learning Project
9/30/2005 9:02:39 PM
I had a similar problem with loaded swf's and loss of sound.

my problem was fixed by including the target when creating a sound
object.

instead of
mySound = new Sound()

use
mySound = new Sound(this)

it worked for me
good luck

Marcos
AddThis Social Bookmark Button