hello, I wana have a class , which extends Marker class having custom icon. So i'm trying to bring this to work, but it always not return "options" to be nil. Please help me.
public class MarkerEX extends Marker
{
public function MarkerEX ( latLng : LatLng, _Name : String,
markerColor : Color )
{
var options : MarkerOptions;
var markerstyle : FillStyle
var Qrequest : URLRequest;
Qrequest = new URLRequest( "play.png" );
var imageLoader : Loader = new Loader();
imageLoader.contentLoaderInfo.addEventListener(
Event.COMPLETE,
function( event : Event ) : void
{
markerstyle = new FillStyle( { icon : imageLoader,
color : markeColor } );
options = new MarkerOptions( { fillstyle :
markerstyle } );
trace ( options );
}
);
imageLoader.load( Qrequest );
super( latLng, options );
}
}
-- 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.
