Hi, I'm removing a component from the WindowedApplication, using removeChildAt(), and want to play an effect (defined within the component, say mx:Resize) which reduces the height of the component (an hbox) to 0 before it is removed.
I was using the removedFromStage event within the component, but it just disappears (without playing th...
In my flex app I have a public bindable property.
I want it so that every time the value of that property changes, a function gets triggered.
I tried using ChangeWatchers, but it seems those only apply to built-in components like a text box change.
I would like to do that same behavior with a property that changes at runtime.
...
I have a tabNavigator in my flex app. I am using: tabNavigator.getTabAt(indx).y to get the y-position of each tab.
For some odd reason the y-position comes out to be different for tabs that have visited by the user, as compared to un-visited ones.
I am using a creationpolicy = "all" on the tabNavigator.
Not sure why this is happening.
An...
I'm trying to setup a DataGrid that contains a column of combo boxes. The values of the combo boxes are defined by data specific to that row. I cannot get this to work though, I'm asking for a solution to this, either fixing what I have below or a recommendation on a different way.
One of the columns of my DataGrid has an object deriv...
In my flex app I have custom tooltips on buttons that hide and show based on user context.
The problem that I dealing with is that when I call my showTips() function I only want to show tooltips on the buttons that visible in the view. So buttons that on a un-selected tab (tabNavigator) should not show the tooltips.
For some reason all t...
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 s...
I want to load a MSML component from another MSML component in Flex. To be more specific, I have a Login MSML component that loads from my main Application file and a Overview MSML component. When a user clicks on some button from that Login component it should redirect to the load Overview MSML component in place of Login component.
...
Why does the following button not line up 100px from the left edge?
<mx:Button left="100"></mx:Button>
I am using the Flex 4(Gumbo) SDK, I am pretty sure that if you try to do it in FlashBuilder, it would work.
...
I have a LineChart that had this code inside it:
<mx:AxisRenderer canDropLabels="true" labelRotation="0"/>
First all data inside this linechart where provided by a but now I get the data from a database via amf php the properties of the AxisRenderer that i have set aren't responding. The labels are very small (setting fontSize isn't ...
I have a class called JDChart, and a class called JDLine. Inside JDChart there is a method called addLine() that expects 1 parameter of type JDLine. This is all good. but I want to be able to put this in XML Like this:
<JDChart>
<JDLine/>
<JDLine/>
<JDLine/>
</JDChart>
And for each JDLine nested in a JDChart in the MXML, I want the ad...
I'm having difficulty getting checkboxes on only the leaf nodes of a tree.
Before anyone links it, I've seen http://www.sephiroth.it/file_detail.php?id=151# and this isn't exactly what I need. I don't want a 3-state checkbox system including both branch and leaf.
I understand applying the checkbox item renderer to a data grid but not o...
In Flex 3, you just said
<mx:Image source="@Embed('foo.swf')"/>
What is the preferred way to do this with Flex 4? Should I just keep using Image?
...
Does MXML get compiled down to as3 and then converted to flash bytecode? Also, is there a significant performance penalty to compiling mxml vs compiling as3?
...
How to take an existing custom component in Flex and convert it into a module?
EDIT: What should be done in the mxml where this custom component is used? Should it be replaced with a to load the module? If yes, how to deal with code that uses instances of the components?
...
I'm looking for a good "Wizard" library in Flex before rolling my own. The important features are:
Multiple custom input panels in sequence.
Ability to prepopulate the data fields using an object, but cancelling at any point leaves original data unmodified.
Ability to move to back and forth in panel sequence without loosing data.
...
Flex newbie question: can MXML be generated on the fly, like HTML is generated by a server?
If yes, is it ok to do so or am I missing an important Flex architectural principle.
...
Hi,
I'm new in flex.
I have a design like this
in one page have two option like this
Hard & soft
when i click hard(option) there will show three option(in php got to another page) like
standard, square & pocket and in the page below BACK(when click this option it will back previous state(page)) option will be show
When mouse over o...
Is it possible to play mpeg, avi, divx or other video types in Flex or do they need to be converted?
I've looked around and I can only find that flv files are supported.
...
I have a Flex project and am using a trial version of Adobe Flex Builder 3 to build it.
I do the following:
1. Change an mxml file in the project (for simplicity, assume I changed the text in a label).
2. Right click on the project, Export, Release Build
3. Right click on the main mxml file, Run As -> Flex Application
A browser window...
Flex 4 introduces states that are localized within a skin, and within a component. This makes sense on an MVC model, so the visual elements can have their own states (i.e. for a button: up, down, over, etc.) which are separate from a component's state. Yet, how would one go about making a global application state? Is there something alre...