PDA

View Full Version : Referencing a sound inside a component


astgtciv
07-02-2005, 08:03 AM
Hi, all, I have the following problem: I am trying to create a component that contains a couple of sounds in its library, with linkage ids of "flip1" and "flip2".
Inside the component, I have an AS class, which has code which calls Sound.attachSound("flip1") under certain conditions. However, it seems that this sound, contained inside the component, is not seen by this code. Another words, if I include, in the surrounding FLA (the one using the component), a sound with a linkage id "flip1", then the code works, but not otherwise. Any ideas? Seems that this should work somehow, but so far couldn't find a solution anywhere... any help is greatly appreciated!