Tagged with 'Flex'
Snippets
-
How to get smooth image scaling in Flex by vixiom
Sometimes images loaded externally into a Flex app will become pixelated when scaled, here's how to smooth them and make sure cross domain images load properly.
Save as Favorite | Tags: Flex, image, smooth, cross-domain, load, loaderContext
-
"Dump" an Actionscript Custom Object by pmolaro
In ColdFusion you can "trace" out any variable or object by using the <cfdump> tag. I wanted to do something similar with my Actionscript objects I created for my Flex projects. Below is a nice solution. Be aware I have read that this sometimes crashes your apps with super complicated objects, but I have not encountered that myself.
Save as Favorite | Tags: actionscript, Flex, air, object oriented, objectUtil, utils, trace, toString, dump
Scraps
-
Using REST services with Flex by vixiom
Save as Favorite | Tags: Flex, REST, Service
-
Better form validation in Flex by vixiom
Aral Balkan shows a better way to display Flex form errors "If you tab around that example, you may notice that you are probably doing something wrong (as indicated by the red borders around the form items that begin to appear) but you have no idea what you're doing wrong. In order to find out, you have to mouse over the form field. Only then does a tooltip appear to tell you what the problem is. Needless to say, having the user switch input devices and exert additional effort in order to see a form validation error does not make for good ergonomics or usability. A better alternative is to actually display the error message beside the control. "
Save as Favorite | Tags: Flex, form, validation, error
-
Flex rounded image by vixiom
Save as Favorite | Tags: Flex, image, rounded, cornerRadius
-
Changing a slider control’s thumb skin by kreek
"The following example shows how you can customize a slider control (HSlider or VSlider) and use your own custom embedded image instead of the default triangle thumb skin."
Save as Favorite | Tags: Flex, slider, thumb, skin
-
Degrafa Declarative Graphics Framework for Flex by kreek
The focus behind the Declarative Graphics Framework (Degrafa) is to bring the graphics classes up a level to provide a common ground between developer and designer within Flex, and enable the graphics classes to become first class citizens within the Flex framework.
Save as Favorite | Tags: Flex, degrafa, framework, library, graphics, drawing
-
Integrating Flex, BlazeDS, and Scala/Lift by vixiom
"A short while ago Adobe announced that they would be releasing an open source version of LiveCycle Data Services called BlazeDS. In short, BlazeDS is Java technology that makes it really easy to do HTTP streaming and server-side push to Flex and AIR applications. While this announcement is definitely welcome news, there may be a lot of people out there who thought to themselves, “That’s great, but I don’t use Java.” Well, the good news is that just because BlazeDS uses Java the platform doesn’t mean that you necessarily need to use Java the language to take advantage of it."
Save as Favorite | Tags: Flex, scala, lift, blazeds
-
Alternative DateChooser that fills out an input box by vixiom
The Flex framework is amazingly capable. Between renderers, editors, skins, styles and containers, you can produce amazing applications. Sometimes however developers get stuck in the framework; they think they need to use the framework for everything. I used to see this a lot with list-based controls, but of late the target for getting stuck seems to be the DateChooser. Guess what though, the results are in, and you don’t have to use the DateChooser to produce a calendar.
Save as Favorite | Tags: datechooser, input, AS3, Flex


