/ Published in: ActionScript 3

Single line to get the package path of the current class path (package)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var packageName:String = getQualifiedClassName(this).substr(0, getQualifiedClassName(this).indexOf('::'));
URL: http://www.dyteq.com/2ndquest/?p=80&preview=true&preview_id=80&preview_nonce=477c50327a
Comments
