flex

Complex movement within animation

I've this application, where two children are playing catch. One throws and the other catches. While I can show a ball object moving between two stationary objects, how do I show the objects "releasing" and "catching" the ball, in a way that is close to lifelike? EDIT: The movement of the hands in this game: http://www.acreativedeskto...

Adding Checkbox inside an Flex Advanced Datagrid

How to enable CheckBox inside an Flex Advanced Datagrid. ...

SQL Server taking a long time to return data to ColdFusion when using Flex

I am working on a Flex application that is connecting via Flash Remoting to ColdFusion 8 with a SQL Server 2005 database. Most of the time, everything runs fine. However, from time to time, it will take an exceptionally long time for SQL Server to return data from a stored procedure call to ColdFusion; returning data from CF to Flex is v...

Flex bar chart label function with multiple series?

Hello all, I have a Flex bar chart with two data series in a clustered format. The series are called RequiredFunding and ApprovedFunding, so they're plotted next to each other. The problem I am having is trying to format the label function on the Funding axis. I have several thousands of dollars being displayed and it needs to be for...

Flex/AIR: loaded HTML links don't work?

I have an <mx:HTML/> component in my flex air app that shows a web page. The problem is, if the web page has a link on it and they click it, it does not take them to that page. Is there a way to allow this, or a work around? is there a way for the loaded webpage to send Flex info about events that occur in it? Here is my code: <mx:HTML...

Flex: CheckBoxes in DataGrid not updating after change in binded ArrayCollection

I have extended CheckBox class to use it as itemRenderer to centered it in DataGrid cell and reflect ArrayCollection changes. Here is the .as: package myComponents { import flash.display.DisplayObject; import flash.text.TextField; import mx.controls.CheckBox; import mx.controls.dataGridClasses.DataGridListData; import mx.contro...

Split String into Array in Flex

I am getting the output as 0,1,2,3. I need this to be split into array ...

How do I write a KEY_DOWN Handler in ActionScript 3?

Okay, I've tried about 8 different ways to get a key event into my code, and none of them seem to work. Can someone please tell me how I can move this ball when I press shift? Thank you in advance <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" styleName = "plain" xmlns="cyanprim...

C#: Query FlexLM License Manager

Does anyone have any experience querying FlexLM? (At a minimum) I need to be able to tell if a license is available for a particular application. Previously this was done by checking what processes were running, but if I can somehow query FlexLM, that would be more elegant! ...

where are the flex libraries? can i clear the cache?

Where are the signed, cached flex libraries on a windows / mac / linux system? They don't appear to be in my browser cache... so where is adobe keeping them? So, as my answer below shows, I found the files. But can I clear the cache? After trashing the files in windows, I don't see the files get downloaded again (with fiddler). ...

Problem with within datagrid of itemRenderer checkbox - still can't Solve the problem

i used iteamreander in datagrid . if i select checkbox in grid automatically select another checkbox why? plz explain My xml data is more then 50 records. <mx:DataGrid change="calculate()" id="calamount" x="0" y="3" width="327" height="337" variableRowHeight="true" dataProvider="{xml_coupon.lastResult.Teamco...

flex combobox customize problem

Hi All , I'm new to flex and i need to create item and subitems in combobox, where only subitem is clickable. similar to what is shown in the given link as under: http://blog.flexexamples.com/2007/09/25/creating-a-custom-combobox-item-renderer-in-flex/ but here both header and option are clicked at the same time whereas i need that onl...

Why check boxes do not stayed checked as you scroll using flex ?

I've had problems using check boxes in data grids that are populated using dynamic data. The check boxes do not stayed checked as you scroll. How can i solve it ? ...

for loop in Flex.

var dd:Array = ["1", "2", "3"]; for each (var google in dd) { Alert.show(google); } What will be the output for the following... i am getting only 1 in Alert window. ...

Is selectedIndexes an Array type ?

var google:Array = datagridID.selectedIndices; Now is this equal to the one below. var google:Array = ["0","1", "2"]; My problem is the above one its not taking as array, but when i define it like this it does. Alert.show(google) gives me 0,1,2 for each(var i:String in google) { Alert.show(dg.selectedItems[i]["member_id"]); } Th...

Send to c# Array Objects from Flex

I need to send to c# a array of objects from Flex. Anybody know how do I do this? Sorry for my English, I am Brazilian. Thank´s Sidnei Cachate. ...

[Flex] get width of dynamically created custom uicomponent

Hello! I have some custom components, that derived from UIComponent. I overloaded the updateDisplayList so they have custom look. I've created a layouter that lays out these custom components, but to place them correctly, I have to know the custom componets width, height. They are created dynamically. After all of them created (creation...

How can I addChild a BitmapData or draw a BitmapData to screen?

I'm currently working on a flash game and I need to know how to addChild a BitmapData or draw a BitmapData to screen. If I can't than how can I give a DisplayObject my BitmapData? ...

What's wrong with my animation function?

It animates but it put's the piece of the sprite sheet where it is on the sprite sheet and not where the x and y tell it to. It's very short, so please take a look? Thank you in advance. package cyanprime{ import flash.display.*; import flash.geom.Rectangle; public class Player{ [Embed(source="brownplane.png")] pu...

Adobe AIR detect if Running in ADL?

I need to detect if running in ADL or not, I can't seem to fine an answer that is guaranteed...I found a couple posts online that say "this might work..." Is there a reliable way to check? Thanks. ...