Get current class path (package / location)

/ Published in: ActionScript 3
Save to your folder(s)

Single line to get the package path of the current class path (package)

Copy this code and paste it in your HTML
  1. var packageName:String = getQualifiedClassName(this).substr(0, getQualifiedClassName(this).indexOf('::'));


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.