You were correct in assuming I was building on a timeline.
I am limited in my Action Script knowledge and know that this is my
major problem. Now that you explained what a "package" is the errors
make sense to me now. Thank you for taking time to explain it to me
and for sending the googlemap.swc file. I did download FlashDevelop
and will try to figure out how to use this. I believe I have Flex but
have not used this before either.
I was eventually able to fix my code on the timeline and ended up
with:
import flash.utils.Timer;
import flash.events.TimerEvent;
var myTimer:Timer;
myTimer = new Timer(1000, 1);
myTimer.addEventListener("timer", timedFunction);
myTimer.start();
function timedFunction(eventArgs:TimerEvent):void {
map.panTo(new LatLng(26.664450548986867, -82.21212113862134));
trace("Timer fired " + myTimer.currentCount + " times.");
}
Now I am trying to figure out how to ad multiple pan points. I have 6
different locations I would like to pan through each. If you have time
can you explain how I would do this?
Thank you again for the great explanation and the references to
FlashDevelop and FlexSDK.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---