flex

Display Flex application instantly?

Hello there, I'm working on a little project in Flex that's an application to upload images to a server. Since it's a pretty lightweight application (~40 kb in release version), I would like it to display instantly when the html page is loaded. But somehow there's a delay of up to 1-2 seconds before it shows up. I think it is a delay act...

Click Flex 4 spark ToggleButton component in code

I can't found any property in sparks's ToggleButton that allow me to press it from code. I tested setCurrentState("down") method, but this way button not dispatching click event i think. ...

flex 4 render html

can anybody advise me a free component that normally renders html in flex 4? For example i need to render html such as: <p class="Normal" style="color:#FF0000; text-decoration: underline;"><span class="" style="text-decoration: underline;">1.TESTgh</span></p> i found iframe-flex. but it doesn't work in fourth version ...

first value should be selected when loading the data in ComboBox

Hi, I had a comboBox and loading the datadynamically from the server. i need to display the first value in comboBox as a selected value and based on the value data should be populated on the grid. Please send me a sample example on the same if nay one knows. thanks, Ravi ...

scrolling interval in a Spark List with Tilelayout oversized while using mouse wheel after scrolling with mouseclick

I have a spark List with an item renderer and a tile layout. If I scroll by clicking with the mouse on the scroll bar and trying to scroll with the mouse wheel after that, there is a problem: The interval of the scrolling is oversized, instead of scrolling one item down (or up) the List scrolls 4 items down (or up). <s:List dataPro...

Back/Forward buttons in Flex applications

Hi, I have a Flex application which uses the BrowserManager class for enabling deep linking within the application. The URLs work fine through all browsers but the back/forward buttons work only with Firefox and Internet Explorer. Even that is a bit flaky and sometimes doesn't work. The buttons don't work in Chrome/Safari or any other b...

Connecting non-flex client to server running blazeDS

I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient. Currently I have some blazeDS remote objects to handle login/l...

adobe flex air file preview

Hi Gurus, We have an AIR application which connects to a WAMP server. We support tiff images currently. We have a neat feature of previewing a tiff image( uses a URLLoader to read the bytes and opens the image in a popup) We want to extend this preview feature to other types of files too like "pdf", "doc", "movie file" etc. Please let...

Flex 3.4 and FMS 3.5.1 - Problem sending ByteArray on RTMP call

Hello, I installed a FMS 3.5 on my machine and created a new application with main.asc like this : application.onAppStart = function() { /* Allow debugging */ this.allowDebug = true; } //Client is connected application.onConnect = function( client ) { //Accept the connection application.acceptConnection( client ); ...

Cross-compiling Flex/Flash to Javascript

Are there any options for compiling Flex/Flash projects into Javascript/JQuery? I seem to remember this feature possibly being part of Adobe's latest dev tools? ...

Creating animation when screen diomension can change- Flex 4

I am trying to create animation which is based on user input on speed and distance... also it needs to work consistently on different screens and resolution what functions do i use to get the pixel size of the container where the animation is playing- to make the calculations? ...

A question about Periodic table design in Flex

Hi all, I now need to design a chemistry periodic table. I will have a set of few elements that have been chosen by the user,and that should be reflected on the periodic table by making these few elements clickable. So when the user clicks on these few elements,corresponding explanation text will pop up on the text area outside the per...

Limit to number of HTTPService calls that can be made at once

Hello, I have 5 Cairngorm Events that I am dispatching at the same time(one right after the other) - all of which call a separate HTTP Service. This works fine when I run the application locally however when I deploy my project to a Glassfish server, it only works intermittently, with the app hanging when it doesn't work. My temporar...

Books Regarding Flash Media Server development

What is the best book out there reagrding Flash Media Server development using flex 4/ Action script. There are many books or resources out there on Flex and action script but nothing specialized on Flash Media Server. ...

Is there an event in Flex that shoots out when all the operations in a mx:state tag are done?

Let's take the next example: <mx:State name="sayHello"> <mx:SetProperty name="preText" target="{this}" value="Hello"><mx:SetProperty> </mx:State> Can I somehow know when preText property has been set to hello? Already tried with: state->activate state->enterState state->exitState and UIComponent->currentStateChange In ...

What's an awesome formatter for MXML/AS3?

I want a Flash Builder plugin that takes ugly unformatted mxml and makes it beautiful +1 if you would like something like this also. Edit: noticed that screenshot is barely legible. Larger version here: http://dl.dropbox.com/u/672147/mxmlFormatterDream.png ...

Problem automating mouse and interacting with Flash apps

I written a C# tool that simulates a user interacting with a Windows 7 environment. It works except when interacting with a couple online flash applications. Mouse movements and clicks are being generated, but the Flash apps do not receive them. I am thinking I need to generate lower-level mouse events, but cannot confirm this. I hav...

Multiple asynchronous calls to populate an object

I'm developing a Flex application and am having some trouble working with asynchronous calls. This is what I would like to be able do: [Bindable] var fooTypes : ArrayCollection(); for each (var fooType : FooType in getFooTypes()) { fooType.fooCount = getFooCountForType(fooType); itemTypes.addItem(fooType); } The issue I'm run...

Flex Blazeds Java NoSuchMethodException

Hi All We have a Flex-BlazeDS-Spring-JMS application. The issue is sometimes we get a Blazeds error: NoSuchMethodException. It is not able to find the Java service. The weird issue with this it does not happen all the item...1 time it goes through and returns the result, the 2nd time it fails, 3rd time fails and so on. Also not all meth...

how to change the FusionWidgets UIComponent in Flex

Hi, I'm using the ravis FusionWidgets component in flex to create guages. I have a problem to change a guage in my program. I build an mxml component with the guage like this: "ns1:FusionWidgets id="myGuage" width="{guageWidth}" height="{guageHeight}" FCChartType="{guageType}" FCDataXML="{guageXML}" y="0" x="0"/" when the guageType and...