• flickr
  • linkedin
  • twitter
  • rss
Refer to an object on the Captivate stage

Refer to an object on the Captivate stage

using widgetfactory, you can access captivate items on the stage – and if you can do that, you can do ANYTHING with ANYTHING – very exciting!

override protected function enterRuntime():void
{
var mc:MovieClip = getSlideObjectByName("item");
mc.addEventListener(Event.ENTER_FRAME, function() {mc.rotation++});
}

src:http://www.infosemantics.com.au/widgetking/2010/10/slip-sliding-away/

Tech Reference: ,

Larry's a 30-something chap interested in travel, being a dork and changing the world via less boring training.

Leave a reply