Have you tried creating an external as class containing the variable in question and then importing it into your movieClip?
On Fri, Feb 19, 2010 at 3: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]<google-maps-api-for-flash%[email protected]> > . > 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 [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.
