When I load a .swf into an existing .swf my computer becomes really slow. Flash also deletes some of the layers in the loaded .swf. Does anyone know what might be causing this?
I also wonder if there is possible to make flash print out every decimal when you for example search for radio chanels(I hope you get this question).
Problem with loading .swf
Started by laban (swe), Apr 25 2006 03:46 AM
6 replies to this topic
#1
Posted 25 April 2006 - 03:46 AM
#2
Posted 25 April 2006 - 04:58 AM
How are you loading the swf?
I normally create an emtpy_mc dynamically and replace it with the loaded one.
Can you explain the 2nd question more precisely? thx
PS: are you from sweden?
I normally create an emtpy_mc dynamically and replace it with the loaded one.
Can you explain the 2nd question more precisely? thx
PS: are you from sweden?
#3
Posted 25 April 2006 - 06:58 AM
funkysoul, on Apr 25 2006, 11:57 AM, said:
How are you loading the swf?
I normally create an emtpy_mc dynamically and replace it with the loaded one.
Can you explain the 2nd question more precisely? thx
PS: are you from sweden?
I normally create an emtpy_mc dynamically and replace it with the loaded one.
Can you explain the 2nd question more precisely? thx
PS: are you from sweden?
I have a fake radio that scans for chanels when i push a seek button. While it is searching it also displays the frequency fore example 106,3... my problem is that when the counter reaches for example 108,0 it writes out 108 and i don't want it to.
And yes, I am from Sweden....
Edited by laban (swe), 26 April 2006 - 02:35 AM.
#4
Posted 26 April 2006 - 07:38 AM
Trying to solve my problem (which I have not done yet) I ran into another problem. I you use the command _root.createEmptyMovieClip("empty",1); is there anyway to load a movieclip into this newly created movieclip?
#5
Posted 26 April 2006 - 08:42 AM
loadMovie("yourloadedmovie.swf", empty);
#6
Posted 26 April 2006 - 10:00 AM
funkysoul, on Apr 26 2006, 03:41 PM, said:
loadMovie("yourloadedmovie.swf", empty);loadMovie("MP3.swf",_root.mp3);
Does this mean that i have created i MC in _root and loaded it with mp3.swf? And if so, how do i display/play this MC?What I am looking for is that I want to preload several .swf's and with a click load one of these clips into my "original" movie... If I just load my .swf's with a click on diffrent buttons it takes too long time. for example:
_root.createEmptyMovieClip("empty",1);
mp3_btn.onPress = function(){
loadMovie("mp3.swf", empty);
}
radio_btn.onPress = functio(){
loadMovie("radio.swf",empty);
}
This takes too long! =)
Or is there some other way that solves my problem?
Another thing that I wondering about is if flash has a limit for maximum number of levels, movieclips, buttons, images etc.
Edited by laban (swe), 26 April 2006 - 10:40 AM.
#7
Posted 26 April 2006 - 02:39 PM
maximum levels= 999
regarding the loading time.. I would suggest you putting a preloader into each mc.. other then that, I don't see any other workaround at the moment
regarding the loading time.. I would suggest you putting a preloader into each mc.. other then that, I don't see any other workaround at the moment
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
