Yes once its done, loadImages() starts another onEnterFrame
Karl DeSaulniers
Design Drumm
http://designdrumm.com
On Apr 10, 2009, at 11:29 PM, Zeh Fernando wrote:
When you have an "onEnterFrame" and you want to terminate it but
call on a
function at the end of it, what is the best way of doing this?
Do you call the function first and then end the onEnterFrame or do
you end
the onEnterFrame and then call the function?
It doesn't matter. You nulify the reference and the current call
continues
to execute. So it makes no difference in practice (unless your
function SETS
onEnterFrame of course).
Also, do you use onEnterFrame = null or is it better to delete
onEnterFrame?
Someone made tests about it to see what was faster a long time ago,
but I
can't remember the results. :( IIRC, it was better to set it as
undefined
(same effect as delete in this case?)
Zeh
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders