Re: [flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-06 Thread Alex Harui
The goal of IDataDescriptor was to turn just about anything into a heirarchy. You could have the following data structure: Class AddressBookEntry { var name:String var MobilePhone:String var HomePhone:String var WorkPhone:String } And turn it into a tree by having the getChildre

[flexcoders] Will Flash Player 10.1 Break AIR Apps?

2010-04-06 Thread Rick Winscot
I just installed the pre-release of Flash Player 10.1 and a few minutes later ran an AIR app... and to my surprise I started getting runtime errors. Is this a fluke or is there a possibility that when 10.1 goes live we might see some AIR apps breaking? Anyone from Adobe got the low-down? Cheers,

Re: [flexcoders] Accessing attribute(?) in Flex XMLList with no name ....

2010-04-06 Thread Oleg Sivokon
The text node is the node's value: var foo:String = [bar][0]; // bar // This is just a quick way to show how XML value is interpreted, but, normally, you'd use toString() For XMLList, you'd use text() - this would return the collection of all nodes for which the nodeKind is "text" trace(.nodeKin

[flexcoders] Accessing attribute(?) in Flex XMLList with no name ....

2010-04-06 Thread MicC
http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> Cincinnati Inside my XMLList the nodes look like above. How do I access Cincinnati etc? There is no "city=". TIA, Mic.

[flexcoders] Flex 4 and GC roots

2010-04-06 Thread kazoobrewer
I'm using the FlashBuilder 4 profiler, and I'm finding odd things labeled as GC roots (e.g., an Image control that's no longer on the display list, nor static). Are there more explicit rules for what make something a GC root than Alex's comment here [http://www.mail-archive.com/flexcoders@yahoo

[flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-06 Thread Jeff
I cant vouch for the ILog Elixir stuff. There might be an easy way to do it. Assuming that doesnt suit your needs, I think you may need to massage your data a bit because I dont think the data descriptor alone will give you what you're looking for. I'm assuming this is basically your desir

Re: [flexcoders] Re: maya to flash 10

2010-04-06 Thread Paul Andrews
On 06/04/2010 23:22, MIchael wrote: > My understanding is that is exactly what papervision3d does as well. How > does papervision3d differ? > At a very basic level 3D support is reduced to planes/triangles in 3D systems, but systems like papervision have the notion of cameras, lighting and

[flexcoders] Re: Flash Builder 4 dog-slow while editing MXML files

2010-04-06 Thread ettorepasquini
OK, found it. The culprit was that under my project settings -> Flex Build Path -> Source Path I had 2 additional *library* source paths.These were actually redundant since I could specify them inside Library Path -> [lib] -->Source Attachment. So I did. As soon as I removed them from Source

[flexcoders] Re: How to create XMLListClollection from Flat table data(XMLList) for MenuBar

2010-04-06 Thread md_ars
Thanks Alex for your suggestion. I tried to extend DefaultDataDescriptor but I found ArrayCollection method easier not sure though if it is the better way to do. However being new to Flex, it was good to explore new things. I wrote following function which is based on Hpet's code given at exp

[flexcoders] Re: maya to flash 10

2010-04-06 Thread MIchael
My understanding is that is exactly what papervision3d does as well. How does papervision3d differ? --- In flexcoders@yahoogroups.com, Paul Andrews wrote: > > On 06/04/2010 22:51, MIchael wrote: > > I don't want to use papervision. I want to use the 3d engine built into > > flash 10. > > >

Re: [flexcoders] Re: maya to flash 10

2010-04-06 Thread Paul Andrews
On 06/04/2010 22:51, MIchael wrote: > I don't want to use papervision. I want to use the 3d engine built into flash > 10. > You misunderstand. Flash 10 doesn't have a built in 3D engine. It supports 3D manipulation of planes - that's all. Paul > --- In flexcoders@yahoogroups.com, Paul Andre

[flexcoders] Re: maya to flash 10

2010-04-06 Thread MIchael
I don't want to use papervision. I want to use the 3d engine built into flash 10. --- In flexcoders@yahoogroups.com, Paul Andrews wrote: > > On 06/04/2010 21:23, MIchael wrote: > > Hi, > > > > Is there a tutorial that shows a good workflow for exporting a maya model > > and importing it as a 3

[flexcoders] Re: maya to flash 10

2010-04-06 Thread MIchael
This is for papervison3d. As far as I can tell I should not need that. Flash 10 has 3d built in. Is there a process that mimics the papervision3d process but for flash 10? --- In flexcoders@yahoogroups.com, "cuttenv" wrote: > > Blender to flash! http://gotoandlearn.com/play?id=106 > > ---

[flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-06 Thread cuttenv
You could use a grouping Collection to group the data. If you check out the ILog Exlir stuff they have a bunch of demos on how to do this. --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > The dataDescriptor's purpose is to allow you to create a hierarchy out of > flat data. > > > On 4

[flexcoders] Scroll list

2010-04-06 Thread cuttenv
Anyone know a way to have your thumb on the scroll bar to be a fixed height? So I have a list that I am dynamically adding stuff to and I don't want the size of the thumb to change. Thanks!

[flexcoders] how to expand tree control from a button?

2010-04-06 Thread advancedonsite
My TEST button I want to expand and select on this XML Node I've tried to modify this example to handle passing from a button but got no errors just doesn't work? http://blog.flexexamples.com/2007/11/29/opening-nodes-in-a-flex-tree-control-using-the-expanditem-method/ http://www.adobe.com

Re: [flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-06 Thread Alex Harui
The dataDescriptor’s purpose is to allow you to create a hierarchy out of flat data. On 4/6/10 8:42 AM, "Phil Boissiere" wrote: Thanks, Oleg, Jeff. In reality the thing that comes back after querying my database is an ArrayCollection of strongly typed objects (value objects?). These obj

[flexcoders] Re: maya to flash 10

2010-04-06 Thread cuttenv
Blender to flash! http://gotoandlearn.com/play?id=106 --- In flexcoders@yahoogroups.com, "MIchael" wrote: > > Hi, > > Is there a tutorial that shows a good workflow for exporting a maya model and > importing it as a 3d movie clip in flash 10? > > thanks, > Michael >

Re: [flexcoders] maya to flash 10

2010-04-06 Thread Paul Andrews
On 06/04/2010 21:23, MIchael wrote: > Hi, > > Is there a tutorial that shows a good workflow for exporting a maya model and > importing it as a 3d movie clip in flash 10? > > thanks, > Michael > I'm not sure your question has any relevance to Flex at all. You'd be better off asking on a paper

[flexcoders] Re: Flash Builder 4 dog-slow while editing MXML files

2010-04-06 Thread ettorepasquini
--- In flexcoders@yahoogroups.com, Jake Churchill wrote: > > It has something to do with matching text instances I > think but I haven't figured out how to turn it off yet. If anyone knows, > I'd love to hear. Have you tried to turn off the "Mark Occurrences" highlighter button in the toolbar?

[flexcoders] maya to flash 10

2010-04-06 Thread MIchael
Hi, Is there a tutorial that shows a good workflow for exporting a maya model and importing it as a 3d movie clip in flash 10? thanks, Michael

[flexcoders] Re: Flash Builder 4 dog-slow while editing MXML files

2010-04-06 Thread ettorepasquini
Yes, I noticed -- when you move the caret inside a word FB4 freezes before coloring all of the instances in gray. I'd love to know how to turn it off. It's annoying as hell anyway. Moreover: just opening a complex MXML results in a multi-seconds wait. -Ettore --- In flexcoders@yahoogroups.com

Re: [flexcoders] Flash Builder 4 dog-slow while editing MXML files

2010-04-06 Thread Jake Churchill
I have seen this too. I'm on a Windows 2.6GHz machine with 4GB ram and Windows 7 and it's way slower than FB3 on the same machine. My actionscript is slower as well. It has something to do with matching text instances I think but I haven't figured out how to turn it off yet. If anyone knows, I'

[flexcoders] Flash Builder 4 dog-slow while editing MXML files

2010-04-06 Thread ettorepasquini
I am using the Flash Builder 4 on a Macbook Pro 2.4Ghz (pretty fast machine) and I noticed that the code editor has gotten extremely slow when editing MXML files. Slow as in 1-character-per-second slow. It's irritating and unusable. Slowness increases with the number of components in the MXML f

[flexcoders] Re: Do you need to uninstall Flex Builder 3 before installing Flash Builder 4??

2010-04-06 Thread ettorepasquini
Yep - I installed FB4 and kept FB3, they both runs with no problems. --- In flexcoders@yahoogroups.com, Jake Churchill wrote: > > I was told by Adobe prior to buying FB4 that FB4 will install a new separate > instance so they should be able to coexist. > > On Wed, Mar 24, 2010 at 11:59 AM, fred4

Re: [flexcoders] Re: ContextMenu 'clipboardMenu' property

2010-04-06 Thread Oleg Sivokon
You're welcome ;) Best. Oleg

Re: [flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-06 Thread Phil Boissiere
Thanks, Oleg, Jeff. In reality the thing that comes back after querying my database is an ArrayCollection of strongly typed objects (value objects?). These objects have a linear (non-hierarchical) structure but I want to use one of the properties (the "group" property) for the parent nodes in a

[flexcoders] Re: ContextMenu 'clipboardMenu' property

2010-04-06 Thread twcrone70
Wow. Okay, thanks for the info Oleg. Very helpful. - Todd --- In flexcoders@yahoogroups.com, Oleg Sivokon wrote: > > I'm afraid, that it is not possible to know that at compile time, unless you > define some compiler variable for that. However, at runtime you can always > check the player vers

[flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-06 Thread Jeff
You can also create a custom data descriptor and set the dataDescriptor property of the tree component. See http://livedocs.adobe.com/flex/3/html/help.html?content=about_dataproviders_6.html --- In flexcoders@yahoogroups.com, Oleg Sivokon wrote: > > The best way would be to implement your ow

Re: [flexcoders] Re: ContextMenu 'clipboardMenu' property

2010-04-06 Thread Oleg Sivokon
I'm afraid, that it is not possible to know that at compile time, unless you define some compiler variable for that. However, at runtime you can always check the player version in Capabilities.version. If you want to exclude the code targeting FP10 at compile time, I'd do it like this: mxmlc -defi

[flexcoders] Re: ContextMenu 'clipboardMenu' property

2010-04-06 Thread twcrone70
Ah...that's the kicker. Our project should be compiling to FP10 but it is set to 9. Is there a good way to know properties/methods only available in FP10? I'm not aware of such things in SDK documentation. Thanks! - Todd --- In flexcoders@yahoogroups.com, Oleg Sivokon wrote: > > *Language

Re: [flexcoders] Using an ArrayCollection to populate a Tree component

2010-04-06 Thread Oleg Sivokon
The best way would be to implement your own ICollectionView, however, this would be a complex task. For your example, I'd do it like so: private var ac:ArrayCollection = new ArrayCollection([ { "Animals": ["dog", "cat"], { "Fruits": ["orange", "apple"] } ]); B

Re: [flexcoders] Re: ContextMenu 'clipboardMenu' property

2010-04-06 Thread Oleg Sivokon
*Language Version: *ActionScript 3.0*Runtime Versions: *Flash Player 10, AIR 1.5 Are you sure you are compiling for FP10? Best. Oleg

[flexcoders] Using an ArrayCollection to populate a Tree component

2010-04-06 Thread Phil Boissiere
A neophyte question, no doubt... If I have an ArrayCollection like this:             private var ac:ArrayCollection= new ArrayCollection([        {item:"dog", group:"Animals"},                 {item:"orange", group:"Fruits"},                 {item:"cat", group:"Animals"},          

[flexcoders] Re: ContextMenu 'clipboardMenu' property

2010-04-06 Thread twcrone70
Sure...nothing exciting though... import flash.ui.ContextMenu; ... private var _contextMenu:ContextMenu; ... private function init() : void { _contextMenu = new ContextMenu(); _contextMenu.hideBuiltInItems(); _contextMenu.clipboardMenu = true; // compiler error _contextMenu[ "clipb

RE: [flexcoders] Scotland: Any Flash/Flex/AS3 conferences?

2010-04-06 Thread Gregor Kiddie
There's a few of us kicking round Dundee that do Flex / CF, but the majority of the Flex scene in Scotland has been in Edinburgh (financial firms mainly) Scotch On The Rocks was popular (and good), but appears to have gone on the road, I've not seen anything for it in Scotland of late. I al

Re: [flexcoders] Skype Combo

2010-04-06 Thread Tom Chiverton
On Thursday 01 Apr 2010, Christophe wrote: > How to have a skype like combo on a flex application ? (With a phone number > that the user can call with Skype if he wants). Did you try using navigateToUrl() with 'skype:' or 'tel:' URIs ? -- Helping to autoschediastically incentivize systems as par

Re: [flexcoders] combobox, sdk 3.5 bug, any workarounds?

2010-04-06 Thread Tom Chiverton
On Monday 05 Apr 2010, ArunKumar Madas wrote: > Thanks Peeyush. That helps. > We have referred everywhere across our code and changing > all the instances is a bigger change. That's when Monkey Patching is useful. -- Helping to appropriately maintain design-patterns as part of the IT team of