Flex Loads Flash SWF With Popup?

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


Similar Posts:


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

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

ActionScript 2.0 :: HTML Loads A Preloader That Then Loads The Actual Flash Movie?

Mar 28, 2009

Everything is embedded in an HTML site. The HTML loads a preloader that then loads the actual flash movie. Inside this movie I created a few buttons, inside a scroll bar movie clip. I want the buttons to load a whole new movie inside the same html. The code I'm using in the button is simply:

on(release) {
loadMovie("new_movie.swf", 0);
}

The problem is that it works beautifully in the Flash movie tester but doesn't do anything when tested inside the browser, embedded in the HTML. I think the problem is that the HTML embeds as an object the first movie, the preloader for the menu movie, not the menu movie itself.

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 :: Stop The Flash Privacy Popup From Occurring Twice On A Page?

Sep 7, 2010

My web-app records users via webcam and microphone. I want to use HTML/JS for the controls and content, so I created two separate Flex modules: * A "Webcam Setup" module that lets you choose your camera and mic input devices * A "record" module that lets the user record and submit the recording

When I embed either of these on the page, since they access the user's Camera/Mic object, Flash shows the Privacy dialog that says "[mysite] is requesting access to your camera and microphone. If you click Allow, you may be recorded."

The problem is, if I answer Yes in the Setup module, and later add the Record module to the page using Javascript, it again shows the Privacy dialog.

Is there a way to avoid the second privacy popup?

I would think that saying "Yes" for [mysite] would store that permission for at least that session, but apparently not.

What I've tried I tried combining them into one SWF, adding it to the page once and moving the DOM element with jQuery's append() function when needed. When I move it, however, it reloads and asks me again.

View 3 Replies

Flex :: Flash - Popup A Transparent Panel That Is Dismissed When Clicked Outside Of It In 4?

Dec 15, 2010

I need to popup some buttons in Flex 4. Users should be able to see the background (ideally a little faded, but not important) around and in between the buttons. And clicking anywhere except the buttons should dismiss them all.So I created a spark Panel and added a spark VGroup with some buttons. Then I call

PopupManager.addPopUp(myNewPanel, background, true);

My 2 main problems are the panel is not transparent and clicking outside the buttons doesn't dismiss them... How do I implement that?

UPDATE: Figured out how to dismiss the popup when clicking outside the panel with:

addEventListener("mouseDownOutside", close);
private function close(event:FlexMouseEvent):void {
PopUpManager.removePopUp(this);
}

Now I just need to figure out how to make the Panel transparent so you can see the background around and in between the buttons.

View 1 Replies

Flash - Load HTML Page Inside Flex Popup Window?

Feb 10, 2012

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?

View 2 Replies

Flex :: Flash - Standard Size And Location For OK/Cancel Buttons On Popup Dialog?

Jan 3, 2011

Is there any kind of a standard for the location (padding) and size of the usual "ok" and "cancel" buttons on a Flex pop-up dialog box? In another stackoverflow question it was suggested that the approach be host operating system dependent (e.g. Windows vs Mac vs Linux).

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

Flex :: Positioning / Scrolling Problem With Flex Popup?

Apr 9, 2010

I'm trying to work out a specific problem I'm having with positioning in Flex using the PopUpManager. Basically I'm wanting to create a popup which will scroll with the parent container - this is necessary because the parent container is large and if the user's browser window isn't large enough (this will be the case the majority of the time) - they will have to use the scrollbar of the container to scroll down. The problem is that the popup is positioned relative to another component, and it needs to stay by that component.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>

[code]......

View 3 Replies

Flex :: Flex - Pass Data From Popup To Parent?

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

ActionScript 2.0 :: When The Xml Menu Loads Swf File Its Structure Loads But Not Its Data?

Feb 23, 2010

have this flash xml menu that loads external swf files like this:

Code:
<item title="ABOUT"content_path="http://mysite.com/folder1/folder2/folder3/about.swf"target=""mouse_rollover_color="0xFFFFFF" mouse_rollout_color="0xDDDDDD" />

and I have this swf file with cms that I'd like for this menu to load. Currently the swf file load external text using this code:

Code:
if (contenturl1 ne "") {
loadVariablesNum(contenturl1 + "/" + userid + "/content.txt", 0);[code].....

but when the xml menu loads this swf file its structure loads but not its data.I tried using :

Code:
this._lockroot = true;

in the loading swf main time line but it did not work.I should also mention that the dynamic data that loads onto the swf that is to be loaded by the menu, resides not in it main time line but 4 movie clips deep .I don't know if that makes a difference or not.

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 :: Add A Preview Button To The Popup?

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

Flex :: Run Function On Popup Close?

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

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

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

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 :: How To Popup TitleWindow In Module

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

Flex :: Close All Popup Windows?

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

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 3 :: Flex Popup With Keyboard Key Like C / V / X / A Key

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

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

Skip This Popup For A Trustable Domain In Flex?

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

Flex :: Create A Popup Without A Browser Toolbar?

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

Flex :: Avoid Native Authentication Popup In AIR On Mac?

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

Flex :: Displaying Popup By Clicking On Cell?

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







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