"""ps. Does anybody know of a decent third-party ActionScript 3 debugger? """
Yes. Excellent with code hinting: www.flashdevelop.com On Sep 27, 9:37 am, Kevin Macdonald <[email protected]> wrote: > Hello fellow ActionScript 3 programmer, > > Add this statement > > stage.align = StageAlign.TOP_LEFT; > > which positions the map at the top-left corner of the browser, and > > stage.scaleMode = StageScaleMode.NO_SCALE; > > which maintains a 1:1 ratio between pixels in the map tiles and the > browser. > > (The "stage" is the display object at the root of the display list.) > > If you want to see these two statements used in context, I have posted > the source code to some simple Google Map projects, built entirely in > ActionScript 3: > > http://spatialdatabox.com/google-flash-map-demos/google-flash-map-dem... > > When I started with Google Maps, I found few examples written in pure > ActionScript 3 but the effort worth it: AS3 SWFs are not only smaller > than their MXML / Flex equivalent, but they launch much much faster > too, which aligns with one of Google's mantras to minimize page load > latency. > > If you want an even simpler dev environment, download the free > ActionScript SDK from here > > http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3 > > and issue this single command to build your SWF from the command line: > > $ mxmlc -compiler.library-path+=map_1_16.swc HelloMap.as > > ps. Does anybody know of a decent third-party ActionScript 3 debugger? > > On Sep 26, 3:19 pm, thodoris <[email protected]> wrote: > > > hello, > > the last days i have trouble making a flash map with a pure > > actionscript 3 project in Flex. > > Actually i use flex IDE only for the editor-debugging. > > > my main class extends Sprite and > > gmap.setSize(new Point(xml.SETTINGS.WIDTH.text > > (),xml.SETTINGS.HEIGHT.text() )); > > where <WIDTH>500</WIDTH>,<HEIGHT>400</HEIGHT> paramaters from XML > > file. > > > I embed with the .swf with the swf object in html BUT > > i take as result a 100%width 100%height FULL PAGE when i run the .html > > through APACHE > > and > > 500px,400px if i run the file by clicking the .html. > > > I will be very glad if u have any suggestions --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
