flex3

Flex wordwrap issue with multiple text instances

Hi, I have a scenario where I want to dynamically add words of text to a container so that it forms a paragraph of text which is wrapped neatly according to the size of the parent container. Each text element will have differing formatting, and will have differing user interaction options. For example, imagine the text " has just spok...

Navigating directly to the second tab in tab navigator

Hi, I have a component mxml in which i have a save button, on click of the save button i need to display another component which will be in a tab navigator, for this I am using the view stack. My problem is, on click of save I need to display the second tab instead of the first tab, but defaultly the first tab will be displayed. How co...

Listen to any change in the values of an Object in Actionscript

Hi All, I have an Object in actionscript which has a few dozens of properties each of which is defined to be bindable and has its own change event. I would like to listen to any changes made to this object without having to add a listener to all of its properties. Is there a way in actionscript using which I can listen to any change in ...

ColdFusion, Flex and XML - Funky Issue

So I've got this odd issue that I'm trying to narrow down... My application is a ColdFusion back-end with a HTML, CSS and Flex front-end. The Flex application loads in appVars.cfm as "cfoutput" XML, uses those variables to then populate the correct company and user libraries and naturally load those xmlVideo.cfm, xmlImages.cfm, xmlText....

Flex customized Horizental List

i have customized Horizontal List (items are image and some text) of a reel with some no of clips . i have customized highlight , un highlight and select style , which will be implemented dynamically and mouse over and out. now pproblem is to make un highlight previously playing clip. <mx:HorizontalList id="clipsRepeater" dataProvide...

HttpService Vs Remote Objects

Hi, I have a flex application and need to show the real time data into the chatrs and datagrids. Eralier we are used Httpservices to showing the real time data and historical data into charts and datagrids. But now we are going to replace the Httpservices to remote objects. So which places generally need to change. I have a little bit...

Timers and threading in Flex 3 ActionScript

Flex 3 ActionScript does not support programmer threads. But what does flash.utils.Timer do? Does it run in a separate thread or the main loop? If the latter, does that mean that the Timer might not be called if the main loop is in a long-running action? More generally, what can you tell me about threads running in ActionScript? My on...

in Flex, how do I get the label for CheckBox to align to bottom?

This is really annoying me, but if I do <mx:CheckBox label="Checkbox" /> the label is slightly off the vertical center. I haven't found anything that relates to vertical alignment of the label in checkbox. How can I fix this? ...

File upload handling usign Cairngrom framework

Hi Has anyone handled a file upload within the cairngorm framework? Native Flex file upload is usually this way - var fileRef:FileReference = FileReference(fileList[0]); //fileList is an array obtained from FileReferenceList and then one does a fileRef.upload(new URLRequest("http://somedomain.com/upload")); to start off the upload...

Can I extends a sub class of Proxy class?

I want to create a complete (and real) 2-dimensional array. In order to use a maximum of Adobe code, I want to use ListCollectionView which can manage sort and filters. But to use a second dimension, I need to override getProperty method, like following code. package { import flash.utils.flash_proxy; import mx.collections.ListC...

Flex - Search in ArrayCollection by part of the word

For example i have an ArrayCollection, and i want to find persons with telephone begines with "944" how can i do this? <mx:ArrayCollection id="arrColl" > <mx:source> <mx:Array> <mx:Object telephone="944768" subscriber="Smith P.T."/> <mx:Object telephone="944999" subscriber="Peterson Q.T."/> <...

What's the right way to calculate derived data in a Flex AdvancedDataGrid using summaries?

Here's the gist of the problem: I have a set of rows of data with (say) field1 to field4 in them. I'm using a GroupingCollection to group on field1 and field2. So, I have something like this: f1.1 f2.1 f3.1 f4.1 f3.2 f4.2 f2.2 f3.3 f4.3 f3.4 f4.4 f3.5 f4.5 f1.2 f2.1 f3.6 f4.6 f2.2 f...

Include all imports in Air application Bundle?

How can I import all files and classes into my AIR bundle... it must take a note that I created first a flex project, and set it's main class as Actionscript (.as) . When I build a release all my imports (org) etc.. are not included in the .AIR installer... i have checked this by installing the app and then after show package contents, ...

data populating from 2 objects

I have some issue plz help me .... I have some fields in a grid like.. Client, Product, Owner, Balance etc.... from an object A but Ownere field comes from object B. the Client and Product composite reference key.. code --- public function populateDataGrid(IMMRequestQueryResult:QueryResult):void{ if (IMMRequestQueryResult.size > 0){ for...

How can I access the in-progress SummaryRow in the summaryFunction of a GroupingCollection?

In Flex 3, I'm using a GroupingCollection to create a hierarchical display of data in my app. One of the summarizations I'm doing requires access to another value in the summary row; I'm calculating the average of a column in one place that is necessary for the calculation of a related value in a second summary column. This related value...

HTTPService/ResultEvent with Flex 3.2 versus Flex >= 3.5

Hey everybody, through a design decission or what-so-ever Adobe changed the content of the ResultEvent fired by a HTTPService Object. Take a look at following example: var httpService:HTTPService = myHTTPServices.getResults(); httpService.addEventListener(ResultEvent.RESULT,resultHandler); httpService.send(); /** * Handels the login...

FlexBuilder 3 Linked folders not picking up as files.

I am using Flex Builder 3 to write a flex component. I have created a real folder path \common. Under common I create a Linked Folder to Session. Session points to a shared source folder with a item with a namespace of common\Session\ClassName. When I go to compile the project FlexBuilder warns that it was unable to find the type. ...

flex chats grid style

hi, How to change the flex chart grid style like dotted line? ...

How to install .air files with air2beta

I have some troubles installing air files that've been built with air2.0beta or air2.0beta2 They both do not install (error message: 'your need an update to install this air application) even though I've got the latests Air2 runtime installed. Any suggestions on this? ...

Is there a Maven plugin to generate AS3 classes from Java for BlazeDS ?

Hi, I'm looking for a maven plugin that would generate ActionScript3 classes from Java classes in order to access them by object remoting. I've seen FlexMojo but it uses the GraniteDS generator wich create some problems when it comes to map Enum objects (wich can be fix through a workaround that is describe here : http://dev.c-ware.de/c...