ha ok I see what you mean. Those errors where coming at compile time
because when loaded I cast the swf to Map(). When I dont do that there's
no problem at compile time of course and then I got the 24 line error I
sent before, still I change many time what's on 24 and got that error.
L
Eric E. Dolecki a écrit :
Are you sure the swf is loaded before trying to instantiate the class?
On Mon, Mar 9, 2009 at 8:47 AM, laurent <laur...@logiquefloue.org> wrote:
Hi,
I have a map.swf containing a linked movie clip named Paris as a exported
Class.
I load this map from another swf. The problem that occure in different ways
is that the loading swf don't recognise the Paris definition:
1046: Type was not found or was not a compile-time constant: Paris. // this
is for definition : public var view : Paris;
1180: Call to a possibly undefined method Paris. // this is for
instantiation: view = new Paris();
I don't know what to do, except putting that Paris map directly on stage to
avoid linkage.
thx
Laurent
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders