[flexcoders] Cairngorm proper usage

2009-01-03 Thread someguy7_7
I am trying to determine the best way to use cairngorm for the following use case. I want to display a tabnavigator that only has 1 child which is a component that has a list of rooms in a datagrid. When one of the rooms is clicked a instance of the room component is added to the tabnavigator as a

RE: [flexcoders] Cairngorm v/s others

2009-01-03 Thread Errol Thompson
> I really don't know much about the others like Mate and > PureMVC so I will only look into them if they've got > sufficient advantages of Cairngorm. > > Any inputs? We are using Cairngorm but have implemented an alternative notification mechanism similar to what is included in PureMVC. The pr

[flexcoders] Cairngorm v/s others

2009-01-03 Thread Hyder
I've been using Cairngorm for a while now and I've gotten pretty used to it. I want to try out the other Flex frameworks too but will I need them if I can get most of my work done using Cairngorm. I really don't know much about the others like Mate and PureMVC so I will only look into them if t

[flexcoders] XMLList: get first n items

2009-01-03 Thread Hyder
How do I get the first n items in an XMLList? I'm not very familiar with XML workarounds. TIA, Hyder

[flexcoders] Re: Using Flash Symbols in Flex.

2009-01-03 Thread paulgrantgain
Hi Manish, Thanks for the reply. The following methods are associated with buttons on the UI and none of them work. private function play(evt:Event):void { player.play(); } private function stop(evt:Event):void { player.stop(); } private

RE: [flexcoders] Re: Crash of safari, firefox using XML.setChildren for XML in a XMLListCollection

2009-01-03 Thread Tracy Spratt
This does appear to be a browser/player specific issue, since it works for me under other circumstances. For anyone following, the goal was to delete the children on a node by using setChildren() to assign an empty XMLList. All these work for me under IE: xmlNode.setChildren(<>); //

Re: [flexcoders] ModuleLoader with full url

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 7:17 PM, Don Kerr wrote: > The very first time my Flex app is opened in the browser, I get this error > > TypeError: Error #1009: Cannot access a property or method of a null object > reference. at > ModuleInfo/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\framew

Re: [flexcoders] Using Flash Symbols in Flex.

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 10:51 PM, paulgrantgain wrote: > I'm trying to use a Movie Clip that I created in Flash CS4 in Flex. I > am using Flex builder 3 as my IDE. > > I have read the following blog: > > http://www.gskinner.com/blog/archives/2007/03/using_flash_sym.html > > I can get the first fra

Re: [flexcoders] Creating Asynchronous Classes

2009-01-03 Thread Aaron Hardy
If none of those other suggestions work and you really need it, you can always use something like Merapi (http://merapiproject.net/) to hand the process off to Java. That increases the complexity of application packaging, deployment, keeping both AIR and Java running, etc...but it will work.

[flexcoders] Using Flash Symbols in Flex.

2009-01-03 Thread paulgrantgain
Hi Everyone, I'm trying to use a Movie Clip that I created in Flash CS4 in Flex. I am using Flex builder 3 as my IDE. I have read the following blog: http://www.gskinner.com/blog/archives/2007/03/using_flash_sym.html I can get the first frame of the Movie Clip to display in the Flex test applic

RE: [flexcoders] Where did my CurrentTarget go?

2009-01-03 Thread Mike Oliver
e.currentTarget.itemEditorInstance shows in the debugger variables one time, and not the next on the same event handler. It shows NOW but wend on a holiday vacation. I don't THINK it was the eggnog. Ollie Tracy Spratt wrote: > > How do you know it is gone, and what do you mean by "gone"? >

Re: [flexcoders] itemRenderer ComboBox

2009-01-03 Thread Mike Oliver
Yes that's what it takes, thanks! I used an itemRenderer to set the display to the label from the lookup source for the data that was stored. Manish Jethani wrote: > > Here's what I suggest: > > /* in your item editor */ > public function get myCustomProperty():Object > { > var

[flexcoders] ModuleLoader with full url

2009-01-03 Thread Don Kerr
The very first time my Flex app is opened in the browser, I get this error TypeError: Error #1009: Cannot access a property or method of a null object reference. at ModuleInfo/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\modules\ModuleManager.as:717] If I click Con

Re: [flexcoders] 1180 Error

2009-01-03 Thread claudiu ursica
I think Manish is right. There is something wrong with your projects settings or the class is not in the directory structure you specified in the import directive. I'v tried (copy/paste) your code in a new project in my FB eclipse plugin and it works smoothly. I run it and no error it display th

Re: [flexcoders] Creating Asynchronous Classes

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 3:33 AM, nathanpdaniel wrote: > Is there a "primer" on creating asynchronous classes? I've been > building an app that runs a CRC32 check on each file (which requires > looking at every byte of every file). It doesn't cause issues when the > files are small text files, but

Re: [flexcoders] hideing a tab in a TabNavigator

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 12:15 PM, Tracy Spratt wrote: > I would use a TabBar whose dataProvider content was dynamically driven, to > show or hide tabs as desired. I would have that TabBar drive a Viewstack. That's another option, but let's not forget that a TabNavigator is more than just a TabBar

Re: [flexcoders] itemRenderer ComboBox

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 1:15 AM, Mike Oliver wrote: > > Perhaps its because it is an itemEditor, but just tried it and "value" in the > editorDataField saves the label string to the Grid, not the 'data' element. Well, the value property is a little strange indeed. Not to mention it's also deprecat