flex3

Glitchy screen redraws in flex application?

I have a flex/actionscript based project. The project has various view stacks and tab navigators and a few popup windows. The whole thing is managed in pureMVC framework. When transitioning between various view states, opening a popup, switching a tab, etc, I find the app to exhibit various redraw glitches. Parts of views will be partia...

Do you know any good actionscript / flex 3 obfuscators?

Now I do know that obfuscation is never 100% safe, but it's better than nothing when attempting to avoid others from decompiling your .swf files. I googled and found one which only changed variable names and removed comments. I need something more advanced. Any recommendations? ...

Is it possible to configure Adobe's Flex Builder (or Flash Builder) to use the Eclipse embedded browser to run apps?

I want to run my Flex apps in the embedded browser control inside Eclipse, which is a Gecko control on the Mac (I think!). Is this possible? If so, how? ...

Dynamic DataGridColumn Creation Within A FlexDataGrid

hi guys, Shall i get actionscript for dynamic grid creation.Especially i need the code to change the position of columns automatically after the Gridcreation. ...

Programitically shifting the column position within a Flex Datagrid

Hi Guys, Any one help me please.Shall i get the flex or action script code to acquire dynamic grid creation.Once the grid got created,then programmitically columns should be arranged as the user tries to add the column. ...

Build error building an example Flex mxml

I'm using the Flex 3.3 SDK (not Flex builder, as I'm on 64-bit Linux), and it seems I can't even build simple example files. The Pie Chart example on http://livedocs.adobe.com/flex/3/html/help.html?content=charts_types_09.html refuses to build, giving me: The generated actionScript is as follows: package { import flash.accessibility.*...

Flex properties behave strangely when used in HTTPService

I'm writing a Flex app using REST requests and trying to avoid HTTP caching as well as synchronize client/server time. To this end I've created a timestamp property as such: // returns a timestamp corrected for server time private function get timestamp() : Number { return new Date().getTime() + clientClockAdjustMsec; } (The clien...

flex3 menubar: bindings in "enabled" property

is this a bug or my fault? <mx:MenuBar width="100%" labelField="@label" itemClick="menuItemClickHandler(event)"> <mx:XMLList> <menuitem label="User" > <menuitem label="Log In" showDialog="LoginDialog" enabled="{model.FlowUserState == 0}" /> <menuitem label="Log Out" dispatchEvent="LogoutEvent" enabled="{model.FlowU...

Flex Text Area/Rich text Editor - unsupported tag stripping

Hi, After bringing in some html into flex and displaying it in a rich text editor control, I would then like to make some changes to the text and send it back up to the server. Now, I know the control will only deal with a subset of tags and that's ok for this scenario, however when I pull the html text back out of the control, low an...

What is the best seo solution for deep linking a flex app/site?

There are several quality solutions for deep linking a flex application or site. For seo purposes which one produces the best indexing results? Asual's SWFAddress, Adobe's BrowserManager or urlKit. All three of which seem viable and easy to implement. Update This guy at unitedmindset seems to have pulled it off using the BrowserManage...

Advanced DataGrid Flex 3 - ItemRenderer and Tree display

Hi, I am using Advanced DataGrid of Flex 3 with hierarchical data. The itemRenderer is a TextInput which accepts numbers. When I enter data into the given field and click the corresponding expand tree icon for the row, I want the amount entered in tree node should get cascaded to its child rows. But I found the nature of advanced DataGr...

flex measuredHeight vs height

Could anyone tell me what the difference between height and measuredHeight is in flex? After reading a few articles on the adobe site, I'm still non the wiser as to when to use which. Any pointer much appreciated; ...

How to update a MySql DB using Flex

Hello everybody. Just got developing with Flex, and i like it. I've done some simple apps to get the felling of it, nothing involving updating a file or a database. I wanted help, how to do a query to a MySql DB from a Flex application (thats gonna be running in a web server). I didn't saw any duplicated questions, sorry if any exist...

Flex: Problems using scale9Grid with Image

I'm trying to create an image component that can be scaled using 9-slice scaling. I'm 100% positive the grid rectangle is inside the image's bounds. However, the scale9Grid property seems not to affect anything. I have tried many different things. Here is my last attempt where I try to put the image in a canvas. Any idea what I'm doing...

Flex : Styles vanishing when opening multiple HBoxes and appears back on scrolling down

Hi, My Flex application contains a set of Hbox,Vbox combination that is shown/hidden depending on users actions. There is an option provided to show all these containers as open(from their previous hidden state). At that point, the styles used in my page vanishes! The page becomes really lengthy and when I scroll down a bit, the styles ...

Changing Flex Components Language

Hello everybody. When we are building a application in Flex the components that we add are in English. Lets say that i want to change then to French, Spanish or Portuguese. How could i do that?? I've google a bit about it, but nothing good. I didn't look too much, because you guys always now things, and here in SO its more faster to...

To build a flex volume control component similar to that of Youtube

Hey, I've been assigned to design a flex 3 volume control component similar to the one Youtube players have. I mean, you move the mouse over the volume icon and a vertical slider appears. My only doubt is about how making this vertical slider to appear and to hide properly. Should I extend a PopUpButton somehow? Maybe another kind of P...

How can I call a varargs function with an array in ActionScript?

I need to call a varargs function: function doSomething(... args): Object { // do something with each arg } However, I'm building the arguments for this dynamically: var someArgs: Array = ['a', 'b', 'c']; doSomething(someArgs); The problem is, when I call the function in this way args ends up being a 1-element array with someAr...

How can I determine the position of an XML instance in an XMLList in ActionScript3?

What it says on the tin: I have an XMLList, and I want to find where in it a particular XML item falls. First index is good enough for my purposes. Note that I have no problem writing a function to do this by hand... but I was hoping that the API has something buried somewhere that'll do it for me. I didn't see it, though. ...

Stop all timers running

I have a flex app that has several timers running for various amounts of time and for various reasons. I'd like to be able to stop all timers running if the user goes over a specified amount of time, but don't want to individually stop the timers using timer.stop(); Is there a way to stop all timers globally or find and iterate over all...