Firstly you cannot attach a symbol from the library to the map and ask it to be the custom marker. You may not be doing this. You can specify a clip that the custom marker can use which is the correct way to do this. This has been written about before. But that error is saying that it expects a WrappableComponent but is getting given a movieclip ! Thats why I think you are doing it the wrong way. ------------------------------------------------------------------------------------------------------------------------- If I helped please post a link on your facebook to my cool site thanks
http://landed.at - travel On Feb 19, 8:19 pm, OnlyOneBarry <[email protected]> wrote: > I've created a Google map application using AS3 that creates a map, > gives it custom zoom controls and then attaches a custom marker > MovieClip from the library to the map. I'm trying to get my custom > marker to access variables that have been loaded onto the main time > line from a database but I keep getting... > > TypeError: Error #1034: Type Coercion failed: cannot convert > com.google.maps.wrappers::wrappablecompon...@2022b d81 to > flash.display.MovieClip. > at marker/frame1() > > Has anyone had any experience with this problem? I've tried everything > I could think of for accessing the variables from inside the MovieClip > or sending the variables from the main time line with no success. Any > help would be greatly appreciated. Thanks in advance. > > Barry -- 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.
