Why does my flash movie run slow in browser
ReeF, I hear you, I have the same annoiance on a 2x2.6 Ghz Dual Xeon 1 Gb of RaM... Good for me though that I develop "lazy" applications and not fancy animations :P.
In the previews of flash player 8 the speeds were fantastic. And still are if tested locally. It's a browser plugin problem, I wasn't argueing with you :). Good Luck.Oh good, I thought you were disagreeing with me, I was so frustrated no one understood the stress this brings :wasted:.
And jony, it has nothing to do with your computer -at- all. Once again, my flash worked before and played the same speed on the browser as it did in the player alone on my compaq 1200. My brother has a custom built computer with a hell of a lot of stuff he doesnt need, and he's experiencing this slowdown too.
We all need to tell adobe about this. My major wonder is how come the big website makers and the award winners arent experiencing this?
BTW...if you want to see what my 7 year old laptop looked like (I dont use it anymore, and this pic isnt mine)...here is a pic:
http://i18.photobucket.com/albums/b115/herimart/1247/dos.jpg
I looked up some specs, because I completely forgot mine. Check them out:
Storage Hard Drive
* Hard drive
* 6 GB IDE Interna
Processor
* Processor manufacturer
* AMD
* Processor type
* K6-2
* Clock speed
* 475 MHz
Mainboard
* Data bus speed
* 95 MHz
RAM
* RAM installed size
* 64 MB
* Max supported RAM
* 192 MB
* RAM Technology
* SDRAM
Display (Projector)
* Display (projector) diagonal size
* 12.1 in
* Display (projector) technology
* TFT active matrix
* Color support
* 24-bit (16.7 million colors)
* Max resolution
* 800 x 600....For the record, I still have the 100FPS website I made, smooth as butter and when I posted it up on ultrashock and other forums, no one recognized lag.
Yep, thats exactly what I'm saying norty. Check out my laptop too, the pic I posted looks very similar to the one I had, dusty and whatnot. 64MB mem and 475MHz. I made the 100fps web on that computer.
Do a search on "firefox flash" and you'll get quite a few of flash slowdown posts on multiple forums. Comon now, all of these guys cant have sucky computers that cant handle tweens.
And I'm STILL wondering...what about everyone else with flash who arent experiencing this problem? All the big guys are working just fine, what the hell is going on?
How come both FF and IE play slow speeds?
So far, we've come down to:
The problem not being the computer.
The problem not being the browser, unless all browsers somehow coincidentally messed up their latest patches.
I'm not sure anymore, so we have to keep workin here.
And why wont people figure out it has NOTHING to do with FPS or how busy your code is?
Didnt I already said I used to make movies at 100FPS and they played just fine? Didnt I provide the link of a circle TWEENING ( geez it cant get any busier then that :sigh: ) and it STILL plays slow?
And for the record...I'd rather have a slowed down 60FPS then use a 31FPS...read what I said about flash player to browser ratio, lowering the FPS doesnt help, because the browser plays 20-30 FPS slower no matter what. The FPS is not the problem!!! My compaq 1200 with 128mem played flash movies smoother and at the real fps then my 512mem dell does now :m:.
I have also noticed that the FireFox plugin seems slower. It's very strange and frustrating.
100FPS?!?!?!? HOLLY.... :d:
The Gods must be laughing right now...
Well, i tried with 31 (i was making my animations with the default fps ergh... :tired: sometimes i can be a real nerd... :tired:), and the results are better...
My ideia still is that the problem is not on flash or in flash player (remember what i said, that the same happens with flash player 7 to me...), but the issue is on the machines that somehow still can't handle very well with this issue... or it is our computers (will it be?? 1Gb ram... :sure: hummm...), or else, can be the isp providers machines that are too slow with millions of connections, and create this kind of "lag", or else i dunno... maybe i'm just saying a big crap.... but i'm positive that it is a way to go around this, just check for example this website: www.2advanced.com (http://www.2advanced.com)
They don't have slow animations... i wonder if the solution is on making faster fps swf?... On the other hand, the isp busy and slow machines thing i just said may explain why all we share +/- the same problem, but in diferent proportions... hummmm
I dunno... :sure:
What it seems to me, is that the computers where i already tried both web sites are still slow for this flash feature... It's possible, i think, that somethings in flash are ahead in time for the machines we have... (maybe more memory would resolv the problem??)
Although, if there is any way to attenuate this, please can anyone tell me how?... :sigh:
do not make it transparent (it slows down.. especially in firefox) thats a common issue in mozilla..
I know about optimization, ive been using flash since flash6, that’s not the problem here. Optimization isn’t needed to fix this.
For my test movie, to see if it was just the main movie messing up or not, I created 1 circle-octagon thingy. Growing in 1 tween and growing out in another with a course of 80 frames. 80 tiny frames with 2 tweens, the whole movie was uploaded and still 20-30 frames slower then the local swf.
I tried the .swf extention and a .html extension after uploading it online, they both produce the same slowmotion speed. It has to be a browser problem.
Here are the links, see for yourself if you have the same problem…look a little closer if you don’t see it. If you still don’t see it, hopefully its just me and the others who are having the problem:
http://www.freewebs.com/freeish/test.htm
Download: fla to test the actual speed: http://www.freewebs.com/freeish/test.fla
That's it!... my pc is an AMD Athlon 2.4 @ 1Gb mem, i don't think it is a bad computer, there are better computers, but mine it's a nice one! Still, i have the same problem that you Reef! There must be some kind of secret or something else to avoid this, and i refuse to believe that it's a flash player8 issue, because this site i made (http://www.doc.ua.pt/conheca/visvirtual/) was all made in Flash Mx, and it was as slow that time as it is now with the new player... :ponder:
And this is really annoying me, because when i make something on stage, it gets cool, then i preview it on the browser, and it's this... :a: So, the only conclusion i can get is that the swf gets slower for as many things you have on stage (many script, or many lines drawn, i dunno...)... Maybe it's really a borwser problem, maybe it's the browser that can't handle with the swf contents so easily....
Answers/solutions/suggestions are pretty welcome... :*(
Of course we can see the problem... we are just searching for solutions untill macromedia decides to repair this.
ReeF, I hear you, I have the same annoiance on a 2x2.6 Ghz Dual Xeon 1 Gb of RaM... Good for me though that I develop "lazy" applications and not fancy animations :P.
In the previews of flash player 8 the speeds were fantastic. And still are if tested locally. It's a browser plugin problem, I wasn't argueing with you :). Good Luck.
I'm having the same issue. There are 3 thing that speeded my animation up:
1 - fps to 31,
2 - Opaque Windowless
3 - Quality: Auto High
You can be sure, the problem is within integration flash player into browser.Nah, people dont seem to understand 31FPS isnt the last resort. Im not gonna follow some guy who believes 31FPS is magical, whether it's more efficient or not. I need speed, 31FPS wont bring me the type of speed I want.
But I did solve the problem a long time ago, within the flash embed script on the html page, adding wmode="opaque" fixes it.
60 Frames is for sure too much. As you guys noticed it's not a computer problem but it's a browser plugin problem.
The flash player you use to test your movies and the one used as a plugin are different stories.
"a hussle" for you Flash Player is not only formed by too intense calculations. Refreshing big parts of one swf is by it'self a hussle EVEN if you don't have big bad ActionScript in the movie. And the higher the frame rate you use, the bigger the probability for "apparently slower animation". This discrepancy is really visible when you compare the 2 swfs. One in the browser and one in the player.
Try comparing one swf at 31 fps (in local flashplayer and in browser).
But thats not the problem here, what I think the problem is deals with the new flash players and its connection to the browser, I have tested this on a 1gig memory computer, its ALL the same on every computer I try it on. The low FPS doesnt fix a dam thing, because other people using flash 8 end their sites up just perfect and their swf's play the same on browsers...except mine. I even tried 12 FPS, on swf it plays 12FPS but on browser its more like 5-6FPS. You can tell the difference easily.
The whole above 30fps being bad was always a bunch of bs because I've worked on the slowest computers and the final swf render always played the same on browsers.
Ever since flash 8 player came out my movies are 20-30 frames slower on browser. The ratio now of my swf speed to browser fps speed would be about 60:30...lowering the FPS would still leave the same ratio, 40:20...its horrible, and theres no solution to it. Maybe I need to buy a different copy of flash...because everybody elses website runs just fine.
I'm having the same issue. There are 3 thing that speeded my animation up:
1 - fps to 31,
2 - Opaque Windowless
3 - Quality: Auto High
You can be sure, the problem is within integration flash player into browser.
When I play one of my games in my browser, on a PC at work, it'll run slow. When I play that same game, also at work but on a different PC which is only slightly faster than my own, it'll run blazing fast as if I was playing it in a Flash Player window...
That was a while ago. Right now I tested the same game on an even faster PC, and the game is slow again :-/
My guess is that it has something to do with the Flash player in combination with the browser but I can't really say what...
Any time you experience slowdowns in the playback of Flash applications, it's because the application is attempting to process more instructions per frame than the client computer can handle. If your framerate is 15 fps, the player has 1/15 = 0.067 seconds to process everything you've asked it to. A framerate of 60fps yields only .0167 seconds. So, if your application doesn't have to do much, a framerate of 60 is going to make it nice and smooth. But if Flash Player can't finish everything it was supposed to do in those 16.7 milliseconds, it will hold up the entire animation while it finishes. This is what causes playback to appear slow and stuttered.
So, as Aries posted, you must make a tradeoff between the "smoothness" of your desired framerate and the amount of things you have going on under the hood. Traditional motion picture film is displayed at 24fps. Television in the US plays at 30fps (however, it is interlaced which gives it the appearance of being 60fps). I personally like to get as close to 60fps as possible. Others say it's pointless to go above 30, which I highly disagree with. It is a subjective matter to some degree, but higher framerates will always appear smoother.
This has nothing to do with latency or "lag," which is the amount of time it takes data to go from one place to another across the Internet.
#If you have any other info about this subject , Please add it free.# |
