?
Solved

Close Button in projector AS3

Posted on 2010-08-15
6
Medium Priority
?
1,138 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 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