[flexcoders] Flex2 documentation - FlexEvent.DATA_OBJECT_CHANGED

2006-03-16 Thread thunderstumpgesatwork
Hello Flex Team! I've noticed the IDropInListItemRenderer documentation (and classes that implement it) is not up to date (or just not correct) as the they reference a FlexEvent.DATA_OBJECT_CHANGED. FlexEvent doesn't appear to exist at all. Is this just the Event class? if so, is the

[flexcoders] Re: Flex2 documentation - FlexEvent.DATA_OBJECT_CHANGED

2006-03-16 Thread thunderstumpgesatwork
the Beta 1 doc with Beta 2 bits? Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Thursday, March 16, 2006 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2 documentation

[flexcoders] Re: Flex2.0 Beta BUG: cellRender/cellEditor

2006-03-16 Thread thunderstumpgesatwork
I have implemented this interface in Beta1 and it works just fine for me... did you specify implements IDropInListItemRenderer in your class declaration? For example, mine looks like this: public class PivotTableCellRenderer extends mx.containers.HBox implements IDropInListItemRenderer The rest

[flexcoders] 2.0B1 - Use of CSS style sheet with DataGridColumn styleName

2006-03-16 Thread thunderstumpgesatwork
Guys, I'm quite confused and frustrated with these external style sheets. The style name in the documentation sometimes matches the style name you should use in the CSS file, but not usually... For example, I'm trying to set the background color for a datagridcolumn via CSS. I have successfully

[flexcoders] Re: 2.0B1 - Use of CSS style sheet with DataGridColumn styleName

2006-03-16 Thread thunderstumpgesatwork
() method, as the following example shows: myComponent.clearStyle('color'); myComponent.clearStyle('fontFamily') myComponent.clearStyle('themeColor') --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Guys, I'm quite confused and frustrated with these external

[flexcoders] Re: Flex2.0 Beta BUG: cellRender/cellEditor

2006-03-16 Thread thunderstumpgesatwork
? --- In flexcoders@yahoogroups.com, thunderstumpgesatwork thunder.stumpges@ wrote: I have implemented this interface in Beta1 and it works just fine for me... did you specify implements IDropInListItemRenderer in your class declaration? For example, mine looks like this: public

[flexcoders] Re: Flex2.0 Beta BUG: cellRender/cellEditor

2006-03-16 Thread thunderstumpgesatwork
Excellent! I wasn't aware that you could do that from MXML.. good to know. Thunder --- In flexcoders@yahoogroups.com, Tobias Patton [EMAIL PROTECTED] wrote: You need to put: implements=mx.controls.listclasses.IDropInListItemRenderer in the declaration of your MXML component. Tobias.

[flexcoders] Re: 2.0B1 - Use of CSS style sheet with DataGridColumn styleName

2006-03-16 Thread thunderstumpgesatwork
So when defining CSS styles or using StyleManager and getStyle/setStyle I should be able to use either one? They're really interchangeable? Can you explain why using setStyle(backgroundColor,0x5A5A5A); works fine, but in CSS, neither form backgroundColor or background-color work at all? The code

[flexcoders] Re: 2.0B1 - Use of CSS style sheet with DataGridColumn styleName

2006-03-16 Thread thunderstumpgesatwork
either. The renderer is subclassed from HBox as well. (setting the backgroundColor of the HBox has no effect). Hope this is clear enough (and helpful). Thunder --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/16/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote

[flexcoders] Bugs with stacked charts

2006-03-20 Thread thunderstumpgesatwork
Hi guys, I'd like to report (and re-report) a couple bugs that I've found with stacked column charts. The sample application below can be used to reproduce all of the defects (by simply commenting/un-commenting a couple lines as described) 1) Error #1010: undefined has no properties. at

[flexcoders] Re: Bugs with stacked charts * 2.0B1 *

2006-03-20 Thread thunderstumpgesatwork
Damn, I always forget to mention it's with Flex 2 Beta1 cheers, Thunder -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on

[flexcoders] Re: Bugs with stacked charts

2006-03-20 Thread thunderstumpgesatwork
Hi Thunder. I believe item #3 has been addressed in the next public release. Dude, you don't know how happy that makes me (and my boss!) This required such an ugly work-around. Great to see you guys addressing the issues from our feedback! thanks, Thunder -- Flexcoders Mailing List

[flexcoders] More Stacked Chart bugs (2.0B1)

2006-03-20 Thread thunderstumpgesatwork
Hey there, I've got some more. I have a feeling some of these may already be known issues or just not yet implemented (since I'm venturing into undocumented territory, but I thought I'd mention and demonstrate them since I ran across them. These are to do with the ColumnSet class being used to

[flexcoders] Error #2007 with labelFunction for NumericAxis in Flex2 Beta1

2006-03-21 Thread thunderstumpgesatwork
Hey guys, I'm in the middle of preparing for a demo, so I haven't updated everything to Beta2 yet. My problem is I've added a labelFunction to a NumericAxis on a CartesianChart, and am getting this error (after the labelFunction is successfully called for each label) BTW, the labelFunction does

[flexcoders] Dummy e4x XML question - assign string to XML with simple content?

2006-03-22 Thread thunderstumpgesatwork
Guys, I feel like an idiot right now, I have an XML object that has simple content (eg. oNode:XML = value1.54/value; ) What is the preferred way to assign a new value to the text in the XML node? I tried first just assigning the string, but I get a compile error cannot convert from String to XML

[flexcoders] Flex2 - Error adding columns to a DataGrid in a ViewStack

2006-03-22 Thread thunderstumpgesatwork
Hey guys, I'm getting an error when I try to add a column to a DataGrid that's in a view stack when that view isn't showing. Before you say set the creation policy to 'all', you should know I already did that. The DataGrid has been created (it isn't null), but when I add a column, I get the error

[flexcoders] SOLVED: Dummy e4x XML question - assign string to XML with simple content?

2006-03-22 Thread thunderstumpgesatwork
__ var oNode:XML = value1.54/value; // re-assign the value of the node oNode.setChildren(3.66); __ --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Guys, I feel like an idiot right now, I have an XML object

[flexcoders] Re: SOLVED: Dummy e4x XML question - assign string to XML with simple content?

2006-03-23 Thread thunderstumpgesatwork
Jason, Why not oNode.value = 1.54; and for attributes [EMAIL PROTECTED] That statement set's an element node, or attribute of the node, and produces the following XML. You can try it if you want =) cheers, Thunder __ var oNode:XML = value1.54/value; //

[flexcoders] Flex2 - Bug with chart Legend and ScrollPolicy

2006-03-24 Thread thunderstumpgesatwork
Hi, I am trying to get the chart legend to scroll if there are more items than room to display. I have set the 'hScrollPolicy' to auto both in mxml, and after adding the chart series, in ActionScript. In the debugger the value is always 'off' even immediately after setting it. To work around

[flexcoders] Flex2 - More Scroll Bar problems (DataGrid)

2006-03-24 Thread thunderstumpgesatwork
Hi guys, For some reason I'm having lots of problems getting scroll bars to appear in the right places! =) I have a DataGrid that is drawing scroll bars on individual cells that are too narrow. The DataGrid hScrollPolicy is auto and there is a horizontal scrollbar on the datagrid already (which

[flexcoders] Re: Flex2 - More Scroll Bar problems (DataGrid)

2006-03-27 Thread thunderstumpgesatwork
I guess I'll repost once I've upgraded to Beta2... just haven't because of time critical demos... maybe I should just bite the bullet and stay up late tonight... Thanks. Thunder --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/25/06, thunderstumpgesatwork [EMAIL

[flexcoders] Re: Flex2 - Bug with chart Legend and ScrollPolicy

2006-03-27 Thread thunderstumpgesatwork
direction you're talking about) or set an explicit width/height, it should definitely constrain the hbox, forcing scrollbars. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Friday, March 24, 2006 12

[flexcoders] SOLVED: Flex2 - More Scroll Bar problems (DataGrid)

2006-03-27 Thread thunderstumpgesatwork
based on the dataObject and listData. Currently I'm setting these visual properties in the override of function set dataObject. Is this appropriate? It seems to work. Maybe it should go in commitProperies too? thanks, Thunder --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED

[flexcoders] Re: Flex 2: WebServervice call sometimes swaps parameters

2006-03-27 Thread thunderstumpgesatwork
We also had this problem. Our initial work-around was to use a single complex object to hold all parameters for an operation. Then once Beta1 came out, we've gone to using RemoteObjects and this has worked for us. best of luck, Thunder --- In flexcoders@yahoogroups.com, Tobias Patton [EMAIL

[flexcoders] Flex 15 - Debugging Java Remote Objects?

2006-04-23 Thread thunderstumpgesatwork
Guys, I found this article for Flex 2 about debugging your server-side Remote Objects. Is there something similar for Flex 15? Would these steps apply to Flex 15? http://labs.macromedia.com/wiki/index.php/Flex_Enterprise_Services:Debugging I'm having problems with some JDBC calls, and I

[flexcoders] Re: Flex 15 - Debugging Java Remote Objects?

2006-04-23 Thread thunderstumpgesatwork
, it shouldn't be too bad to get it going. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Sunday, April 23, 2006 10:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 15 - Debugging Java Remote Objects

[flexcoders] Flex1.5 - Info about XML object and working with XML in Actionscript?

2006-04-23 Thread thunderstumpgesatwork
Hi all, I've come to realize how much more complete the Flex 2 documentation seems than the Flex 1.5 documentation... I'm looking for Flex1.5 documentation on XML objects and working with XML. That or I need some help converting an XML object that is returned from a RemoteObject call into an

[flexcoders] Re: Flex1.5 - Info about XML object and working with XML in Actionscript?

2006-04-26 Thread thunderstumpgesatwork
:-) Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Sunday, April 23, 2006 3:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex1.5 - Info about XML object and working with XML in Actionscript

[flexcoders] Re: Flex1.5 - Info about XML object and working with XML in Actionscript?

2006-04-26 Thread thunderstumpgesatwork
Matt, I found the XMLObjectOutput file by searching the Archives. I'm giving that a shot. thanks, Thunder --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Matt, I have tried the undocumented trick you suggested, with no luck. no errors, but the object

[flexcoders] Beta 2 LiveDocs TOCSearch frames not working?

2006-05-02 Thread thunderstumpgesatwork
Hello, Is anyone else having problems getting the frame for the TOC and Search? http://www.macromedia.com/go/flex2_devapps I get Page does not exist when clicking the TOC link in top left. Thunder -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Beta 2 - Error: Unknown destination 'queryManagerRO'

2006-05-02 Thread thunderstumpgesatwork
about Messaging, and Data Services? thanks, Thunder --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Guys, I have a RemoteObject called 'queryManagerRO' that was working in Beta 1... I am using Flex2 as a plugin to eclipse and selected Flex Data

[flexcoders] Flex2 - error with Tree setIsOpen

2006-05-09 Thread thunderstumpgesatwork
Hey guys, I'm seeing a null pointer exception in Tree.as when opening tree nodes if the tree hasn't been displayed yet. It's on another accordion, but creationPolicy is 'all', and I set the accordion's selectedIndex, and even added a 'callLater()' to try to let it display. I still get the

[flexcoders] Re: Flex2 - null exception with HistoryManager$ and Accordion

2006-05-09 Thread thunderstumpgesatwork
/mx.managers:FocusManager::mouseDownHandler()[C:\dev\beta2\sdk\frameworks\mx\managers\FocusManager.as:1164] --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hey guys, I've been getting this error sporatically. It doesn't happen on a regular basis, and I can't reproduce

[flexcoders] Beta3 - RemoteObject destination error with stateful parameter

2006-05-15 Thread thunderstumpgesatwork
Guys, as of Beta3 I am getting an error in my remote object configuration. It is complaining about the stateful parameter. Below are the configurations and the error I'm receiving. For now I've removed this statement. Was this changed or removed for Beta3? I didn't see it in the upgrade docs,

[flexcoders] Beta3 - Error with @Embed - worked in Beta2

2006-05-15 Thread thunderstumpgesatwork
Hi guys, were there changes to @Embed statement for Beta3? All of my @Embed statements are now failing. These used to work in Beta2, and I didn't see any documentation refereces mentioning changes to the syntax... The images exist in the same place and format as they did previously. This

[flexcoders] Re: Beta3 - Error with @Embed - worked in Beta2

2006-05-15 Thread thunderstumpgesatwork
_ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Monday, May 15, 2006 2:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Beta3 - Error with @Embed - worked in Beta2 Hi guys, were there changes to @Embed statement

[flexcoders] Beta3 - Chart Selection functionality removed?

2006-05-15 Thread thunderstumpgesatwork
Hi all, I think way back in the alpha, it was mentioned that item selection functionality might be going away on the chart components... did this finally happen for Beta3? I'm getting errors around all my selection code (.selectionMode, selectedItems[], etc) If this was removed, can you

[flexcoders] Wanted: Full-Time Flex/Java Developer

2006-07-13 Thread thunderstumpgesatwork
Hello all. I'm posting this because we have a job opening for a Flex/Java developer. The position is full time, and relocation is not necessary. (work from home; some travel required) Starting ASAP Work for a fast paced, up and coming Business Intelligence and Collaboration company. Position

[flexcoders] Re: Wanted: Full-Time Flex/Java Developer

2006-07-14 Thread thunderstumpgesatwork
Looks like the email address got cut off... thunder.stumpges'at'gmail.com thanks, Thunder Yahoo! Groups Sponsor ~-- Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM

[flexcoders] Debugging Java remote Objects in Eclipse

2006-07-17 Thread thunderstumpgesatwork
Hi guys, The following URL used to point to a WIKI page that described the steps for setting up Eclipse to launch the integrated JRun flex server in debug mode so that it is able to debug server-side java code. http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debugging Where is

[flexcoders] Flex 2 plugin with Eclipse 3.2 errors

2006-07-20 Thread thunderstumpgesatwork
Hi all. Before you all tell me It's not supported, I know. However I'm using HibernateTools which requires it, so I've been giving it a try. I read on the official Flex forum that some people are using Eclipse 3.2 successfully. However I get the following 'internal errors' when the stack trace is

[flexcoders] Architectural questions RE: Cairngorm 2

2006-07-21 Thread thunderstumpgesatwork
Hi all. I've only just started using Cairngorm in my application, and already it's helping to clean up a lot of code. Many cudos to all the contributors! I've been reading and soaking up every bit of documentation and Flexcoders posts I can. A couple of arshitectural questions have come up as to

[flexcoders] Using Data Management Services and HibernateAssembler

2006-07-21 Thread thunderstumpgesatwork
Hi all, We're architecting a configuration tree for a Flex App that right now doesn't have any server-side link. The config is for Flex, and we're considering using the HibernateAssembler to bypass the need for managing Hibernate in Java. I'm curious how many people are using it or planning on

[flexcoders] what happened to ViewStack - changeEffect?

2006-07-24 Thread thunderstumpgesatwork
I was using the ViewStack changeEffect=fade to fade between views... how is this accomplished now? I see hideEffect and showEffect inherited from UIComponent... but is that going to apply to the views in the stack, or only when the container itself is shown or hidden? thanks, Thunder

[flexcoders] SOLVED Re: Debugging Java remote Objects in Eclipse

2006-07-24 Thread thunderstumpgesatwork
: - ALL Jar files from C:\fds2\jrun4\lib - ALL Jar files from C:\fds2\jrun4\servers\lib - ALL Jar files from C:\fds2\jrun4\servers\default\flex\WEB-INF\lib * Click 'Apply' and 'Debug' --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi guys

[flexcoders] Re: Remote Services using Flex2 Data Services final released

2006-07-25 Thread thunderstumpgesatwork
Hey, I'm getting the same exact error. Have you had any luck fixing this? It's an HTTP-404 error... seems like it just can't find the channel location, but I'm pretty sure it's set up correctly (the default)... Have you come across a fix? I'll definitely post something up if I figure it out

[flexcoders] FIXED Re: Remote Services using Flex2 Data Services final released

2006-07-25 Thread thunderstumpgesatwork
--- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hey, I'm getting the same exact error. Have you had any luck fixing this? It's an HTTP-404 error... seems like it just can't find the channel location, but I'm pretty sure it's set up correctly (the default)... Have

[flexcoders] Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
Hi all, I have been using an HTTPService to get an XML configuration file from the server and using it to configure my app. The result format was ActionScript Objects, not e4x. When accessing a node that could be an array (one or more) I was using ArrayUtil.toArray(results.SomeNode.ArrayNode) to

[flexcoders] Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
Hi all, I have been using an HTTPService to get an XML configuration file from the server and using it to configure my app. The result format was ActionScript Objects, not e4x. When accessing a node that could be an array (one or more) I was using ArrayUtil.toArray(results.SomeNode.ArrayNode) to

[flexcoders] Re: Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
and replace it with my util function. What do you all think? Thunder --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi all, I have been using an HTTPService to get an XML configuration file from the server and using it to configure my app. The result format

[flexcoders] Re: Flex 2 Release - HTTPService decoding and ArrayCollection

2006-07-25 Thread thunderstumpgesatwork
and replace it with my util function. What do you all think? Thunder --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi all, I have been using an HTTPService to get an XML configuration file from the server and using it to configure my app. The result format

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread thunderstumpgesatwork
Hi, The delegate function thinks you just have a CairngormEvent. I think you just need to check to make sure the event you received is your custom event type and then cast it. so: if (eventHere is LoadScorecardEvent) { del.getScorecard( LoadScorecardEvent(eventHere).scorecardId ); } else {

[flexcoders] Re: Backend/Frontend Application Development (Cairngorm)

2006-07-27 Thread thunderstumpgesatwork
Hey guys, I'm just starting with Cairngorm also, and I've never seen this done specifically, but I don't see any reason you can't have multiple ModelLocators... they're just singleton classes really. So, you could for instance have a shared ModelLocator with state that is shared between apps.

[flexcoders] Architectural questions RE: Cairngorm 2

2006-07-27 Thread thunderstumpgesatwork
--- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi all. I've only just started using Cairngorm in my application, and already it's helping to clean up a lot of code. Many cudos to all the contributors! I've been reading and soaking up every bit of documentation

[flexcoders] SOLVED Re: Debugging Java remote Objects in Eclipse

2006-07-27 Thread thunderstumpgesatwork
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Monday, July 24, 2006 1:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SOLVED Re: Debugging Java remote Objects in Eclipse Got it working! After a lot of trial and error

[flexcoders] Re: Flex Debug Error

2006-07-28 Thread thunderstumpgesatwork
You using Eclipse 3.2 with Flex plugin? If so, see this thread: http://groups.yahoo.com/group/flexcoders/message/42280 good luck. Thunder --- In flexcoders@yahoogroups.com, eduardodias [EMAIL PROTECTED] wrote: Hi All, I am having problems when trying use the Flex Builder Debug. The Flex

[flexcoders] Re: Backend/Frontend Application Development (Cairngorm)

2006-07-28 Thread thunderstumpgesatwork
Seems like in most cases, a shared command would 'speak' to the shared model. Thunder --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: right...but hot to get a shared command to speak to a individual model? DK On 7/27/06, thunderstumpgesatwork [EMAIL PROTECTED

[flexcoders] DataService addItem vs. adding to a fill()'d collection

2006-08-01 Thread thunderstumpgesatwork
Hi all, I'm wondering what is the difference between adding an item to a managed collection (one gotten from a fill() call) and actually using the DataService.addItem() function. In the CRM sample, it seems they do it both ways. The code to add a company uses DataService.addItem(), and the code

[flexcoders] Flex 2 DS shared Managed Objects question

2006-08-04 Thread thunderstumpgesatwork
I'm using Data Services with Managed Objects and the Hibernate Assembler. I have a question regarding updating a shared managed object through one managed object, and having that update be reflected in another managed object. Should this work? I the most simple case, lets say I have a managed

[flexcoders] Re: Handling VERY large numbers in Flex

2006-08-08 Thread thunderstumpgesatwork
Hi all, I'm running into these issues also. I'm considering porting the java BigInteger class to Flex (or at least part of it). Does anyone know if this has been done already? I have a question, is it possible to implement functions for the operators? For instance == or + or - ? This is

[flexcoders] Flex 2 - Using removeChild/addChild to move children with removeEffect/addEffect

2006-08-09 Thread thunderstumpgesatwork
Hi guys, I'm trying to add an effect when changing the positioning (order) of some GridItems in a GridRow. In my move function, I remove the child, and add it back at a different index. This works fine with no effect, however if I have a removeEffect and addEffect, I get an error. If I comment

[flexcoders] Re: Binding properties routine

2006-08-10 Thread thunderstumpgesatwork
Yeah, If you have a UIComponent (or subclass of), you can bind properties in the initialize() function. You can also overload the setters, and create/manage the bindings in the setters. Just remember when the setter changes to a new value, you need to remove the old binding to the previous value

[flexcoders] Re: Binding properties routine

2006-08-10 Thread thunderstumpgesatwork
, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Yeah, If you have a UIComponent (or subclass of), you can bind properties in the initialize() function. You can also overload the setters, and create/manage the bindings in the setters. Just remember when the setter changes to a new value, you need

[flexcoders] Determine if a Class implements an Interface

2006-08-15 Thread thunderstumpgesatwork
Hi all, I often use if (obj is MyClassOrInterface) { // do whatever } but it appears that only works with Instances not Classes. With just a Class, how can I tell if that class implements a particular interface or is of a particular base type? Do I have to create an instance of it and

[flexcoders] Re: Determine if a Class implements an Interface

2006-08-16 Thread thunderstumpgesatwork
think. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Tuesday, August 15, 2006 5:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Determine if a Class implements an Interface Hi

[flexcoders] Bug in Slider::UpdateDisplayList

2006-08-17 Thread thunderstumpgesatwork
Hi all, I'm running into Flex 2 Release error with Slider (HSlider to be exact). The null reference exception happens when there are no thumbs. See the source and exception traces below. On line 1480 it checks the number of thumbs and correctly handles a null 'thumbs' array. However, if thumbs

[flexcoders] Re: Bug in Slider::UpdateDisplayList

2006-08-17 Thread thunderstumpgesatwork
algorithm for creating new children during runtime if properties change that are relvant to the HSlider being added dynamically at runtime. Peace, Mike On 8/17/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi all, I'm running into Flex 2 Release error

[flexcoders] Re: Bug? Tree Drag-N-Drop to Datagrid

2006-08-18 Thread thunderstumpgesatwork
I haven't actually done this, but I was thinking... have you tried calling preventDefault() as it sayz in the documentation for dropEnabled property on ListaBase: If you set this property to true, the control accepts all data formats, and assumes that the dragged data matches the format of the

[flexcoders] Re: Tree drag drop: how to get node where item is dropped

2006-08-18 Thread thunderstumpgesatwork
Bump... I'm trying to do similar. Though I need to do it in the DragOver event, and determine under which node it is going to be dropped. I need to do this because certain places in the tree are acceptable places to drop certain items... I know I can get the dropIndex by using the tree function

[flexcoders] Re: Tree drag drop: how to get node where item is dropped

2006-08-21 Thread thunderstumpgesatwork
of Adobe being overly private, I'm afraid). I've had to duplicate (and tweak) the updateDropData() method to make use of the algorithm. The methods getChildIndexInParent() and getChildren() had to be duplicated as well. On 8/18/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Bump... I'm

[flexcoders] Re: Is it possible to add ControlBar container runtime?

2006-08-21 Thread thunderstumpgesatwork
You're going to need to set some properties on the ControlBar I think... Are you actually putting anything in the control bar? Set the size appropriately (either percentage or explicit) Possibly set some styles... either by CSS using .styleName or by .setStyle() Also might try calling

[flexcoders] FDS Data Management quesion

2006-08-22 Thread thunderstumpgesatwork
I have a question (or two) about saving/persisting/updating changes that have been made. I'm trying to maintain some granular level of control of which managed objects are saved and which are rolled back. First scenario: Assume we used dataservice.fill() to load a collection. Is it possible to

[flexcoders] Re: FDS Data Management quesion

2006-08-22 Thread thunderstumpgesatwork
to apply those changes. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Tuesday, August 22, 2006 9:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FDS Data Management quesion

[flexcoders] Re: Custom containers in Flex 2

2006-08-23 Thread thunderstumpgesatwork
The documentation has most of this covered... See this topic on creating Advanced Visual components, and all the sub-topics. Read several times. Example is in there too. http://livedocs.macromedia.com/flex/2/docs/1721.html This page specifically has an example on overriding the layout

[flexcoders] Re: FDS + Hibernate exception committing updates

2006-08-23 Thread thunderstumpgesatwork
Hi Jeff, I am not using the version or timestamp features of hibernate, however I am using the cascade=all feature to manage sets of child objects off of the main managed object. In fact, it is this collection of child objects that has changed (removed one, added one, etc.) Should the transitive

[flexcoders] FDS - class cast exception - lazy loading relationship

2006-12-03 Thread thunderstumpgesatwork
Guys, I'm having more troubles with FDS... seems like there's some internal exception lurking around every corner... Here's a simple managed relationship between an applicationConfig and a Set of dashboards. The relationship is lazy, and when a dashboard is accessed I get the expected

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-05 Thread thunderstumpgesatwork
if this has been captured, and if it is a known defect. thanks, Thunder --- In flexcoders@yahoogroups.com, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Guys, I'm having more troubles with FDS... seems like there's some internal exception lurking around every corner... Here's a simple managed

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-11 Thread thunderstumpgesatwork
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Tuesday, December 05, 2006 8:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FDS - class cast exception - lazy loading relationship I have tried to submit

[flexcoders] Drag and Drop onto chart... locate axes?

2006-12-11 Thread thunderstumpgesatwork
I'm trying to handle drag and drop events on a chart. Specifically I'm trying to handle dropping onto a chart axis. In dragOver, I need to know when the mouse is over one of the chart axes. I've looked at trying to get the size of them from the axis Renderers, but it appears the renderers are the

[flexcoders] Re: Drag and Drop onto chart... locate axes?

2006-12-11 Thread thunderstumpgesatwork
is the area the axes occupy. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Monday, December 11, 2006 12:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Drag and Drop onto chart

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-13 Thread thunderstumpgesatwork
Thanks for the info Jeff... I'lll be looking forward to some of these bug fixes... Meanwhile, I enabled 'autoSync' and 'autoCommit' and now I'm getting a new Error... no code so I can't tell what's going on. I was able to investigate the variables a little enough to know that the managedProperty

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-15 Thread thunderstumpgesatwork
] wrote: I'm going to keep looking into this, but do you have any bi-directional relationships where both directions are lazy=false? Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent

[flexcoders] Re: FDS - class cast exception - lazy loading relationship

2006-12-15 Thread thunderstumpgesatwork
looking into this, but do you have any bi-directional relationships where both directions are lazy=false? Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Wednesday, December 13, 2006 9:41 AM

[flexcoders] Re: Help with HibernateAssembler

2006-12-20 Thread thunderstumpgesatwork
The Flex Data Services CRM sample can be configured to use Hibernate. Check out the readme in C:\fds2\jrun4\servers\default\samples\dataservice\crm and also, there's a readme about setting up hibernate in C:\fds2\resources\hibernate Also try a search in the flex documentation for 'hibernate

[flexcoders] Re: Flex 2 Compilation problem

2006-12-20 Thread thunderstumpgesatwork
There are several compiler settings I have noticed that need to be correctly specified in order for this to work. if you right-click your project and go to properties-Flex Compiler there is a text box for additional compiler arguments you should make doubly sure that the following are set to the

[flexcoders] Re: There's got to be a better way than Cairngorm

2006-12-20 Thread thunderstumpgesatwork
Hi Brian, While I do agree that Cairngorm can lead to a maintenance nightmare when the commands get overwhelming in number, there are several things you can do to help alleviate the issue. For one thing, it sounds like you have a fairly well known domain model. I would suggest creating an

[flexcoders] enabling Hibernate logging through log4j with jrun/fds2

2006-12-20 Thread thunderstumpgesatwork
Does anyone know how to get hibernate logging when using FDS and the HibernateAssembler? From my reading on Hibernate: see http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-logging , they use log4j, and talk about putting a log4j.properties file in the WEB-INF/classes

[flexcoders] Re: CellRenderer For ComboBox

2006-09-01 Thread thunderstumpgesatwork
Has anyone gotten this working correctly? I'm trying to do the same thing, and having some issues. 1st is the issue Simeon mentions below, any time you select an item, the dropdown closes. I looked at the source for ComboBox.as, and it is handling the change and click events on the list, and

[flexcoders] Public getter, private setter?

2006-09-06 Thread thunderstumpgesatwork
Just wondering why I can't declare a property getter as public, and the property setter as protected or private? When I do so, I get 1000 Ambiguous reference to loadState Any work-arounds? I want to have the setter so that I can raise the property change event when I set the state, but I'd

[flexcoders] using application.callLater from a non-UI component?

2006-09-07 Thread thunderstumpgesatwork
Hi all, I need to use the equivalent of UIComponent.callLater() but from a non-UIComponent class. I've tried using the top level application using mx.core.Application.application.callLater() but that doesn't seem to work to call my non-ui object's method. Does that function only work if you're

[flexcoders] Re: using application.callLater from a non-UI component?

2006-09-07 Thread thunderstumpgesatwork
hmm... still no go... any ideas why this wouldn't work? does the UIComponent actually need to be added to a parent UIComponent? Does it have to do with the fact that the UIComponent is private? I'm kinda at a loss. Thunder --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED]

[flexcoders] Re: using application.callLater from a non-UI component?

2006-09-07 Thread thunderstumpgesatwork
{ trace(updateSomething()) } } } Peace, Mike On 9/7/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: hmm... still no go... any ideas why this wouldn't work? does the UIComponent actually need to be added to a parent UIComponent? Does it have to do with the fact

[flexcoders] Re: Error 1009 in Flex 2

2006-09-08 Thread thunderstumpgesatwork
event.result must not be an array. when you are assigning it as Array it is returning null. use the debugger to determine the actual datatype of event.result. I would guess it is an ArrayCollection, not an Array. But it could be some other kind of list or object too. (XMLList, etc). Hard to tell

[flexcoders] Flex2 - unconverted Bindable metadata in class

2006-09-20 Thread thunderstumpgesatwork
Hi all, I've recently been getting this warning with some of my value object classes. For the value objects, I typically declare the entire class as [Bindable], and then have getter/setter functions for properties. Is this something that could cause the problem? Am I required to dispatch the

[flexcoders] Flex Data Services destination configuration documentation?!

2006-09-20 Thread thunderstumpgesatwork
I can't find a single place that documents the configuration options for a destination in Flex Data Management Services. We found several places that have examples of certain types of configurations, but no 'syntax reference' for what tags are allowed, what the tags mean, etc. Does this

[flexcoders] Actionscript Binding - bind a property through a function

2006-09-20 Thread thunderstumpgesatwork
Hi guys, I know in mxml you can do data binding like this: mx:Button label={formatLabel(someBindableTextField)} / where any time the bindable property someBindableTextField changes, the binding fires, and the label is replaced with the result of the function. This is even more powerful if the

[flexcoders] Re: state problem

2006-09-20 Thread thunderstumpgesatwork
Hi, 'visible' and 'enabled' are properties, not styles. Try changing the mx:SetStyle ... / to mx:SetProperty ... / Thunder --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: I'm trying to work with states and having some difficulty. Here is my state code in the MXML:

[flexcoders] Re: Actionscript Binding - bind a property through a function

2006-09-20 Thread thunderstumpgesatwork
@yahoogroups.com, thunderstumpgesatwork thunder.stumpges@ wrote: Hi guys, I know in mxml you can do data binding like this: mx:Button label={formatLabel(someBindableTextField)} / where any time the bindable property someBindableTextField changes, the binding fires, and the label is replaced

[flexcoders] ClassCastException with lazy managed association and HibernateAssembler

2006-09-20 Thread thunderstumpgesatwork
Hi, I've tried to implement some lazy managed associations to improve performance when we're loading a large object tree. I'm currently getting the following error on the server when it attempts to get the reference id's of the lazy association. Any ideas what the problem is? It's not able to

[flexcoders] Re: ClassCastException with lazy managed association and HibernateAssembler

2006-09-21 Thread thunderstumpgesatwork
. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Wednesday, September 20, 2006 5:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ClassCastException with lazy managed association

  1   2   >