Reply LinkBack Thread Tools Search this Thread
Old 17-12-2007, 02:24   #1 (permalink)
opinion
Registered User
 
Join Date: Dec 2007
Posts: 1
importing external swf with sound

hello
i have a problem when i try to import a child swf which has a loop sound as background into a parent swf. if I play child swf as standalone, the sound is ok, but if i play the parent swf, when child is runnning i dont hear any sound.
another problem is that i have constructed a preloader, but when i start the movie, the preloader is star running, but in the same time the movie is starting, and i want the movie to start only after the preloader is finish.
thanks for you time
  Reply With Quote
Old 21-12-2007, 10:13   #2 (permalink)
photon
nuclearagenomad
 
Join Date: Nov 2006
Posts: 23
Why don't you post your files here, so we can take a look?
  Reply With Quote
Old 02-01-2008, 21:34   #3 (permalink)
brucec
Podcaster on Web Design
 
Join Date: Jan 2008
Posts: 27
Send a message via AIM to brucec Send a message via Skype™ to brucec
like photon said, please post your code here, but when you have a child SWF, you need to make an instance of it in the parent SWF and either load the sound in the child with:

yoursound = new Sound();
yoursound.loadSound(URL);

If you plan on doing it via the _root level, you can try this:

_root.ParentSwfInstance.ChildSwfInstance
Of course, you need to create an instance in place of ParentSwfInstance and ChildSwfInstance
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8