You are probably trying to reference stage properties in your map swf (for sizing and/or positioning your map) before it has been added to the stage, after loading it externally. You can do a quick test be removing any reference to the stage and use hard-coded sizes. If that works and you still need to use a reference to stage in your map swf put all references to the stage in an ADDED_TO_STAGE event handler.
On Apr 11, 10:56 am, "[email protected]" <[email protected]> wrote: > Hi. > > I have a problem loading external SWF (Google Maps) file to main SWF > file, both are AS3. > I get an error of:: TypeError: Error #1009: Cannot access a property > or method of a null object reference. at GoogleMaps_fla::MainTimeline/ > frame1() > > If i load only GoogleMaps.swf, it work like a charm. > > Thx for respons. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
