Prevent Multiple Zinc Instances


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. connection = new LocalConnection();
  2.  
  3. try
  4. {
  5. connection.connect( mdm.Application.filename );
  6.  
  7. }
  8. catch ( error:ArgumentError ) {
  9.  
  10. mdm.Application.exit();
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.