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

Re: AS3 - New movieclip instance

$
0
0

I received an error, but I finally managed it. I don't know if it is the right approach, but it seems to work:

 

......

import flash.utils.getDefinitionByName;

import flash.utils.getQualifiedClassName;

......

 

var ClassRef: Class = Class(getDefinitionByName(getQualifiedClassName(match[i])));

var newMC:* = new ClassRef();

addChild(newMC);


Viewing all articles
Browse latest Browse all 87055

Trending Articles



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