Solved

Close Button in projector AS3

Posted on 2010-08-15
6
1,132 Views
Last Modified: 2013-11-11
Hi all,

I hope you can help me. I need some code in AS3 to close a projector.

thanks.
0
Comment
Question by:error77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 250 total points
ID: 33441070
0
 

Author Comment

by:error77
ID: 33441204
That's very strange because my code is working on a normal projector but not on Zinc projector.

This is the code that's not working:

mc_closeBtn.addEventListener(MouseEvent.CLICK, exitClick2);
function exitClick2(event:MouseEvent) {
      
      fscommand("quit");
}
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 33443595
see your other post
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Assisted Solution

by:ayanaculis
ayanaculis earned 250 total points
ID: 33446763
If it's a package, you need to include this:

import flash.system.fscommand
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 33449153
ayanaculis, s/he is using zinc so needs to import the zinc mdm package.
got 2 threads running with the same issue

arggh.
0
 
LVL 3

Expert Comment

by:ayanaculis
ID: 33449294
Ok, cool
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Action Script commands 5 248
Adobe Flash Player : screen freezes for a few GUI & Rdp 5 648
Adobe Flash player - Microsoft Edge 9 180
File conversion question 5 133
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question