HZNM.COM
welcome to my space
X
Search:  
 HOME   Why does my flash movie run slow in browser
Why does my flash movie run slow in browser
Published by: mike 2010-03-16
Welcome to:hznm.com

  • Hey guys does anybody know why my flash movies play so much slower in my browser than when I preview them via test movie?


  • I'm actually skeptical about this whole computer not being able to handle the flash fps, because last year I worked on a compaq 1200 with 128 memory and I can tell when a flash ran at high frame rates, it played smooth.

    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.


  • Yes jony! We have the same exact issue, glad you can share the pain! 1gig memory is extremely fast! I have a 512mem and before flash8 released I loaded every humongous flash website in 5-10 seconds and it played smooth as hell.

    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:.
  • Benefits of 64-bit Windows XP?::
    Have websites that use Flash? Forget it you'll be back to your 32-bit web browser. It is no fun switching between web browsers every time you run into a
    http://answers.google.com/answers/threadview/id/514147.html
    HOME


  • Forgot to tell that making swf import-protected, and omniting trace funcs will also influence the smoothness.


  • The ISP has nothing to do with animation speed. It has only with loading times. Once a swf is loaded it runs from your local computer temporary internet files ;).


  • I tried to email adobe regarding this issue, but i am running on demo, and there is no support for that. Maybe somebody who's got a serialnumber can email them and ask what is going on here. Submit also a couple of links to this forum about this so, they see that it's not 2 people who is expiriencing this.


  • ^^ Sounds feasible, but :

    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...


  • And why wont people figure out it has NOTHING to do with FPS or how busy your code is
    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.


  • "My major wonder is how come the big website makers and the award winners arent experiencing this?" --> This is what we need to find out... i don't know if it is the case or not, but it might be from the machines where the sites are tested too... i'm saying this, because today i formated my hard drive and re-instaled everything (spring anual clean up... :} :ko: ), and now my pc is faster, even in visualising web sites made in flash!...


  • "I have tested this on a 1gig memory computer, its ALL the same on every computer I try it on."

    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... :*(


  • ^

    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?
    Boats with Hydraulic Steering - Market information::
    Boat manufacturers have not been immune to the craze for Flash animation, so some of the sites I've visited have been maddeningly slow (pretty, though!).
    http://answers.google.com/answers/threadview/id/42155.html
    HOME

    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.


  • Hey, I was having the same problem with a website I made. Try lowering the frame rate that seemed to help my lag a bit.


  • REEF
    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.


  • I recently upgraded from MX 2004 to v8. Am I correct in saying that even if I downgrade back to MX 2004 my movies will still play slowly due to flash player 8 issues?


  • I think Flash Player 8 has a lot more overhead in its browser plugin implementation. It certainly did add a lot of runtime features (like all the filters).

    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.


  • i just want to remind that:
    do not make it transparent (it slows down.. especially in firefox) thats a common issue in mozilla..


  • REEF
    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.


  • "I used to make movies at 100FPS and they played just fine?"

    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:


  • I'm going to bump this, because this problem needs to get recognized and a lot of other people I know are experiencing this too. Even with flash mx.


  • I doubt it mate, I work in a fairly large organization with a myriad of different pc's running on different o/s etc. I've noticed that regardless of the spec's of the pc's (everything from 486's to dual xeon's), my flash applications run significantly slower in the browser than via test movie. I've only noticed this since bringing V8. Flash Mx2004 i seemed to have no problems regarding this issue.


  • I have the same problem when i apply a filter on a motion tween (like in this (http://www.fivinte.pt) example, check the top banner), or when i have many lines drawn (like in this (http://www.doc.ua.pt/conheca/visvirtual/) example)...

    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:


  • 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.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.


  • Its not busy at all! The point isn’t about how crowded the code is, but regardless in my main movie its just gotoandplay/stop codes, and variables passing around.

    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


  • Yep, same problem here.Fast computer, simple animation, slow in browser... So it doesnt seem to be a solution to this. I reckon we stop using flash until adobe can explain what is going on...:sigh:


  • Reef, how busy is your code? There are a lot of subtle optimizations the pros make for elaborate websites. There are also a couple different ways to benchmark your application. The book Flash Hacks (http://safari.oreilly.com/?XmlId=0596006454) discusses some in depth benchmarking methods, which I recommend you try out to get to the root of your problem.

    I have also noticed that the FireFox plugin seems slower. It's very strange and frustrating.


  • Its not lag, because I'm testing it both on local and internet connections and they are both slow.


  • From what I've seen there is a "magic" number for the frame rates so that your movie would play nice in any browser. That is 31.
    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).





  • Challenging Books For A 14 Year Old?
    First guitar : acoustic or electric?

    You are looking at:hznm.com's Why does my flash movie run slow in browser, click hznm.com to home
  • we 039 re having trouble thinking of a name for our baby girl and she 039 s due in 6 weeks
  • which of the names do you think fits the best
  • here r somes names i came up with wen i waz bored
  • need help on girl names
  • what do you guys think of this name for a girl
  • do you like this girls name at all
  • baby names what would you name your children
  • baby name problem need help
  • what do think of my name
  • nicknames suggestions
  • which middle name do you like for a girl
  • i need some old fashioned girl names
  • do you like these names girls
  • do you like the name alice what comes to mind when hear it
  •  
  • middle name help please running out of time
  • what are good sibling names for skye
  • i need names for triplets urgently can you help
  • unique baby names middle names
  • since when did our names make us who we are did you pick out your name
  • i need baby names not old fashioned not crazy i like aiden and allie any thoughts
  • baby boy on the way and thinking of names
  • do you like the girls name justise
  • poll know any female that goes by angie
  • which of these is best
  • what are your suggestions for a baby boy 039 s name
  • i think one of these should be the right one im tired of looking lol
  • long list of names only attempt to rate these if you are extremely bored
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hznm.com        Site made:CFZ