Help, Flash lag !
- Started
- Last post
- 6 Responses
- Louno
Hi ,
i was wondering if u guys could help me optimise my flash so it would run faster.
http://www.louno.com/script.txt
what is going on is , there is an object on the scene , when you rollover /out /click on a button it makes the object move .
i think it ran ok when i had only 1 object , but now i have 5 and it kinda lags , i need to have 20 object in the end...
Also , does using Else if increase performance ? instead of using if all the time ?
- punkture0
there are too many onEnterFrames running with too many internal if statements.. thats whats lagging out the player.. ull have to dynamically add the onEnterFrames with their variables when needed to react
- Louno0
how can i do that , u have an example ?
there is only 1 onenterframe , but there is alot of ifs...
- frankbb0
check mail
- Louno0
dude ! im at work , send it to
thanks alot :)
- unfittoprint0
onEnterFrame only when requested maybe the soulution...
- Louno0
well i think its not the script anymore , i think its maybe because of some graphic but i think for the most part its because of the embeded font , and i cant figure a way to make the font NOT anti-aliased , its weird , if i dont embed the font well all the text disapear , even if its a standard font ... i think it might be because the text is masked ... i dunno... if u want to check it out i can send u the .fla ... thanks anyways :)