[osflash] setMouseState

Timothy Garner tlg at totalimagematrix.com
Sat Mar 29 17:59:49 PST 2008


This is a GreatWhite code project.

I keep getting this error

TypeError: Error #1006: setMouseState is not a function.

I'm trying to trigger the rollover graphic for a btn inside a movieclip that
is being used as a MovieMaterial on a cube,

public function handleRoll(e:MouseEvent):void
  {
     trace("over");
    e.currentTarget.setMouseState("over");
    e.currentTarget.drawNow();
  }

Any suggestions?

Tim G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20080329/7bf94f78/attachment.html 


More information about the osflash mailing list