Guest User

Untitled

a guest
Jul 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. import flash.events.MouseEvent;
  2. import flash.media.Camera;
  3.  
  4. import mx.collections.ArrayCollection;
  5. import mx.controls.Alert;
  6.  
  7. [Bindable]
  8. var cameraList:ArrayCollection;
  9.  
  10. private var step:Number = 1;
  11.  
  12. private function init() : void {
  13.  
  14. cameraList = new ArrayCollection();
  15.  
  16. for each(var name in Camera.names){
  17. cameraList.addItem(name);
  18. }
  19.  
  20. }
Add Comment
Please, Sign In to add comment