Figured it out, it wasnt the static class but the way the whole project was
built. :\
On 9/7/07, Helmut Granda <[EMAIL PROTECTED]> wrote:
>
> When creating a static class that extends movieclip it loads into
> another movie properly but if I do not extend the static class to
> movieclip the movie remains. Does anyone has any idea why this
> specific behavior happens?
>
> Basically I have 10 movies and 9 of them were built the normal way
> but this other movie was created with a static class. All movies are
> loaded into a shell and when any of the 9 normal movies are loaded
> into the shell they work properly but once the movie that was created
> with the static class is loaded nothing else can be loaded after that
> unless I extend the static class to a the movieclip.
>
> -----part of the static lass below
>
>
> class classes.util.Class
>
> {
>
>
>
>
> private function Class ( ) {}
>
>
> public static function create( mc:MovieClip ) : Void
>
> {
>
> mc.__proto__ = BannerGallery.prototype;
> mc.init();
>
> }
>
> private function init()
>
> {
>
> bannerArray =
> _parent.bannerArray;
> path = "path1/path2/";
>
> ........
>
--
...helmut
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com