PDA

View Full Version : Getting 2 swf's to work independently...


jeanmarc
01-08-2006, 04:57 PM
I have 2 separate swf's that i want to import to a new flashdocument... The problem is that when I do this they do not work independently as they did in separate files... How can I fix this? I want them to be in the same document because they have to load and start at the same time, despite different file sizes...

Cota
01-08-2006, 06:04 PM
When they were in seperate files they probably had _root references and such, which is no longer valid since they are being loaded into a main file...which is also why they no longer work independently....could you explain your problem in alittle more detail though..

jeanmarc
01-08-2006, 06:33 PM
Yeah well, the upper swf file consist of 3 pics that loops, and the other file is a simple menu with dropdown textboxes...

The other alternative to solve this problem is if I in some way could increase the file size of the smaller swf to the same size as the big one (approx. 650kb), so that when they are preloaded separately, they still get finished loading at somewhat the same time...

Cota
01-08-2006, 09:36 PM
If I understand you correctly, you want to load and be visable at the same time? If thats the case, preload them both before you make them visable..

jeanmarc
01-09-2006, 12:29 AM
yes, but since the separate files are different in size (one 120kb and the other 600kb), the small one is going to start before the big one since its going to load faster...

Cota
01-09-2006, 12:44 AM
Like I said, you can preload them both, make sure they're stopped, then when both are done loading, just play them.