/ Published in: ActionScript 3

libraryPath is a string
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import flash.utils.getDefinitionByName; var CLASSNAME:Class = Class(getDefinitionByName(String(libraryPath))); GRAPHIC = new CLASSNAME();
Comments
