[flexcoders] BlazeDS and Java 5 Enum Support - works only one way?

2007-12-19 Thread moonusamy
If I have a Java method that returns an Enum, it seems to be serialized ok as a String, but if I have a Java method that takes an Enum argument, I get the same error I used to get before with LCDS 2.5.1: faultDetail = Types cannot be instantiated without a public, no arguments constructor. Java

[flexcoders] Re: BlazeDS and Java 5 Enum Support - works only one way?

2007-12-19 Thread moonusamy
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of moonusamy Sent: Wednesday, December 19, 2007 3:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] BlazeDS and Java 5 Enum Support - works only one way? If I have a Java method that returns

[flexcoders] Re: Debug version of new Flash Player

2007-08-28 Thread moonusamy
This does not have 9.0.60 version. 7/10/2007 Updated debugger versions of Flash Player 9 (aka debug players or content debuggers) are available for Flex Builder 2 users and Flash CS3 Professional users. These new players are version 9.0.r47 and 9.0.r48 (Linux). Vijay --- In

[flexcoders] ArrayElementType metadata tag in AS

2007-04-17 Thread moonusamy
In an AS file, why is this not flagged as an error since the array's element type is declared to be Number while the code is initializing it with String? [ArrayElementType(Number)] public var stateA:Array; In some function... stateA = ['Foo']; Is the ArrayElementType metadata tag valid only

[flexcoders] Re: Flex 2 SwfLoader unload/reload issue with V8 Swf

2007-04-13 Thread moonusamy
); } } ]] /mx:Script /mx:Application --- In [EMAIL PROTECTED], Alex Harui [EMAIL PROTECTED] wrote: Can you post a test case? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of moonusamy Sent: Wednesday, April 11, 2007 1:20 PM To: [EMAIL PROTECTED] Subject

[flexcoders] Flex 2 SwfLoader unload/reload issue with V8 Swf

2007-04-11 Thread moonusamy
In a Flex 2 App, I'm using SwfLoader to load a Flash 8 Swf file. The load works fine but when I call load() again to load another file using the same SwfLoader instance, the new swf does not render. It works fine if the swf being loaded is Flash 9 version. I tried doing an unload before calling

[flexcoders] RemoteObject - getting size of payload

2007-03-21 Thread moonusamy
I'm using RemoteObject to invoke a method on a server-side Java object. The method returns a Java value object that is serialized across and manifested as an Actionscript object (actually a graph of objects). I'm interested in measuring the size of this object graph that is serialized across. I

[flexcoders] Measuring memory consumption in Flash Player

2007-03-21 Thread moonusamy
I'm using System.totalMemory calls before and after some remote server calls to measure impact on memory of loading some data from the server. I realize this can be very inaccurate and misleading since I don't know when the garbage collection kicks in. I understand there is no way to force

[flexcoders] Dynamic swf generation - slow

2007-03-21 Thread moonusamy
I'm generating mxml programatically based on metadata in a database and compiling it to swf server-side. The mxml I'm generating has a single data grid with data populated using an Array as: private var dataArray:Array = [{col1:value1, ..., colN:valueN}, {col1:value1, ..., colN:valueN},...]

[flexcoders] Re: Invoking RemoteObject method - Type Coercion error

2007-03-06 Thread moonusamy
, that begs the question, are you using MXML? Or are you working with a pure ActionScript application? Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of moonusamy Sent: Friday, March 02, 2007 11:23 AM To: flexcoders

[flexcoders] Dynamically created DataGrid - not showing data

2007-03-06 Thread moonusamy
My app is as follows: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initApp() mx:Panel id=panel1/ /mx:Application In the initApp() function I add a DataGrid child to panel1 as shown below. When I run this I can see the column headers but not the column

[flexcoders] Invoking RemoteObject method - Type Coercion error

2007-03-02 Thread moonusamy
I'm using RemoteObject to invoke a server-side Java POJO method that returns an object of type com.foo.Expr. I have Expr.java and Expr.as with Expr.as annotated with [Bindable] and [RemoteClass(alias=com.foo.Expr)] I try to reference the returned value in the result handler in my mxml as

[flexcoders] Re: Invoking RemoteObject method - Type Coercion error

2007-03-02 Thread moonusamy
the properties on the event.result to see if it does contain the same public properties as you Expr.as class. Michael Ramirez --- In flexcoders@yahoogroups.com, moonusamy vijay.k.ganesan@ wrote: I'm using RemoteObject to invoke a server-side Java POJO method that returns an object of type