Hi, Pamela, Thank you very much for answering my questions. Yes, I put everything in the same folder, and tried with both "access local only" and "access network only" settings, but still have the same problem.
One possibility I can think of is the different versions of Flash Player used in Test movie and Publish. I noticed when I test movie, it is a debug version with a debug menu (I think it is player 9 - debug that comes with Flash CS3). But when I test it in web browser (Firefox), a right click reveals "about flash player 10", which might be a "regular" plug-in. Does this make sense to you? I might have messed up my Flash players on my computer, I will post a new thread asking for help. Many thanks! On Dec 15, 12:52 am, "pamela (Google Employee)" <[email protected]> wrote: > Hi there- > Is your published movie in the same folder as penguin.swf? If it is, it > should load correctly. I just tested my version and it worked fine from the > local SWF file. > > - pamela > > On Mon, Dec 15, 2008 at 5:31 AM, FlashAPI <[email protected]> wrote: > > > While waiting for help, I tried a very simple example. If I comment > > out "icon: loader,", the default marker can appear in both Test Movie > > and the published movie. However, with "icon: loader," the little cute > > penguin can only appear in Test Movie, but not in the published movie. > > Can anybody tell me what is going on here? > > > ================= > > var map:Map = new Map(); > > map.key = "ABQIAAAA8T8fI3edd-0zoOSuQWhSzhRVKeUWy9IDPXd5GmtflkvA-Y- > > vqxTA8-Y1B7H53ZBfcQazuXRtbcsgpg"; > > map.setSize(new Point(stage.stageWidth, stage.stageHeight)); > > map.addEventListener(MapEvent.MAP_READY, onMapReady); > > this.addChild(map); > > > function onMapReady(event:Event):void { > > map.setCenter(new LatLng(37.441944, -122.181944), 14, > > MapType.NORMAL_MAP_TYPE); > > map.removeMapType(MapType.PHYSICAL_MAP_TYPE); > > map.addControl(new ZoomControl()); > > map.addControl(new PositionControl()); > > map.addControl(new MapTypeControl()); > > > var loader = new Loader(); > > loader.load(new URLRequest("penguin.swf")); > > > var markerA:Marker = new Marker( > > new LatLng(37.441944, -122.181944), > > new MarkerOptions({ > > // icon: loader, > > hasShadow: true > > }) > > ); > > map.addOverlay(markerA); > > } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
