Posted By

dyteq on 10/23/10


Tagged

flash Flex as3


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

sexyflash
dyteq
thastyle


Get current class path (package / location)


 / Published in: ActionScript 3
 

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

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

  1. var packageName:String = getQualifiedClassName(this).substr(0, getQualifiedClassName(this).indexOf('::'));

Report this snippet  

You need to login to post a comment.