The german reference contains an error here: the DirectionsEvent's
Properties overview says 'directions' is a Directions object while
some lines further the DirectionsEvent's Constructor overview says it
is a IDirections interface object.
Change the line
var dir:Directions = event.directions;
to
var dir:IDirections = event.directions;
and it should work.
--
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.