I am working on a flex app that uses XML templates to dynamically create DisplayObjects. These templates define different layouts that can be used for each page of content in the app (ie , 2 columns, 3 columns etc etc). The administrator can select from one of these and populate each area with their content.
The templates add one of 3...
I'm trying to databind an object's property to a ComboBox's (editable=true) text property. This property is of type Number.
If I bind using the inline syntax, it works:
<mx:ComboBox text="{myObj.prop}">
If I bind using mx:Binding, I receive an error:
<mx:Binding source="{myObj.prop}" destination="combobox.text" />
// 1067: Implicit...
hi!
i'm new to creating desktop applications. I've a working site in php with mysql support. I want to convert this site into a desktop application. Is Adobe AIR or Adobe Flex better?
can i use php as such in both AIR and Flex? or should i convert them to xml or something which it uses?
...
I have an HSlider with a minimum of 1 and a maximum of 6. Is there a way I can disable the range 3 - 6, so the user can only select from the range 1-3 on the slider.
Note: Your first thought might be to tell me to set the maximum to 3. I dont want to change the maximum to 3, I want the user to know there is more, but currently not selec...
(I'm using Cairngorm)
I have a combobox that displays items form an XMLListCollection that's in my model.
I want to only view the items (XML) whose "sent" properties is false.. like item.sent == 'false'.
This filter must apply only to this specific combobox, not everything that's bound to the XMLListCollection source.
And of course it mu...
I am adding DisplayObjects to a Canvas using
ContentContainer.addChild(c);
Where ContentContainer is my Canvas object and c is the DisplayObject I have created at run-time
Some of these DisplayObjects also have children of there own which are added at run-time prior to the DisplayObject being added to the Canvas
I then need to iter...
I am working in Flex Builder 3 and I am trying to figure out this error. The error console reads "Access of undefined property EVENT." I am not understanding why this error is showing when I have already imported flash.events.Event. Flex is not recognizing with even the hinting helper pop up that appears when I type the addEventListene...
I opened up FB3 today, without making any changes, I press F11 and now I am getting this error that I never have gotten before:
ReferenceError: Error #1065: Variable CaratPicker2_inlineComponent1 is not defined.
I find it strange I am getting this error everytime now, when I never got it before and I didn't make any changes before I st...
<mx:XML id="inputData" >
<Tulokset>
<Tulos>
<id>xx1</id>
<group>xxx</group>
</Tulos>
<Tulos>
<id>xx2</id>
<group>xxx</group>
</Tulos>
<Tulos>
<id>xx3</id>
<group>yyy</group>
</Tulos>
</Tulokset>
</mx:XML>
im trying to show on the app something like this without AdvancedDataGrid.
group xxx
<c...
Hi, I have an app built in flex 3.2, and would like to start using some spark components within that same app. Are there any pitfalls to look out for.
Is it possible to use the old 3.2 components in the same app or Will I have to rebuild them.
Would like to get the heads up from anyone that has done the same, before I make the plunge.
...
My problem, simplified:
I have a dataGrid with a dataProvider "documents"
A column of the datagrid has a labelFunction that gets the project_id field of the document, and returns the project name, from a bindable variable "projects"
Now, I dispatch the events to download from the server the documents and the projects, but If the documen...
while trying to solve my problems in serializing the execution of cairngorm commands, I tried to bypass completely the event dispatching and simply instantiated the command I wanted to execute, then called it's execute method. In this method there's a call to a delegate that calls ServiceUtils that performs the HTTPService.send thing...
...
I would like to have a FLEX SWF Menu in .NET that is animated, and use button clicks to update an iFrame in an .NET 2.0 Ajax enabled application without a page update or refresh.
If I use URLVaribles in Flex, The only way I've gotten to them to ASP.NET is via URL Page Navigation which always refreshes the screen. There is a LOADVARS fun...
How can I implement Joomla in Flex Builder? Or is there any other CMS for Flex Builder?
...
Hi All,
I am planning to develop a standalone application, which infact will be used for personal purposes. So only single user access may be there. I want to develop it in Flex. Just want some opinions from the gurus over here :
Whether i should use Flex or AIR (I know only Flex, AIR i need to start learning)
Which database i should...
I want to save remotely (on a database) the state (visible columns, columns width and order) of a Flex3 DataGrid.
For width and visibility I can simply save them by accessing each column attribute.. ugly but possible..
But for the order? Do I have to create the dataGrid dynamically??
Any idea is appreciated
thanks
...
I have a flex component with 2 states - "" (ie no name / default) and "Transactional" - and a bunch of transitions to move from one state to the other.
There is a button to toggle between the two states which calls the following function when clicked
public function ToggleState():void
{
if (this.currentState=="Transactional")
{...
I'm playing with Modules and they work as advertised: the module swf's ares
built and deployed in the output directories automatically.
My problem is that if I use descendants of mx:Module, the IDE does NOT do all
this nice work for me. I've listed the module in the Flex Modules section of the
project properties, but still nothing.
I'm...
Hi there,
I have a weird issue. I can get Event.COMPLETE to fire when I set
image.source = byteArray;
BUT
When I manipulate the byteArray - convert it to Bitmap and use image.source or image.load to load it, the bitmap gets loaded properly into the Image component; BUT Event.COMPLETE never fires. What might be wrong here? I have ad...
i have created one adobe air application ,if client machiene wont have installed the AIRSDK then how to install AIRSDK into the client machiene from my application.
...