ActionScript 3.0 :: Screen Flicker Exiting Application, Delay After Confirming Exit?
Jun 22, 2009
We have an applicaiton using AS3 that we run in FlashPlayer 9 and 10 (swf embeded in html). The applciaiton is designed to collect information from an applicant/prospective student. When the user clicks the exit button we show a modal dialog (using the Alert class) with Yes and No.When the user confirms the exit we set display controls,application controls, data displays,campus selection,sub applications to null and unload modules and reinitialize the application before sending a comand to the web browser to reload(usinf the ExternalInterface class). Ideally this will bring the user to the welcome/login page without having any artifacts from their prior flash session.I am having issues with two dfferent things
- When the user clicks yes or no, the applicaiton delays closing the alert modal for about two seconds.
- The applicaiton flickers before reloading.
View 2 Replies
Similar Posts:
May 8, 2010
I am working on a flash game, that will be distributed as and EXE file. I would very much like the game to run full screen, which is not a problem, but I am struggling with replacing flash default behavior when escape is pressed. When escape is pressed I would like to display a custom menu asking the user if they want to exit the game or continue playing, not just exit full screen more.
View 2 Replies
Sep 23, 2009
when I enable my Adobe Shockwave Object my screen will flicker when i move the mouse around the screen. I have uninstalled it and reinstalled but it didn't work.
View 1 Replies
Mar 25, 2010
As i said, i made a game but now i want, when i export it to .exe and open it, it goes full screen, and also i would appriciate a button action for exiting, cus i cant find it anywhere...
View 3 Replies
Dec 11, 2009
Have image gallery using Slide Show Pro. Instance name is my_ssp. my_ssp has a button to go to full screen mode and normal mode.
How can I tell my_ssp to run a function when switching to normal mode?
View 1 Replies
Aug 28, 2011
NativeApplication.nativeApplication.exit() does not seem to work on IOS and I'm in a position where if a certain error code is I'd like to either be able to shutdown and restart my applicaiton.
View 2 Replies
Jan 26, 2012
I'm creating a Flash Application that will be exported in exe format and it's not going to run in browser. I want to add an exit button inside stage but I don't know how to do that with ActionScript 3.
I remember that it was possible with fscommand in ActionScript 2 but it's not working in AS3.
I've searched everywhere but everyone is trying to close a popup or tab or window all in browser environment not a Flash app.
View 4 Replies
Apr 6, 2010
I have a 100% width and height flash object in my site. Activating and exiting browser full screen mode with F11 only works as long the user didn't click the Flash movie. And I doubt many users know they have to click the address bar to enable F11 after using a (browser) full screen Flash movie.
View 1 Replies
Feb 15, 2010
Just created a new GA account and initialized my tracker in AS3. How can I confirm that it is installed and working correctly? In GA web view it shows "Tracking Not Installed" but when I use the "visualDebug" parameter (set to true) in Flash, it appears to be sending OK via trackEvent. Would it not show up as installed since it's not on the website yet (just testing in IDE)?[code]I'm using the AS3 library in "AS3" mode which sends the requests through a GIF request. This is not using the ga.js library so there's nothing to install on a website.
View 2 Replies
Oct 21, 2010
I use FMS 3.5 and i have same problem.....the delay of live video from the studio to clients is big, 10 seconds if i restart the server. After one day of staying on, the delay reaches 1 minute or 2.
The FMS is connected to 1 Gibabyte internet fiber, and the stream is VP6, 500kbps video and 128kbps audio, 720x576 resolution. Server Quad 3.0Ghz, 4 Gb Ram.
Please help me to minimize the delay. What i must write in application.xml from live folder?????? Is there a command. I don't want to make buffer, i want the clients to receive live stream, if the stream is buffering i want to play it jumping that sequence, to maintain the live aspect,not to delay it if the clients doesn't have a good internet conection.
Let's suppose i have 1 FMS, 1 Media Encoder, and 2 computers with flash player on the same Switch ( Local area Network). I've made some tests and the delay i get is minimum 5 seconds.
View 1 Replies
Mar 13, 2010
In my Flex application, using a custom control, I am making a JSON request to grab some data from the server. My rendering depends on this data such as knowing how many boxes to draw. How can I either force the rendering to wait until I've got the data before drawing to screen or have the boxes draw once we receive the data? I have an event listener for Event.COMPLETE for my JSON request and in there, I call methods that add to the control. I've tried invalidateDisplayList but that doesn't seem to do anything for me?
View 1 Replies
Jun 4, 2011
I have a Group screen component with some Path elements inside. The Group has a (default) style, and the Path has a (default) stroke. When the program starts, (on initialize) loads from a server (via HTTPService) some data that includes different styles for the Group, and it may also include different color/width for the Path stroke. If the styles/stroke attributes are not included in the server response, then the component will be shown with the defaults.
[Code]...
View 1 Replies
Sep 2, 2009
I have an Air Application in Flex designed for 1280x800 which I would like to stretch to work full screen on a 1920x1200 monitor.
I've read this article: [URL] and tried it, but it only zooms the upper left corner (as mentioned in the article).
I work with a WindowedApplication (shown below) which holds a View (called MasterView) that contains all different lay-out elements.
My application (in brief) looks like this:
<mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
[Code].....
View 4 Replies
Apr 16, 2010
We are working on digital photo frame(DPF) project where we need to run DPF on 3 different resolutions, i.e., 800x480, 1024x600 and 1024x768. Is it possible to maintain only one .fla file for all resolutions? How can we go for it? We will be publishing it for flashlite 3 and using AS2. The application runs on a processor of 800MHz.... and total available memory is 128MB..
View 8 Replies
Oct 20, 2009
I want full screen view(through code,without pressing F11) of my flex application.
View 1 Replies
Dec 20, 2009
On Windows (Vista32), I want to display some simple graphics on top of a fullscreen flash window (an overlay of useful information while using the flash application). What's the fastest way to accomplish it?
I think I may be able to achieve it using DirectX with the DDSCAPS_OVERLAY flag but with the only example I've found I get an exception:
[Code]...
View 2 Replies
Apr 27, 2011
I have an application with webcam, chat and more, and i need to record the screen aplication in server, for the client not have to upload the result. What I want is to know how to record the images shown in the Flex application (only inside the swf).
View 1 Replies
Jul 31, 2011
I have an AIR application. It should be moved around the screen with the mouse. In order to achieve this I use the event: this.stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown, true,-2);
It should be activated with the lowest priority compared to inserted elements for example those that should be scrolled, clicked, etc. I tried the solution shown below with the event priority set to -1 because there might happen 2 different events and my moving application event should be the last one to be serviced or shouldn't be serviced at all.
[Code]...
View 1 Replies
Sep 13, 2011
I am trying to decide what is going to be the best option to use for this scenario, Zinc or Adobe Air.I have a client who needs a backend touchscreen panel with a few buttons which, when pressed on will start a video on a dual screen setup on the other monitor.Using Zinc, will I be able to create two Exe files, one exe to host the backend "control panel" and the other exe to host the video player where the video will be played and will they be able to talk to one another. So if I press stop in the control panel, the video needs to stop in the other exe.
View 1 Replies
Feb 23, 2009
I want to create a function based (not frame) delay of about 10 seconds to the function at the start of a flash movie, the code only needs to run once.I'm very new to actionscript and have been given links to SetInterval and SetTimer examples but they all seem to be very complex.The function is below. I believe it's possible to add the commandTimer(delay:Number, repeatCount:int = 0) how me to a simple example.
onClipEvent (enterFrame) {
framePos = int(_xmouse / 100 * _parent._totalframes);
if (framePos < 0) {
[code].......
View 4 Replies
Aug 21, 2009
I am trying to print a HTML from my air app, however, this HTML should never be seen on screen. I am using HTMLLoader for this, as per some sample I saw on the web.
What happens, is that there is a print dialog, but it prints out a blank page.
If this is a window application, and I click some button to print (just the HTMLLoader) it gets printed.
Following is my code.
var mySprite:Sprite = new mySprite()
var loader:HTMLLoader = new HTMLLoader()
loader.loadString("ADDRESSThu Aug 20 21:37:20 GMT+0530 2009")
[Code].....
View 1 Replies
Mar 18, 2011
I'm developing a Flex application that is designed for screen resolutions of 1280x1024 and more. In the rare case that a projector is used (which usually has a maximum of 1024x768 pixels) I'd like to scale down the application (currently I get lots of scrollbars and clipping).
I've already experimented with the application's properties scaleX and scaleY as well as stage.scaleMode. However, I couldn't quite figure out a way to
render the application without scaling when the application's width and height are larger than certain values use scaling when the width or height are smaller than certain values
View 5 Replies
Jan 8, 2009
if there is a type of eventlistener that listens when externally loaded swf moves from frame 1 to frame 2? (or from frame 4 to frame 5 etc) SWF is loaded with url-loader and it stops at frame 1.Theres a "to the next frame" button inside content-SWF. When user pushes it,swf jumps one frame ahead. I cannot alter that content SWF anyhow, so I should use some kind of event listener that reacts when frame changes in loaded SWF.
View 14 Replies
Mar 9, 2012
I load an external swf file (a music player) in a certain frame but need to figure out how to remove it when the user navigates to a different section. I've googled it and checked out the rest of the forum but having a hard time finding a specific code I can directly insert, I'm still not too code oriented and wouldn't know how to write it out even if given the proper terms. I feel as if it should be something as simple as:[code]But I don't know AS3 so I ultimately have no clue.
View 10 Replies
Mar 20, 2012
Is it possible for a flash program to know when it is closed when embedded in a webpage?asically I have some variables which get updated whilst the user is navigating around my program, and I want that once they have left, those variables are saved. I'm only looking to save a set of variables, which is likely to be a small 10~ item array or a series of text variables, but what I really want is the variables that are saved to be accurate when they leave
View 3 Replies
Jul 3, 2010
I have been looking on google and couldn't find a answer. I have a application I created in adobe flex and I need it to scale to the users screen and fill the entire browser window no matter what.
View 1 Replies
Jan 5, 2011
I have an enterprise Flex web application, served up over https, that runs fine on Flash player 10.0 and beyond on a desktop computer/browser.
However, when I run it from my HTC Incredible with Android 2.2 the app loads fine, but there is no on-screen keyboard and so I cannot log in. I can see the blinking cursor inside the username and password text fields. I can switch between them. I can even hit the login button and see an authentication error!
View 6 Replies
Jun 2, 2007
In ActionScript 2.0, I am trying to make my application resize to Full Screen mode (for Flash Player 9). It goes to full screen correctly, with the typical message "Press ESC to exit Full Screen mode".
What I need to do though is toggle a few elements' visibility on the stage.
So when I go to to Full screen mode I do
[Code]...
View 12 Replies
Jun 11, 2010
I am making my exe fullscreen using stage.displayState = StageDisplayState.FULL_SCREEN but it shows blank screen. When I press Esc key and back to normal screen everything is fine.
View 1 Replies
Nov 18, 2011
I have a need to have a section in an app I am creating where I have imported an external (print2flash)SWF into my main SWF timeline. When the button is pushed, it moves to a new frame on the main timeline. Problem is, when I forward to the next frame, the SWF stays on any future frame I go to. In essence I need to clear what was imported when I leave one frame and enter another.
This is the code I am using to import the print2flash SWF
import Print2Flash.* stage.scaleMode=StageScaleMode.NO_SCALEstage.align=StageAlign.TOP_LEFT var P2FDocLoader:Print2FlashDoc3=new Print2FlashDoc3("modules/FlashDoc.swf",300,120,650,520,this)P2FDocLoader.addEventListener(Print2FlashDoc3.ONLOADEVENT, OnLoaded);
var P2FDoc:MovieClipvar totalPages:Number=0
function OnLoaded(e:Event) {
P2FDoc=P2FDocLoader.getDoc()}
Is there away to add on on leave frame unload function?
View 2 Replies