Hi, is your package path correct? I've created here and it's a little different, check it out...
package my.components.path { import com.google.maps.overlays.Marker; import com.google.maps.overlays.MarkerOptions; import com.google.maps.LatLng; public class MyMarker extends Marker { public function MyMarker(arg0:LatLng, arg1:MarkerOptions=null) { super(arg0, arg1); } } } Try something like this.. Best Regards, Thiago 2011/8/1 MapsFlasher <webmas...@kzz.hr> > Best regards, > I'm trying to create myMarkerCls class that extends Marker class, why > do I get this error: > Tnx. > > Code: > > package com.maps > { > import com.google.maps.overlays.Marker; > > public class myMarkerCls extends Marker > { > private var _marker:Marker; > > public function myMarkerCls() > { > > > } > > > } > } > > > -- > 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 > google-maps-api-for-flash@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-api-for-flash+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-maps-api-for-flash?hl=en. > > -- 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 google-maps-api-for-flash@googlegroups.com. To unsubscribe from this group, send email to google-maps-api-for-flash+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en.