[flexcoders] URLLoader, FileReference and file download from server - Open or Save options

2009-03-19 Thread Vijay Ganesan
I have a Flex application where the user clicks on a download button to download a file from the server. In my previous DHTML incarnation of the same application, on click of a download button I sent a request to my servlet which writes out the file bytes to o/p stream and sets the

[flexcoders] Flex RemoteObject and Browser cookies

2008-08-29 Thread Vijay Ganesan
I have Flex-based Flash content running within a DHTML page. The swf contained in the page makes RemoteObject (mx.rpc.remoting.mxml.RemoteObject) calls to the backend servlet. In these calls, I need to be able to send the Browser cookies set by the containing DHTML app. Currently the only cookie

[flexcoders] Re: Flex RemoteObject and Browser cookies

2008-08-29 Thread Vijay Ganesan
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vijay Ganesan Sent: Friday, August 29, 2008 1:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex RemoteObject and Browser cookies I have Flex-based Flash content running within a DHTML page. The swf

[flexcoders] Re: snapshots of TabNavigator tabs

2008-08-26 Thread Vijay Ganesan
Sorry for the delayed response. Here's an example that may be useful: http://meteorite-13.blogspot.com/2008/08/flex-tabnavigator-image-snapshot-icons.html Vijay --- In flexcoders@yahoogroups.com, Danny Venier [EMAIL PROTECTED] wrote: Thanks Vijay, Tim, I definitely had two issues.

[flexcoders] Re: snapshots of TabNavigator tabs

2008-08-03 Thread Vijay Ganesan
Hi Danny, I've done this where I show thumbnails of the tab content in each tab. The problem I faced originally was similar to what you allude to - initially only the first tab's contents are drawn and the other tab contents are not yet rendered. So how do you take a snapshot of something that is

[flexcoders] Disappearing Sub-Menus in AIR Context Menu

2008-08-02 Thread Vijay Ganesan
Here's an example where the right-mouse-click ContextMenu has two items one of which has a sub-menu. The menu appears fine on right mouse click the first time but on the next right mouse click, the menu item with a sub-menu disappears! In the example File and Edit menu items appear the first time

[flexcoders] Re: Error #2032: Stream Error. URL: datavisualization_3.0.0.477.swz

2008-07-29 Thread Vijay Ganesan
by the player from somewhere else and was therefore not re-loading. Thanks Vijay --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 28 Jul 2008, Vijay Ganesan wrote: Get this error trying to use the datavisualization library as an RSL: Error #2032: Stream Error. URL

[flexcoders] Re: Mouse DOUBLE_CLICK not fired in Browser but in AIR

2008-07-29 Thread Vijay Ganesan
/mx:Application I get the following output if I double click the button: onMouseDown onMouseClick onMouseDown onMouseDblClick --- In flexcoders@yahoogroups.com, Vijay Ganesan vijay.k.ganesan@ wrote: I need to handle MOUSE_DOWN because I'm enabling drag and drop. Again the weird thing

[flexcoders] Error #2032: Stream Error. URL: datavisualization_3.0.0.477.swz

2008-07-28 Thread Vijay Ganesan
Get this error trying to use the datavisualization library as an RSL: Error #2032: Stream Error. URL: datavisualization_3.0.0.477.swz Using the framework library as an RSL (framework_3.0.0.477.swz) seems to work fine. Flex Builder seems to put the datavisualization_3.0.0.477.swz in the right

[flexcoders] Re: Mouse DOUBLE_CLICK not fired in Browser but in AIR

2008-07-28 Thread Vijay Ganesan
a double click. If you change the event listener from MouseEvent.MOUSE_DOWN to MouseEvent.CLICK then it works as expected. --- In flexcoders@yahoogroups.com, Vijay Ganesan vijay.k.ganesan@ wrote: I have the same code running in an AIR app and in a browser app - the only difference being

[flexcoders] Mouse DOUBLE_CLICK not fired in Browser but in AIR

2008-07-27 Thread Vijay Ganesan
I have the same code running in an AIR app and in a browser app - the only difference being the containing mx:WindowedApplication versus mx:Application. See code below for both. Double clicking on the button in the AIR app works fine (MouseEvent.DOUBLE_CLICK gets fired) but the same does not fire

[flexcoders] Drawing on Canvas using Graphics API with backgroundColor

2008-07-19 Thread Vijay Ganesan
I'm trying to draw a line on a Canvas using the Graphic API as follows: myCanvas.graphics.clear(); myCanvas.graphics.lineStyle(2); myCanvas.graphics.moveTo(0,0); myCanvas.graphics.lineTo(100,100); This works fine as long as the Canvas does not have a backgroundColor style property set. Once the

[flexcoders] Re: Flex Profiler... what is the method [tincan]?

2008-07-16 Thread Vijay Ganesan
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vijay Ganesan Sent: Friday, July 11, 2008 12:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Profiler... what is the method [tincan]? I see [tincan] taking 50% of time in the performance

[flexcoders] Re: Flex Profiler... what is the method [tincan]?

2008-07-11 Thread Vijay Ganesan
I see [tincan] taking 50% of time in the performance profile of my app. I'm using Flex Data Services's RemoteObject. However the performance profiling I'm doing is for some client-side interactions/animations long after results have returned from the RemoteObject call to the server. If [tincan]

[flexcoders] AdvancedDataGrid - sizing columns based on column data

2008-02-08 Thread Vijay Ganesan
I'm looking to have a data grid column size to the maximum size of data displayed in that column. Is there any easy way to do this without me having to write code to calculate the max of (size of cell data for each row in that column), and set the column width to that max size? Thanks Vijay

[flexcoders] Customizing Flash Context Menus

2008-01-17 Thread Vijay Ganesan
The ability to customize right-mouse-click context menus in Flash is very limited. You cannot hide the default menu items in certain scenarios. You cannot do your own sub/cascading menus. You cannot have icons for menu items. Please vote for this issue if you have a need this type of capability

[flexcoders] Can't set ContextMenuItem's submenu property?

2008-01-10 Thread Vijay Ganesan
The API docs for flash.ui.ContextMenuItem show a submenu property. http://livedocs.adobe.com/labs/flex3/langref/flash/ui/ContextMenuItem.html) But when I try to set it for my custom menu item instance, I get a compilation error: Access of possibly undefined property submenu through a reference

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

2008-01-07 Thread Vijay Ganesan
Enhancement Request filed: https://bugs.adobe.com/jira/browse/BLZ-17 Vijay --- In flexcoders@yahoogroups.com, James Ward [EMAIL PROTECTED] wrote: Hi Vijay, Only mapping Strings to Enums is supported. Can you file an enhancement request? http://bugs.adobe.com/flex Let the list know

[flexcoders] compc CreateProcess error : limit on number of .as files?

2007-12-28 Thread Vijay Ganesan
I run into this error using compc on a Windows XP box: Unable to run compc: Cannot run program C:\Program Files\Ado be\Flex Builder 3 Plug-in\sdks\moxie\bin\compc.exe: CreateProcess error=87, The parameter is incorrect Seems like this happens when there are a large number of .as files. I don't