[flexcoders] setting the icon of a Button using ActionSctipt at Run Time

2007-08-27 Thread sk_acura
Hi all, I would like to set the Icon of a Button to an Image and i would like to do this in ActionSctipt rather than in mxml I would be passing a data Object whose image Property is the path of the png file that i woule like to display as icon for the Button.. My Custom Button class has

[flexcoders] Changing the Custom ContextMenu Look and Feel

2007-09-07 Thread sk_acura
Hi All, I am trying to have a Custom Context Menu on the Items i have in my Canvas. I am able to get the ContextMenu and desired functionality by assigning the contextMenu when ever i add an Item to the Canvas .How ever the look and feel is same as the default one.. How can i change it

[flexcoders] Unique Id's for Instances of PopUp Windows..

2007-09-24 Thread sk_acura
Hi All, I am loading different swf files using the ModuleManager and then using the PopUpManager to display it as a Floating Window.. Now there can be multiple instances of a given Module/SWF File. There is no unique Id to differentiate these instances.(I mean there is no built in support

[flexcoders] Channel definition, mx.messaging.channels.RTMPChannel, can not be found

2007-09-26 Thread sk_acura
Hi all, I am trying to build my app using the following build script and i am getting the Error.. uild.mxml: [mxmlc] Loading configuration file /local/apps/Flex/flex3sdk_b1_061107/frameworks/flex-config.xml [mxmlc] This beta will expire on Wed Oct 31 00:00:00 EDT 2007. [mxmlc]

[flexcoders] Re: Channel definition, mx.messaging.channels.RTMPChannel, can not be found

2007-09-26 Thread sk_acura
Hi, Thanks for your reply.. I have fds.swc and fds_rb.swc in my classpath.. i have the following node in my mxmlc target compiler.library-path dir=${FLEX_HOME}/frameworks append=true include name=libs / include

[flexcoders] VerifyError: Error #1053: Illegal override of virtualWidth in mx.controls.HScrol

2007-10-02 Thread sk_acura
Hi All, I am getting the Following Error when i try to load a module in my app.. I have found a JIRA Issue already opened on this ..But i don't see any info reg how this can be resolved.. the URL is http://bugs.adobe.com/jira/browse/SDK-10858 The Environment i am using is: Open

[flexcoders] Re: How to get the Server URL from which this swf is downloaded..

2007-10-05 Thread sk_acura
Thanks a lot.. Kumar --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Application.application.url Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, October 05, 2007 11:37 AM To:

[flexcoders] Using ResourceManager to get the data from a Properties File..no value returned

2007-10-05 Thread sk_acura
Hi All, I wrote a simple ResourceBundle which is listed below.. [CODE] public class MyResourceBundle { private var resourceManager:ResourceManager = null; private static var myResourceBundle:MyResourceBundle = null; public function MyResourceBundle():void{ init(); }

[flexcoders] Re: VerifyError: Error #1053: Illegal override of virtualWidth in mx.controls.HS

2007-10-15 Thread sk_acura
) at java.lang.Thread.run(Thread.java:595) Thanks Kumar --- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi Alex, Yes they are all build using the same SDK Version which is flex3sdk_b1_061107 This is happening when i do the following: moduleInfo

[flexcoders] Re: My Flex based web App doesn't work with SSL

2007-10-16 Thread sk_acura
/channel-definition Then in our data-management-config.xml and remoting-config.xml we added these channels to default-channels as appropriate. Scott On 10/12/07, sk_acura [EMAIL PROTECTED] wrote: Hi All, I have a Web App Flex+ Live Cycle DS + spring based app running

[flexcoders] Unable to Expand a Tree programatically..

2007-10-18 Thread sk_acura
Hi All, I have a Tree Control and is backed by a ArrayCollection of Node (custom) Class. And when i set the dataProvider and call the updateNow it doesn't expand..(i have to manuallt expand the nodes..) Here is the Code i am using..(I am initilaizing this on my init()

[flexcoders] Re: Unable to Expand a Tree programatically..

2007-10-18 Thread sk_acura
to call the expand node code. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sk_acura Sent: Thursday, October 18, 2007 5:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Unable to Expand a Tree

[flexcoders] Re: rpc: Flex sites not running under the URL

2007-10-23 Thread sk_acura
Hi Steven, I am also getting the same problem. How ever the issue i have is when the Server takes more time to process i might be getting it.When i perform the same action some time it works fine.. I though it has some thing to do with the Flash Player running out of the wait time.. I

[flexcoders] Re: rpc: Flex sites not running under the URL

2007-10-24 Thread sk_acura
= getInstanceInfoForEdit source = (null) timestamp = 0 timeToLive = 0 responders = (Array)#9 [0] (mx.collections::ItemResponder)#10 result = (null) type = fault [/ERROR] Thanks Kumar --- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi Steven, I am

[flexcoders] Re: rpc: Flex sites not running under the URL

2007-10-24 Thread sk_acura
, sk_acura [EMAIL PROTECTED] wrote: Hi All, Here is the trace of the Error i am getting.. [ERROR] Error =(mx.rpc.events::FaultEvent)#0 bubbles = false cancelable = true currentTarget = (null) eventPhase = 2 fault = (mx.rpc::Fault)#1 errorID = 0 faultCode

[flexcoders] ReferenceError: Error #1065 Illegal override of virtualWidth in mx.controls.HScr

2008-02-12 Thread sk_acura
Hi All, I recently updated my Flex SDK and redeployed my existing app and now i am getting lot of Reference Errors!! The current Environment i am using is Flex SDK flex3sdk_b3_121207 and running on OpenSUSE 10.3 and using JDK1.6 and deployed in Tomcat 6.0.9 Here is the log file that

[flexcoders] Re: ReferenceError: Error #1065 Illegal override of virtualWidth in mx.controls.

2008-02-13 Thread sk_acura
Kumar --- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi All, I recently updated my Flex SDK and redeployed my existing app and now i am getting lot of Reference Errors!! The current Environment i am using is Flex SDK flex3sdk_b3_121207 and running

[flexcoders] Re: JAXB POJO to Action Script VO

2008-03-24 Thread sk_acura
Hi Jhonny, Are you using the DAOFlex ?? If not could u pls post the code here.. Thanks Mars --- In flexcoders@yahoogroups.com, Jhonny Everson [EMAIL PROTECTED] wrote: Just correcting myself. I DON'T think we can bind internal classes in actionscript. On Feb 4, 2008 5:36 PM, Jhonny

[flexcoders] Unable to view the TreeNode after adding the ArrayCollection Elements..

2008-03-24 Thread sk_acura
Hi All, I have a simple code where the Tree Elements are being added using the ArrayCollection as the dataProvider. I don't see any Errors but i don't see the Tree as well !! I am using BlazeDS and Java Code on the sever side.. Here is my Code..(init() is being called in

[flexcoders] Re: Unable to view the TreeNode after adding the ArrayCollection Elements..

2008-03-24 Thread sk_acura
--- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi All, I have a simple code where the Tree Elements are being added using the ArrayCollection as the dataProvider. I don't see any Errors but i don't see the Tree as well !! I am using BlazeDS and Java Code

[flexcoders] Re: Unable to view the TreeNode after adding the ArrayCollection Elements..

2008-03-25 Thread sk_acura
is coming over correctly. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sk_acura Sent: Monday, March 24, 2008 3:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Unable to view the TreeNode after adding

[flexcoders] Re: Image upload error

2008-03-28 Thread sk_acura
Hi All, We are also getting the same Error ( The same Upload feature worked fine when we used the Flex2, Flex3 Beta 1 and 2 versions..) [ERROR] Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. at MyUpload/browseAndUpload() at MyUpload/___Button1_click()

[flexcoders] Re: AdvancedDataGrid - Changing the background color on a row.

2008-04-02 Thread sk_acura
Hi, I just need to set the Background color of the First Row to a specific color and the rest of the rows can have the default background. And the data for the grid is set using the dataProvider ( ArrayCollection) is set at runtime. So i don't want this Item Renderer for each and every

[flexcoders] View States Vs using the visible flag with multiple UI components..

2008-04-15 Thread sk_acura
Hi All, I am trying to display multiple DataGrids in a Panel. User will have the option of switching between DataGrids. What's the advantages of having one DataGrid with multiple states (if that is possible).. I am planning to do it by defining one DataGrid ( as the Structure of these

[flexcoders] Re: View States Vs using the visible flag with multiple UI components..

2008-04-15 Thread sk_acura
build the grid and columns in ActionScript and then swap them out in AS based on the comboBox or whatever the user is selecting to change the view. Just my 2 cents though. On Tue, Apr 15, 2008 at 7:58 AM, sk_acura [EMAIL PROTECTED] wrote: Hi All, I am trying to display multiple

[flexcoders] Mapping java.util.HashMap to actionScript Object using Remoting..

2008-04-17 Thread sk_acura
Hi All, I am finding it hard to Map java.util.HashMap to an ActionScript Object using Blaze DS. In the Adobe documentation it is given that Maps will be mapped to Associative array... How ever when i try to type cast the Object it is becoming null!! Here my Server side Object [CODE]

[flexcoders] Re: Mapping java.util.HashMap to actionScript Object using Remoting..

2008-04-17 Thread sk_acura
a Column (which is column 0) and i add columns depending on a User Action.. I Checked the keys passed from the Server and the datafield set to the columns added at runtime and they match exactly.. Regards Mars --- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi All, I am

[flexcoders] Re: Mapping java.util.HashMap to actionScript Object using Remoting..

2008-04-17 Thread sk_acura
Hi, I am using labelFunction and everything works fine.. Thanks Mars

[flexcoders] Could not resolve mx:AdvancedDataGrid to a component implementation.

2008-04-18 Thread sk_acura
Hi All, I am using AdvancedDataGrid in my Flex app and the SDK version i am using is flex_sdk_3.0.0.477. When i build my project in FlexBuilder it doesn't give any errors. How ever when i deplo this App in Tomcat (with BlazeDS Jars) i am getting the Error: Could not resolve

[flexcoders] Re: Could not resolve mx:AdvancedDataGrid to a component implementation.

2008-04-18 Thread sk_acura
] On Behalf Of sk_acura Sent: Friday, April 18, 2008 9:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Could not resolve mx:AdvancedDataGrid to a component implementation. Hi All, I am using AdvancedDataGrid in my Flex app and the SDK version i am using is flex_sdk_3.0.0.477

[flexcoders] Re: Could not resolve mx:AdvancedDataGrid to a component implementation.

2008-04-18 Thread sk_acura
Hi Gaurav, I checked for the file (flex-sdk-description.xml) and i couldn't find it in my web app. I have the following Structure in my web app.. /WEB-INF/ -classes -flex lib -- Common JARS libs .swc files

[flexcoders] Specifying groupField in ADG as one of Collections nested property..

2008-04-21 Thread sk_acura
Hi All, How can set a Nested objects property as a groupField in ADG. Basically i am trying to cerate the Columns on the Fly in the ADG based on the data i am getting from the Server. I tried using the groupLabelFunction property to set the groupField (as it varies based on the

[flexcoders] Sort Column in a dynamically generated DataGrid using a Nested property

2008-04-29 Thread sk_acura
Hi All, I have a DataGrid whose columns are generated at run time. In my MXML File it has only one Column and depending on the User Preference the Columns will be added to the Grid. Every thing is working fine except the sort won't work on columns as there is no variable with the column

[flexcoders] Re: Sort Column in a dynamically generated DataGrid using a Nested property

2008-04-29 Thread sk_acura
Hi Ben, Thanks for your reply.. I added a custom sortable function and it looks like it fails when it finds any null values !! The function i wrote is: [CODE] private function comparGridItem(itema:Node,itemb:Node):int{ var filteredField:String = selectedColumn;

[flexcoders] BlazeDS: java.lang.NoSuchFieldError: ENDPOINT_REQ_CHILDREN

2008-04-30 Thread sk_acura
HI All, When i try to upgrade from Flex2 to Flex3 in my Blaze App i am getting the following Error: SEVERE: Allocate exception for servlet MessageBrokerServlet java.lang.NoSuchFieldError: ENDPOINT_REQ_CHILDREN at

[flexcoders] NullPointer at BaseCompileFilter.getDependenciesFromCompilationUnits

2008-05-02 Thread sk_acura
Hi All, I am trying to deply a sample app using BlazeDS and Flex3SDK (477 build) and i am getting the following Error: [ERROR] 05/02 09:39:29 ERROR java.lang.NullPointerException at flex.webtier.server.j2ee.BaseCompileFilter.getDependenciesFromCompilationUnits(BaseCompileFilter.java:215) at

[flexcoders] ViewStack and Parent Container Communication using Events

2008-05-14 Thread sk_acura
Hi All, I have a Resizable Panel which contains a ViewStack which again contains few Canvas based Components . Now all these Views in the Stack should share the data with in the Resizable Panel. ( The Resizable Panel is created as a Module and User can load any no.of modules) Each View

[flexcoders] FlexModule_j2ee Issues with Flex3SDK

2008-05-16 Thread sk_acura
HI All, I am unable to use the FlexModule_j2ee with Flex3 SDK and BlazeDS. It seems like this is a Flex SDK Issue. The Error i am getting is : 05/16 11:35:23 ERROR java.lang.NullPointerException at

[flexcoders] Re: FlexModule_j2ee Issues with Flex3SDK

2008-05-16 Thread sk_acura
Hi All, The production-mode is set to false . ( As i found in one of the earlier posts that setting the production mode to true breaks the app with Flex2SDK.) Mars --- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: HI All, I am unable to use the FlexModule_j2ee

[flexcoders] RemoteObject connections over HTTPS fails..

2008-05-21 Thread sk_acura
HI All, We have a BalzeDS based web app deployed on tomcat working fine when we use HTTP. How ever when we try to expose our web app over extranet the swf files that tries to connect to the Remote Object gets timed out.. Here are the channels that are configured in the services-config.xml

[flexcoders] Re: RemoteObject connections over HTTPS fails..

2008-05-21 Thread sk_acura
Of sk_acura Sent: Wednesday, May 21, 2008 10:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] RemoteObject connections over HTTPS fails.. HI All, We have a BalzeDS based web app deployed on tomcat working fine when we use HTTP. How ever when we try to expose our web app over extranet

[flexcoders] Re: RemoteObject connections over HTTPS fails..

2008-05-22 Thread sk_acura
:[EMAIL PROTECTED] On Behalf Of sk_acura Sent: Wednesday, May 21, 2008 3:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: RemoteObject connections over HTTPS fails.. Hi, First of all thanks so much for your response.. I tried chaning my secure channel defintion as you suggested

[flexcoders] Moving Nodes across Trees (with in the tree is works fine)

2008-06-02 Thread sk_acura
Hi All, I am trying to have the drag and drop feature acoross two trees in my app. (the two trees are called source Tree and traget Tree). Here i am posting the code below ( i got this from one of the post in this forum and added a second tree..) I can move the items with in the

[flexcoders] Re: Moving Nodes across Trees (with in the tree is works fine)

2008-06-02 Thread sk_acura
in onDragDrop From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sk_acura Sent: Monday, June 02, 2008 12:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Moving Nodes across Trees (with in the tree is works fine

[flexcoders] Re: Moving Nodes across Trees (with in the tree is works fine)

2008-06-11 Thread sk_acura
Hi All, How can i find the new Parent of a moved Node ?? I have tried all the options with no luck.. i have the following method ( Pls refer my earlier post for the def of CollectionBrowserNode) [CODE] private function onDragDrop(event:DragEvent):void{ var draggedItems:Array =

[flexcoders] Re: Moving Nodes across Trees (with in the tree is works fine)

2008-06-11 Thread sk_acura
Hi All, After spending some time on the API Docs i am able to find a way to get hold of the new parent of the Dropped Item at runtime.. [CODE] var r:int = tree.calculateDropIndex(event); tree.selectedIndex = r; [/CODE] How ever when i add this code to the onDragDrop() method.. I am unable

[flexcoders] Changing the Drag Cursor Icon when Dropping with in the same Tree

2008-06-16 Thread sk_acura
Hi All, I am trying the ReArrange Tree functionality.. I am trying to change the Drag Cursor when a Node is dropped on some other node in the Tree ( It is determined whether the Drop Traget is a Valid One or not ). I want to change the Cursor Style /Image as soon as the Drag Cursor is

[flexcoders] Unable to Find the parent of a newly added Sub Node in a Tree..

2008-06-18 Thread sk_acura
Hi All, I have a Simple Tree whose Data Provider is an ArrayCollection of Custom ActionScript Node Object (the code is listed below..) When i add a new Child Node to any of the Nodes in the Tree i can get the parent of this Node without any problems.. How ever when i try to add a new

[flexcoders] Re: How to create dynamically Icon for a Tree

2008-07-18 Thread sk_acura
Hi, Is there a way we can use the iconFunction on tree and specify the Icon at runtime.. Here is the Code i am trying to use.. [CODE] private function getNodeIcon(nodeObject:Object):Class{ var nodeIcon:Class = null; var

[flexcoders] Re: How to create dynamically Icon for a Tree

2008-07-18 Thread sk_acura
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sk_acura Sent: Friday, July 18, 2008 6:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to create dynamically Icon for a Tree Hi, Is there a way we can use the iconFunction on tree and specify

[flexcoders] Re: Cairngorm Event Question

2008-08-05 Thread sk_acura
Hi, I have created a Sub Class of Cairngorm Event and added a variable for Storing the IReponder.. Now When the execute() is invoked on the Command we get the Delegate and set the Responder of Delegate to the instance of Command . So when the delegate completes the method it automatically

[flexcoders] Re: Cairngorm Event Question

2008-08-05 Thread sk_acura
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: If you're using Cairngorm, why not use the UM extension to do it? -Josh On Wed, Aug 6, 2008 at 6:12 AM, sk_acura [EMAIL PROTECTED] wrote: Hi, I have created a Sub Class of Cairngorm Event and added a variable

[flexcoders] Error: Service was not found in the Cairngorm Services registry.

2008-08-06 Thread sk_acura
Hi All, I am using Cairngorm and UM Extensions and when i try get a RemoteObject using the ServiceLocator i am getting the following Error.. [ERROR] Here in LoginDelegate() and responder =[object Callbacks] Error: Service USER_INFORMATION_SERVICE was not found in the Cairngorm Services

[flexcoders] Re: Error: Service was not found in the Cairngorm Services registry.

2008-08-06 Thread sk_acura
Hi All, I did lot of testing and Still cannot figure out why the ServiceLocator is unable to get the RemoteObjects.. When i try to create a new Object using new RemoteObject(SERVICE_NAME) it works. How ever the same code returns null from my Delegate ! My Services.mxml looks like

[flexcoders] Re: Error: Service was not found in the Cairngorm Services registry.

2008-08-07 Thread sk_acura
2008, sk_acura wrote: I did lot of testing and Still cannot figure out why the ServiceLocator is unable to get the RemoteObjects.. ... And my remoting-config.xml is as listed below: Cairngorm Services registry doesn't mean that does it, but the ServiceLocator, maybe ? -- Tom

[flexcoders] Cannot send a null Map key for type 'java.util.HashMap' while using BlazeDS

2010-02-23 Thread sk_acura
Hi All, I am haing an issue with sending data from Server to the client using the AMF Channel. Most of the method invocations on the RemoteObject are throwing the following Exception. [CODE] (mx.rpc.events::FaultEvent)#0 bubbles = false cancelable = true currentTarget =

[flexcoders] ADG with Dynamic ActionScript values

2010-04-29 Thread sk_acura
Hi All, I am trying to display an ADG using the Data retrieved from Server and trying to get the Data when a node is expanded. Here is the sample code i have and it doesn't work . The same version (from live docs) if we use XML representation of the data it works fine.. [CODE] ?xml

[flexcoders] Re: ADG with Dynamic ActionScript values

2010-04-29 Thread sk_acura
Hi All, Sorry forgot to add the Node Value Object.Here is the code for Node.as [CODE] package{ public class Node{ public function Node(){} public var region:String; public var territory:String; public var territoryRep:String; public var actual:String;

[flexcoders] Re: ADG with Dynamic ActionScript values

2010-04-29 Thread sk_acura
Nevermind i got it working.. I used creationComplete instead of initialize Thanks Mars --- In flexcoders@yahoogroups.com, sk_acura sk_ac...@... wrote: Hi All, Sorry forgot to add the Node Value Object.Here is the code for Node.as [CODE] package{ public class Node

[flexcoders] Slider as Item Renderer/Editor in an ADG

2010-05-02 Thread sk_acura
Hi All, I am trying to use a Slider as an Item Renderer Editor in an ADG. Here is the sample code i have and it doesn't display the values that are passed to tge grid and also the value changes i made using the slider are not getting stored in the selected Item.. [CODE]

[flexcoders] Forcing the TreeIterRenderer to Render a Node

2010-05-11 Thread sk_acura
Hi All, I have a Custom TreeItemRenderer where i have couple of Images and a label. When i updated the data structure which is used for rendering the Node it doesn't refresh the Images properly. I tried calling invalidate() and updateDataList() after refreshing the dataProvider with no

[flexcoders] Re: How to know when a popup component is visible?

2010-05-19 Thread sk_acura
Could some one please post the create.php file. I downloaded the latest version and it's not in the zip file. thanks mars