Solved

Close Button in projector AS3

Posted on 2010-08-15
6
1,135 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

724 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