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

Jul 13, 2010

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

View 2 Replies


Similar Posts:


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 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

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 :: Keep A Nativewindow On Top?

Jul 6, 2009

I need to keep a NativeWindow I am creating on top of the main window of the application. Currently I am using alwaysInFront = true, which is not limited to the windows in the application. I can successfully synchronize the minimize/restore/move/resize actions, so the top window behaves appropriately in those cases. Even though using this option has the drawback that if I alt-tab to other application the window goes on top of the other application.

Because of the above I am trying to get it to work without using the alwaysInFront. I have tried using orderInFrontOf and orderToFront, which gets it in place but when I click an area in the main window the top one becomes hidden i.e. air makes it the top one. I have tried capturing activate/deactivate events but it only happens on the first click, so on the second click the top window becomes hidden again. I also tried making the top window active when the main one becomes active, but that causes the main one to loose focus and I can't click on anything. I am doing this to improve the behavior of a HTMLOverlay I am using - see [URL]

View 3 Replies

Flex :: TitleWindow (or NativeWindow) Skinned As A Fancybox?

Apr 11, 2011

The customer I am working for wants to display popup in an AIR application (designed in Flex 4).I will therefore use TitleWindow and PopupManager for this (or NativeWindow could be an option too).
Pretty basic, I can handle this.

Trouble is, this customer would like this popup to be looking as a Fancybox, that is, with the close button, slightly out of the popup.

View 1 Replies

ActionScript 3.0 :: Alternative For NativeWindow Class For Flex Web Application?

Jun 13, 2011

I have to convert an Air application to the web application.I created a web project and I copied all classes to that project +main.mxml.now the problem that i have is the nativeWindow is just work in

[Code]...

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 :: 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

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

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

ActionScript 3.0 :: Call A.swf From B.swf Where A.swf Should Act As A Modal Popup Window Over B.swf

Mar 16, 2009

I want to call a.swf from b.swf where a.swf should act as a modal popup window over b.swf. I am working in as3 cs4. how can i achieve this?

View 3 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 2.0 :: How To Simulate Click On Modal Popup Window

Feb 14, 2011

I am using this nyromodal.nyrodev.com to open a modal pop-up windows on the webpage. The thing is it watches for click even on tag that has a certain class. For instance

Code:
<div href="popupform.php" class="nyroModal"></div>
Code:
$(function() {
$('.nyroModal').nyroModal();
});

It obviously doesn't have to be anchor tag, but they say preferably that it is. Anyway I need to implement the same thing inside the flash movie: after click on the button the given modal box pop up. It'd be nice if I can load external content inside the popup windows.

View 1 Replies

ActionScript 3.0 :: Convertion To C++ - Modal Window And Nested Functons?

Aug 14, 2009

I'm converting some code form C++ to AS3 ... and in C++ have so called Modal window ... lets say we have an function in C++ like this

Code:

CYESNO m_yesno=new CYESNO();

if(m_yesno.DoModal()==IDYES) {[code]....

a know that this can be achieved with events, and with breaks the code into several functions ... but i don't want that ... i want to keep things simple.just when i call CYESNO m_yesno=new CYESNO(); the code stops and after selecting an option, then code continues to execute from corresponding if() block in the same function.i thought that nested functions will help me but unfortunately i was wrong.Or not ?

View 1 Replies

ActionScript 3.0 :: Flash Template - Preview SWF File Into Modal Window

Jun 30, 2011

I have a flash template that I am working on, and have customized it via the XML files. It's an AS3 template. I also have a Flash poll script that I am attempting to integrate into the template. This is where it gets a bit tricky...I have decided to use a modal window (which supports swf files) to open the poll that I am using. If it were as simple as to load the swf file, I would be fine, but the poll also includes XML and PHP files, which I don't know what to do with.

The files included are: preview.swf, preview.fla, the xml file, config.php, edit.php, index.php and then "caurina" and documentation files. What I'm thinking I need to do is include the preview.swf file into my modal window, but I'm not sure what to do with the rest of these files, do they go into a new folder in the main template folder or what?

View 1 Replies

Actionscript 3 :: Creating Modal Popup Canvas Window In A Parent Page?

Nov 3, 2011

I am creating modal popup canvas window in a parent page. When I close the popup how do we get notification in parent screen that child popup is just closed.

View 3 Replies

ActionScript 3.0 :: TypeError: #1009 - Make A Popup Alert Modal Window Thing With An External Class

Apr 15, 2011

I'm trying to make a popup alert modal window thing with an external class. I have a simple swf set up with just some random sample text, a rectangle, and a button. What I want to happen is for the "alert" class to initialize upon startup of the swf and then when I click the button (instance: btn), the alert will show up. If I get rid of all AS in the swf and set alert as the document class, it shows up just fine, so I think it should be working, but for some reason I get this instead when I try the button function:

[Code]...

View 9 Replies

Flex - Application.application.nativeWindow.activate() On Windows?

Dec 8, 2009

I have an AIR application with a system tray icon. When clicked it shows and activates the app. This is working as expected when the app is hidden (docked), however if I select another application so my app is in the background clicking on the system tray icon does nothing.

Oddly I also have a contextual menu on the system tray icon, which has an option to restore, this calls the same event handler as ScreenMouseEvent.CLICK, yet works.

I expect it's something to do with the contextual menu changing the focus, perhaps it's a bug in how AIR works with the system tray, perhaps it's just something I'm missing. Would be good to know if that's the case.

View 1 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 :: Placing Popup Window In The Middle Of The Main Window

Mar 16, 2010

I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window? i tried the localToGlobal function but with no luck, I just can't get the main window x and y.

View 3 Replies

Actionscript 3 :: Detect Clicks Outside Of A Window For A Multi-window AIR App In Flex?

Mar 13, 2011

So I have this AIR app coded in flex where I have several floating native windows and what I want is to detect when a user clicks outside of a window so that I can close it. (I don't want to use the PopupManager Class and would want to use the native windows).

My question is, is there a way to detect a click outside of a spark window, or alternativley is there some root container/object which is a parent to all the native windows so that a click inside any native window would bubble up to it? (Apparently the stage object of the root windowed application is not that object since each window is not a child of the stage for the root application).

View 1 Replies

Flex :: Reload Main Window's Variable In Popup Window?

Aug 12, 2011

How to access main window's variable from popup window.

I create a popup window in the main window, and pass variable "content" to this popup window as following [code]...

View 2 Replies

Flex :: Resizing The Restore-window Of A Maximized Window

Aug 11, 2009

I have a window, the window I programmatically change the size of the window depending on the current view it is displaying. The user cannot resize the window them self, but they can maximize the window.

The problem is if the view is changed while it is maximized, the maximized window size changes, I do not want this, I want it to only change the size of the non-maximized window.

My first thought is to just check if the window is maximized, and if so do not resize it...but the issue there is then when it is restored at a different view then when it was maximized it will not restore to the new size it should be.

View 2 Replies

Flex :: Get Data In Flex Pop Up Window At Run Time?

Jul 1, 2009

I am creating a project in Flex.

I have a main page from which i open a popup window on button click. i this pop up window to display my data which i am getting from my Http request in my response() as rawdata. I did broke this data into array.

I can display the data everytime i close the popup window and open it again. But to do it at run time -- is the problem. I did tried to call the request.sent() again and again in a for loop, and it works, but it tends to send alot of http request, that is not good i believe.

View 2 Replies







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