Hi Mr. Wagner,
Thanks for your answer.
Concerning the valuation that you made about the conflict with
TweenLite, I
tryed
the Tween method from adobe flash instade of TweenLite and the problem
persists.
The cause is the zoom value. If the zoom value of the api is 1, the
map
centers itself in the middle of the browser. If the zoom value is 2,
the map
moves away to 0 in the x axis. The api only affects to the x axis. If
I try a higher zoom value, the container disappears from the screen.
The api only affects to the container and not to the differents assets
on
the
screen.

My relocating method is based on the size of the browser and the width
of
the holder(container). Does the zoom value affect to the size of the
api?. I
think so. why?
I set the size to 400 x 300, for example, with the setSize method but
the
map is loaded in its whole
size.
As I understand, the api is a swf file and this is what I import. The
setSize method from the api only creates a window as a mask to see the
whole
map. If
the zoom value is big, the map is bigger and the width of its holder
increases. This is why the holder relocates itself far away from the
browser's view. To confirm that, I traced the width of the holder in
every
resize event and the holder width is bigger depending on the zoom
value.
The math works, and the TweenLite too, but How can I solve the problem
of
the imported swf and of its real size?.

Thanks for your attention.

Ro

--

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