Thanks, Jesse. I've let our tech writer know about the typo.

Regarding adding the map to the display list - doesn't this section cover that?
http://code.google.com/apis/maps/documentation/flash/tutorial-flash.html#AttachingMap

- pamela

On Sun, Jan 25, 2009 at 1:42 PM, Jesse.Jimz <[email protected]> wrote:
>
> Hi,
>
> First off, this project is awesome. I want to create a demo app that
> shows ocean wave visualization for surfers. I'm exploring the maps API
> project to see how I can leverage it.
>
> In the CS3 example, there is one AS3 syntax error. There's a closing
> parenthesis character missing in this line:
>
> map.setSize(new Point(stage.stageWidth, stage.stageHeight);
>
> it should be:
>
> map.setSize(new Point(stage.stageWidth, stage.stageHeight));
>
> Also, it may be useful for newbies to AS3 to throw in a line showing
> that the 'map' object must be added to the display list. For example
> (I'm writing my code in a Main class linked to my movieclip):
>
> this.addChild(map);
>
> Thanks for the great tutorial!
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to