Actionscript :: Return Data To The Popup Window?

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


Similar Posts:


ActionScript 2.0 :: Getting Data From Popup Window To Flash Movie?

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

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

ActionScript 2.0 :: Send Data To A CGI Script Via GetURL And Not Have A Popup Window On Send?

Mar 11, 2004

I searched around and found some helpful things, but I am still missing something I think...

LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?

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

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

ActionScript 2.0 :: Resizing The Window - Photos Will Popup In A Fullscreen Window

Apr 25, 2008

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.

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

ActionScript 2.0 :: Popup Opens In The SAME Window And Not Ina New Window

Mar 27, 2006

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

View 2 Replies

ActionScript 1/2 :: Window Component - Keep Buttons From Being Active While The Popup Window Is Active?

Mar 26, 2009

I have a window component on my main timeline that gets called up on several instances. When the popup window appears, everything looks fine, except that the user can still click on links that are now behind the actual popup window itself. My question is how do I keep those buttons from being active while the popup window is active?

View 2 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 2.0 :: Xml Popup Window?

Dec 9, 2009

I have a gallery that calls the images from xml that loads into my place holder witch it attaches the url for the images to open in another window. Now, I will like only one image to open a new popup window, how can I activate that using xml and possibly a bit of as2? here is what I got: javascript to open new window:

Code:
on (release) {
getURL [code]......

View 2 Replies

Flex :: Value In Datagrid Itemrenderers Set Data Method Doesn't Return The Correct Data?

Jan 10, 2012

I've got a Gridcolumn in a Datagrid (Spark). The Column's dataprovider is a Number value that gets updated via Binding.Now, without an item renderer the cell displays the correct values.If I set an item renderer, I can't access the values in this renderer.My renderer looks like this, so nothing really do here (for now) but to trace the value, but the value is always NaN.

<?xml version="1.0" encoding="utf-8"?>
<s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" width="100%" height="100%" >[code].......

without the renderer, the column displays the correct values, so apparently the DefaultGridItemRenderer works fine.As requested, here is my Datagrid;

<s:DataGrid id="dataGrid" dataProvider="{_listItems}">
<s:columns>
<s:ArrayList>[code]..........

_listItems is an ArrayList with instances of a model class, which has (amongst others) a property called change of type Number.

View 1 Replies

Xml :: (Flex 3) Get Data From A File Using HTTPservice And Save The Return Data As An Array?

Oct 15, 2009

I have an xml file (externally saved) that is similar to the following:

[root]
[main]
[title]...[/title]

[Code]....

What I like to do is to get what's in [title] tag using HTTPservice, import it into Flex, and save it as array objects, and do the same thing for [content]. This way I can later refer the array object saying title[0] or content[2].

View 1 Replies

CS3 Play An .flv File In A Popup Window?

Jul 19, 2009

I have a flash website, and I want to put in a button that when onrelease is triggered will popup a window that I can play another movie in, I have the movie both as an .flv file and I have also converted it to a .swf movie as a seperate little movie, I could also convert it to another format if its easier, The movie size is only 320x240 in dimension.

View 1 Replies

ActionScript 2.0 :: Creating A Popup Window

Jan 5, 2010

All the info I see on the net is for 3.0. I have a file that uses 2.0 and I need to try to get a popup window to work. The point is so that I can have a window come up at specific dimension when clicking on a button. This is some 3.0 script I got from the net.

[Code]....

View 7 Replies

Javascript Popup Window Buggy

Mar 2, 2011

I am trying to open a new browser window popup from Flash. I am using:

[Code]....

What is supposed to happen is that the popup should open in a new smaller window whilst the original window keeps displaying the flash file. Not sure what I'm doing wrong. Is there a better way to go about this? NOTE: I know that you can call JavaScript functions and house your js in the HTML file, but I cannot edit the HTML file since it is a page from a remote site.

View 5 Replies

Flex :: Center Popup Window In 4?

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

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

Flex :: Set A Public Var In A Popup Window?

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

Flex :: Air - Popup Window - Get [ok] Or [cancel]

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

ActionScript 2.0 :: Popup Window Always On Top And Centered

Sep 11, 2009

I'm using this code in Flash to popup a window:
on (release) {
var jscommand:String = "window.open('[URL]','win','height=550,width=830,toolbar =no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}

The code is in 10 different buttons, each loading a different content for the same popup window. In Safari, if I click on the parent window and then click on another button, the popup window will come back on top of all other pages automatically, but it does not work with Firefox. In Firefox, the popup window will stay behind the parent window. I'd like for the popup window to be always centered on any screen.

View 1 Replies

ActionScript 3.0 :: Add A Title To A Jpg Popup Window?

Nov 21, 2009

I have code that opens a new window with the image of "pic1_popup.jpg" inside. Both the jpg and the size of the window are the same. The code below is wrapped in a URLRequest and submitted with a navigateToURL method.

When the window displays, the title bar displays "pic1_popup.jpg" and the size of the image.

What I need is to replace the title with "Enlargement"

Within the argument string, I tried title=Enlargement both with single quotes around Enlargement and without. Neither one changed the title.[code]...

View 2 Replies

ActionScript 3.0 :: Creating A 'popup' Window?

May 9, 2010

I have some content on the stage of my project, and I would like for a TextInput box to pop up when you press a button. When I tried to implement this, it seems like the textInput box is at the lowest layer because things from the previous stage is appearing on top of the text input box instead of the other way around.I right-clicked on the text input box and adjusted the layer properties to 'Bring to Front' but it's still not working.How do I make the box and its contents appear on top of everything else on the stage?

View 4 Replies

Actionscript 3.0 :: Want To Crate A Popup Window?

Mar 4, 2009

i create a popup window using window component in as2 with Popupmanger unfortunately as3 havn't it.how can i create popup window in action script 3.0..? is there any alternative component .

View 2 Replies

ActionScript 2.0 :: Closing A Popup Window?

Feb 7, 2003

how do you use javascript to close a popup window, from inside an html window in the swf file itself... ?

View 3 Replies

ActionScript 2.0 :: Popup Window In Flash?

May 14, 2003

I went through the tutorial on this site that shows you how to launch a popup window, from Flash, that is centered. The only thing is that I would like to be able to open multiple windows so customers can compare many different products. I tried a few things but can't get it to work.

View 5 Replies

ActionScript 2.0 :: Make A Popup Window?

Nov 6, 2006

I was trying to make a popup window so I was just writing the code, published... and staring to nothing. I thought I made something wrong, so I checked the help and copied this piece of code from there (it's the code under MovieClip.createEmptyMovieClip()):

ActionScript Code:
var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
var label:TextField = container.createTextField("label", 1, 0, 0, 150, 20);

[Code]....

PS: I read about returning Void, but whatever I make, I cannot create a movieclip with a textfield inside in FP7

View 1 Replies

ActionScript 2.0 :: Swf In A Popup Centered Window?

Oct 19, 2004

is it possible create a pop up window with, as target, a swf file? How? What code I can use for the button that logs the swf pop up centered window?

View 8 Replies







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