Am 23.01.2006 um 15:02 schrieb Mark Winterhalder:
> there are various ways to call your init code, which one did you use?
> do you have a Main.main() entry point and call it with <call/> or
> mtasc's -main setting? or do you use the "natural entry point" method
> (<http://www.flashant.org/index.php?p=408&more=1&c=1>)? do use the
> latest mtasc (or at least 1.09 or later)?

  I'm using the call tag in 1.10b. I just thought since XML doesn't  
really have an order of tags, if I put it at the top level (i.e.  
directly inside "movie") it would get called first. But now I find  
that, if I put it at different positions (before the first frame or  
after) seems to make a difference, because the other objects haven't  
been created yet, and so my code mostly just doesn't work if it  
doesn't go at the bottom of the frame.

  But that should be easy to work around.

> in flashspeak, the term you're looking for is "preloader". :)

  Thanks, I hope this will help me google for the right thing.

> however, a common way to do it is to have
> the actual content in a later frame

  Thanks, I'll fiddle around with that.

> stop the movie in the beginning, and check onEnterFrame if
> _root.getBytesLoaded() == _root.getBytesTotal(). if you have two SWFs,
> also check if getBytesTotal() > 4, because it's 0 until the SWF header
> is loaded.

What object would I put this onEnterFrame method in? Any I place? The  
one I last place? Or is that sent to the object I specify in call?

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to