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('::'));

URL: http://www.dyteq.com/2ndquest/?p=80&preview=true&preview_id=80&preview_nonce=477c50327a

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.