Re: [flexcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Manish Jethani
On 3/23/08, Jeroen Beckers [EMAIL PROTECTED] wrote: [snip] If I want to analyze a list of items, those items must implement the correct interface, according to which analyzers you have added to the class. Fe: var myClass:AnalyzerBundle = new AnalyzerBundle(); myClass.addAnalyzer(new

[flexcoders] Re: Setting a label to be the length of a List component

2008-03-23 Thread kenny14390
I'm getting some trouble from my application. The length of the last element in the second list is not being computed, even though it is written in the XML to do so. If you click on the last element of the second list, the length of the third list is empty. Then if you click on the next item in

[flexcoders] Re: Setting a label to be the length of a List component

2008-03-23 Thread kenny14390
sorry, the URL is http://bingbuilder.com/bin-release/CourseSelector.html

[flexcoders] Re: Automatically selecting the first cell of a new row in an editable DataGrid

2008-03-23 Thread David Barrett
Worked great, thanks! -david --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Call validateNow() then set editedItemPosition. You might also want to check out an example on my blog (http://blogs.adobe.com/aharui/2008/03/custom_arraycollections_adding.ht ml

[flexcoders] view creation for snapshot

2008-03-23 Thread Paul Hastings
this is something i've had trouble wrapping my head around (and maybe some other cf developers as well): i have a viewstack that i need to snapshot various views from to assemble a report. works fine if the user has viewed the views i need for the reporting bits but of course any view not

Re: [flexcoders] Un-hilite the first link in a LinkBar

2008-03-23 Thread JRBower
Yes, that's exactly what I needed. It did the 'trick.' Cheers! Manish Jethani wrote: On 3/22/08, JRBower [EMAIL PROTECTED] wrote: I'm trying to figure out how to un-hilite the first link in a LinkBar so that no links are hilited at start up. Something like UnSelectIndex would be

[flexcoders] ComboBoxes as ItemRenderer

2008-03-23 Thread quantum_ohm
Hi All ! here is my problem since days : I have a combobox in a datagrid as an itemrenderer. Then another combobox in that same datagrid which is enabled=false. And I'd like to turn that combobox enabled to true, once something is selected from the first combobox. But I can't find out how to

[flexcoders] Re: Average salary of a Flex Developer in the Silicon Valley

2008-03-23 Thread heat_samurai
Its going to be a permenant job --- In flexcoders@yahoogroups.com, Andrew D. Goodfellow [EMAIL PROTECTED] wrote: For what time period? On 3/22/08, heat_samurai [EMAIL PROTECTED] wrote: I've got an offer to join a reputed customized software firm in SF. I've got over 2 yrs of

Re: [flexcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Jeroen Beckers
Hi Jethani, I guess this would be the only proper way... Too bad I can't check it @compile time, but I guess that makes sense ... I'm going to go with you and do a little loop in the analyze() method and check all the items (or part of them) against the interfaces. Thanks for thinking with me

Re: [flexcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Aaron Miller
Polymorphisms is a run time technique. There is no way to determine a dynamic class instance's interface at runtime. I would use a switch statement in your AnalyzerBundle class to determine which interface an analyzer implements and process accordingly, throwing an error on default if necessary

Re: [flexcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Aaron Miller
Hi Again, I'm not sure if this needs to be stated or not. But your switch statement would look something like this. # switch( true ) { # case item is IHeightItem: # //do stuff # break; # case item is ILevelItem: # //do stuff # break; # default: # //do stuff # } I was going

[flexcoders] Ordering printed ActionScript 3.0 pdf's

2008-03-23 Thread comfederation
I see that Flex 3 pdf's can be ordered in hard print, but I do not see that ActionScript 3.00 documentation can be ordered in printed format. Is this correct and if not, where do I order them?

Re: [flexcoders] Re: Average salary of a Flex Developer in the Silicon Valley

2008-03-23 Thread Paul Andrews
Is that $4,500 per day, per week, per month or per year? - Original Message - From: heat_samurai [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, March 23, 2008 9:43 AM Subject: [flexcoders] Re: Average salary of a Flex Developer in the Silicon Valley Its going to be a

Re: [flexcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Jeroen Beckers
Hi Aaron, That's not really what I meant... Every Analyzer implements the IAnalyzer interface with a few methods like analyzeElements, getItemInterface, etc . The user can add as many analyzers to the AnalyzerBundle as he wants and then give a list of elements. The way i'm going to do it now, is

[flexcoders] Re: Problem with new changes not compiling in Flex 3

2008-03-23 Thread Amy
--- In flexcoders@yahoogroups.com, celumbra [EMAIL PROTECTED] wrote: I just began using Flex 3 on OSX and, with new files, I am having trouble getting new changes to compile. I see what looks like older versions swfs displaying in the browser after compiling. For instance, in a simple test

[flexcoders] Re: Multiple Headers

2008-03-23 Thread markgoldin_2000
Not sure how custom renderer will help. I dont need a header that consists of two lines I need two or more headers for a column. --- In flexcoders@yahoogroups.com, Joan Lafferty [EMAIL PROTECTED] wrote: You might look at using a custom headerRenderer for your DataGrid.

Re: [flexcoders] Looking for moderator help

2008-03-23 Thread Anuj Gakhar
Matt, I posted a couple messages but none of them have gone through? Did you not approve them ? - Original Message From: Matt Chotin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Thursday, March 20, 2008 4:13:17 PM Subject: [flexcoders] Looking for

Re: [flexcoders] TabNavigator Question

2008-03-23 Thread Anuj Gakhar
Hi Alex, Do you mind showing me a little example of how to do this? That would be really great... - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, March 20, 2008 5:28:29 PM Subject: RE: [flexcoders] TabNavigator Question

RE: [flexcoders] FDS not able to convert arraycollection to list

2008-03-23 Thread Jeff Vroom
You probably just need to copy some of the flex-messaging*.jar files into this other web application which is trying to send objects/to from the web application which is talking to flex directly. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Help moving to Flex 3 using AdvancedDataGrid

2008-03-23 Thread hoytlee2000
Hello Tracy, thanks for the tip, I got it working. Once I got everything in a handler function it was easier to debug and try somethings out. The problem cam down to putting the HierarchicalData declaration in the Handler function instead of in the mxml binding. so this worked:

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-23 Thread quantum_ohm
:-( anybody ?? --- In flexcoders@yahoogroups.com, quantum_ohm [EMAIL PROTECTED] wrote: Hi All ! here is my problem since days : I have a combobox in a datagrid as an itemrenderer. Then another combobox in that same datagrid which is enabled=false. And I'd like to turn that combobox

[flexcoders] Null bytes (%00) in URLRequest data

2008-03-23 Thread supermalern
I have a parameter that I want to pass to a URL as a GET var. But the paramater value has a null byte in it. Basically I want to load a URL like this http://example.com/test.php?foo=bar%00bar I tried doing var request:URLRequest = new URLRequest('http://example.com/test.php'); request.data

Re: [flexcoders] Looking for moderator help

2008-03-23 Thread Anuj Gakhar
sorry Matt , just found out the messages I sent are actually there now - Original Message From: Anuj Gakhar [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, March 23, 2008 5:36:44 PM Subject: Re: [flexcoders] Looking for moderator help Matt, I posted a

Re: [flexcoders] Looking for moderator help

2008-03-23 Thread VELO
The list truly needs moderation?! I participate on other java/flex groups without moderation and works 100% VELO On Thu, Mar 20, 2008 at 1:13 PM, Matt Chotin [EMAIL PROTECTED] wrote: You may have seen a number of older messages just come through because they were stuck in moderation.

RE: [flexcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Rick Winscot
Aaron - you are almost there with the use of interfaces. Let's say that you have the following interfaces for your return results. IHeightResult IWeightResult ILevelResult If you specified the a return variable as: var _something:*; .and functions that return the result as:

RE: [flexcoders] Average salary of a Flex Developer in the Silicon Valley

2008-03-23 Thread Kerry Thompson
heat_samurai wrote: I've got an offer to join a reputed customized software firm in SF. I've got over 2 yrs of experience as a Flash Developer and migrated to Flex about 8 months back. They've offered me around $4,500. Is that good enough? I assume that's per month--that works out to

RE: [flexcoders] Looking for moderator help

2008-03-23 Thread Kerry Thompson
VELO wrote: The list truly needs moderation?! I participate on other java/flex groups without moderation and works 100% Yes, Yahoo! groups need moderation. They are targets for spammers and spamming recruiters. I am a moderator on another, related Yahoo group, Flash_Tiger. We have solved

[flexcoders] Re: Using the hovered index of a List to define a ToolTip

2008-03-23 Thread kenny14390
I searched the livedocs and couldn't find suitable documentation. Is there a quick and painless way of doing this that you know of? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: dataTips show the full text. If you need to bake your own, start with itemRollOver

[flexcoders] Re: TabNavigator Question

2008-03-23 Thread yhelleman
Another option might be to try the following. Extend TabNavigator component and create your own TabBar component. The TabBar component essentially is a HBox, so you can use add a child using the rawChildren method. What I've done is use another HBox component as the child being added to the

[flexcoders] Re: accessing children of flash generated swf

2008-03-23 Thread celumbra
Thank you for your response. background is the id of the SWFLoader tag. If the content property is the root of the SWFLoader, shouldn't I be able to call its children with something like this: swfLoaderID.content.numChildren or swfLoaderID.content.getChildAt(index); ? I

Re: [flexcoders] TabNavigator Question

2008-03-23 Thread Doug McCune
try this example ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Canvas height=100% mx:TabNavigator horizontalAlign=right height=100% mx:HBox width=800 label=Tab 1 / mx:HBox width=800 label=Tab 2 / mx:HBox

Re: [flexcoders] flexmxmlservlet

2008-03-23 Thread Luke Vanderfluit
Hi VELO. Thanks very much for your reply. VELO wrote: Hi Luke, Why you don't use flex-oem-compiler? http://livedocs.adobe.com/flex/3/compilerAPI_flex3.pdf Im now using flexbuilder plugin in eclipse on linux to compile my flex stuff. The stuff you pointed me to looks interesting.

[flexcoders] Error message is unclear: 1020: Method marked override must override another method.

2008-03-23 Thread justSteve
Im attempting to override a function where I've verified that: 1) I'm importing the correct package 2) The method I'm trying to override is public 3) The signatures match. Some other condition is causing the error message: 1020: Method marked override must override another method. Where should

Re: [flexcoders] Error message is unclear: 1020: Method marked override must override another method.

2008-03-23 Thread Doug McCune
$10 says either 1, 2, or 3 aren't quite true ;) paste some code of the method and tell us which class you're extending. Doug On Sun, Mar 23, 2008 at 5:57 PM, justSteve [EMAIL PROTECTED] wrote: Im attempting to override a function where I've verified that: 1) I'm importing the correct

RE: [flexcoders] Design pattern for conditional Interfaces ?

2008-03-23 Thread Rick Winscot
I hate to be a fud... but your comment isn't true. Introspection is very much alive in AS 3.0 and is available through... flash.utils.describeType( yourClass ). There are also some options through ApplicationDomain. So - for clarification. In AS 3.0, unknown/dynamic classes can be loaded at

[flexcoders] Re: flex builder 3 on os x very very slow in debug mode

2008-03-23 Thread Mike Morearty
I am have not seen this problem. What browser are you debugging with? Try a different one -- e.g. if you are debugging with a different one -- e.g. if you are using Safari, try debugging with Firefox, or vice versa. Let me know if that helps. - Mike Morearty, Adobe Flex Builder team

[flexcoders] [ANN] Spket IDE adds Flex support

2008-03-23 Thread eric.suen
Spket IDE is powerful toolkit for JavaScript and XML development. 1.6.10 adds Flex support, including: code assist for MXML, Snippet View and Property View for MXML editor. please visit http://www.spket.com for more information.

[flexcoders] Unable to remove root Node in tree control

2008-03-23 Thread qau_yasir
Hi all! I have following code to remove the nodes from the tree control. var children:XMLList = XMLList(targetTree.selectedItem); delete children[0]; This works for all child nodes except root node of the tree. Beside this problem, I drag data from

[flexcoders] How to genrate XML from CSV???

2008-03-23 Thread qau_yasir
Hi All! I have to read a CSV file and transform it into XML file. Is there any API in flex that can help in this respect? I tried Flare http://flare.prefuse.org/doc/tutorial/ . In the example shown in this tutorial URLLoader can not get data from data source? Please Help! Regards YM

[flexcoders] Re: Looping through xml elements and delete a specific element

2008-03-23 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You do not need to loop to delete a node. Use an e4x expression to locae the node, then use the delete statement to delete it. Two things complicate this. On is that it is not always obvious how to write the

RE: [flexcoders] Re: accessing children of flash generated swf

2008-03-23 Thread Alex Harui
You have to wait for the complete event, then trace(swfLoaderID.content.numChildren) should be the same as trace(numChildren) on the root of the Flash SWF. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of celumbra Sent: Sunday, March

RE: [flexcoders] Re: Using the hovered index of a List to define a ToolTip

2008-03-23 Thread Alex Harui
If you are using the default renderer, set showDataTips=true From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Sunday, March 23, 2008 4:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using the hovered