Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

98 users online



Slow flash speed when in html? why? & how do i speed it up?

Slow flash speed when in html? why? & how do i speed it up?

Currently viewing this thread: 1 (0 members and 1 guests)


butlafer

butlafer

coo foke lol
Status: Offline!

Slow flash speed when in html? why? & how do i speed it up?

Alright fokes, I have been trying to have flash inside of a html document and its not working at all, I mean... It works but is just slow slow slow. I had it running at 30 fps and it ran about 12 fps in both internet explorer and fire fox. I tryed it at 50 fps and it was about 30 fps but still when I had a lot of movement in flash it would slow down to about 10 fps. anyone know how to fix this?

___________________

-= http://cut.by/butler =-
http://butler.homelinux.net/lemon.gif

Musoka

Musoka

Freelance Designer
Status: Offline!

Its the amount of objects/demand on the viewers CPU.

If you create 100 circles, all with their own actionscript, the movie is going to go slowly. You need to either cut down or look at any actionscript you have. If you have any onEnterFrames going on, and not stopping when not needed, end them. And etc.

___________________

http://img290.echo.cx/img290/9808/emoteheadphonessig611ui.jpg

butlafer

butlafer

coo foke lol
Status: Offline!

how do you go about ending actionscripting?? this is my code:

_root.gre.onEnterFrame = function() {
if (_root.gre.hitarea.hitTest(_root._xmouse, _root._ymouse, true) == true) {
_root.gre.nextFrame();
} else {
_root.gre.prevFrame();
}
};
_root.gre.onPress = function() {
gotoAndPlay("GraphicMotion", 1);
};
_root.red.onEnterFrame = function() {
if (_root.red.hitarea.hitTest(_root._xmouse, _root._ymouse, true) == true) {
_root.red.nextFrame();
} else {
_root.red.prevFrame();
}
};
_root.red.onPress = function() {
gotoAndPlay("graphicstills", 1);
};
_root.blu.onEnterFrame = function() {
if (_root.blu.hitarea.hitTest(_root._xmouse, _root._ymouse, true) == true) {
_root.blu.nextFrame();
} else {
_root.blu.prevFrame();
}
};
_root.blu.onPress = function() {
gotoAndPlay("aboutme", 1);
};

___________________

-= http://cut.by/butler =-
http://butler.homelinux.net/lemon.gif

butlafer

butlafer

coo foke lol
Status: Offline!

anyone?

___________________

-= http://cut.by/butler =-
http://butler.homelinux.net/lemon.gif

hamstu

hamstu

Neverside Newbie
Status: Offline!

Well mate, you've got ALOT of "onEnterFrame"s there. Plus a bunch of hitTests--What you need is some optimization.

Now, I don't know exactly what you're doing, but it seems you're trying to get some kind of rollover/rollout buttons.

Wait for devonair to come along, I remember he had a nice script for doing that. Grin

___________________

http://www.hamstu.com/images/hamstu_com.gif

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0173 seconds.