flex

Flex XMLList Intersections, Unions, Differences

I don't think Flex supports anything like this, but I'm new to it and thought it couldn't hurt to ask anyway before I go off and implement it myself. I'm basically wondering if Flex can give me the union or difference or intersection of two XMLLists, as in Python's sets: >>> a = set([1, 2, 3]) >>> b = set([3, 4, 5]) >>> b.difference(a) ...

How to do Flex date deduction and addition

Hi guys, In flex, I am trying to do date deduction and addition, but couldn't find a way to do it. e.g.: public var dateNow:Date=new Date(); How can I get the Date 3 months earlier than dateNow? Thanks!!! ...

Can't inherit from classes defined in an RSL?

Note: This is an Actionscript project, not a Flex project. I have class A defined in an RSL (technically, it's an art asset that I made in the Flash IDE and exported for actionscript. The entire .FLA was then exported as a SWC/SWF). I my main project I have class B, which inherits from class A. The project compiles fine, with no errors...

Changewatcher in flex3.0?how to use in below mentioned Situation

Hello to all, Please tell me about the change watcher in flex. i have a situation like, i have few canvas, on which i have to show select and unselect,(These canvas hold product thumbnail images) , so when some thumbnail is selected i have to show selection and on selecting other, i have to unselect the previously selected canvas and h...

Using Subversion with Flex 4 - problem importing services

I'm using the Subversive plugin for Eclipse/Flex and I can commit the files correctly, but I have to rebuild Data/Services each time and reconfigure return types for each, etc. Does Subversion not provide a way to check/in out Data/Services or must these be rebuilt each time? ...

Flex Regular Expression Help

Hello guys. Im using regular expression to search word in a string for Example here var patrn:RegExp = new RegExp("\\bit's\\b"); var str:String = "Heres my problem in it and it's so help me guys."; trace(patrn.exec(str));//result is null My problem is I can't search the data in a string which has special character like ('/,/.). What...

Unable to resolve resource bundle "*" for locale "en_US" (Flex, Flash Builder)

since I'm using custom skin classes in Flex I'm getting an error, when trying to open the design view in Flash Builder: Description Resource Path Location Type Unable to resolve resource bundle "components" for locale "en_US". Unable to resolve resource bundle "core" for locale "en_US". Unable to resolve resource bundle "effects" for...

how to add image to richTextEditor in flex3?

im trying to add text and images to RTE and on button click the same will posted to mysql thru http service and will b displayed in a text box from DB. only problem is adding image to rte. i have added a button to browse the image file from localfiles.not succeeded. is it possible to add image bcoz i have googled reg this unable to find...

Custom cursor and customized context menu in Flex

My Flex 3 application uses a custom cursor and has to show a customized context menu when the user performs a right click. The problem is the customized menu is shown only when the default arrow cursor is shown. When I change it to the custom cursor, the standard context menu appears instead of the customized one. Is there a way to hav...

Flex HTML component to bitmap

I'm creating a HTML Component in Flex, loading a URL and then capturing that element and converting it to a bitmap to try and replicate a sort of automatic screenshot saving process. However the bitmaps that it is producing do not contain any flash elements from the HTML. Anyone have any ideas why this is? ...

Bitmap data draw method - replacing the non-present pixels with blue color

I have a Sprite which is in the shape of a Convex polygon(not rectangular). If I take its snapshot using : var bmd:BitmapData = new BitmapData(width,height); bmd.draw(someSprite,someMatrix,null,null,null); I get an image like this : Click here to see the image In this image, I have added the green boundary myself, just to ...

How to set priorety of data you transfer? (So not to block other http connections) (in pair PHP<->Flash)

I have PHP script which takes some file (FLV for example) and returns it to Flash player (just opens and reads to end), and I have flash(mxml+as3) app that calls that php script in order to recive a file. Ho to make priorety of that connection so that if user goes to some other web page or dowhloads some file my pair (PHP <-> Flash) will...

Change mouse cursor to a bitmap (Flex 4)?

In Flex 4, how can I change the cursor to a Bitmap image determined at runtime? All the examples I've seen use CursorManager.setCursor to set the cursor to a class specified at compile time. What I want to do is change the cursor to a bitmap whose bitmapData is determined by the context. ...

Passing parameter in flex function

I have several TextInputs in a certain form which have been assigned id in an incremental order. For example: <s:TextInput id = "index1"/> <s:TextInput id = "index2"/> <s:TextInput id = "index3"/> Based on certain conditions I select the text from the corresponding TextInput and pass the value (index#.text) into a function foo(var i...

How to access ArrayCollection Data

Hello guys. I know this one might be easy but I couldn't figure out. I have a List control that retrieve multiply data from Mysql. When a use clicks the data on List, The datagrid will display the data and the product image will show. I can see the multiply data shown in my dataGrid, but I don't know how to get the individual data show...

How to sort all data in a paginated data grid.........

I have paginated data grid having more than 5 pages (100 records/page) now i want to sort them all on just clicking on fields header ...

Flex standalone application with no database

I am trying to develop an application which can be used locally by my team mates. its a sort of issue tracking application with report generation. am planning to do it on flex. in my company environment, i do have a lots of restrictions like, can't install AIR, no database, etc. so am planning to develop on flex app, and put it in a sha...

Is a DropShadowFilter mutable in Flex 3.5?

I have a dropfilter defined using some bindable variables as parameters. <mx:filters> <mx:DropShadowFilter id="torinofilter" distance="0" color="{dropShadowColor}" blurX="{dropBlur}" blurY="{dropBlur}" strength="8" quality="2" alpha="{dropAlpha}"/> </mx:filters> I would like to update the filter in a method call lik...

Adobe AIR 1.5 - Package AIR installer as a native Windows Executable (.EXE)

Hello StackOverflow community, Is there any way to package the installer for an Adobe AIR application using Adobe AIR 1.5 as an executable (.EXE) file? I found that this is possible for Adobe AIR 2.0, but it requires an upgrade to Adobe AIR 2.0 runtime. Are there any other options using the Adobe AIR 1.5 runtime? Thanks, Mauricio ...

Adobe AIR 1.5 - Package AIR installer as a native Windows Executable (.EXE)

Hello StackOverflow community, Is there any way to package the installer for an Adobe AIR application using Adobe AIR 1.5 as an executable (.EXE) file? I found that this is possible for Adobe AIR 2.0, but it requires an upgrade to Adobe AIR 2.0 runtime. Are there any other options using the Adobe AIR 1.5 runtime? Thanks, Mauricio ...