Thanks for all your help dr.ache. I think I am very close now. I still get a 
number of errors, but I think the underlying problem is this one:
5000: The class 'RTE2124BuserName' must subclass 'flash.display.MovieClip' 
since it is linked to a library symbol of that type.

What is that trying to tell me, and how do I fix it? I tried a number of things 
(even deleting all the Movie Clips from the library), but I still get the same 
errors. It certainly won't let me put one class in another (as one might 
interpret the term "subclass"). When I tried that it told me that classes can't 
be nested.

package {
                // Import stuff
                import flash.events.EventDispatcher;
                import flash.events.Event;
                import flash.events.MouseEvent;
                import flash.display.*;
                import flash.net.URLRequest;
                import flash.display.Graphics;
                public class RTE2124BuserName {
                                var rect1:Shape = new Shape();
                                rect1.graphics.beginFill(0xFFFFFF);
                                rect1.graphics.drawRect(0, 0, 1966, 660);
                                rect1.endFill();
                                addChild(rect1);
                                var ldr1:Loader = new Loader();
                                ldr1.mask = rect1;
                                var url1:String = "topics/rte2124b_topic1.swf";
                                var urlReq1:URLRequest = new URLRequest(url1);
                                ldr1.load(urlReq1);
                                
ldr1.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler1);
                }
                public function completeHandler1(event:Event):void {
                                MovieClip(event.currentTarget)._parent = this;
                                trace(_parent.ldr1);
                }
}

Alan Neilsen


This message is for the named person’s use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or; lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the sender. You must not directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the
intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and
any of its subsidiaries each reserve the right to monitor all e-mail
communications through its networks. Any views expressed in this
message are those of the individual sender, except where the
message states otherwise and the sender is authorised to state them
to be the views of any such entity.

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared 
by MailMarshal
#####################################################################################
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to