Pamela,
Yes, everything works great.  The only problem is getting an accurate
size of the container holding the Google map when the map is not
zoomed out all of the way.

~  Tristan

On Oct 8, 12:00 am, "pamela (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> Hey Tristan-
>
> Does Map.getSize() work for you at all?
>
> - pamela
>
> On Mon, Oct 6, 2008 at 6:17 AM, Tristan <[EMAIL PROTECTED]> wrote:
>
> > Thank you Pamela,
>
> > It is good to see support for Flash CS3 since it is not much of a leap
> > from Flex.
> > For the sake of anyone else reading this posting thread, I should say
> > that the problem I discovered appears to be specifically a Flash
> > issue.  Whenever a masked item is inside of a container, the parent's
> > size is affected by both visible and hidden content.
>
> > Correct me if I'm wrong, but I assume that among other things,
> > "map.setSize" sets the size of the map's masked area.  When you zoom
> > in on the map, there is a greater and greater amount of content hidden
> > by the masked area.  Therefore, even if you set your map size to
> > 400x300, the hidden map content will balloon the parent container's
> > reported size to well over 8000x8000.
>
> > Unfortunately, even though Google Maps works great in Flash, if it is
> > inside a container, you can forget about getting an accurate container
> > size unless the map is zoomed all of the way out.  The only solution
> > I've seen is to get the size of all the container's visible children
> > and add them up.  I would love to hear a better solution, but for now,
> > I don't know that there is one.
>
> > ~  Tristan
>
> > On Oct 4, 11:34 am, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> > wrote:
> >> Hey Tristan-
>
> >> Actually, as of the most recent release, we do officially support CS3.
> >> Check out the documentation's new tutorial on getting started in CS3,
> >> and let us know if you're still having issues.
>
> >> - pamela
>
> >> On Sat, Oct 4, 2008 at 2:55 AM, Tristan <[EMAIL PROTECTED]> wrote:
>
> >> > Fair enough Pamela,
> >> > However if that is the case, I think it is very misleading to call
> >> > this "Google Maps API for Flash."  A more apt description would be
> >> > "Google Maps API for Flex" or "Google Maps API for Actionscript 3."
> >> > Am I missing something?  I hope you do officially support Flash CS3 or
> >> > Flash CS4 soon; this API is totally usable even now in the Flash IDE -
> >> > a lot of developers can truly appreciate and use the tools that this
> >> > API offers.
>
> >> > ~  Tristan
>
> >> > On Sep 30, 1:21 am, "pamela (Google Employee)" <[EMAIL PROTECTED]>
> >> > wrote:
> >> >> HiTristan-
>
> >> >> FYI, we don't officially support use of the Maps API in Flash CS3. If
> >> >> at some point we do officially support it, please post again and
> >> >> provide a sample FLA file to demonstrate the issue. You may want to
> >> >> star this 
> >> >> issue:http://code.google.com/p/gmaps-api-issues/issues/detail?id=329
>
> >> >> - pamela
>
> >> >> On Sun, Sep 21, 2008 at 8:17 PM,Tristan<[EMAIL PROTECTED]> wrote:
>
> >> >> > I created a dynamic Flash layout that moves and adds scrollbars
> >> >> > according to its content size, but I discovered that an embedded
> >> >> > Google map adversely affects the accurate reading of its parent clip's
> >> >> > size.
>
> >> >> > I set the Google map size to approx. 600px wide by 300px tall and
> >> >> > added it to a MovieClip 'mapContainer'.  This clip is in another
> >> >> > MovieClip 'content'.  When the map is zoomed all of the way out, the
> >> >> > width & height of 'mapContainer' & 'content' are the same as the
> >> >> > Google map, ie(600 x 300).  When I zoom in on the map, the parent
> >> >> > MovieClips report their sizes as larger and larger to over 8000px!
>
> >> >> > Obviously the entire map size is reported by the parent clips whether
> >> >> > it is visible or not.  I've tried masking the clip containing the
> >> >> > Google map, but that has no effect.  Does anyone know how to keep the
> >> >> > embedded map's zoom from affecting the size of its parent clips??  I
> >> >> > haven't been able to find any information on this...
>
>
--~--~---------~--~----~------------~-------~--~----~
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