Posted By

adrianparr on 11/07/09


Tagged

parameters loaderInfo flashvar


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

jasonm23
weavermedia
iamgowan
dubogii


Gets a FlashVar


 / Published in: ActionScript 3
 

  1. private function getFlashVar($var:String):String
  2. {
  3. var flashvar:String;
  4. var paramObj:Object = LoaderInfo(this.loaderInfo).parameters;
  5. flashvar = String(paramObj[$var]);
  6. return flashvar;
  7. }

Report this snippet  

You need to login to post a comment.