flex

How to simulate the "genie" effect with flex4 effects?

Does someone know how can I simulate the genie effect (like in Mac OS X) in flex4 using the new spark effects? ...

how to prevent white spaces in a regular expression regex validation

i am completely new to regular expressions and am trying to create a regular expression in flex for a validation. using a regular expression, i am going to validate that the user input does NOT contain any white-space and consists of only characters and digits... starting with digit. so far i have: expression="[A-Za-z][A-Za-z0-9]*" ...

Flex 4 Gauge Component

Is there such a thing as a good looking Flex 4 Gauge component? The degrafa gauge looks great but it doesn't work with Flex 4 ...

How to convert string with TLF format into TextFlow in Flex

I used TextConverter to convert a TextFlow in Flex to String to store it in my Database. How to convert that string back to TextFlow in order to display in Rich Text format ...

Can I dynamically embed fonts in Flex?

I'm wondering if I can dynamically embed fonts in Flex. I want to embed different fonts for different users so I don't want to embed all possible fonts in the same Flex file. If it's possible could you please post sample code. ...

viewstack vs. tab navigator

I'm new to flex and was looking at some of the components that ship with flex. Can someone tell me the difference between viewstack and tab navigator. They seem to be somewhat similar. When do you use one or the other? ...

How to switch between different applications(mxml file with Application as the root tag) in a big Flex application?

Hi guys, I'm new to flex. Now I'm writing an flex application. I plan to split my application into some MXML files(Application as the root tag). How can I switch from one mxml to another? BTW, what is the best practice for design large flex application? Just one MXML Application and many MXML component or many MXML Application? Thanks...

[Flex] Caching canvas into ByteArray

Task: (all in code, not visual) create a canvas, place into it some labels and draw some lines, then cache it as byteArray. The problem is that if I cache an object that is already drawed on the screen, it works great, but if I cache a canvas, that have been created few lines earlier, this results white image. Is there any solution to...

How to design desktop app ? (from web app dev)

I have only worked on web apps for my whole career. I'm starting a new desktop (Adobe AIR) app project but I found myself having difficulties with: stuck with thinking about overall UI design in the traditional page model not sure how to handle the navigation part in the UI not taking advantage of states deciding what should be implem...

Flex: How to most effectively tavere a table column

I have a table "template" which is used in various "instances". All instances have checkboxes in the second column (for record-delete). What would be the most effective way of traversing the table and check if at least one checkbox is selected (to enable a "delete" button)? Thanks! Maik ...

I have a page that contains both Flex and HTML at the same time. How do I make it cross resolution?

Hey guys, In one of my pages, I use a Flex 4 app in a column on the left, and then normal HTML in a column to the right. Is there anyway I can make it so that the ratio between the two columns is the same no matter the resolution? Thanks for reading. ...

GPG library for Flex 3

Is there any GPG library for Flex 3? It seems hard to find information about this from Google. ...

Getting fill color inside the itemrenderer in Adobe Flex

Hi All, I am writing a custom item renderer to render a column series in my application. Its a stacked chart and i want to use the same item renderer for both the column series. The color for each series in the stack is different and am setting that in the 'fill' property of the two series. My doubt is how can i get the color specified...

which is the best for build a Gantt-chart like application Flex or Flash Action Script?

Which is the best for build an application show like in image. For the better graphics and performance wise. I want to know Flash for Flex is more suitable for this. In Flash ca we be able to build a grid kind of applications easily? I headed that Flex have the functions to handle grid and other things. Drag & scroll Zoom like feature....

Including configuration files while compiling a Flex application with MXMLC

Hello there, I'm using: - Flex SDK 3.5.0 - Parsley 2.2.2. - Flash Builder 4 Down in my src folder (which is configured as part of the source path in the Flash Builder), I have a logging.xml which I configure via Parsley: FlexLoggingXmlSupport.initialize(); XmlContextBuilder.build("com/company/product/util/log/loggi...

What's the default font that flex uses?

If I don't declare any font family in my flex application what's the default font that it uses? ...

deploying flex on tomcat

Hello, I am using Flash builder 4 (SDK3.5) to create my flex program. I want to deploy this program and load it to a tomcat server. I configure my "flex server" root folder and other parameters in the project properties. The problem is, that i don't know how to make it generic. e.g. my friend's tomcat is installed in other directory on ...

How to load dynamic events in Flex

Hi All, I have a small flex application. What I want to achieve is, I want my user to pass the script as a parameter. so he has the flexibility to do anything with the ...

save data into flash media server like rdbms.

hii... im using fms to save datas like rdbms. Im using shared object for this. But I cant save more than one row of data into flash media server. What can I do for this purpose?? ...

Single model - multiple filtered views

Hi gurus I have data model (dataProvider as ArrayCollection) i want to display in few views , each view should show filtered data. As you probably know, filterFunction is property of ArrayCollection,so I can't use this solution (unless creating new instance of ArrayCollection for each view on top original and impementing filterFunctio...