Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


Advertisements:










AS3 :: Flex - Pass And Retrieve Values To/from Popup Window?


I want to send some text value to my custom popup window when it pops up from main application which is having some text input and also I want to know how to retrieve data(of text input) which entered by a user in popup window.


View 2 Replies (Posted: Aug 10 11 at 5:41)

Sponsored Links:

Related Forum Messages For Flash category:
Actionscript 3 :: Close The Adobe Flex Popup Non Modal Window If Click On The Parent Page Of The Popup
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?

Posted: Dec 12 11 at 22:31

View 1 Replies!   View Related
Flex :: Placing Popup Window In The Middle Of The Main Window
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.

Posted: Mar 16 10 at 14:44

View 3 Replies!   View Related
Flex :: Reload Main Window's Variable In Popup Window?
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]...

Posted: Aug 12 11 at 9:02

View 2 Replies!   View Related
Flex :: Flex - Pass Data From Popup To Parent?
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].....

Posted: Jan 1 11 at 4:09

View 1 Replies!   View Related
Flex :: Center Popup Window In 4?
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.

Posted: Mar 30 10 at 12:12

View 2 Replies!   View Related
Flex :: Set A Public Var In A Popup Window?
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]...

Posted: Feb 9 11 at 20:55

View 2 Replies!   View Related
Flex :: Air - Popup Window - Get [ok] Or [cancel]
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]...

Posted: May 23 09 at 2:46

View 3 Replies!   View Related
ActionScript 2.0 :: Multiple Centered Popup Window - Buttons Don't Open / Replace Past That One Popup
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.

Posted: July 6th, 2004

View 1 Replies!   View Related
Flex :: Getting <parsley:ContextBuilder From Popup Window
I'm using

<parsley:ContextBuilder config="{Parsley_Config}"/>

in my main application. The problem is popup window cannot detect the configuration.

Posted: Jan 26 11 at 12:33

View 1 Replies!   View Related
Actionscript 3 :: Create And Use Popup Window In Flex 3?
I have used a datagrid and one button in control bar. by clicking button the application goes edit state from base state.My question is how can i use popup for editing selected record of datagrid instead of changing state.

Posted: Jul 21 11 at 7:22

View 1 Replies!   View Related
Flex :: Scroller That Wraps A Popup Window?
Programming in Flex 4.5

I want a scroller to be wrapped around a popup window (based on borderconatiner)

I cant put my scroller correctly.

<s:Scroller width="600" height="70%" id="scroller>
<s:Group id="myGroup">
// Here is the rest of my code..

[Code].....

Posted: Feb 15 at 11:01

View 1 Replies!   View Related
Actionscript 3 :: Flex Draw A Pie Chart In A Popup Window
I have drawn a pie chart,I want that when I roll over my mouse on this pie chart,a popup window opens and the same pie chart is drawn in this popup window.(Only the pie chart in this popup window is magnified).Take any input directly.

Posted: Jun 25 10 at 8:13

View 1 Replies!   View Related
Flex :: PopUp Window Resize With Height / Width In Percentages
I have the following:
var win:Window = new Window();
PopUpManager.addPopUp(win,this,true);
PopUpManager.centerPopUp(win);
What about if I want the popup window to be stretched and be 80% width and height from the parent? How do I achieve that?

Posted: Nov 30 11 at 14:14

View 1 Replies!   View Related
ActionScript 3.0 :: Make A Modal Effect Like A Popup Window In Flex?
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.

Posted: June 26th, 2011

View 3 Replies!   View Related
Python :: Pass Values To Flex App?
I am calling Python script from flex using HTTP service. How can I send back some values from python to flex app?

Posted: Jan 29 11 at 16:57

View 3 Replies!   View Related
Flash - Load HTML Page Inside Flex Popup Window?
I have created a popup window in a flex website and I wanted to load a HTML page inside that popup. I tried many ways to do it but that way unsuccessful. Can someone recommend me a approach to get this done?

Posted: Feb 10 at 3:48

View 2 Replies!   View Related
Actionscript :: Flex Popup Manager Mouse-down Outside Of Popup Removes The Popup
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?

Posted: Mar 4 11 at 15:17

View 1 Replies!   View Related
Flex :: Air - Get The Parent Of A Custom Grid Column Filter Editor And Open A Popup Window?
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?)

Posted: Jan 31 at 11:42

View 1 Replies!   View Related
Flex :: Datagrid - Pass An Array Of Values From One Mxml Component To Another?
I have a mxml component with a datagrid listing project names and code versions. I have the selected projects from the datagrid binded to a public variable named "selectedProjects". But how to access this variable in another mxml component. I want the selected project's name in that component's text area. I even created an instance of the first component and using that called the selectedProjects variable. But I do not get the value updated in the text area.

This is the code for the first component where I get the selected projects name in a variable:

<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="handleCreationComplete();"
width="800" height="600">

[Code].....

I was trying to update the value of the selected projects in the text area of Id "projDocs", But I do not get it..

Posted: Oct 13 09 at 8:31

View 1 Replies!   View Related
ActionScript 2.0 :: Resizing The Window - Photos Will Popup In A Fullscreen Window
Go to [URL]. Click on "The Photos". It will pop up in a fullscreen window. Try resizing the window and you'll notice that the background is vector and it looks like the scale mode is set to "showAll". BUT, the photos look like they have a separate scale mode set to "noScale". They don't resize.

Posted: April 25th, 2008

View 2 Replies!   View Related
Flex :: Pass The Array Values (not The Array Collection Values) To The Bar Charts Or Column Charts?
Is there anyway where I can pass the Array values (not the array collection values) to the Bar charts or column charts using flex 3.5...

here is the thing i want:::

I have array values like this,,

array1 = [23, 49, 40, 239, 20, 80, 39,49,120, 24, 31,41];

and i want to show these values on the Yaxis and months on Xaxis....

I have two Qns,

1) how can I pass this array to Bar chart or column chart.

2) how do I need to show months on Xaxis. beacuse I'm asking this regarding, I have kept a filters that even if we want to see some months or a particular months or perticalar span of months... there on Xaxis it need to change the months dynamically depending on the filters..... (for ex, on Xaxis the values should be (Jan, Apr, Jun,Oct) if i select the 3 months period filter....)

I have written a logic to collect the values of those particular months into an array, but not understading how to pass this array to Bar chart,, beacuse there I don't know what Xfield and Yfield to be given....

Posted: Sep 7 10 at 17:15

View 1 Replies!   View Related
Flex :: Passing Values To Function Using Alert Window?
I have a function that checks for something when the user clicks a button. if that something is found, an alert comes up saying that it has been found and asks them if they would like to allow this to happen, or undo the action that caused the something to be found. the code looks like this:

Alert.show(thisString1, "Conflict: Multiple Projects", 3, this, conflictAnswer);
upon pressing "Yes" or "No", the conflictAnswer function will be called... it looks like this:
private function conflictAnswer(event:CloseEvent):void[code]....

but it didn't work.

EDIt: After reading the first respond, i've come up with this:

answers[0] = cPositions[i][0];
answers[1] = cPositions[i][1];[code]..........

Posted: May 12 11 at 18:59

View 1 Replies!   View Related
ActionScript 2.0 :: Popup Opens In The SAME Window And Not Ina New Window
following situation: a button with AS :

[Code]...

this popup opens in the SAME window and not ina new window. What can I do to let it open in a new window and given the same properties to this new window as above: toolbar=No,location=No,scrollbars=No,status=No etc.... a geturl opens it in a new window but does not give toolbar=No,location=No,scrollbars=No,status=No etc.... properties to the window

Posted: March 27th, 2006

View 2 Replies!   View Related
Professional :: Retrieve/Fetch 2 Values To 3?
I'm trying to retrieve values from AS2 to AS3. Here's my codeAS2

code:var as2Txt;as2Txt.text = "My text!"loadMovie("as3.swf", mc_holder);AS3 code:var as3Txt;as3Txt.text = _root.as2Txt;//

Posted: Apr 5, 2011 11:44 PM

View 1 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved