flex

Flex profiler isn't showing me what I expect... Am I doin' it wrong?

I'm trying to profile the performance of my Flex code, but I'm not getting the results I expect: the wall clock says that my application takes about 30 seconds to load, but when I sort the profiling* results by cumulative time, the numbers don't add up: there is one method, [enterFrameEvent], which has a cumulative time of ~8000ms, then ...

where are swf files kept after clearing browser cache?

If I am on a flash heavy website, and I clear my browser cache, the site continues to function. Chances are the entire swf is not loaded into flash's active memory at the time I clear the browser cache (especially for sites that use large rsl libraries such as papervision3d). I can verify this with flash-builder's profiling tools. So,...

Flash Sampler App - Tour de Flash???

I am looking for an app or apps which I can use to demonstrate many of the specific graphics, animation, and interaction capabilities available using Flash CS4 Pro. Basically something just like the Tour de Flex app only for Flash CS3/CS4 Pro. The Adobe site has a sparse set of some examples, but again I am looking for something more co...

Flex : forcing extension on a file name

In flex when I allow user to download a file using : dwFile = new FileReference(); dwFile.download(downloadURL, dwFileName); Is there a way to ensure that the downloaded file always ends up with the extension .tar or any other extension for that matter? By default I give it a name like xyz.tar, but as of now t...

Flex: Where do ChildConstraintInfo objects come from?

Profiling my app I observe a fair amount of ChildConstraintInfo objects that consume almost 10% of app memory. I'd like to understand where these objects come from. Couldn't find anything in Flex help. My assumption is they are created with each V/HBox or Canvas. Any info is appreciated that would also help me understand how to minimiz...

Q: Flex remoting (mx.rpc)classes in an actionscript only project?

Is it possible (and if so recommended) to use Flex remoting (mx.rpc)classes in an actionscript only project? I'm creating an application with login and registration to a php back end using AMFphp. As an option I was wondering if it made sense to take advantage of the mx.rpc flex classes. ...

Create instances of flex custom component by passing in type

In my flex app there are a few custom components. I want to create instance of these components at runtime and assign them properties by reading in a config file. I know how to read xml and instantiate components, however my question is about being able to get the type of the component from the xml attribute and then creating an instanc...

Integrate 3rd Party Flash Component into an Adobe Air Application?

I'm fairly proficient with HTML/Javascript/CSS. It's my understanding that I can write an Adobe Air application using just those technologies. Let's assume I want to convert one of my webapps to an Adobe Air application, but this web app uses a 3rd party Flash component. Can I embed this 3rd party flash component into my Adobe Air applic...

Checkbox in Flex Datagrid Broken on Scrolling

I have a checkbox in a Flex DataGrid, and when I scroll, other rows are randomly checked/unchecked. After reading over: http://stackoverflow.com/questions/112036/creating-a-column-of-radiobuttons-in-adobe-flex it's clear that the itemRenderers are getting recycled, but the problem I have with the solution presented there is it moves i...

flex/ actionscript comments

cannot get the comments to show in actionscript file when running asdoc.. is this a known bug? [Bindable] /** test comment */ public var currentSearchTextValue:String; does not show anything in the generated documentation... am I doing something wrong? ...

How do skinned Flex UIComponents capture mouse events?

If my understanding of Flex is correct, skins in Flex are just DisplayObjects that are added as children to UIComponents to create the visual representation of the object. But if my understanding of the Flash event model is correct, if there is a non-transparent DisplayObject on top of another, mouse events will go to the topmost Display...

how to make source path dynamic

hi, i'm new in flex.Here is my problem <mx:HorizontalList id="horizontalList" height="100" columnCount="6" dataProvider="{arr}"> <mx:itemRenderer> <mx:Component> <mx:Image width="100" height="100" source="../../user/mahedi/weeding/album/{data}"/> </mx:Component> </mx:itemRenderer> </mx:HorizontalList> i want to make sour...

Any body know Clock animation using flex/flash/actionscript3?

In my application i want to show 5 clcok . In the clock shows international time depend on country based But Normal clock time i will get sytem time (getmintues and gethours ) and show . How can show all country time ?. i tried below code for animation . Do you know like those any example for clock animation . public function createCh...

Flex datagrids - Alternatives in non-flex/flash environment ?

I did some work that used Flex datagrids previously. It was smooth for the users and developers alike. In my current project, I have to implement the same grids but not using Flex / Flash. I have taken a look at extJS and YUI but they don't seem to measure up. Are there other packages I should be looking at ? ...

Click on particular column alone....

How can i set click on particular column alone in Flex Data Grid... i want a click event for that column alone which should open a website. ...

Flex remote object performance

Our flex client needs to invoke server side EJB3 session bean. For each module we have seperate session bean. Whether it is best to have separate flex end point (remote object) to each session bean to invoke methods or to create a single facade session bean as an endpoint and invoke other session bean methods through this facade bean. ...

authenticate from Flex in Django with pyAMF

Maybe somebody can show an example of such a task, or specify where to look. ...

How to force Flex validation when a container is displayed

I have a Flex 3 app with a view in a viewstack, and that view must only be created when requested. I have declared validators for each of the controls on the view and I have created a method called checkAllValid() which runs Validator.validateAll(). This works great when I'm actually using the controls (using the change or focusOut event...

What was the design decision behind ItemPendingError in Flex?

Flex has the notion of lazily loading data. It has a class named ItemPendingError which allows developers to handle it when an attempt is made to access data that is not yet available aka "pending". However, looking at the documentation it's clear you have to add try/catch blocks around your code wherever you have code that might cause ...

Fles SDK Spanish localization

I'm trying to work with a Flex project that's localized for both English and Spanish. Flex Builder is throwing the following error: unable to open 'C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\frameworks\locale\es_ES' Are there some extra files SDK files that I need to download? As always, thanks for the help! ...