Find An Open Popup In Flex 4?

Sep 1, 2010

I'm opening popups (subclass of TitleWindow) in Flex by using

PopUpManager.createPopUp(parent, TrainCard)

Is there any way I can get a list of popups that are open? Or do I need to keep my own list?I need to make sure I'm not opening the same popup twice.

View 1 Replies


Similar Posts:


Flex :: Find The Topmost Popup?

Jan 11, 2005

With the PopupManager it's possible to add/create/remove a new popup. But i can't find a way to get the top most popup without overriding this class (which something you want to do for a big Flex application).So far I found this solution, which is more kinna of work around. So if any body has a better solution, i will be pretty much happy to read it.

Assuming the you call the addPopup/createPopup with the parameter PopUpManagerChildList.POPUP, example :
PopUpManager.createPopUp(parent,MyPopupClass,true,PopUpManagerChildList.POPUP);

[code].....

View 1 Replies

Actionscript 3 :: Find Height Of Dynamic Flex Component Used As A Popup?

Jul 8, 2011

I've created a custom component with several inline item renderers that I use as a tooltip. The height of the component is unknown, as the data contents of the component are not known until runtime.

However, when displaying the tooltip, occasionally it extends beyond the boundaries of the flash application, thus, I'd like to be able to detect this occurrence and reposition the tip.

The problem is that the height and width of the component are, apparently, not available until after being rendered by the popup manager. (i.e. they are always 0)But, I do not know any way of finding out when the popup is actually rendered and, therefore, the height/width values available.

[Code]...

View 4 Replies

ActionScript 2.0 :: Multiple Centered Popup Window - Buttons Don't Open / Replace Past That One Popup

Jul 6, 2004

i'm using the centered pop up window script from: [URL]. i have multiple buttons in my flash movie which open screenshot html pages in external browser windows. the script works fine except when a popup window stays open. the rest of the buttons don't open/replace past that one popup. i tried changing the window name in the onRelease script to screen1, screen2, etc for each button, but that didn't work.

View 1 Replies

ActionScript 3.0 :: Remove Shadow In Flex Application When Alert Or Popup Open

Aug 6, 2009

If we open a alert or popup windows in a flex application the background of the current applicaion get shadow..How to remove that shadow..? I need that screen(panel or application) get as usual when alert or popup open.

View 2 Replies

Flex :: Air - Get The Parent Of A Custom Grid Column Filter Editor And Open A Popup Window?

Jan 31, 2012

I am trying to figure out how to open a pop up window in my Air application, in a secondary Window, instead of the main application window.I am using the ReusableFX components, which include a custom DataGrid with filtering and other capabilities. The filtering feature displays a pop up window via PopUpManager when you click on the top of a column in the grid.

PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject);

The problem is that the pop up window opens in the main application - I am assuming because of the 'topLevelApplication' reference.So, I need a way to open this window in the current Air "s:Window". I am assuming I need a way to walk up : this.parent.parent or this.owner.owner - though I have tried that and it did not seem to work (it said null reference).OR, is there a way to get the current top most window / component (NOT the main application / window)?

Update:I decided to create a new project for the component, and add in the Air libraries. Now I am able to access the "NativeApplication.nativeApplication.activeWindow" call. That gives me the correct Air window. However, it does not seem to be working:

PopUpManager.addPopUp(this, NativeApplication.nativeApplication.activeWindow as DisplayObject);

My popup does not appear. I am assuming because "activeWindow" is not actually a DisplayObject?(so how do I get the DisplayObject if that's the case?)

View 1 Replies

Actionscript :: Flex Popup Manager Mouse-down Outside Of Popup Removes The Popup

Mar 4, 2011

If you create a popup via:[code]It will create a popup and bring it on top of any other visual piece. I have one problem though. This 'popup' needs to stay up even when the user interacts with the background.I would use modal, but I need the ability to interact with the back. Any way to tell the popup manager not to remove the popup when the user clicks off of it?

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

How To Open Popup Window

Jul 1, 2009

How can I create a new window such as the one that opens here when i click the "insert link" above, with fade out and one that looks as if it's in the same window ?

View 1 Replies

ActionScript 3.0 :: Open Popup On Load?

Jul 23, 2009

I am trying to get a swf to open a new window as soon as the swf is loaded by the html. I understand this is really easy but I have been flicking through several tutorials and it just doesnt seem to be working.

View 5 Replies

Actionscript 3 :: Open A Popup Window From A Swf?

Nov 19, 2010

How should I open a popup window from a swf?My method - create another panel and overlay on the original swf.The problem is that the size of the original swf is small compared to the size of the popup window.No JS call allowed which does not allow me to use window.open javascript call.I need to be able to communicate with this popup window as well. This eliminates opening a new window using navigateToURL method.

View 2 Replies

ActionScript 2.0 :: Open Popup In One Windows Only?

Aug 15, 2011

I have different buttons to open another browser window using getURL. The problem is each button opens a new browser window. If a user does not close the window when coming back, there would be many browser windows open the same time. A few users get confused by this thinking that they are accessing the same page.Is there a way to control it so the popup will open all at the same window (if someone chooses not to close the window each time)?

View 2 Replies

ActionScript 2.0 :: Open New Window From Flash As Popup

Oct 15, 2010

Is there a way to open a new window from Flash as a pop-up (i.e. a specific size without toolbars etc.). The new window needs to hold some flash movies in AS3 which arn't compatible with the AS2 parent movie.

View 3 Replies

ActionScript 2.0 :: Open New Window Popup With ClickTag?

Oct 26, 2005

I have a flash banner and when I click on it,I would like to open a website page inside a popup.

View 1 Replies

ActionScript 2.0 :: Open A Popup Browser From A Xml File?

Nov 30, 2005

I have an xml file which creates some dynamic text url's in my flash movie. I would like the dynamic text which currently opens a new browser window when clicked to open a predefined size popup browser window.

This is my working xml code:

Code:
<?xml version='1.0' encoding='iso-8859-1' ?>
<dataveld>
<link>

[Code]....

View 2 Replies

ActionScript 2.0 :: Open A Popup Window From Flash?

Oct 4, 2004

I read this: "JavaScript is interpreted by the browser, so whenever you call JavaScript code from the Flash movie you'll have to embed the movie into a HTML document first."

What do you do if your document doesn't have a html file and you need to open a popup window from flash? My document is .exe ..

View 1 Replies

Flex :: Passing Data From Popup To Popup?

Dec 7, 2010

I have a web application which contains a data grid. Double clicking on any row of that grid will open a popup (lets call it popup1). Now this popup1 again opens a new popup(lets call it popup2). When I close the popup2, I need pass an Object to popup1. Which is the easiest way to do that?

(PS: While opening popup2 from popup1, I am adding an event listener on Close event of popup2)

View 3 Replies

Flex :: Parsley Popup Displaying 2 Popup?

Jul 7, 2011

I have a parsley popup that can create another popup.The issue comes when I close the root popup, when I open the popup again and click on the child popup, it's actually opening 2 child popups.Any idea why this thing happen?

<parsley:PopUp open="{presenter.scenarioCreatePopup}" modal="true" center="true" reuse="false" id="hem" >
<views:ScenarioView width="100%" height="100%" id="scenarioView"/>

[code].....

View 1 Replies

Professional :: Open A Popup Window When Clicking A Button?

Apr 9, 2011

Not a URL, but just a swf file in a popup window. Using ActionScript3.0

View 3 Replies

Actionscript :: Open A Browser PopUp Window From ( Flash )?

Apr 29, 2010

How to open a Browser popUp window from Actionscript ( Flash )?

View 3 Replies

ActionScript 2.0 :: How To Make Button To Open Popup Window

Oct 13, 2011

How to make a button which opens a pop up window(don't really knows if that's the correct name) with a image or text, centered, but the site isn't available unless I click the "x" button on that window or outside the window.

View 1 Replies

ActionScript 2.0 :: [MX] Open A Centered Popup From A Executable Presentation?

Dec 9, 2003

I'm trying to open a centered popup from a executable presentation. I'm using javascript but it opens a bigger window behind the running presentation! the presentation is fullscreen!

View 1 Replies

ActionScript 2.0 :: Popup Window From Open Image Link?

Aug 9, 2006

I have dynamic text in my movie that when clicked opens different image jpgs in _blank window. I would like to be able to have the blank window open at a set size so that when the link is clicked it doesn't open the image in a full window.Code:<a href='http://" + currAttribs.link + "' target='_blank'>Keep in mind that I'm not calling actual html pages but rather jpg files to open in _blank pages.

View 4 Replies

ActionScript 2.0 :: Flash Popup To Go Behind Main Website Thats Open

Aug 11, 2008

im looking for a way to send the popup behind the page that is behind the popup..[code]

View 1 Replies

ActionScript 2.0 :: Open A Centered Popup From Executable Presentation?

Dec 9, 2003

I'm trying to open a centered popup from a executable presentation. I'm using javascript but it opens a bigger window behind the running presentation!

View 1 Replies

ActionScript 2.0 :: Way To Force Popup Window To Open In Flash?

Oct 21, 2004

I've altered Kirupa's centered popup script a bit and it works fine unless you have a popup blocker because most popup blockers just block the window.open() javascript funciton. Does anyone know a way to force a popup window to open in flash? something like you would do on an HTML link <a target="_blank"> or something of the sort.

View 2 Replies

ActionScript 3.0 :: Automatically Open Popup Window On Mouse Event?

Aug 23, 2009

I am new to ActionScript and am trying to accomplish the following: In a drag and drop function, when the object is "dropped" on mouse up, I want it to automatically open a popup window for the PayPal Web site. Here is the code I have so far. How do I integrate the additional functionality into the dropIt function?

[Code]...

View 3 Replies

AS3 :: Professional - Open A Html Page In A Borderless Popup Window

May 10, 2010

Is there a way to open a html page in a borderless popup window using AS3. I've found info using AS2 with the "getURL" but nothing with the "new URLRequest" This is an example of what I'm looking to do: [URL]

View 2 Replies

ActionScript 2.0 :: Open A PDF In Flash CS5 That Will Launch Into A Popup Browser Window?

Jun 10, 2010

how to open a PDF in Flash CS5 that will launch into a popup browser window. In CS3/CS4 I used the "geturl" command and it worked perfect. In CS5, the geturl command always wants to open a url (ex. [URL]) instead of a local file on my drive. Is there any way around this to make it work like the older versions of Flash? Basically stop it from trying to launch the [URL]?

View 9 Replies

ActionScript 2.0 :: Make Button That When I Click On It Open Gallery Popup In Separate?

Feb 3, 2009

The problem is that i want to make a button that when i click on it open the gallery AS popup in a separate hrtml page + all the configuration[code]...

View 0 Replies







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