Posted By

boblinl on 05/21/10


Tagged

flashvars


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

socialflasher


flashvars


 / Published in: ActionScript 3
 

  1. var obj:Object = Application.application.parameters;
  2. var item:String;
  3.  
  4. var arrColl:ArrayCollection = new ArrayCollection();
  5.  
  6. // Populate the ArrayCollection object with the FlashVars.
  7. for (item in obj) {
  8. arrColl.addItem({key:item, value:obj[item]});
  9. }
  10.  
  11. //parse flashvars
  12. ParseFlashVars.excute(arrColl);

Report this snippet  

You need to login to post a comment.