Flex :: Show A Modal Confirmation Dialog With Yes No Buttons?

Mar 4, 2011

I need to show a modal confirmation dialog with yes no buttons and get the results what the user has clicked in ActionScript 3

ok save diaglog does not who up when exit is called the application just exits.

Alert.show("Do you realy want to delete", "My Title", 3,null,
function alertClickHandler(event:CloseEvent):void
{

[Code]....

View 2 Replies


Similar Posts:


Flex :: Show A Confirmation Message (not A Dialog) Without An Alert?

Mar 1, 2012

I'm working on a project for a User Interface Design class, so the emphasis is on the UI being as nice to use and non-annoying as possible. I would like to display a message to the user after they've clicked save, for example, without requiring them to click an OK button. I'm thinking of the kind of thing you see in gmail if you send a message or do some other actions, where a message appears on the screen, but the message disappears after you do something else.

I'm sure there's a way to do this in Flex (I'm using 4.6), but I just don't know what it is. I'm pretty new to Flex and I'm having trouble finding anything via Google, because the results keep showing confirmations messages in Alerts; I don't know the search terms to get the results I'm looking for.

View 1 Replies

Flex :: Show An Confirmation Message?

Mar 6, 2010

How can I show an confirmation message in Actionscript 3 ? I use Adobe Flex 3 and as3 for Air application

View 2 Replies

Javascript :: Flash - Implement Blocking Modal Dialog In With DHTML?

Dec 21, 2010

I have a website with a flash image viewer. Once user clicks on flash button, I need to give a confirmation modal dialog before saving the file and if user clicks on OK only I have to pop file download dialog. Confirmation dialog with in flash is not an option for me. So I have to invoke JS function to pop a confirmation.Within the site, a custom DHTML confirmation modal dialog is used and it has two JS callback functions one for "OK" and the other for "Cancel" button click event handers. I have to use this modal dialog for this need.With Flash player 10 security features, it is unable to pop flash file download dialog via JavaScript

View 1 Replies

JQuery :: Draggable Modal Dialog With Embedded Flash Video?

Nov 8, 2011

I have a modal dialog with a flash video on it and I'm using the jQuery draggable plugin to make it draggable. On Chrome, it doesn't let me play the video (when I click on the play button it does nothing, though I can drag the div around if I hold down the mouse). On Firefox, the video will play, but the mouse gets "stuck" to the div and the div follows it around. Is there some easy way to prevent dragging on the flash div?

View 1 Replies

Flex :: Flash - Standard Size And Location For OK/Cancel Buttons On Popup Dialog?

Jan 3, 2011

Is there any kind of a standard for the location (padding) and size of the usual "ok" and "cancel" buttons on a Flex pop-up dialog box? In another stackoverflow question it was suggested that the approach be host operating system dependent (e.g. Windows vs Mac vs Linux).

View 1 Replies

Flash 8 :: Show Popup Windows Similar To JQueryUI Dialog Boxes?

Dec 21, 2011

I'm working with a very old version on Flash (Flash 8 Professional) and need to show popup windows similar to JQueryUI Dialog Boxes [URL] How can i get similar objects using this version of Flash?

View 1 Replies

Flex :: Cannot Tab Between Controls On A Modal Popup?

Sep 25, 2009

Create a modal popup to popup with popupmanager (mine is a group with a skinnable container inside of it)Put field components (textinputs) on the modal popup Attempt to tab between controlsTab switches to controls behind the modal-popup and ignores the fact that the modal is there. The tab loop only contains controls behind the modal. I've tried everything from setting tabChildren, to hasFocusableChildren. I can't implement IFocusManager as it's Halo and my modal is a Spark group, but would that work in some capacity? It really seems like Flex just ignores the modal in its focusmanager.

View 3 Replies

Flex - Make A Spark TitleWindow Modal?

Feb 10, 2011

I want to be able to show a Spark TitleWindow container as a modal without having to construct it by code via AS3. I tried creating the TitleWindow before-hand manually by dragging and resizing it around and adding objects, etc then hiding it. Then on a button, I set the called function to the ones below:

public function doPopup():void {
testWindow.visible = true;
PopUpManager.addPopUp(testWindow, this, true);
}

Unfortunately, this only shows testWindow but not as a modal. I want it to be like this so that I can freely resize and design the layout of my TitleWindow and only have to call some function to show it as a modal one.

View 2 Replies

Flex :: CreatePopUp Make Everything Modal Except Scrollbars?

Sep 28, 2011

I made this simple application to demonstrate my problem. It has:

An image A button that launchess a popup window Scroll bars on the side

[Code]...

Is there a way to make everything "modal" except the main scroll bars? I know that I could put a scrollbar on the Panel but I would prefer to avoid this.

View 1 Replies

Actionscript 3 :: Change Modal Transparency In Flex?

Nov 18, 2011

I create a modal window with PopUpManager

_zoomImgPopUp = PopUpManager.createPopUp(this, Image, true) as Image;

When the modal window is opened, all background is gray and with blur. How can i change color, blur and transparency of background.

[URL]

but it is for "mx" application. I need something with "spark" components.

UPD: Solved. It must be:

_zoomImgPopUp.setStyle("modalTransparency", 0);
_zoomImgPopUp.setStyle("modalTransparencyBlur", 0);
PopUpManager.addPopUp(_zoomImgPopUp, this, true);

View 1 Replies

Flex :: Flex Air Window (NativeWindow) Be Modal?

Jul 13, 2010

Can a Flax Air Window (NativeWindow) be modal? how?

View 2 Replies

Flex :: Modal Spark TextArea - Making Background To Appear?

Feb 21, 2011

I want to make the background appear as if a modal window was opened but, instead of a window, I want to use Spark TextArea.. Is this possible?

View 1 Replies

Actionscript 3 :: Limite The Size Of The Modal Of A PopU In Flex?

Apr 23, 2009

private function tileList_itemClick2(evt:ListEvent):void {
img = new Image();
img.maintainAspectRatio = true;

[code].....

View 2 Replies

Flash :: Flex PopUpManager: Detect The Existence Of A Modal Popup?

Sep 17, 2009

My Flex 3 application has some modal dialogs displayed via the PopUpManager, but there are times when I'd like other view components to know there is popup displayed. The PopUpManager doesn't have any method for actually checking the existence of popups. Is there any other way to detect this in flash/flex without writing my own global manager?

(also systemManager.popUpChildren.numChildren == 0 even when there's a modal popup)

View 2 Replies

Flex :: Popup - Modal Transparency Blur Only On Certain Components When Using PopUpManager?

Aug 2, 2011

When using the PopUpManager in Flex with modal = true, the background application is blurred. Is it possible to keep this blur for most of the background application but set certain components to not be blurred?

View 1 Replies

Flex :: Make The Modal Transparency Background Absolutely Transparent.?

Aug 22, 2011

I am using the below given code to try to make the transparency 0, but I still am unable to make the background become absolutely transparent.

<mx:Style>
global {
modalTransparencyBlur: 0;

[code].....

View 1 Replies

ActionScript 3.0 :: Make A Modal Effect Like A Popup Window In Flex?

Jun 26, 2011

I want to make a modal effect like a popup window in Flex, but with pure as3.

I put a filled Shape with a blur on it but doesn't look the same. I am assuming the blur effect is applied on the stage, but this would also blur the popup window. I also want several layers of modal+popup like "do you want to delete this?" and pressing yes => "are you sure?" Kind of thing.

View 3 Replies

ActionScript 2.0 :: Show The "Save As..." Dialog?

Apr 21, 2007

I have an image gallery featuring multiple thumbnails. Now, what I want to do is that when the user clicks one of the thumbnails, the "Save as..." dialog pops-up allowing the user to save the full size image. I have both the thumbnail and full size image on my server and can include the paths in an xml file. Is there a way to do it?

View 4 Replies

Actionscript 3 :: Modal-window-type Blur Be Created For Any Component In Flex?

Feb 10, 2010

I'm aware of PopUpManager and that custom modal windows can be created.But let's say I have a simple Canvas(or any component) and when I show it the background needs to be blurred out like how PopUpManager does when a new pop-up is shown.Is this possible?

View 2 Replies

Flex :: Flex Save File Dialog For URL

Oct 15, 2011

I will have a list of links to PDF documents in my Flex web app.What I want to do is that upon clicking some button, open SAVE AS dialog for some pdf from the URL list and download it to disk.What I want to avoid is viewing PDF in browser.ALL I know is that flash.net.FileReference will take raw data but no links.

View 1 Replies

Flex :: Air - Dialog Not Display Immediately?

Sep 11, 2009

In an AIR application I have the following code:

theDialog = PopUpManager.createPopUp( this, TheDialogClass, true ) as TheDialogClass;
theDialog.addEventListener(FlexEvent.CREATION_COMPLETE, cpuIntensiveCalc);

At the end of cpuIntensiveCalc the dialog is removed. The dialog informs the user that "something is going on, please stand by."

The problem is that cpuIntensiveCalc starts before the dialog draws. So the user experience is that the application freezes for 10 seconds with no indicator, then the modal dialog flashes quickly (less than a second) on screen.

The Adobe docs say this about creation_complete

Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.

So this feels like the correct event. In the name of completeness, I also tried

theDialog = PopUpManager.createPopUp( this, TheDialogClass, true ) as TheDialogClass;
cpuIntensiveCalc();

View 3 Replies

Java :: The "Modal" Function In Flex \ Don't Pause The Thread Of The Parent Component?

Jan 19, 2011

I'm beginner in Flex 4. I'm trying to pop up a Flex WindowTitle custom component, and after the user choose some values, the parent window must be refreshed.I'm showing the modal window, the user can't interact with other components, but the problem I detect is the execution of the program flows, even I choosing to show the Input window as modal, the next methods to refresh the page is called before the user close the modal page. I don't know if flex or ActionScript works different from Java, where I used to code. see the comments on the code example:

<fx:Script>
<![CDATA[
import mx.controls.Alert;

[code].....

View 1 Replies

Flex :: Back PopUp (Dialog) With A Model

Mar 9, 2010

I'm using MATE on an Adobe Flex project for MVC. On one of our pages, we have a dialog window that is presented to the user that displays them information that comes from RPC. The pages where this dialog pops up is unrelated to the data being displayed so this is a separate model. How do I create a MATE mapping file that will create the dialog window, make it visible to the user, and then inject in data from a model?

View 1 Replies

Flex :: Know When A Dialog Created Through PopUpManager Closes?

May 1, 2010

Is there a easy way to figure out consistently when a Dialog closes that has been created through PopUpManager. I would have suspected some type of message or callback mechanism, but there does not seem to be. In one case I use the WindowTitle component and event that only fires the CLOSE if someone presses the close and give no message when the dialog actually closes.

View 2 Replies

Flex :: Suppressing The EULA Dialog The First Time AIR 2.0 Is Run?

Jul 6, 2010

In AIR 1.5, I accomplished this by putting a 'eulaAccepted' file in Application DataAdobeAIR. This doesn't seem to be working in AIR 2.0. how to suppress the EULA dialog in AIR 2.0.2?

View 1 Replies

Flex :: Workaround On FileReference.save Dialog Box

Dec 14, 2010

Im still new in Flex and currently working on capturing a flash game into a flv video file. Im using FileReference.save() to write the captured file in the user's system. It is working as of now but not the way I want it to be.Is there a way to bypass or automate the save dialog box when invoking the save() api of fileReference?

View 1 Replies

Actionscript 3 :: Close The Adobe Flex Popup Non Modal Window If Click On The Parent Page Of The Popup

Dec 12, 2011

I need to close the popup(adobe flex), non modal window if I click on the parent page of the popup. I have to do the out of focus check and then do some validation before close the popup. So what I was thinking that is there any inbuilt focus check event or do we need to create custom event for that?

View 1 Replies

Flex :: Flash - Alert Dialog Not Showing The Text In 4?

Aug 27, 2010

I am using Flex 4 and running into some problems displaying a simple alert box. The alert box shows up, but the text seems to be the same color as the background. I know the text is there because if I mouse over in the alert box window to roughly where the text would be, I can see the cursor change. And when I double click and copy-paste into notepad, I can see the message. But the message, the button text, the message box title don't show up.The relevant code in my project is as follows

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:s="library://ns.adobe.com/flex/spark" layout="absolute"

[code].....

View 6 Replies

Flex :: Events - Determine Which Button Was Clicked In Dialog

Feb 26, 2012

I am using browseForSave() to give the user a chance to save a file before navigating back to a previous screen. As of now the cancel button on the save dialog just closes the save dialog. I want to see if the cancel button was clicked, and if so continue navigating back to the previous screen without saving. Right now the person has to save the file in order to move back. Below is the code I'm using.

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved