flex

Flex 4: Descending vertical DataGroup?

I am currently working on a Photoshop-like transformer application to work with DisplayObjects as layers. I have an ArrayCollection which serves as my data provider for my List of values, but the problem is that the items are appearing in ascending order in the List: 0 - Item 1 1 - Item 2 2 - Item 3 3 - Item 4 Since it's a layer manag...

Can a Flex 3 app launch and pass data back and forth to a Flex 4 app?

We have a large Flex 3 app that we do not have time to convert over to Flex 4 at this point. However, we want to use a component set that is currently implemented in Flex 4. The idea is for us to have our main Flex 3 app launch a Flex 4 app. We need to be able to pass data from the Flex 3 app to the Flex 4 app and back again. Is this ...

Flex and Javascript security implications

Hi there, I've been researching about Flex and it seems that it's possible to use JavaScript to interact with the Flash component. What I would like to know is if there are any security issues when doing this versus just building everything within the SWF? Thanks ...

In flex, how to have 'justify' text align option

How to make text in flex justified (text-align option) ...

Flex projects versus Actionscript projects

I have used Flex for about a year before deciding that I would rather develop Actionscript projects. At the time, it seemed that the framework was too heavy for the kind of work I was dealing with, mainly small web applications , personal sites, portfolios this sort of thing. I also thought that Flex was like a odd hybrid , something t...

Flex: Loader do not load if already loaded?

Is there some way to check if what you are loading is already in memory and don't need to be loaded a second time? ...

Group should scroll vertically but is expanding to infinite in width

I have a group for which I want to enable horizontal scrolling. Vertically the group should be as wide as possible (100%). <s:Scroller left="0" right="0" top="0" bottom="0" visible="{isVisible}" horizontalScrollPolicy="off" includeIn="stateA"> <comps:MyComp horizontalScrollPosition="0" verticalSc...

Recompiling with mxmlc

Hi. I'm having some trouble with the mxmlc compiler. It doesn't catch my changes in the code. It's like it uses some old cache. I can for instance change the structure of a method, build and the see the compiler say "Successful build" even thou it's obvious that some lines will fail! I have looked at the args list for mxmlc but nothi...

What are the way to avoid http service error in flex ?

In my project used quick search for character based send request to server , But on time the user fastly type then i got http service error So i want to know how avoid that problem or any possiable to avoid continue request to server or any message queue technical for that problem . kindly give suggestion it's helpful to all ...

Flex code doesnot(only sometimes) compiles in java+flex (+ BlazeDS+Tomcat ) combined project.a

i am working on a flex+java combined project. My IDE and computer configuration is as follows: Windows 7 Professional, 64-bit, Core2Duo 2.1GHz, 2GB Ram Eclipse (helios) with Flash Builder Premium v4.0 Eclipse plugin Flex=javaEE combined project with BlazeDS v4.0.0.14931 and Apache Tomcat 6 using BlazeDS remote object--RPC fo...

How to test the validity of XML against an XML Schema in ActionScript?

I don't need to parse the XML, or to decode it into an ActionScript object -- I'm only interested in loading both XSD and XML and tell whether the latter is legal XML according to the document definition in the former. ...

implementing UIComponent as TileListItemRenderer

Hi, I had some code I was working on in flex. I had 16 UIComponents added to a Grid Container. The grid wasnt really giving me what I wanted so insetead of using that I want to try and use a tilelist because its gots lots of really nice built in features. As far as my understanding goes, to add items to a tilelist you need to define a...

List ItemRenderer and Drag Drop

I use Item Renderer in List control. But when drag started I get error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at MemberRenderer/set data() etc. Can anybody help me? My ItemRenderer: <?xml version="1.0" encoding="utf-8"?> <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="10...

Architecture that displays messages (like downtime) in application

I'm thinking of a architectural way of displaying messages in our application (Flex-Asp.NET-SqlServer), mostly messages that announce for instance a downtime. Currently I was thinking of creating a table FlexMessage that holds the name of a message (based on that name I now where to put in Flex) and the value (the message itself). As a ...

ActionScript MXML <mx:> vs <s:>

Looks like I can use components for both or . So, which has more advantages? ...

In flex, how to make a component appear on the center of screen?

In Flex, how to put some component ( like canvas ) appear at the center of the screen. ( even if there is scroll, it should be displayed at the center of the current view). ...

Substitute {0}, {1} .. {n} in a template with given varargs

Consider a string template of the following format: String template = "The credentials you provided were username '{0}' with password '{1}'"; Substitution variable fields are of the form {n}, where n is a zero based index. This is the template format used in Adobe Flex, see StringUtil.substitute(...). And also .NET, IIRC. Since I wa...

Flex trace() doesn't print

There's a lot of examples for ActionScript over the web using trace() to print results. I'd tryied it using Flash Builder 4, but it don't print to the console. Where can I see the output? ...

flex 3 programmatically enlarging a flex buttons hitArea

Hello stackOverFlower, Does anybody know how to programmatically enlarge a flex 3 button's hitArea. Is there some function that i can override? There is no function in the button class called hitArea. WHat i have done is, i have created a programmaticskin for a button. The form of the skin consists out four arrows. In between the arrow...

Flex Serialization for inbuilt components like...HBox, VBox, Panel, Canvas, DataGrid...

Here is the problem...I'm working on a flex application(actionscript)... I have a Panel in my application which contains 2 buttons and 3 canvas components at certain posstions...now I want to store the current state of panel in some file or database...and afterwards I want to load the same panel again in my application when I come back ...