I can help with #2 at least, I have used the map in pop-ups before as well 
but we used custom controls in the first place so I'm not sure what the 
issue is there.  For the error you're getting you can either type the dir 
object as an IDirections or you could cast the object coming back as a 
Directions object, the method only defines that it will return a type of 
IDirections so when you assign it to a Directions object it's not sure that 
is the correct class type hence the warning/error. I think the appropriate 
method is to type your variable as IDirections

var dir:IDirections = event.directions;

If you could post your example with the pop-up (and code ideally) that would 
help to figure out what the issue is you're running into.

Thanks,
Shaun

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api-for-flash/-/Ck5PWJ-RA8kJ.
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