Has anyone added any assets to the custom Icon. I am getting some
errors trying to do this. I also want not to cause errors later on
down the line with clustering etc, but I'm gambling on the custom icon
being a contained unit not caring what it is itself. For the custom
Icon am using a class that is set to work with a swf asset that is
part of the build file.
eg
package at.landed.view.icons
{
[Embed(source = '../../../../../assets/icons.swf', symbol =
'EditIcon')]
public class EditIcon extends MovieClip
{
public function EditIcon():void
{
stop();
addEventListener(MouseEvent.CLICK,click)
}
private function click(e:MouseEvent):void
{
if (currentFrame == 1) gotoAndStop(2);
else
{
gotoAndStop(1);
}
}
}
}
--
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.