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
Similar Posts:
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
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
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
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
Jan 1, 2011
I have a parent w/ a popup child. When parent loads, I have to call a function within the popup without showing the popup (thus, I load "pupLove" but don't include it in layout)....I then pass this data to the parent. When the user manually clicks another button to open the popup, the same function is called & data passed to the parent. However, I am not able to pass dg.length to the parent. I believe the root problem is that I am loading "pupLove" & thus the parents are getting confused.....I'm guessing if I get rid of "pupLove" I can pass the data correctly but will need to call the child's function at creationComplete of the parent....how do I do that?Here's my parent:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code].....
View 1 Replies
Nov 11, 2009
i`m trying to send variables from this .swf on level2 of the main movie to another swf that loads onto a javascript popup. i`ve tried using the GET and POST methods with no success.the popup script, first layer:
_root.btn.onRelease = function() {
address = "E01_p.swf";
target_winName = "test_pop";
width = 600;
[code]...
View 1 Replies
Jun 4, 2009
Basically, I'm trialling a javascript button that, when clicked, will produce a popup window with the flash player embedded in it. I've had some progress but am having problems passing the url I want...
My javascript reads:
function doublePopup(){
var player = document.FLVClipEditor;
if (player) {
var url = "[URL]";
player.doublePopup(url);
}}
[Code] .....
But when I try to pass a URL through, nothing happens. However, if I put the url in directly (as below), bingo! The pop appears!
View 2 Replies
Jul 10, 2011
I have an application that called a popup window. From this popup window is called the second window in which data is transmitted, such as an array of strings. In the second box, I can change the data in an array and return the modified data in the first popup window.I've tried:
FlexGlobals.topLevelApplication.myFunction(arrayWithData);
but of course get an error, because the data send to the main app. how to transfer data in the first popup window from a second?
View 1 Replies
Aug 2, 2011
I'm not getting the answer I'm looking for. I want to send the request data i get to the main application.
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" remove="titlewindow1_removeHandler(event)"
width="400" height="220" layout="absolute" title="USER LOGIN">
<mx:Metadata>
[Event(name="commEvent", type="flash.events.Event")]
[Code]...
View 1 Replies
Oct 6, 2009
I would like to have my flash movie launch a window to an HTML page and then be able to notify the flash movie at a certain point (form submission). Is there a way maybe using javascript that I can pass variables to my movie from another external page?
View 3 Replies
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
Dec 7, 2009
I am working on an image management application. We have an Adobe AIR client talking to a WAMP server. The MySQL DB stores the images as blobs.We have an image search feature. Upon searching, I am displaying the results as XMLList in a popup window and provided a download button. Downloads work fine. I also want to add a preview button to the popup.how can I code this. Without having the file on the client, I cannot preview. But when I use save() method, the os dialog opens up.
View 1 Replies
Mar 3, 2010
I've got a flex project that I'm working on. Currently I've got a popup that consists of another mxml file containing a form.
Once the form is filled in and submitted I'd like to run another function then the popup closes on the main mxml file, but I'm not sure how to go about doing this?
Here's my popup code
private var weightadd:weight_add; //POP UP ADD WEIGHT FORM
private function weightAdd():void {
weightadd = new weight_add();
[Code]....
Currently in my weight_add.mxml file I'm using a button to close the popup, I'd like have this button close the popup and then call a function in my main.mxml file - I'm just wondering how I go about doing this.
<mx:Button x="186" y="83" label="Cancel" styleName="formbutton" id="cancel_button" click="PopUpManager.removePopUp(this);"/>
View 1 Replies
Mar 30, 2010
How can I center popup window in flex 4 ?
I have tried:
PopUpManager.addPopUp(AlertPopUp,DisplayObject(spark.components.Application), true);
PopUpManager.centerPopUp(AlertPopUp);
but it's problem with conversion Application->DisplayObject.
View 2 Replies
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
Feb 9, 2011
I am trying to set a variable in a titlewindow pupup and use it in a script section. The variable is not being set and I don't know why. Here is my Main.mxml file:
[Code]...
View 2 Replies
Jun 22, 2011
I want to open TitleWindow in flex Module.
My Main page is Application Page and I want to open Module page from Main Page. In Module page there is TitleWindow control. I want to popup title window in Module Page.
View 1 Replies
Aug 8, 2011
I want to show all popup windows(already popped up and closed individually) on an image by pressing a button press and want to close all those windows on another button press.
View 1 Replies
Oct 25, 2011
My Flex application is required to load a SWF file externally. This SWF file has a popup. How could I ensure the popup is at the middle of my Flex application and modal?
Edit: The popup component is owned by SWF file (through a "Show more" button) and is not just an Alert. The SWF file is provided by third party. Any update on the SWF file and its popup component do not require re-compilation.
View 2 Replies
May 23, 2009
I've done a lot of C# programming with both Winforms and WPF. I'm working on a Flex/Air app now for cross platform support. But this is my first flex project, so I'm learning as I go. I've got a window that I want to popup, that the user will fill out a form, then hit OK or CANCEL. I set it up the same way I would've in C#, but it doesn't work, and I can't really see a way to make it do what I want.
[Code]...
View 3 Replies
Mar 22, 2012
As i report earlier in the issues of pop-up of that i'm not able to write "a,c, v and x" characters in the text-input field in pop-up.Shortcut actions(a = select all, c= copy, v = paste and x = cut) are performed on those keys on keys text-input fields.In the popup there is a data-grid and in the data-grid an item renderer where i enter the input.[code]
View 1 Replies
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
Oct 8, 2009
I have working on a client Adobe Air application written in Flex/ActionScript. The app needs to accesse clients' Camera and Microphone. When the client app is launch, the following Adobe security window pops up.
Is there a way to skip this popup for a trustable domain in Flex? or Can we skip this pop for a domain during the Air packaging?
View 1 Replies
Aug 21, 2009
I'm trying to launch a popup window from Flex, but the popup window needs to have certain properties as one can usually specify with the JavaScript window.open. For example, the popup window should not have a browser toolbar or URL box.I've tried using navigateToURL, which works fine, but I can't find a way to specify the popup window properties've tried using ExternalInterface.call, but the popup gets blocked when calling window.open directly, or even creating a custom JS function that calls window.open.
View 3 Replies
Sep 24, 2009
In AIR on Mac, when I send login creds to a service and they're incorrect, AIR displays a native popup window to try logging in again without dispatching an error event. Twitter provides a header (suppress_response_codes=true), which returns any error as a status 200 with the error message. I'm using HTTPService to connect to a service without a header like this. Are there any properties or headers I can send to avoid this popup?
View 3 Replies
Jan 25, 2010
I have datagrid with data populated.when user clicks on one particular cell of one column ,popup window has to be dispayed.And also same requirment is there for another column also.I could not find how to do it for cell.doubleclick and click properties are applicable to row selection.
View 1 Replies
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
Apr 25, 2010
did someone else encounter this problem? I use the methods PopUpManager.createPopUp() and PopUpManager.centerPopUp() to create and center a pop up window but it looks strange, like the window is created at (0,0) and then reappears in the middle of the screen. how do I fix this?
View 1 Replies
Jul 19, 2010
when i trying mouse over right side last images popup is going out of the screenHere TalentInfoPopUp is **TitleWindowThis is my sample code
private static var staticWindow :TalentInfoPopUp = null;
private static var visibleWindow:TalentInfoPopUp = null;
public static function show(t:Object, parent : DisplayObject, x:Number , y:Number):void
[code].....
View 1 Replies