Flex :: Close X Number Of Popups One By One According To Their Visibility?

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


Similar Posts:


Flex :: Different Set Of Popups For A Different Tab?

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

Flex :: Get Flex Popups To Open Under Some Of My Visual Elements?

Apr 3, 2012

Ive been trying to get flex popups to open under some of my visual elements.

View 1 Replies

Flex :: Remove All Popups In Application

Mar 15, 2010

How can we remove all the popups existing in an application?

View 3 Replies

ActionScript 2.0 :: String / Variable - Get The Visibility Button On The First Swf To Affect The Visibility For The Column On The Second Swf

Jul 12, 2010

I have created a timeline with visibility button against each column. The timeline.swf is loaded into two empty movieclips to create a two-screen operation. Everything works fine except, I cannot for the life of me get the visibility button on the first swf to affect the visibility for the column on the second swf.

[Code]...

View 5 Replies

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

Flash :: Flex PopupManager Share And Center Popups For A Whole HTML Page?

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

Flex :: Actionscript 3 - Flex Component Visibility On Application?

Sep 10, 2009

Is there a way to tell at runtime if a flex UIComponent is in the user's view or not.For example, if I have a tabNavigator with a combobox on each tab, is there a property of the comboBox that will tell me if it is visible to the user or not when I switch from one tab to another?I know it is not the comboBox.visible property. That is set to "true" for both comboboxes. I want a property that will change when I switch from one tab to another making the comboBox visible to the user. I don't know what that property is.

View 2 Replies

Flex :: Can Set Labels Visibility

Apr 18, 2010

Can I set label visibility in Flex ?

[Code]...

View 1 Replies

Flex :: Change The Visibility Of ItemRemderer

Jan 2, 2012

I have and add button (last row) in one column of the AdvancedDataGrid. for the row having the add button the rest of fields are not visible. On click of the add button a new row is added to the grid for the user to add. After that this button becomes delete button (label becomes '-' and a new row is added at the bottom for adding another row). When i click on the delete button (label '-'), the last row gets the add button('+' label) but the fields of the row become visible.

[Code]...

View 1 Replies

Flex :: Setting Visibility Based On Slider?

Apr 6, 2012

I have an image gallery app that has a slider to control the width of the thumbnails that ranges from 80 to 1024. As you move the slider the thumbnails width changes to effectively scaling the image between 80px and 1024px. Below the thumbnail is some information about the image such as the name, size, dimensions, etc. There is also a set of icons that do various tasks (delete, edit, copy, etc). All of this information is located within a VBox.The problem I am having is I would like to have the VBox hide when the width of the thumbnail reaches 150 px or below. This I have been able to accomplish with the following code:

<mx:VBox visible = "{thumbnail.width &gt; 150}">The issue is that while the information within the VBox is now not visible, the real estate it takes up is not released. In other words, there is now a blank space the exact size of the VBox. What I'd like to do is to be able to release this space. I know this is probably something simple that I'm overlooking, but today my brain is just not working,

View 1 Replies

Flex :: How To Render Component With Dynamic Visibility

Jul 29, 2009

I have a custom ActionScript component that I'm using in a Flex application (Flex 3.3, ActionScript 3). This component contains an Image control whose visibility is set dynamically based on a property of the data element provided to the component. The problem is that even when I set the image to be visible, it will not render onscreen. Is there something specific I need to do in order for the image to render? Snippets of relevant code below:

override public function set data( value:Object ):void {
_data = value;
if( _data ) {
if( _myImg ) {
_myImg.source = someImageClass;
[Code] .....

View 2 Replies

Flex :: Checkbox Visibility Binding In Repeater?

Nov 20, 2009

I am trying to dynamically bind the visibility of a checkbox control to a data field of a repeater as follows.

[Code]...

View 1 Replies

Flex :: Set Visibility Of An Item In A TileList To False?

Sep 28, 2010

I've got a tileList in a Flex 3 website. I want to programmtically turn off the visibility of a tile. So for example[code]...

View 2 Replies

Flex :: Advanced Data Grid:column Visibility?

Dec 7, 2009

when we use an advanced data grid, only when we click on the parent element the children details get populated in the corresponding columns, right?..SO now i have made the empty columns invisible(at design) now how do i make them visible at run time when the parent element is expanded..similarly once the columns are visible, how can i make them invisible again when the parent element is closed.

View 1 Replies

Flex :: Resizing A Container When Child's Visibility Is Changed?

May 28, 2010

When I set the visible property to false for a child in a container, how can I get the container to resize? In the example bellow, when clicking on "Toggle", "containerB" is hidden, but the main container's scrollable area is not resized. (I do not want to scroll through a lot of empty space.)

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[

[Code]....

View 2 Replies

Flex :: Datagrid - Data Grid Visibility When Empty?

Oct 19, 2010

I have data grid that measures the height according to the rows it has, but i need to disappear/ make invisible when i have no data, so the header will not just appear alone.

View 1 Replies

Actionscript 3 :: Flex Repeater - Toggle Sibling Component Visibility On Checkbox Change

Jun 2, 2010

I have a Flex repeater that has a complex item template. When a checkbox is clicked, I need to toggle the visibility of a sibling button contained in the same repeater template. Since I can't add binding expressions to event handlers, I can't pass in the repeater item's index.

How can I access sibling components inside a repeater item?

View 1 Replies

Flex :: Make A DataGrid Component With Some Mechanism Where The User Can Toggle The Visibility Of The Columns?

Jan 5, 2011

I'm trying to make a Flex (Advanced)DataGrid component with some mechanism where the user can toggle the visibility of the columns. I've crudely implemented this by reading in the columns into the right-click menu, and when a column name is selected here, the visibility is toggled. It works, but it's not the most elegant solution.Specifically, I'm trying to emulate the "datagrid" that Mozilla Thunderbird uses to display emails. Here is an image:

In the upper right, there is an icon over the scroll bar. If there is no scrollbar, the icon remains in the same place. When clicking the icon, it opens up a menu that shows all the possible columns, with the visible ones having a check mark next to them, like this:

Also, the scroll bar always appears under this button, never "pushing" it over into it's own column.I'd like to re-create this in Flex. I believe the menu part and creating a column with a button headerRenderer is easy enough. But I can't figure out how (if at all possible) to do this with the scrollbar, because the scrollbar always seems to be "its own column".

View 1 Replies

ActionScript 2.0 :: Close Browser By Clicking On Close Button Embedded Swf?

Jul 27, 2009

i want to close browser by clicking on close button embedded swf. I have tried fscommand("quit"), but which is not working on browser.

View 9 Replies

Flex :: Round Number - Increment Or Decrement A Number By 0.1?

Aug 2, 2011

I have a problem with this code :

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

I get the right number when I click on only '+' or only on '-'But if I click '-' until 0.7 and '+', it stays at 0.7
The same append when I click '-' until 0.9 when '+', it stay to 0.8. Why? How can I do to increment or decrement a Number by 0.1?

View 2 Replies

Flex :: Flex - Programmatically Close A DateField Component?

Oct 17, 2010

I'm using a dateField component (with editable = true) as an itemEditor in a dataGrid. Interestingly, when editing the textInput part of the dateField it doesn't seem to react to an ESC keydown as I would expect, i.e. reload old dateField value and give up focus. This seems to be standard for most other components, but not for as most other components do.

How would you go about implementing such behavior? I can listen to keydown == escape on the TextInput portion, but just realized that I don't know how to tell dateField to give up focus and politely close - in fact I'm not even sure that's the right strategy (maybe I should work at the DataGrid level?

View 1 Replies

ActionScript 2.0 :: Popups Being Blocked In IE?

Dec 8, 2008

I am using AS2.0 and SWFObject to integrate an audio player into a website. I have built a button that launches the player into a seperate window so that people can surf the site and listen to the music simultaneously. There is only one problem!! In IE the window is being block by the browser's inbuilt popup blocker. I have tested other sites that feature similar functionality and popups are not blocked!?

Has anyone experienced this issue before and do you have a workaround?

Site I am referring to = [URL] An example where popups are not blcoked = [URL]

View 3 Replies

ActionScript 2.0 :: Draggable Map With Popups?

Mar 17, 2009

I'm working on a project that requires a draggable map that has buttons that popup onrollover. Inside the popup will be a brief discription and and link that should carry you to another part of the move. Problem is, I don't know how to deal with the fact that buttons/rollover have become "inactive" because their in my draggable map. I am using startDrag for the map.

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

As3 :: Flex - Detect Swf Close Event?

Dec 16, 2010

how can i detect swf close event in ActionScript 3. I need to perform some action while swf close event.

View 2 Replies

Flex :: Programmatically Close An AIR Application?

Feb 17, 2011

I would like to know the correct way to close an AIR application programmatically. In my Spark WindowedApplication I have:this.addEventListener( Event.CLOSING, shutdownApp );and of course an implementation of the shutdownApp method (which basically tidies up temporary files).his works fine for the top-right close button of the window. However I also have functionality which needs to shutdown the application. Within the code I have called:NativeApplication.nativeApplication.exit();However this doesn't trigger the Event.CLOSING method, and so my temporary files are not cleared up. Should I not be calling nativeApplication.exit ? If so, what should I call instead? I'd rather not have to call my shutdownApp method before the NativeApplication.exit() as this doesn't feel quite so elegant.

View 2 Replies

Flex :: Add Close Button To Tabbar?

May 17, 2011

Below is my code...

<mx:Style>
CustomDividedBox{
dividerAffordance:10;

[Code]....

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

Professional :: Display Popups On Mouseover?

Feb 26, 2010

I need to create a Flash solution that will display popups on mouseover. My Flash skills are rusty but I have access to [URL]. identifying the mouseover technique that is probably being used in this Citibank Flash object.

[URL]

View 1 Replies







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