Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Close Button in projector AS3

Posted on 2010-08-15
6
Medium Priority
?
1,141 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 1000 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
Technology Partners: 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 1000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

610 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