Solved

Close Button in projector AS3

Posted on 2010-08-15
6
1,129 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
  • 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
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 how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

777 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