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


Similar Posts:


Visual Studio 2008 :: Write Flex 3 Code In Visual Studio?

Jun 26, 2009

how to build and compile flex 3 projects in visual studio? I prefer that environment to Flex Builder 3.

View 2 Replies

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 :: Remove All Popups In Application

Mar 15, 2010

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

View 3 Replies

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

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 Visual Change Event

Oct 10, 2009

Is there not an event that occurs only when there has been some sort of visual change to an object. So for example if it were a video or animated object it would be firing as often as EnterFrame. However, if it were some sort of input control just sitting there doing nothing visually, then the event wouldn't fire until the visual state changed as a result of some sort of user input for example.

View 3 Replies

Flex 4.5 With Visual Studio 2010?

Oct 6, 2011

Can I use Tofino (Visual Studio plugin for Flex development) to build IOS apps? Also do I need to download the Flex 4.5 SDK if I already have Flash Builder 4.5?

View 2 Replies

Actionscript 3 :: Flex - Reference Flex Elements Added During Runtime?

Jan 17, 2010

I am having difficulty getting a reference to elements added after compile-time using the 'id' property. I have seen a few forum topics suggesting that this isn't possible, and that getting a reference to elements added this way is trickier, but never just exactly what that trick is. This code throws a fun little: Error: uncaught exception: Error calling method on NPObject! [plugin exception: "ReferenceError: Error #1069: Property canvas_tentpoles_0 not found on SGraph and there is no default value."].

[Code]...

View 2 Replies

Flex :: Detect Visual Collisions Between Objects?

May 3, 2010

I would like to avoid the tags overlapping each other in this small Flex project: I've this small FLEX project: [URL]..

The items are LinkButtons. How can I check if they are colliding or not ?

View 1 Replies

Actionscript 3 :: Flex 4 Sprite Visual Element

May 4, 2011

I have the following ActionScript 3.0 class:

[Code]...

Where am i going wrong? It seems to be the most basic example but i'm stuck. PS: I'm using FLEX 4, Flash Player 10, and Flash Builder 4

View 2 Replies

Flex :: Get Visual Width And Height Of A Rotated Component?

Jul 25, 2010

I'm playing around with code like this:

<s:Button id="test" label="test" transformX="{Math.floor(test.width/2)}" rotationY="20" x="20" y="20" />

The button is rotated on the Y axis and the rotate pivot is in the middle of the button.

This will create a button that looks something like this[code]...

I put together a sample to show off the various approaches for calculating this that people are suggesting. The source code is also available. Nothing is quite working like I'd expect. For example, turn the rotationSlider to 85. The button is effectively invisible, yet all approaches are still giving it height and width.

View 3 Replies

Flash :: Flex - Event On Visual Element Destruction In Builder?

Jun 1, 2011

I need to run some code when a panel is destroyed. The code is simple, I have some Background tasks while it is opened, but need to stop them when closed.

I have a Close button for the panel, and I stop the BG Tasks when the user wants to close the panel, the problem is that they have access to a top menu bar too and can jump to another application module/part throught it, so, the user can exit the panel (when exiting, the panel is automatically destroyed) but the panel close event code is not executed because the close button was not pressed.

One solution could be to inherit from panel and add a post step method that is called when swapping modules, etc... So, if the user wants to move to another place through the menu bar, my system will first call sometihng like PreEnd() method on the panel and everything will be solved. But, is there any event that I could catch from the panel when it is destroyed to accomplish this? I have been checking the documentation but couldn't find anything useful to achieve what I explain.

View 1 Replies

ActionScript 3.0 :: Possible To Open A Program In Flash Website Which Is Created In Visual Baisc 6?

Apr 9, 2012

I have a small program developed in Visual Basi 6 and would like other users to access it through my Flash Website. Is it possible to do so. It is a database program that retrieves data from MS Access database which is used as backend.

View 1 Replies

Actionscript 3 :: Custom Flex Component, Visual Controls In Design View?

Apr 1, 2010

Do you know how if you drag an <mx:Label> or <s:Label> component into your Flex project, when you go to design mode you get this panel on the right to set its properties like text etc.

I have a custom component that I can call with actionscript, or with mxml like this:

<comps:TheComp field1="OK" field2="Yes" />

The component takes this input and uses it for its internal operation

[Code]...

When I go to design mode, I can see the component under custom components, I can drag it to the stage and see it, but can't set its values field1 and field visually on the right like a normal <s:Label> or <mx:Label> would have. how I can add that? Do I need to make it inherit something or anything else

View 3 Replies

Actionscript 3 :: Make A Visual Object In Flex 4 Move Along A Circular Motion Path?

Sep 7, 2010

I can't seem to figure out how to accomplish a fairly simple task: I have a simple graphic and I'd like to apply an "orbiting" effect to it - so that the graphic moves in a circle around an arbitrary point (without rotating around its own center).[code]...

View 1 Replies

Flex :: Test Spark Components In FlexUnits Visual Test Environment

Sep 17, 2011

I'm trying to test a custom Flex 4 skinnable component, using the FlexUnit UIImpersonator class. If I run my tests from a FlashBuilder Spark only project everything works fine. If I try to test from a project with the mx component set on the classpath I get a "getElementIndex not available in non Flex 4 projects" error.Can I unit test spark components in FlexUnits visual test environment while still having the mx component set on the classpath?

UIImpersonator delegates it's method calls to a "testEnvironment".The implementation used for this "testEnvironment" is decided by the VisualTest EnvironmentBuilder class and the FlexEnvironmentBuilder class. If the FlexEnvironmentBuilder class can find the "mx.core.Container" on the classpath it returns a MX environment, else a Spark environment. Only the spark environment has valid implementations for Flex 4 relevant method calls on the UIImpersonator - like the addElement method.

View 1 Replies

Actionscript 3 :: Why Won't Visual Elements Display Inside Custom Component Extended From Another Custom Component

Sep 6, 2011

I created a custom MXML component, TurboContent, that extends the NavigatorContent class:

<s:NavigatorContent xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">

[Code].....

In this case, the 'myButton' component never shows up, but all the elements of the base component do (3 buttons and a datagrid).

View 2 Replies

Flex :: Add Elements To XMLListCollection?

Jun 27, 2011

I have a MenuBar, which is using a XMLListCollection object as a dataProvider.I wish to add and remove elements from this collection at runtime.How to add / remove elements from XMLListCollection ?

View 2 Replies

Flex :: Access Mxml DOM Elements?

Jul 9, 2009

Is there a way to access the DOM-Elements of a mxml file in a way that you can in JS (e.g. using Prototype or jQuery)?

I need to know if a top-level element has a child (sub-sub-...-childs) with a certain id.

In JS (using prototype) it would be something like:

$('tabs').select('[id="something"]');

View 2 Replies

Actionscript :: Inspect UI Elements In Flex?

Jul 10, 2009

Is there any tool available for Flex applications that acts similar to Web Developer or Firebug toolbar to inspect UI elements? Basically in a complex hierarchy of UI controls allowing you to browse the elements and see properties such as x and y coordinates, width, height, id.I'm interested in tools that would allow you to do this at runtime, since most of the properties are dynamic.

View 3 Replies

XML :: Flex Sorting Of ListCollection Sub Elements

Aug 13, 2009

In a Flex webapp, is there an easy way to go about applying a sort to the children of an XML element, based on the children's attributes? Example follows below:

XMLListCollection:
<a anotherProp="ABCDE">
<e prop="AB">1</element>
<e prop="BC">2</element>
</a><a anotherProp="FGEH">
<e prop="HF">3</element>
<e prop="AD">4</element>
<e prop="AC">5</element></a>

I would like to sort the <e> elements, within each <a> element separately, according to their "prop" attribute. My code for generating the array containing the <a> elements is along the lines of:
for each(var node:XML in initialInput:XMLListCollection){
if(node.localName()=="a"){
//I was hoping to be able to sort the <e> children of the node variable here
xmlListCollectionVar.addItem(node);
}}

At the end I would like the <a>'s to remain in their defined order, but their <e> children to be sorted based on the "prop" attribute. So far if I try:
node.children().sort=someSortVar
Where someSortVar has its fields set to:
SortFields("e.@prop",...)
I get an exception about a null value. Any way to convert the children list to XMLListCollection, sort it and integrate it back into the node variable?

View 3 Replies

Flex :: Best Way To Remove All Elements From AS Array?

Sep 25, 2009

I'm writing an application in Flex / ActionScript and have a number of class member variables of type Array storing data. My question is: what's the "best" way to clear out an Array object? I noticed the ArrayCollection class has a function removeAll() which does this, but the basic Array class does not. Some possibilities I've considered are:
Iterating through the array, calling pop or shift on each element
Setting the array length to 0
Setting the member variable to a "new Array()" or "[]"

View 4 Replies

Flex :: Animate Child Elements In It?

Oct 17, 2009

Anyone know how to animate the size/position of child elements of a layout in Flex 4 ?

I have a list component with a custom layout. I want when I change the positions of the child elements I want them to animate their move to the new positions.

View 2 Replies

Flex :: Access Children Elements In A SWC?

Feb 17, 2010

Does anyone know if its possible to access children elements in a SWC? I have created some MC's and inside of some of these MC's I have some dynamic textFields. I export the content to a SWC and load it into my Flex project. No problem loading it or accessing the parent elements, they display fine. But I want to access the textfields nestes in the MC's and modify the text. When I debug the app, I can see the textfields as child elements. It's typed as a TextField and the Instance Name is the same as input in the Flash IDE but I cannot access it. When Flex compiles it throws an error saying it doesn't recognize the method. I've tried to insert actionscript on the timeline, linked external classes and nothing can be accessed.

View 3 Replies

Flex :: Moving Canvases Between Several Ui Elements?

Mar 1, 2010

I need to animate a lable movement between 2 canvases...The mxml example of the code is:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="main()" frameRate="1">

<mx:Script>[code].....

Currently the problem is that the label actually do not leave borders of the first canvas (I see scrollbars instead of it).I think this is related to globalToLocal conversion problems, but do not understand how to use it.Also another question is how to animate the movement corretly, because move function performs movement without any visible action.

View 1 Replies

Flex :: Getting Unique Elements From An ArrayCollection?

Mar 19, 2010

I have an ArrayCollection as mentioned below.

private var initDG:ArrayCollection = new ArrayCollection([
{fact: "Order #2314", appName: "AA"},
{fact: "Order #2315", appName: "BB"}[code].....

I want to populate a ComboBox with UNIQUE VALUES of "appName" field from the ArrayCollection initDG.

<mx:ComboBox id="appCombo" dataProvider="{initDG}" labelField="appName"/>

One method I could think is to loop through the Array objects and for each object check and push unique appName entries into another Array. Is there any better solution available?

View 4 Replies

Flex :: Access The Array Elements?

Oct 27, 2010

var count:uint = 0;
var textInputs:Array /* of TextInputs */ = [];
for(var i:String in columnsData){

[Code]....

here how can i access the first, second of Array of textinputs in the form of string or any thing to further proceed

View 2 Replies

Xml :: Flex - Manipulate Elements Inside A XML?

Mar 17, 2011

What are the inbuilt functions available in flex,actionscript that I can use to find a node with a specific name inside xml variable and what functions could help me manipulate it? Something like Xquery in SQL! I dont want to use for loop everytime I want to manipulate a xml variable. For example, if I want to "cut" node inside this xml and add another attribute to it named enabled pro grammatically. Or how could I find "Find Next" node and delete it?

<menuitem label="Edit">
<m label="Cut"/>
<m label="Copy"/>
<m label="Paste"/>

[code]....

View 2 Replies







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