Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread laurent
ok it's something to do with bulkloader, I let it go from here :) thanks L laurent a écrit : even if I delete map.swf it's still loading it. [BulkLoader] Loaded LoadingItem url: http://localhost:2000/?action=map, type:xml, status: finished [BulkLoader] Items to load LoadingItem url: http://l

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread laurent
even if I delete map.swf it's still loading it. [BulkLoader] Loaded LoadingItem url: http://localhost:2000/?action=map, type:xml, status: finished [BulkLoader] Items to load LoadingItem url: http://localhost:2000/swf/map.swf, type:movieclip, status: null [BulkLoader] Will load item: LoadingIte

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread laurent
that's great, it fixes the compile time issues. Good to know that. Now, I know it can be anything now as the bug is really strange. For line 24, actually there's a braket there so... It looks like it's loading always the same swf, I emptied the cache, deleted the http://localhost:2000/swf/map

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread laurent
Ian Thomas a écrit : I suspect this is a compile-time issue - your loading SWF has no idea what 'Paris' means when trying to compile? Yes, I mean france.Paris, maybe the compiler thinks its usa.Paris ... :) In which case you need to pick it up at runtime. Try flash.system.ApplicationDomain

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread laurent
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

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread laurent
yes: [BulkLoader] Items to load LoadingItem url: http://localhost:2000/swf/map.swf, type:movieclip, status: null [BulkLoader] Will load item: LoadingItem url: http://localhost:2000/swf/map.swf, type:movieclip, status: null [BulkLoader] Started loading LoadingItem url: http://localhost:2000/swf

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread Andrei Thomaz
maybe this help you: http://jessewarden.com/2007/09/no-excludexml-in-flash-cs3-for-as3-solution-via-bridge-pattern.html best, andrei On Mon, Mar 9, 2009 at 9:47 AM, laurent wrote: > Hi, > > I have a map.swf containing a linked movie clip named Paris as a exported > Class. > > I load this map f

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread Ian Thomas
I suspect this is a compile-time issue - your loading SWF has no idea what 'Paris' means when trying to compile? In which case you need to pick it up at runtime. Try flash.system.ApplicationDomain.currentDomain.getDefinition() e.g. var myClass:Class=ApplicationDomain.currentDomain.getDefinition

Re: [Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread Eric E. Dolecki
Are you sure the swf is loaded before trying to instantiate the class? On Mon, Mar 9, 2009 at 8:47 AM, laurent 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

[Flashcoders] Problem with export linkage definition in a loaded swf

2009-03-09 Thread laurent
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. //