Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87561

Re: What is root when converting AS3.0 to Create js?

$
0
0

exportRoot is a reference defined in the js init() function and is a global reference.

 

if you used parent, you would need to use 'this':

 

exportRoot.movieClipOne.movieClipTwo.gotoAndPlay(1);

 

this.parent.movieClipOne.movieClipTwo.gotoAndPlay(1);


Viewing all articles
Browse latest Browse all 87561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>