Flex :: Make All The Popups Retain Their Functionality After The One Before Is Closed?
Aug 5, 2011
I have a for loop that I'm trying to display multiple popups with.
I seem to have multiple popups appearing on the screen, but after I'm done and close the top popup all the buttons on the others below it seem to stop functioning.
How can I make all the popups retain their functionality after the one before is closed?
Here's the code that I'm using to add the popups:
reminderadd = reminder_add(PopUpManager.createPopUp(this,reminder_add,true));
reminderadd.postpone_button.visible = true;
reminderadd.title.text = "Reminder - " + remindernum;
reminderadd["add_button"].addEventListener("click",reminderUpdate);
reminderadd["cancel_button"].addEventListener("click",reminderDismiss);
PopUpManager.centerPopUp(reminderadd);
View 1 Replies
Similar Posts:
Feb 6, 2009
I need to make 2 javascript popups in flash. Easy enough right? Well I can't get them to work for some reason. Maybe because I can't realy test them at work because believe it or not I don't have access to a server or a strong enough connection to the net to get on mine. so here is my code:
b1.home_btn.onPress = function(){
getURL("javascriptpenNewWindow('link','window1', 'scrollbars=1,width=600,height=900,left=0,top=0') ");
};
[code]...
Here is the html that I have put in the html in each popup:(I have tried each of these to see if one will work. I'm not sure which is right)
<SCRIPT LANGUAGE=JavaScript>
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
[code]...
View 8 Replies
Oct 3, 2011
Suppose, I have a tabbed application. Can I make Popup window to appear in a given tab only? So, if I change a tab, the related popup(-s) hides. So far, I haven't found any solution for this.
View 1 Replies
Apr 3, 2012
Ive been trying to get flex popups to open under some of my visual elements.
View 1 Replies
Mar 15, 2010
How can we remove all the popups existing in an application?
View 3 Replies
Jul 22, 2010
Lets suppose, there are 4 popups in my application and a viewer presses Escape once. Now i want application to close the popup which is on the top. I dont know how to accompish this because i dont know thich popup is to the front right now.
View 1 Replies
Feb 28, 2011
I have to put multiple Flash movies on a page and I'd like them to share modal popups, so that access to the entire page is denied while a popup is active. I can do this via Javascript and create HTML popups via the ExternalInterface class, but I would love to be able to do this entirely in Flex using the PopupManager class.
Note: This is not for any evil purpose. I just need to make sure none of the other movies' buttons are clicked before the user responds to the first thing they clicked. Also, some of the movies are quite small and can't contain some of the popups they require.
View 1 Replies
Feb 4, 2010
I'm developing an AIR application which uses multiple windows. I'm running into an issue where I want to open new windows (toaster notifications for example) when the primary application window is not visible, but the behavior is different depending on how the window is closed.
When a user hides all application windows with CMD-H, opening a new window causes all application windows to come back to the foreground (instead of just that new window, like I would expect). If the user closed a window with CMD-W, however, that window does not become visible when I open a new window.
Is there a way to either 1) tell when the user uses cmd-h to hide all windows OR 2) tell whether a window is hidden using cmd-h vs. closed cmd-w?
View 2 Replies
Oct 11, 2010
Is there a way to detect this in Flash?
View 1 Replies
Oct 10, 2010
I was wondering if flex has some events that can call before I close the whole application or close browser. Since I would like to send a httpservice to a php before the swf is closed. I tried this before:
<mx:Application xmlns:mx="" creationComplete="init()" remove="clearHistroy()">
But it didn't work.
View 1 Replies
Mar 25, 2011
we're developing an app that should be able to open specified file with default editor application. (so if it is .doc - it suppose to be opened by MSWord or openOffice)
But I also need to wait until user will close the editor, check if it was changed (by size and date), and upload it to the server.
So the following steps:
1) find def editor
2) open file
3) wait it be closed
4) do smth after that with the file.
now results of my research:
-> opening by def editor is simple: file.openWithDefaultApplication();
but there is no way to know that editor is closed (maybe by checking that file is not locked in timer???)
-> i can start the native process and pass file as parameter BUT looks like the code NativeApplication.nativeApplication.getDefaultApplication(file.extension); does not work for any extension :( - it doesnt work for "rtf", "doc" but works for "pdf"... and [file.openWithDefaultApplication()] works fine with any file!
View 2 Replies
Sep 6, 2011
In Flex (Flash Builder 4) I am opening a new window via PopUpManager.addPopUp. I have timer code that runs in my component and I need to stop my timer when that window opens and start the timer again when the window closes.
I figure it's easy enough to stop the timer in the function that opens the window, but how can I start the timer again when the window closes?
Is there a way to tell if there is a pop-up window in front of my component, or if a specific pop-up window is still open via PopUpManager?
View 2 Replies
Mar 19, 2010
I know it can be done in papevision[URL]...html but I'd like to be able to do it just using Flash's 3D functionality. I'm aware that its more 2.5D but was wondering if anybody knew how to create a situation can view it with 3D glasses (red and blue)
View 1 Replies
Oct 29, 2009
I have a Flex client application. I need a clean up function to run in Flex when the user closes the browser. I found the following solution on the net, but it only works half-way for me. How could I fix it?CustomEvent triggered, but not executed. >> EventHandler for CustomEvent.SEND_EVENTS is defined by a Mate EventMap. All the handler does is to call an HTTPServiceInvoker. In debug console, I'm able to see the handler and HTTPServiceInvoker being triggered, but neither the resultHandlers nor the faultHandlers were called. I know this event handler has no problem because when I dispatch the same CustomEvent.SEND_EVENTS in a button click handler, it behaves exactly as I expected)Browser seems to wait for cleanUp function to complete before it closes. (all traces were printed before browser closes down)
Code
I added the following into the index.template.html
window.onbeforeunload = clean_up;
[code].....
View 3 Replies
Sep 30, 2010
I have an AdvancedDataGrid with Hierarchical data in it. On itemClick I have to identify if the row I clicked is expanded or collapsed.
View 1 Replies
Aug 2, 2010
A NetStatusEvent with info.code of "NetStream.Connect.Closed" is dispatched by NetConnection when a NetStream is closed. This seems kind of weird, shouldn't the NetStream dispatch the event? how do I know which NetStream has been closed if I have more than one running (which I do)? I need to know so I can cleanup the now dead stream.
View 1 Replies
Dec 2, 2006
I am attempting to make a small gallery of pictures that slide in from the right when i press the relevent button - which functions perfectly as it stands, here's the code structure on the main timelines 'actions' layer, but1, but2 etc are actual buttons and not MC's:
[Code]...
View 13 Replies
Nov 23, 2009
Now I set dragEnabled="true", dropEnabled="true" and dragMoveEnabled="true" to archive the ability to reorder my Items via Drag and Drop. But as soon as I start to Drag an Item the whole Application crashes with:
[Code]....
View 1 Replies
Apr 8, 2011
is there any library for Action Script 3 that allows my AIR application to function like a version control (svn or cvs or something similar) client?
I just want to use the download functionality. my app relies on some folder and file structure that may change through updates and it'd be great if i could simply manage a subversion repository online and the application would automatically sync it's filestructure to this repository.
View 2 Replies
Jul 31, 2010
I have downloaded Eclipse - Helios and it is working perfectly. I am having a little trouble understanding the Flex functionality with Eclipse. Is it possible to download a Flex plugin or whatever it is called free of charge to develop and compile mxml and actionscipt files without having to purchase FlexBuilder 3 or 4 at a price of $600. I am under the impression that Eclipse is a free download and and Flexsdk is a free download. Can't they be put together into one tool? I cant afford the $600.
View 2 Replies
Jan 20, 2012
I want to use RTMP based HTTP DVR functionality and HLS based IOS functionality, So I need to know how to MPP from my existing DVR app to the livepkgr app so that the stream being recorded at the DVR app can be used by the Flash and Stream MPP over to livepkgr app and can be used by the IOS HLS.
View 1 Replies
Jun 16, 2009
Does anyone know of a way to keep a menu open after clicking one of its menu items? I have a custom menu (extended the menu object) it contains a bunch of check type menu items, the requirement I am trying to fulfill is to allow the user to click multiple menu items without the menu closing, and then have the menu close when it loses focus, is this possible? If it is can someone please explain how it can be done (pref. with a small example).
View 1 Replies
Dec 8, 2009
[code]I want a tree in this structure, having line between the nodes, also, instead of Open and Close Folders, I have added my own graphic there with label. I did by extending TreeItemRenderer Class. Now, I if iam dragging and dropping a child node ex:label5, and try i drop it above label1 here, it is getting dropped there. i.e.,it is becoming like.[code]
View 1 Replies
Apr 15, 2010
I have a requirement like when I type 2 characters in email field if that email id exists in DB then I need to show remaining emails starting with those characters needs to display in dropdown list. Like Tags part in stackoverflow site, Is it possible in flex this functionality?
View 2 Replies
Apr 19, 2010
What's the best way to organize functionality modules in a flex project? I saw some people put all modules in one view stack ,and so the application interface is only load once, but when the application get larger, the whole compiled swf would be very big. If we put swfs in different pages, we pass request parameters through HTTP request, we lost the benefits from flex RPC services, slow loading, and we can't see any superior comparing to php,asp,jsp... what's the best practice to organize front end architecture?
View 3 Replies
Aug 30, 2010
How can I make it so that the RichTextEditor from Flex can add images? I'm not talking about the upload process, but rather then way I can insert images into the textarea.
View 1 Replies
Nov 22, 2010
I need to develop some mouse over functionality in text field.I could get the text on click functionality by having htmlText & TextEvent.Similarly, can i get the mouseover functionality in text field ?
View 2 Replies
Jan 26, 2012
I want to send notification from wcf to flex client, how to do as flex client only provides client socket functionality.
View 1 Replies
Oct 29, 2009
I have an application in which when i click on a particular tab an HTTPService having id="service" is sent. This service calls a php file which in turn extracts data from a table and return as xml string to Flex. Flex then use DataGrid's dataprovider attribute to show the data in the dataGrid.Can i have a functionality of a timer which will call the HTTPService again and again after each 5 minutes?
View 1 Replies
Jan 21, 2010
Loads an image to an Image component Transform the image (rotate, flip) with the Matrix Apply filter(s)
Now I am thinking about to create some undo redo functionality. Each time I do a transformation / add an filter I want to be able to go back to the previous image (before the action).
My thought is to have an Array and add the previous bitmap to the stack. But I see that there are some differences between transformations and filters I have also seen the ImageSnapshot and whot i can do and it looks like what I am after.
View 1 Replies