Why there's a lag on there ;n;

Started by: exceld | Replies: 3 | Views: 460

exceld
2

Posts: 1,402
Joined: Dec 2012
Rep: 10

View Profile
Jun 9, 2013 3:34 PM #1002173
So, I got this problem for a several times. Idk what's wrong with my flash... ;n; Well... the problem is, there's some lags on the swf every time I play it on internet site, but when I play it on my computer (fresh from the flash by pressing ctrl+enter) it just smooth without no lags. Ok.. I'll give an example, HERE! There's a lag on the first kick and when the character is going down ;n; If you guys want to check the FILE(Click the download file)...

Thank you guys ^^
S-Critical
2

Posts: 2,848
Joined: Feb 2012
Rep: 10

View Profile
Jun 9, 2013 3:54 PM #1002186
The only thing I would probably do in this situation is to add a preloader, that way it preloads the bytes before the animation starts. If you don't they have to load the bytes while the anim is playing and since maybe on some frames the bytes haven't been loaded, it has to stop in order for it to load.
Tsang
2

Posts: 1,499
Joined: Jan 2010
Rep: 10

View Profile
Jun 9, 2013 7:53 PM #1002326
Yeah, you're gonna want to place a preloader at the beginning of your animation. The preloader allows the rest of your animation to flow smoothly, so it's best if you use one, especially for full-length animations which take up lots of space as an .fla or .swf file.
exceld
2

Posts: 1,402
Joined: Dec 2012
Rep: 10

View Profile
Jun 10, 2013 1:40 AM #1002564
Quote from supersmashbro
The only thing I would probably do in this situation is to add a preloader, that way it preloads the bytes before the animation starts. If you don't they have to load the bytes while the anim is playing and since maybe on some frames the bytes haven't been loaded, it has to stop in order for it to load.

I see >.> Thank you SSB :)

Quote from Tsang
Yeah, you're gonna want to place a preloader at the beginning of your animation. The preloader allows the rest of your animations to load smoothly, so it's best if you use once, especially for full-length animations which take up lots of space as an .fla or .swf file.

Ok sir ^^ i got it :D