flex

VS2005:Convert FluorineFx.AMF3.ArrayCollection to DataTable

Hello Everyone, I want to convert FluorineFx.AMF3.ArrayCollection to DataTable,anyone know how to do that? ...

POST cross domain https in flex code faild

I have added https: / /catherine.mob.dev/crossdomain.xml: <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt; <cross-domain-policy> <site-control permitted-cross-domain-policies="all"/> <allow-access-from domain="static.mob.dev" to-ports="*" secure="false"/> <allow-http-request-headers-f...

Preserve multi-column sort in AdvancedDataGrid with dataProvider as GroupingCollection

I have three attributes in my XML object: last name, first name, and age. My sample XML looks like: <dataXML> <info last="Abc" first="Def" age="20"/> <info last="Abc" first="Hij" age="10"/> <info last="Xyz" first="Klm" age="25"/> <info last="Xyz" first="Opq" age="64"/> <info last="Xyz" first="Rst" age="08"/> </dataXML> I am using...

Flex 3 Binding problem

I have a custom ActionScript class: package EntityClasses { import mx.collections.ArrayCollection; [RemoteClass(alias="tkatva.tt.entities.CompanyInfo")] [Bindable] public class CompanyInfo { public var companyInfoId:int; public var companyName:String; public var streetAddress:String; public var postNumber:String; pu...

Integration between MS Exchange and Adobe Flex

Is it possible to build Flex application to send and receive email to and from Ms Exchange which I am building my CMS platform? Coldfusion does it but do anyone have suggestion? ...

How do i use Double Datatype in flex?

please help me ............ ...

How to store Flex 3 ColorPicker Value in a variable and bind the variable to a textInput

Hello Stackoverflowers, Can anybody help me out? I would like to store a hex colorPicker value in a variable and then cast the value of the var backout to a textInput. The textInput is just to see witch hexcolor i have choosen. thus meaning seeing 0x000000 in the textInput. what i've done now is pretty simple i have bound the flex col...

Add watermark to Flex background

I am trying to add a watermark image to my flex background. Any suggestions on how to do that? Thanks in advance. ...

AS3 - It's possible to have package variables (or constants)

Despite if it is good practice or not, I read here that you can have package variables (or constants), so I tried this: // globals.as package global { public const someConst:String = 'theValueOfTheConst'; public var someVar:String = 'theValueOfTheVar'; } // SomeClass.as package pack.to.the.class { // ... import global.*...

What's the best way to do AOP in Flex (loom)?

Would the best way to do AOP in Flex would be to use the Loom library? If so, I wasn't able to find adequate good documentation on Loom. Can you point out some places where there are good documentations on this library? Thanks, flex & aop newbie ...

How does this flash movie advance the slides in the flash slidedeck?

Take a video on infoq.com (like this one: http://www.infoq.com/presentations/nutter-jruby-duby-juby). If you play the movie linked above, you'll see the slide deck advance as the appropriate part in the movie is hit. If you advance it forward and back with the slider, you'll see that it triggers to the appropriate location in the slide d...

how do I use the "in" operator? Flex/AS3

So the documentation has this nifty "in" operator which I like the idea of more that using a multiple step or statement (||). The documentation gives me this example. trace("PI" in Math); // true trace("myProperty" in Math); // false and public var myArray:Array = ["zero", "one", "two"]; trace(0 in myArray); // true trace(1 i...

setting content area in custom flex component

I am trying to define the content area of a custom component that extends mx:VBox. The component has predefined headers and footers (visual children) and I want to set the area in the middle for adding children to the component. The component will be used like this: <custom_component> <mx:button/> </custom_component> How would ...

Flex/AS3 DataGrid Columns have wrong values

This is driving me nuts. This script is adding datagrids to various containers in an accordion. In my first level for-each loop the item that fills my "if(component.@component_componentID == "999999999")" is the last item looped through everything works fine except the datagrid I am building there has the wrong columns. For some reason "...

Why are my XMLListCollection properties in my custom components always null?

I've written the following custom component, SubNavBar.mxml: <?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" height="100" width="300" creationComplete="init()"> <mx:Script> <![CDATA[ import mx.collections.XMLListCollection; [Bindable] public var menuItems:XMLListCollection; pri...

Easiest way to tell if an object has been modified since save?

Hello, I'm creating an air application that allows the user to create, edit and save Objects in files. I'm trying to implement a "Save on Close" prompt if the user hasn't saved her changes to the object before closing. Let's say I have a Class called MyClass marked as Bindable that is composed of fields, each exposing a getter and sett...

Avoid image to get streteched when used as background image, in flex

Hi I am developing a website in flex. And in that, i am trying to set the background image of my application. like this: parentApplication.setStyle("backgroundImage", data.image_src); From a different location. My issue is that, the images that i have are small and hence they are being stretched when used as background images. I ...

What are some good patterns for managing a bunch of views/screens in Flex?

I'm building a Flex application with about a dozen different screens. There's relationships between the screens such as when on screen 1, I click on something that is an input to screen 2. Then I might bring up screen 3, then go back to 2 and then bring up screen 4. To make it clear to the user where they are in the application, we'd lik...

Flex:how to count online user and record user visits?

Hey guys, I want to write a module that count online user and record user visits. I'm using Cairngorm,it seems to me when user open the Application,I should dispatch an event,and increase onlineCount stored in ModelLocator,get the visits number from DB and increase 1.When user leave the Application,decrease onlineCount and update the v...

How can i send xml data to the server using HttpService request thr POST in Flex ?

please tell me the examples..... ...