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

Re: AS3 - New movieclip instance

$
0
0

I always marked the correct answers when the things worked well.

I marked this answer now because this one worked for me:

 

......

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 92756

Trending Articles



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