PDA

View Full Version : wtf linkage and load movies dont work together.



said7
April 26th, 2004, 04:12 PM
I made a movie that has sound in it being activated and deactivated by using the sound object and linkage id's and it works like a champ.

Now i take that movie and load it into another movie
like so.....

actNav_mc.loadMovie("test.swf");

Now the sounds dont play or work.
So just for fun i brought the sound files into the library of my _parent movie and the sounds worked. Since i must have the sounds in the loaded file this is not a viable option. I then tried using the import linkage on an empty mc in the parent movie and it worked but i could shut the sound off.

**Well, I spent all day on this and as i was typing this thread i found a fix....
So i might as well post a solution. Dont even ask me how this made it work lol.

What i originally had....
navloop_sound = new Sound();

What fixed it....
navloop_sound = new Sound(this);

Wow that was strange.
Just thought id share :)

lunatic
April 26th, 2004, 04:15 PM
Thanks for posting the solution! :thumb: I'll bet this will help a ton of people. So often someone just types "fixed it, thanks anyway" but doesn't post WHAT fixed it.

cheers :beer:

claudio
April 26th, 2004, 04:21 PM
wtf linkage and load movies dont work together.They can work together, but if you dont define a target when defining your sound object, you might face some problems.
Glad everytihng is working now :)

senocular
April 26th, 2004, 04:26 PM
did you search the forums on this? This has been brought up a lot in the past. Might have saved you some trouble ;) At least you got it figured out now :)

mentalgeek
August 20th, 2004, 12:13 PM
Thankssss!!!!.. I´v been dealing with this prob for a long long time now... ;-)

Cheers
Fedez