ActionScript 2.0 :: Disable ESC / CTRL+ALT+DEL So User Cannot Stop .exe From Playing
Apr 20, 2007
We have created a game and we need to run it fullscreen on a kiosk. The game requires the user use the spacebar however we would like to disable ESC and CTRL+ALT+DEL so the user cannot stop the .exe from playing.
View 2 Replies
Similar Posts:
Nov 21, 2011
How to disable Ctrl+W or Ctrl+C and Tab for .swf file
ctrlKey = false; in KeyBoardEvents but how to apply it to the stage.
View 2 Replies
Aug 25, 2008
The flashplayer catches all keys pressed by the user. I'd like to know if there's a way or workaround to pass them to the browser. For instance, Ctrl-T (open new tab in firefox). I'd like to re-enable this shortcut. Maybe with javascript?
View 1 Replies
Jul 22, 2009
I have a portfolio_mc that is inside of a content_mc (stage->content_mc->portfolio_mc). There are 3 buttons that take the user to an appropriate frame designated by a frame label and this loads up an FLV. The problem is that when I click on any of the navigation buttons on the main timeline, the FLV that is currently playing, is still playing (I can hear the audio). How to stop this.
Here is the code used for controlling the buttons in the motion_mc timeline:
stop();
var naviArr:Array = new Array(btn01, btn02, btn03);
btn01.addEventListener(MouseEvent.CLICK, navigate);
btn02.addEventListener(MouseEvent.CLICK, navigate);
btn03.addEventListener(MouseEvent.CLICK, navigate);
[Code] .....
View 18 Replies
Mar 27, 2009
I am using flash 8 professional.
I have a custom video player that loads videos from an external xml file. It uses all actionscript to control the video using the attatchVideo(ns).
At present the video starts playing as soon as the video opens, I would like the video to only start playing after the user clicks the play button.
What is the actionscript I need to achieve this?
* all the actionscript for all buttons etc. is on one layer called actions. Videos are external not on layers.
View 3 Replies
Apr 17, 2005
Me and my friends have done a game and when we export it you can scroll through the whole game by pressing Ctrl + Enter. How can we block Ctrl+Enter from skipping frames?
View 13 Replies
Jan 17, 2010
I am trying to create a little website in flash.. I have some video that plays automatically once the user goes to that section (I am using frame labels to navigate from section to section of the site). But, when the user clicks another button to go to a different page, the video is still playing because I hear it..How can I stop the video from playing once another button gets clicked?
View 20 Replies
May 12, 2010
When a flash app is loaded in the browser, it default captures the CTRL-TAB keystroke which is needed for changes tabs in modern browsers.
Any ideas on how to configure Flash Builder 4 to not listen for these keystrokes or to bubble them up to the browser?
View 2 Replies
Jan 16, 2006
I've been looking for a way to diable the ALT key or disable a user exiting my flash movie through ctrl-alt-delete. I've searched around online and all that i've found is this: fscommand("trapallkeys", "true"); it works good for some keys, but not what I'm looking for. Everything else is just for old AS. I need this for Mx.
View 1 Replies
Apr 17, 2005
Me and my friends have done a game and when we export it you can scroll through the whole game by pressing Ctrl + Enter.So my question i simple: How can we block Ctrl+Enter from skipping frames??
View 14 Replies
Nov 26, 2009
have a question. Is it possible to detect whether the user used or is using ctrl+scroll to enlarge the screen? I was looking at an example of a mouse avoiding game, which could easily be cheated on using ctrl+scroll, so that the passages were larger etc.
Is there any way to detect this inside Flash, and perhaps prevent it?
View 1 Replies
Oct 17, 2008
I have a Flash movie which fills the whole browser window. This means that always the key events are catched ("stolen") by the Flash movie only, when using Firefox. IE7 seems to be working as I want.
I want for example ctrl+w (close window), ctrl+n (new window), ctrl+t (new tab) to work in Firefox while the focus is on my Flash movie. How to accomplish this?
View 7 Replies
Jul 28, 2011
I'm tracking the keyUp state of the CTRL key and I'm okay with the results except when it comes to key combinations. The code I wrote below is for you to see what the issue is.
Press the CTRL/Apple key and you'll see it traces "CTRL on". Release it and you'll see it traces "CTRL off". No problem there. Now press CTRL and then press the A key (as in select all), now release A, then release the CTRL key and you see nothing traces. Does anybody have an idea about a workaround to that? I prefer not to use a continuous ENTER_FRAME hack for that if any.
[Code]...
View 7 Replies
Sep 14, 2011
hi,is there disable ctrl+c function? and cutomize this for own function
View 4 Replies
Dec 4, 2011
I am using AS2 in CS5.5.I am creating a project for a class that introduced me to adobe flash. The issue is I have gotten to a certain point about 15 scenes. During say the 15th scene scrolling through the timeline animations works fine, playing it on test scene works fine. When I go to play it on test movie it stops at a certain point. At first I thought it might have been a misplaced stop action but there is none to be found. The weird part is every other scene I create after that continues to freeze as well, the images are there, but the animations won't play. All my previous animations play before those with the issue, it's justThese new ones won't play for some reason in test movie, but work completely fine in test scene and the timeline.
View 4 Replies
Apr 10, 2011
I am creating a game that has 6 movieclips all on the main time line of the game. Each movie clip has three buttons that when clicked plays, pauses or stops a sound clip.When I press any of the sound clip play buttons that sound starts playing, the problem is when I click any of the other sound clip play buttons those sounds also start to play. Is there a way I can disable the other sound clip buttons while the current sound is playing then enable all of the buttons when the current sound has stopped.
This is the code that creates one of the sound objects
[Code]...
View 3 Replies
Oct 3, 2009
So I made a few buttons with sounds within them and when I publish it they work just fine. But what I want them to do is;
Say I click a Button.The sound starts playing.Then I click it again, before the sounds done playing.I want it to stop the playing sound and start playing the button I just clicked on, whether it be the same button, or a different one.Right now it just ends up sounds like an echo because it'll play it as many times as you click it.
View 2 Replies
Apr 13, 2010
The problem I have is I click the play button and start playing. Then I click next and when I click play for another song the songs overlap. How can I stop whatever song is playing and start playing the new one? Has to stop the prev song when I click play_brn.
[Code]...
View 2 Replies
Mar 13, 2007
i have programed a play button using:
[Code]...
now i am trying to program the stop button to allow the user to stop mid song....
View 4 Replies
Dec 6, 2011
ok so i have a button that plays an animation for fire when held down. and when realsed goes to and stops and frame one. when it reaches the end of the time line it goes to and plays at frame 10 and goes back to the end of the timeline. I have a sound for the fire animation that plays for the effect. The problem is the sound keeps going untill its over even if the button isnt held down. and when the playhead reaches the end of the timeline it goes to and plays and frame 10 and it replays the sound. if i hold it down it will just keep playing the sound over and over from start to finish. what i want it to do it when i hold the button down i want it to play the sound and when released it stops the sound where ever it is at. I also dont the sound to play again if there is a sound already going to stop it from playing 20 sounds at one time it gets loud and you need asprin after about 5 seconds of that.
View 2 Replies
May 20, 2010
Stage is listening for 2 events: mouse click and spacebar. When player calls one event, animation starts and the second one is blocked until animation is finished. After that process begins from the start.
View 2 Replies
Nov 8, 2009
Is there anyway to disable the movie from playing when I hit Enter? I've got a button press later on that needs Key.ENTER. I could change it, but it is the only key that makes contextual sense.
View 1 Replies
Apr 23, 2009
When i play a flv file the buttons that are below this is still active and i can click on them. is there a easy way to disable buttons when i play an flv file?
View 1 Replies
Sep 14, 2011
I have a DateField component in Flex and I want to stop any user input. If I set the editable to "false" then it stops users changed the bits of the DateField box. It does NOT however stop them from clicking on the calendar icon next to it and updating the date. Is it possible to disable this? I basically want the component to be read only under some circumstances but not for it to have any alpha overlay. Therefore I want to use editable rather than enabled.
View 1 Replies
Mar 12, 2004
does anyone know how to disable user from using keys like enter , and . or also zoom in ands out function
View 3 Replies
Mar 12, 2004
does anyone know how to disable user from using keys like enter , and . or also zoom in ands out function
View 3 Replies
Oct 7, 2009
I have a play button and stop button when I click on the play button the song keeps repeating over and over. How to stop this? This is the code I'm using:
var req:URLRequest = new URLRequest("song.mp3");
var sound:Sound = new Sound();
var controller:SoundChannel;
function soundLoaded(event:Event):void {
controller = sound.play();
[Code] .....
View 2 Replies
Mar 10, 2008
I'm trying to make the UP arrow key disabled until a sound has finished playing. Is this possible?This is because other keys also play sounds and I don't want the sounds overlapping each other. Thus I'd also be trying to disable those keys as well whilst a sound is playing.
[code]...
View 1 Replies
Aug 25, 2008
I have 5 buttons. Each of which have different movie clips in the up, over and roll out state. To be more specific, each button looks like a window. on the up state curtains cover the windows. on roll over the windows open. on roll out they close again.
What I want to do is ON PRESS force the button to go to its roll out state and then cut off all user activity from all the buttons until the transition to the next page takes place.
View 1 Replies
Mar 12, 2010
In my project I have five video files that I need to all play simultaneously. I'd like the user to be unable to play them until they are fully loaded, because of course streaming would mean they wouldn't necessarily be playing at synchronized times any more.
So I need to load them all entirely, and have a single button that the user clicks to get them all to play simultaneously.
View 3 Replies