flex

TextArea component is null on applicationComplete event

I have a weird issue (weird because it is specific to one component) with applicationComplete in a fairly simple application. All the UI components are declared in MXML. I can access them all in applicationComplete, but not a spark.components.TextArea component, named taStatus here; it is null in the handler. MXML looks sort of like t...

Adobe Flex Combobox as itemrenderer

I have a flex combobox as a datagrid itemEditor. However, after selecting an item in the combobox, its necessary to click out of the combo (i.e. into another cell or elsewhere in the app) for the value to be committed to the combo. Prior to this, the combo sits 'proud' of the datagrid and the value hasnt actually been committed. Is the...

MessageBroker.getMessageBroker(null) getting null pointer Exception

I am creating Dynamic Destinations MessageBroker broker = MessageBroker.getMessageBroker(null); MessageService service = (MessageService) broker.getService("message-service"); MessageDestination destination = (MessageDestination) service.createDestination("Group1"); if (service.isStarted()) { desti...

Blank Swf after printing from another app.

Ok, so i am having a problem, where i developed an app that uses the webcam, adds an image and then takes a picture, well, i implemented textbook style the printjob, and well everytime after printing my swf goes blank. http://stackoverflow.com/questions/3021557/as3-printing-problem-blanks-swf-after-print-or-cancel But now i have been c...

Open a popup window by clicking the icon on the datagrid itemrenderer

I am using PopUpManager class to displayed the popup. While clicking the datagrid popup will display. Now i have a change in requirement that i need to open popup window when the user clicks the icon on the datagrid itemrenderer. Expecting valuable response to complete the requirement. ...

flex: how to Make two resize effect at the same time

Hy, Is it possible to resize the application at the same moment when the Accordion size change, to make effect resize og the last one synchronised with resize of Application ? In my code,, the Application is resized after the resize of Accordion is completed: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www....

ToolTip window help in Flex

How i can create pop-up window (with some text)when focus on TextInput (like in windows xp when i focus mouse cursor on file it shows short info). ps: example of pop-up in windows xp ...

Flex+JPA/Hibernate+BlazeDS+MySQL how to debug this monster?!

Ok so I'm making a "simple" web app using the technologies from the topic, recently I found http://www.adobe.com/devnet/flex/articles/flex_hibernate.html so I'm following it and I try to apply it to my app, the only difference being I'm working on a Mac and I'm using MAMP for the database (so no command line for me). The thing is I'm ha...

How do I return an Array from grails / jdo to Flex

this seems really simple but I haven't gotten this to work. I am building my app with grails on google app engine. This pretty much requires you to use JDO. I am making an HTTP call from flex to my app. The action that I am calling on the grails end looks like so def returnShowsByDate = { def query = persistenceManager.newQuery( Sh...

Unreachable, existing variable

I'm new at as3, maybe thats the reason why i don't understand, why the setInterval causes an error. <mx:Script> <![CDATA[ import flash.utils.setInterval; import mx.controls.Alert; [Bindable] public var MyInt:int = 500; setInterval(function():void{ ++MyInt; },1000); ]]> </mx:Script> I ...

TypeError: Error #1009 - (Null reference error) With Flash.

I am not an expert in flash, but i do work with AS and tweak Flash projects , though not having deep expertise in it. Currently i need to revamp a flash website done by one another guy, and the code base given to me, upon execution is throwing the following error. "--- TypeError: Error #1009: Cannot access a property or method of a nul...

How to change a View from inside a view.

I have one .mxml file (the Application) with a ViewStack (with 4 views) and a ControlBard, obviously I can change the views with it, but what I want to do is: in view #1 I have an image which I want to convert to a "hyperlink", so when I click it I go to View #2, is this doable? Also I would like to pass somehow some data (like a String)...

Attach data to Richtext using flex, mysql and php(newbie)

I'm trying to attach data to a richtext field in Flashbuilder. The data is an html string in a mysql database and I'm connecting using php. The php script is just converting to XML. The connection works because I can easily dump the data to a datagrid and I can see the string. when I try to hook the data to a Richtext field I get "obj...

Flex DataBinding Drilling Down Through Arrays

The help page on the BindUtils.bindProperty function: http://livedocs.adobe.com/flex/3/langref/mx/binding/utils/BindingUtils.html Has this to say: "For example, to bind the property host.a.b.c, call the method as: bindProperty(host, ["a","b","c"], ...)." But what if I need to bind to host.a.b[2].c? How do I do that? ...

Equivalent of Flex DataBinding using Pure Actionscript

When Flex Sees Something Like This: <mx:Label text="Hello {MyVar} World!"/> It Must Translate That Somehow Into ActionScript. But What If I Need To Do Something Similar, At Runtime. How Can I Accomplish What DYNAMICALLY? WHEN I DO NOT KNOW THE CONTENTS OF THE BINDING TEMPLATE. In ActionScript it would need it to look something lik...

Flex Open Source Calendar / Enhanced DateChoose

Hey all, I currently use iLog Elixir calendar component, and I am not entirely happy. It is buggy, support sucks and I can't play around with the source. Does anybody know of a good, well maintain flex library project which has a decent calendar / date chooser component? Thanks, Sri ...

session management with Flex+Java Servlet using Httpservice

Hi I am new to Flex. I am just wondering how to manage session and cookies for logging in, logging off in Flex? I am using Flex HttpService and Java servlet. Thanks! ...

change combobox selection based on value in an object in flex

how do i change the item selected in a combobox selection based on a selection of a datagrid object? ...

added Effects and removed Effects start almost together.

Hi, I have run into a problem where I am removing a component and adding another one. I have set addedEffect and removedEffect for corresponding component. But the addedEffect starts before the removedEffect completes. How can i make them in order ?? I am doing this in actionscript.So, in this case i'm not using state and transition....

Fit a logperiodic function to data set in flex

I wahnt to fit a function to a data set. The function formula looks like this: http://docs.google.com/fileview?id=0B_6wV4xlS6wCNTA2MzU2MTMtMWMwZC00NzNjLTg1MjktYzc4MzFkOTk5YzJh&amp;hl=en" I fited the power function following this advice: stackoverflow.com/questions/2984164/power-function-fit-to-data-set. I've done it like here: mathworld...