Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 17th, 2004, 05:42 PM
Authorized User
 
Join Date: Oct 2003
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
Default Close window using the Windows projector?

I have created a Flash movie and published it with the projector settings, in-other-words, as an .exe file.

When the user clicks the .exe file the flash movie opens full-screen. Now I know that pressing Ctrl+Q will close the movie, but what I want to do is make a button that the user can click on that will close the movie instead of having to explain to them that they need to press Ctrl+Q.

The problem is, I don't know how to ActionScript the button to close the movie when using the projector. So what I need is for the ActionScript to produce the same affect as Ctrl+Q or in-other-words, close the player window.

Any help would be greatly appreciated...:)


Rudy
__________________
Rudy
 
Old December 31st, 2004, 09:47 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Larry,

Try this:

on (release) { fscommand("quit"); }

it must be added to your button actionscript.

I hope it works for you.

Ruud





Similar Threads
Thread Thread Starter Forum Replies Last Post
Window.close muthuprakash83 Javascript How-To 0 August 7th, 2006 12:35 PM
window.close() failing to...well...close! mheathcote Javascript How-To 2 October 31st, 2005 03:02 PM
Controling Window.Close( ) vijay_rb ASP.NET 1.0 and 1.1 Basics 7 September 29th, 2004 05:55 AM
Close Parent window on opening child window pkdev Javascript How-To 8 April 11th, 2004 12:06 PM
How do i close pop-up window?: window.close () Burton HTML Code Clinic 2 September 8th, 2003 05:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.