Select to view content in your preferred language

MovieClip and PictureMarkerSymbol

599
0
10-08-2012 09:38 PM
StuartThomas
New Contributor
Given the following code - you can see I'm successfully using an embedded SWF PictureMarkerSymbol:

var blueDot:PictureMarkerSymbol = new PictureMarkerSymbol(BlueDotSwf, 17, 17);

var myGraphicPic:Graphic = new Graphic(webCenter);
     myGraphicPic.symbol  = blueDot;


I need to be able to access the SWF MovieClip - I've tried coercing the symbol like this:

trace( (myGraphicPic.symbol as MovieClip).currentFrame);

???and as many variations as I can think of to get to the underlying MovieClip ??? but all to no avail ??? how can I access the MovieClip??
Tags (2)
0 Kudos
0 Replies