flex

Flex Cairngorm Spring Blazeds - Remoting Error - help me please....

Hi all, I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong - any help would be greatly appreciated - thanks Mike. **Error: C0007E: RemoteObject not found for mycomponentsService at Remote...

Why is the Spring/Flex/BlazeDS Messaging service-adapter not called?

I have attached a service-adapter to a spring message-destination as follows: <flex:message-destination id="secured-chat" send-security-constraint="trusted" subtopic-separator="." service-adapter="secured-chatAdapter" allow-subtopics="true" /> The init methods are called during the bean's initialization, and I...

Flex ant task problem

When I try to build a project that uses Flex and where the Flex SDK is on one drive and the project files on another I get the following error in ant: [mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler [mxmlc] Exception in thread "main" It seems to be a problem with the Flex mxmlc ant task. Anyone know the root cause of this...

Flex: adding/removing component from HBox.rawChildren causes horizontalAlign to fail?

I have an HBox displaying a series of canvases. I am removing a child of a canvas and adding it to the rawChildren of the containing HBox, so I can position it, and make it appear to shift outside the bounds of the canvas. Here is the code from the canvas: private function onMouseOver(e:MouseEvent):void { (this.parent as HBox).rawC...

JAVA: Type mismatch: cannot convert from Collection<Set<IConnection>> to Iterator<IConnection>

I have a Problem here using Java in Red5 0.9 Server here's the code package com.hwakin.i5lc.manager; import java.util.Iterator; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.red5.server.adapter.ApplicationAdapter; import org.red5.server.api.IClient; import org.red5.server.api.IConnecti...

PHP admin screens for Flex objects

I am creating Flex application that will call PHP via Zend_Amf. It's basically CRUD operations with file uploads sometimes. This will require to create admin screens for PHP side (for editing various records on server) automatically, using scuffolding. It seems that CakePHP would do well at generating admin screens. How well does Cake...

flex tree control and urlkit

I'm having problems updating the tree control with the current selected item based on the address bar. so basically when i put this on the address bar: main.html#/0.0 - category 1 should be selected main.html#/0.1 - category 2 should be selected It seems that the variable I created (idset) is always null everytime it enters the initTr...

Unable to create snapshot of Canvas

Hi, In my application a canvas object have height=90 px & width =86400 px (indicating 24 hrs 1sex/pixel). The canvas is scrollable and User can add delete components in that. Now, i want to have snapshot of whole canvas & shrink it to size 910x30 to draw taken snapshot in another canvas. Can anybody tell me how to take snapshot of suc...

How to disable selected columns in a datagrid in flex for selected rows?

Hi, Is there any way to disable a few columns for a particular row in flex datagrid? I have a datagrid with about 10 or more columns, say for example a few column names are: Item Id, Item Name, Item Status and VerifiedState. Initially I want the column Verified State to be disabled. Now When the value of the column, Item Status is Rev...

Flex: List displaying wrong until scrolled.

I have a List, that is not showing any items until you scroll, then the items show up. Does anyone know how to fix this? I tried calling list.invalidateDisplayList(); and list.invalidateList(); But with no luck. Any ideas? Thanks. EDIT: Here is some code: <mx:Script> <![CDATA[ [Bindable] private var _xmlList:XMLList = ...

Text in Flex's list

How can locate text in the mx:List like this? |"text1" "test2"| ----------------------- |"text3" "text4"| ...

Database with Flex and ASP.NET

I'm new to Flex, and I'm wondering about the best practices when it comes to getting data from a database and displaying it in a Flex (Flash) swf. Currently I have some C# code that gets the data from the DB and saves it to an XML file on my site. Then the .swf reads that xml file. Is that the best way to do it, or is there a better o...

Flex Call ItemRenderer inside a new panel()

I have the below function creating new panels inside my ViewStack.. This works fine and they are great.. However i am trying to put some content into the panels but i am failing. private function viewstack_addChild(name:String):void { //if (accordion.numChildren < MAX_CHILDREN) { var p:Panel = new Pane...

Flex: vmode=opaque

I'm using http://code.google.com/p/flex-iframe/ for showing html in an flex application. To set this up I need to set vmode=opaque. But doing this messes with keyboardinput (at least a swedish charlayout) in Firefox. For example a press on the array key resolves in two arrow chars/steps. If I remove vmode=opaque it works again. ...

Any dynamic organisation chart avaiable in flex

Does anyone know of any opensource tool for creating dynamic organization chart in flex by reading values from database ...

Resources for learning Flex using just the open source compiler, not the IDE

I'm interested in learning just enough Flash/Flex to do things that I can't do from HTML and JavaScript alone - play sound files and video, use multiple file upload things, perform cross-domain Ajax requests using the crossdomain.xml file etc. As such, I don't really want to learn (or pay for) the Flex IDE. I'm not much of an IDE guy in ...

Starting with Flex right now - should I go for Flex 3 (stable) or Flex 4 (beta)?

Hi everyone, I apologize for making my first question not the hard-hitting code-related question I was hoping for, so I apologize if this question is out of bounds of SO: I'd like to get started with Adobe Flex development. I've seen that there's been a Beta 2 of Flex 4 available since October (with Flex 4 supposedly being "even better...

Flex Setting dataProvider for an itemRenderer.

I have a httpservice that returns xml data. <mx:HTTPService id="httpService" url="data/Software.xml" resultFormat="e4x" result="httpResult_handler(event)" fault="Alert.show('XML Data Error')" /> I also have a datagrid using the returned data and also passing it to the renderer which works perfect. <mx:DataGrid id="myDG" dataProvider...

Absolute positioning in Flex?

I need to programmatically add a set of controls with some amount of pixels between them. I can't seem to find how to do this in the Flex docs. How can I do it? ...

Make a set of Flex components a unit

I'd like to make a series of components into a solid, consistently repeatable object. For example, suppose I have a "notification" template that I want to add to a notifications area every time something new happens. This template includes an icon (Image), text (label), and some space between these two things. I want to take a templat...