RE: [flexcoders] Re: Error styling datagrids

2008-08-22 Thread Alex Harui
Yes, there is a different mindset. We don't' really have a 'dumb' datagrid. It recycles its renderers to save memory when scaled to large data sets. You can read more about it in the item renderers section on my blog (blogs.adobe.com/aharui) From:

Re: [flexcoders] DataGridColumn trouble...

2008-08-22 Thread Sefi Ninio
Hi Tracy, I know I get the Item, and that's what I currently use. The problem is (and I probably should have mentioned it), that the other columns labelFunctions make a complex calculation themselves, and I am reluctant to do it again in the third column labelFunction if there's a way to get to

Re: [flexcoders] Template architecture

2008-08-22 Thread Rick Winscot
Just a .02 clink... Alex is recommending a hallmark architectural pattern for building an application from constituent parts (http://tinyurl.com/9js2e). One of the hurdles in implementing this in Flex has to deal with how creation policy plays with loosely tied models; if it hasn¹t been touched

Re: [flexcoders] Intriguing AMFPHP sample

2008-08-22 Thread Rick Winscot
On the loader complete event... The Œcontent¹ ._is_. The swf. var foo:Object = loader.content; What this looks like... Is that someone is saying that hitting a page like foo.php could actually provide Flex with foo.swf. So... The url request target would probably be ³foo.php.² Rick Winscot

RE: [flexcoders] Flex Panel: how to get label text to wrap?

2008-08-22 Thread Alex Harui
It takes some hacking. It is not a feature. Search the archives or the internet. I think there's an example out there. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of baton22 Sent: Thursday, August 21, 2008 3:36 PM To:

Re: [flexcoders] Re: Flexunit and asynchronous calls

2008-08-22 Thread Johannes Nel
you can compose event dispatcher onto anything. On Fri, Aug 22, 2008 at 6:08 AM, dbronk [EMAIL PROTECTED] wrote: I've done this: var myResponder : IResponder = new Responder(addAsync(handleSuccess, 1000 ), handleFault); I actually have my own responder that extends Responder so the above

[flexcoders] Re: LCDS and real-time performance

2008-08-22 Thread Rogier Oorburg
Hi Jeff, Thank you for your reply. I have gathered some more logging information in this mail. To maybe make clearer where all the time is spent. Is there a way to set the packet-size (or 'chunk' size?) to be able to send rather large messages (or a lot of small ones) more efficiently? Or

[flexcoders] How to copy each property of object A to B ?

2008-08-22 Thread piotrchruscielewski
Hi I`ve got one small question, that I still can`t resolve. suppose we have class Person , and variables: var p1:Person; p1.name = 'John'; not we have some other reference to this object (for.ex. from other part of program) var p2:Person = p1; If I`ll now make p1.name = 'Steve' of course

[flexcoders] Binding problem - not refreshing after Array.push

2008-08-22 Thread piotrchruscielewski
Hi I have some problems with data binding. I make an array [Bindable] var ar:Array and some DataGrid with datarovider=ar When I will pass this array to some other class - which will push new object to it - my DataGrid doesn`t refresh. So I need to take care of it manualy. Is this normal

RE: [flexcoders] Binding problem - not refreshing after Array.push

2008-08-22 Thread Kenneth Sutherland
You need to be using an arraycollection for bindable data, not the array class. Kenneth. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of piotrchruscielewski Sent: 22 August 2008 09:07 To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding problem - not refreshing

[flexcoders] Re: Binding problem - not refreshing after Array.push

2008-08-22 Thread piotrchruscielewski
Thanks a lot for really quick answer. For some reasons (deserialization problems from RubyAMF ) I`ve changed it for an Array. I`ll get back to using ArrayCollection then. btw. Is there a big performance/memory difference between Array and ArrayCollection ? In many cases I`m storing more than

RE: [flexcoders] Binding problem - not refreshing after Array.push

2008-08-22 Thread Claudio M. E. Bastos Iorio
I have the same issue, binding an array. Can you explain or point to any link/resource/reference that explains why an arraycollection is needed for binding instead array? BTW, is there any other type not available to bind? TIA _ Claudio M. E.

RE: [flexcoders] Binding problem - not refreshing after Array.push

2008-08-22 Thread Kenneth Sutherland
http://livedocs.adobe.com/flex/3/langref/index.html just read the paragraph in the ref guide for the array collection. The ArrayCollection class is a wrapper class that exposes an Array as a collection that can be accessed and manipulated using the methods and properties of the

RE: [flexcoders] KeyEvent in Application and in component

2008-08-22 Thread Alex Harui
I wouldn't expect those to be eaten. Run a simple test to verify From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jitendra jain Sent: Thursday, August 21, 2008 11:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] KeyEvent

Re: [flexcoders] How to copy each property of object A to B ?

2008-08-22 Thread Laurent Cozic
Have a look at mx.utils.ObjectUtil.copy() -- Laurent Cozic Flash, Flex and Web Application development http://pogopixels.com --- On Fri, 8/22/08, piotrchruscielewski [EMAIL PROTECTED] wrote: From: piotrchruscielewski [EMAIL PROTECTED] Subject: [flexcoders] How to copy each property of object A

[flexcoders] Imagepicker

2008-08-22 Thread simon.friso
I want to make a component to select an image from a range of images. In this article http://www.adobe.com/devnet/fireworks/articles/rich_symbols_export_04.ht ml imagepicker.mxml is mentioned , it should be in the flex environment. I can't find it. Can someone tell me where I can find or maybe

Re: [flexcoders] Re: Change dataProvider at runtime?

2008-08-22 Thread Blair Cox
Thanks everyone for your replies. I must admit I¹m not yet up to speed on all things Flex. Nicholas mentioned combobox.dataProvider = anotherone? At runtime. From my perspective I figured I could do it like this; Chartdp = combobox.selectedItem; or linchart1.dataProvider = combobox.selectedItem

Re: [flexcoders] Re: Change dataProvider at runtime?

2008-08-22 Thread Blair Cox
Okay, try this scenario: Can you change the dataprovider of a series or chart on demand from within the program while it is running? So no matter why I¹m doing it, I have say four completely different dataproviders collecting data from say a static in-line source, a static XML file source and a

[flexcoders] flex store effects

2008-08-22 Thread stinasius
hi guys i have a have thumbnail images on a canvas and i want that when a person clicks on a thumbnail the thumbnails move to the right and a full image of the thumbnail that was clicked appears on the left with the same effects in the flex store example. can someone please help. the code in the

[flexcoders] protecting swc?

2008-08-22 Thread ahmad_eldardiry
I'm a flex beginner, and I'm making a flex component (.swc) and I want to sell it. While I was testing it within an AIR application on Flex Builder 3, an error ocurred, so I thought I can use the debugger (It works well on Flex compiler). When I did try to debug the application, the debugger

[flexcoders] Re: Error styling datagrids

2008-08-22 Thread pixelgeek
So I solved my problem by scrapping the original code. Based on Alex's comments I don't know if it was ever going to be workable for any situation that had more rows in a dataprovider than there were onscreen rows in the datagrid. It is definitely a problem with mindset though as the solution

[flexcoders] Dynamic menu that reconfigures in realtime - ideas for approch?

2008-08-22 Thread karlkaki
Hi all, would be grateful for any ideas on how to approach the following task: I would like to have a menu with clickable links that would change according to for example which checkboxes the user has ticked. For example: The user ticks checkboxes for the year 2006 and 2007 and the vertical

Re: [flexcoders] Re: XMLList to ArrayCollection

2008-08-22 Thread Douglas Knudsen
ugh, you can access the data easily with e4x, eh? Unless you need to create VOs of the data, why not just leave it? DK On Thu, Aug 21, 2008 at 11:59 PM, sdl1326 [EMAIL PROTECTED] wrote: Honestly, I do not know as I have not worked with XMLListCollections. I just need to be able to access

Re: [flexcoders] Re: XMLList to ArrayCollection

2008-08-22 Thread Howard Fore
sdl1326 (just rolls of the tongue doesn't it :-) ), here's some more info on e4x with Flex 3. Very handy stuff with XML: http://learn.adobe.com/wiki/display/Flex/E4X On Fri, Aug 22, 2008 at 9:18 AM, Douglas Knudsen [EMAIL PROTECTED]wrote: ugh, you can access the data easily with e4x, eh?

Re: [flexcoders] SDK 3.1 SOAP deserialization issue

2008-08-22 Thread jeff
On Fri, 22 Aug 2008 08:08:02 +1000, Josh McDonald wrote I assume you mean 3.1 where you put 2.1 :) Yes, there was a bug in my mail client that changed the 3.1 to 2.1 when I pressed send.  ;) What exactly is happening in 3.1 that's not happening in 3.0? Without posting the real code where

[flexcoders] Re: XMLList to ArrayCollection

2008-08-22 Thread sdl1326
I will try your suggestion. Thank you. --- In flexcoders@yahoogroups.com, Djamshed [EMAIL PROTECTED] wrote: you could try first converting xml to XMLListCollection, which is convertable to Array: var xmlListCollection: XMLListCollection= new XMLListCollection(resultXML.children()); var

Re: [flexcoders] Re: XMLList to ArrayCollection

2008-08-22 Thread Howard Fore
sdl1326 (just rolls of the tongue doesn't it :-) ), here's some more info on e4x with Flex 3. Very handy stuff with XML: http://learn.adobe.com/wiki/display/Flex/E4X On Fri, Aug 22, 2008 at 9:18 AM, Douglas Knudsen [EMAIL PROTECTED]wrote: ugh, you can access the data easily with e4x, eh?

RE: [flexcoders] Intriguing AMFPHP sample

2008-08-22 Thread Jim Hayes
I think it could be a subtly different context here, in that it's a remoting call, and would return the swf typed as a bytearray, so you wouldn't be using a urlrequest in this case. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Winscot

[flexcoders] Re: Styling renderers in a list?

2008-08-22 Thread Amy
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Wait, I see that I could use the styleFunction, I might retrofit your list in when I'm done with this current bugfix :) I was wondering what the difference was ;-). I hope you can, since you've helped me a lot, and

[flexcoders] Re:Imagepicker

2008-08-22 Thread Danny Venier
Just go back to page 1 of the article you reference and the link to the flex sample files is there.

Re: [flexcoders] Template architecture

2008-08-22 Thread Richard Rodseth
I'm a big fan of the Eclipse plug-in model, though it's been a while since I looked at how they do Perspectives, for example. I take Alex's point (I think), but I'm not sure we're on the same page regarding what is the model. The end goal is that a configuration file (XML, say) could describe a

Re: [flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Douglas Knudsen
Is it not just using the Eclipse tools for compare? DK On Fri, Aug 22, 2008 at 11:30 AM, Dmitri Girski [EMAIL PROTECTED] wrote: C'mon, guys! I don't believe that I am the only one who uses Compare tool in Flex Builder. There was even an article in Cosmo that it's becoming popular among AIR

[flexcoders] Re: protecting swc?

2008-08-22 Thread ahmad_eldardiry
I forgot to mention that when I pressed the debug button, a dialogue box showed with a This file is not inside a project, many Flex builder features will be disabled message. Thank you. --- In flexcoders@yahoogroups.com, ahmad_eldardiry [EMAIL PROTECTED] wrote: I'm a flex beginner, and I'm

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Dmitri Girski
It worked perfectly in FB2. --- In flexcoders@yahoogroups.com, Howard Fore [EMAIL PROTECTED] wrote: Maybe we don't think it's Adobe's responsibility to change something that they didn't write. The Compare tool is a base Eclipse function. If you don't like the font choice, why not change it

[flexcoders] SWCs become invisible in Design View

2008-08-22 Thread Dmitri Girski
Did anyone hit the problem with getting SWC contents shown in the Design View? At some of point of time (I presume with project growth), SWC contents are disappeared from Design View. And there is no Red Cross mark like if the component is not found - SWCs are just invisible, you can't point a

[flexcoders] question about AMF

2008-08-22 Thread tchredeemed
I have a VO called DataVO. I have two modules that call an AMF service, which returns an array of VO's. Every once in a while, I get the error: TypeError: Error #1034: Type Coercion failed: cannot convert com.gh.vo::[EMAIL PROTECTED] to com.gh.vo.DataVO. However, I can only get the compiler to

Re: [flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Howard Fore
On Fri, Aug 22, 2008 at 12:39 PM, Dmitri Girski [EMAIL PROTECTED] wrote: I just looked at that BeyondCompare - too much hassle to get it working with Eclipse + SVN +BC. Tortoise SVN works perfectly anyway under Windows. Under Mac... well, at least those guys should suffer from something :)

[flexcoders] Cairngorm article sources on Adobe.com corrupt?

2008-08-22 Thread ivo
Hello, I am trying to download the sources to the article at http://www.adobe.com/devnet/flex/articles/introducing_cairngorm.html (f3ic_studentFiles_16Jun08.zip) but I keep getting a corrupted download. I tried last nite at home and today at work with the same results. Can someone at Adobe

RE: [flexcoders] question about AMF

2008-08-22 Thread Alex Harui
Shared code problem. See modules presentation on my blog for more details. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tchredeemed Sent: Friday, August 22, 2008 9:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] question

RE: [flexcoders] Re: Error styling datagrids

2008-08-22 Thread Alex Harui
Eventually, it would. If we added every feature requested by our customers, datagrid alone would be over 1MB of SWF and not run very fast. The ADG has some styling capabilities. DG has methods you can override to do some things. My blog has some example renderers that do some styling.

RE: [flexcoders] [video included] Datagrid recycle issue? How can I 'force' it to re-render

2008-08-22 Thread Alex Harui
You will have to debug your situation. There's no way to tell from a video what events are firing. If the dataProvider or any of a number of properties change, the DG will update all the rows. The real question is whether you've handled recycling correctly or if there is some other problem.

[flexcoders] Re: Error styling datagrids

2008-08-22 Thread Amy
--- In flexcoders@yahoogroups.com, pixelgeek [EMAIL PROTECTED] wrote: So I solved my problem by scrapping the original code. Based on Alex's comments I don't know if it was ever going to be workable for any situation that had more rows in a dataprovider than there were onscreen rows in the

[flexcoders] Flex Builder Professional

2008-08-22 Thread George
Which version of Eclipse is delivered with Flex Builder Professional, and has anyone used the capabilities of MyLyn and Mantis with Flex Builder?

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Dmitri Girski
Dude, what's the hassle? You install a plugin for Eclipse, point the plugin at the BC executable and you're off... I just like when everything works. It worked before, now it is broken. And surprisingly, I am not happy with this fact, as instead of doing what I used to do I have to find some

[flexcoders] Re: Error styling datagrids

2008-08-22 Thread pixelgeek
That already exists in AdvancedDataGrid. Odd that this never came up when I was searching. None of the coders here locally seem to have much experience and the solution that was sent to me involved itemRenderers which I am currently using. I'll have a look at that to see if it helps simplify

[flexcoders] Re: protecting swc?

2008-08-22 Thread actionscript_czar
First of all, if you don't distribute the source code with your SWC file most people won't see it. You probably saw it because you have the library linked ( even if it was closed ) or the source files linked to the SWC build path. Secondly, SWC and SWF files can be easily decompiled using a

Re: [flexcoders] [video included] Datagrid recycle issue? How can I 'force' it to re-render

2008-08-22 Thread Alan
Thanks for taking the time to respond, I have been debugging it, but any other debugging suggestions would be welcomed. While debugging, I put a breakpoint at my data provider variable, and the break point is tripped whenever new data is loaded, the datagrid is instaciated etc...;

[flexcoders] Re: question about AMF

2008-08-22 Thread tchredeemed
Where is your blog at? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Shared code problem. See modules presentation on my blog for more details. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Re: question about AMF

2008-08-22 Thread Maciek Sakrejda
http://www.google.com/search?q=alex+harui+blog -Original Message- From: tchredeemed [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: question about AMF Date: Fri, 22 Aug 2008 17:57:47 - Where is your blog at? --- In

[flexcoders] How much data can the chart component support

2008-08-22 Thread kirilminevgroups
I am developing a flex chart and I ran some tests with flat xml file containing 65 000 data points. When I tried loading all that data to simple plot chart my browser crashed and therefore it will not load that many data points. I need to find a way how to load over 100 000 data points on my

Re: [flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Howard Fore
On Fri, Aug 22, 2008 at 1:33 PM, Dmitri Girski [EMAIL PROTECTED] wrote: Dude, what's the hassle? You install a plugin for Eclipse, point the plugin at the BC executable and you're off... I just like when everything works. It worked before, now it is broken. And surprisingly, I am not

RE: [flexcoders] Re: Error styling datagrids

2008-08-22 Thread Alex Harui
The ADG packs a lot of advanced features the basic DG doesn't, but is much larger and somewhat slower. Nothing is free. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pixelgeek Sent: Friday, August 22, 2008 10:49 AM To:

Re: [flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread Sefi Ninio
Hi Tim. I'm not worried about duplicating code, the calculations are already implemented in a different function, since the first two label function use them. I want to save the computing time of doing the calculations again... And I do want to look at the datagrid and not the data (unless I'm

[flexcoders] Accessing button properties from the ToggleButtonBar

2008-08-22 Thread fumeng5
Hi. I want to set properties for each element in my ToggleButtonBar's dataprovider, i.e. enabled, visible, etc... Something like this: (myToggleButtonBar.dataProvider.getItemAt(0) as Button).enabled = false; But that doesn't work. I know the dataprovider of a ToggleButtonBar has to be a

RE: [flexcoders] Flex Builder Professional

2008-08-22 Thread Jim Hayes
My copy of FB pro (just updated to 3.1) shows this : Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y Build id: M20070921-1145 as the version of eclipse. I have Mylyn running as part of whatever I did to install subversion access some months ago(the details of which I forget I'm afraid) is

RE: [flexcoders] [video included] Datagrid recycle issue? How can I 'force' it to re-render

2008-08-22 Thread Alex Harui
The renderers have a data property which gets refreshed under certain situations. They then follow the component lifecycle in updating their display. In theory the setter for the data property must be hit when you see things go bad. The DG has a makeRowsAndColumns method that typically does

[flexcoders] Multiple viewstacks?

2008-08-22 Thread guillaumeracine
I want to know if this is possible because i tryed but it did not work... Lets say i have 4 main sections (so 4 viewstack child), if each of those child as 4 sub sections, is it possible to implements them as viewstack or i must use the add/remove child mecanism?

[flexcoders] Re: Flex Builder Professional

2008-08-22 Thread actionscript_czar
I have FlexBuilder 3 running standalone that I use instead of installing eclipse. I use Mylyn with it but instead of Mantis we use Jira and it seems to work fine. As for eclipse version, mine says eclipse is version 3.3.1, but then again I've used the update mechanism to... well... update

RE: [flexcoders] Dynamic menu that reconfigures in realtime - ideas for approch?

2008-08-22 Thread Tracy Spratt
I suggest using XML for the Menu dataProvider, since both are inherently hierarchical, plus XML gives you the e4x expression syntax for locating nodes. The general way to modify a menu is to change the dataProvider. You can replace it completely, or use an e4x expression to find the node

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Dmitri Girski
Nope, That's how Eclipse and Beyond Compare have always interacted, through a plugin. Is so hard just to vote for the bug ? You can make at least one person happier :)

[flexcoders] Tabbing into Combobox in Datagrid

2008-08-22 Thread Chilcoat, Dee
I have a combobox in a cell in a datagrid. Surrounding the cell with the combobox in it, are cells with text fields. I can tab from cell to cell, but when I try to tab to the combobox, the cursor skips over it. I want to be able to tab into the combobox. Code for the datagrid is below. The

[flexcoders] Re: Accessing button properties from the ToggleButtonBar

2008-08-22 Thread fumeng5
found my own solution: (myToggleButtonBar.getChildAt(index) as Button).enabled thanks for listening. --- In flexcoders@yahoogroups.com, fumeng5 [EMAIL PROTECTED] wrote: Hi. I want to set properties for each element in my ToggleButtonBar's dataprovider, i.e. enabled, visible, etc...

RE: [flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread Tracy Spratt
If you are usign VOs, why not just add properties and have the VO do the calculation internally, and forget the labelFunctions entirely? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sefi Ninio Sent: Friday, August 22, 2008

RE: [flexcoders] Multiple viewstacks?

2008-08-22 Thread Tracy Spratt
Absolutely you can nest ViewStacks. What didn't work. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of guillaumeracine Sent: Friday, August 22, 2008 3:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Multiple

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Dmitri Girski
Hi Kelly Why don't you just use Tortoise Diff? I use Tortoise SVN most of the time. Instead of Subclipse which sucks and instead of internal diff which also sucks. Tortoise SVN is a really great tool. But we also have guys on Macs and they don't have it. All stuff I tried for OS X is very

Re: [flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Howard Fore
It's not hard, I just see the same bugs you see.The only bug I've seen so far is that the preferences option that should let you set the text for the Compare doesn't actually change it in the FB3 Standalone version I'm running. And surely you can find something more worthy of making you happier

[flexcoders] Re: protecting swc?

2008-08-22 Thread ahmad_eldardiry
Thank you actionscript_czar for detailed answer. I don't currently intend to sell the source code, but I just want to make a swc which does not accidently (or intentionly) show its source code to Flex Builder users . I know ASV does reveal swf source code, but at least I want the minimum level

Re: [flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Howard Fore
On Fri, Aug 22, 2008 at 3:39 PM, Dmitri Girski [EMAIL PROTECTED] wrote: But we also have guys on Macs and they don't have it. All stuff I tried for OS X is very undeveloped. And the command line option is too hard for for them. Which SVN tools have you tried on the Mac? The only one I have

RE: [flexcoders] Binding problem - not refreshing after Array.push

2008-08-22 Thread Gordon Smith
It's all about architectural layering: Flex classes (mx.*) -- Flash class (flash.*) -- Core AS3 classes (int, String, Array, Date, etc.) Databinding is triggered by an event getting dispatched. Events are a Flash Player concept. ArrayCollection is a Flex class

[flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread Tim Hoff
I hear you Sefi, However, looking at the DataGrid is like the tail wagging the dog. The DataGrid is nothing more than a representation of the data, calculated or not. Not only might it be a bit backwards, but you may run into a race condition, by looking at what is displayed in the DataGrid,

RE: [flexcoders] htmlText: LI element, replace bullet w/ image?

2008-08-22 Thread Gordon Smith
In the Language Reference for the htmlText property, it says: The li tag places a bullet in front of the text that it encloses. Note: Because Flash Player does not recognize ordered and unordered list tags (ol and ul, they do not modify how your list is rendered. All lists are unordered and

RE: [flexcoders] Re: XMLList to ArrayCollection

2008-08-22 Thread Gordon Smith
I'm not that familiar with XMLListCollection, but presumably the advantage of using it if you're starting with XML is in not having to convert your data to another form. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Tabbing into Combobox in Datagrid

2008-08-22 Thread Alex Harui
If you wrap CB in a VBox, your renderer is going to be very heavy and slow as VBox measures it and tries to layout a stack of things but the stack has only one thing in it. Also, the VBox is not an iFocusManagerComponent so it won't be assigned focus. You'd be better off just subclassing CB, but

[flexcoders] Re: question about AMF

2008-08-22 Thread tchredeemed
Alex, after looking through the ppt, I do not know if this is the same issue. It seems to me the issue you pointed me to is when the two modules want to share a portion of code. I.E. a singleton enforced class. My problem seems to be different, I am actually trying to instantiate code that has

RE: [flexcoders] Re: Error styling datagrids

2008-08-22 Thread Alex Harui
Actually, it is a moldy old acorn of a comment, but it remains true. You are welcome to submit an enhancement request and even propose how you'd like to see the API for it and/or write and submit the code changes. But these days, I'm trying to keep things from growing too big.

[flexcoders] Re: Flex Builder Professional

2008-08-22 Thread George
--- In flexcoders@yahoogroups.com, Jim Hayes [EMAIL PROTECTED] wrote: My copy of FB pro (just updated to 3.1) shows this : Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y Build id: M20070921-1145 as the version of eclipse. I have Mylyn running as part of whatever I did to install

RE: [flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread Tracy Spratt
Also, you can use a single labelFunction for all columns if you want. Don't think it will make any difference to what you are asking about, just might be clearer code. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff

[flexcoders] Preloader in a big shared library, bad idea?

2008-08-22 Thread Baz
Hi, I have a Flex Library Project that is the foundation for all other flex projects in our department. It includes complex mxml components, themes, fonts, images, assets, etc. - heavy stuff. I am now working on a custom preloader that I would like all the applications to share and use. The

Re: [flexcoders] Template architecture

2008-08-22 Thread Richard Rodseth
This is working out quite nicely, but I'd like some validation. Rather than using an init event as described here: http://livedocs.adobe.com/flex/3/html/help.html?content=templating_3.html I have a property setter for the template contents (or a definition object in my more complex cases). The

Re: [flexcoders] Preloader in a big shared library, bad idea?

2008-08-22 Thread Doug McCune
Only what you use in your app will be linked into the SWF, so if the preloader is all that you use then none of the other bloat will make it into the SWF file. So your library SWC might be 5 megs, but if all you use is the tiny preloader then your swf file won't be big... well, unless you think

RE: [flexcoders] Re: Flex Builder Professional

2008-08-22 Thread Jim Hayes
Yes that helps. Thank you. I am interested in using Eclipse 3.4 with Flex Builder. Anyone know whether the Flex Builder plugins work with 3.4? Apparently it does : see http://tech.groups.yahoo.com/group/flexcoders/message/122745 That's all I know, however (I use flexbuilder myself).

[flexcoders] Choosing Components Dynamically

2008-08-22 Thread mknuttall
Has anyone or does anyone know if it is possible to choose what component to display dynamically? For instance if one is displaying a questionnaire, questions are Text, Yes No, List and Date and are not know what they are or what the order is till runtime.

Re: [flexcoders] Choosing Components Dynamically

2008-08-22 Thread Richard Rodseth
You can certainly build a view dynamically, because any component can be instantiated in ActionScript. Depending how you structure things, the code may become quite a bit more verbose than you are accustomed to. I believe there are some restrictions on creation by name in ActionScript, but if the

Re: [flexcoders] Preloader in a big shared library, bad idea?

2008-08-22 Thread Baz
Thanks Doug, Lets say that a new application links to my 5mb library and at one point or another it ends up using 3mb worth of components, including the tiny preloader. At the time of preloading, does it only load the 5kb needed to preload, even though later on it needs 3mb? Or does it load the

Re: [flexcoders] Multiple viewstacks?

2008-08-22 Thread Fidel Viegas
On Fri, Aug 22, 2008 at 8:49 PM, Tracy Spratt [EMAIL PROTECTED] wrote: Absolutely you can nest ViewStacks. What didn't work. I second this. I have used it and it worked. Fidel.

Re: [flexcoders] Preloader in a big shared library, bad idea?

2008-08-22 Thread Doug McCune
aha, I see. I think you should be good to go. As far as I know, the preloader will get loader first and that will get added to the stage and run while the rest of the SWF loads. Just make sure you don't use any huge classes within your Preloader (ie don't use UIComponent or any Flex controls in

Re: [flexcoders] Accessing button properties from the ToggleButtonBar

2008-08-22 Thread Michael Schmalle
Hi, The button bar is just a normal container that reacts to a dataProvider collection event system. If you know the index of the dataProvider item, just use; var button:Button = myBar.getItemAt(index) as Button button.enabled = false; I can't remember if NavBar has a method that actually

Re: [flexcoders] Accessing button properties from the ToggleButtonBar

2008-08-22 Thread Michael Schmalle
Opps. it's friday it's not var button:Button = myBar.getItemAt(index) as Button it's var button:Button = myBar.getChildAt(index) as Button Mike On Fri, Aug 22, 2008 at 6:59 PM, Michael Schmalle [EMAIL PROTECTED]wrote: Hi, The button bar is just a normal container that reacts to a

[flexcoders] User resizable TextArea

2008-08-22 Thread Dale Cook
Apart from using the ObjectHandles library to achieve this, does anyone know of a TextArea replacement that can be resized by the user? Dale

RE: [flexcoders] Re: question about AMF

2008-08-22 Thread Alex Harui
It is essentailly the same problem. Each module has a definition but only one can be translated via AMF and if it is the wrong one you have trouble. So you have to use the same techniques to only have one definition of any class used by AMF From:

Re: [flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Howard Fore
Kelly, what's the bug number on that? On Fri, Aug 22, 2008 at 6:45 PM, Kelly [EMAIL PROTECTED] wrote: Yea, I wish they would bring Subclipse up to par with Tortoise. I work on Linux so there is no Tortoise either. I will vote for your bug if you will vote for the Templates enhancement.

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread mknuttall
I guess i need to use tortoise more often. I use Eclipse and SVN daily and have for years. I don't see the problem (maybe i am lucky). In Eclipse Ganymede, there is now a built in SVN client. It used to be a separate product - http://www.eclipse.org/subversive/ I also noticed that people have

[flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread mknuttall
Because then it wouldn't be a VO. :) --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: If you are usign VOs, why not just add properties and have the VO do the calculation internally, and forget the labelFunctions entirely? Tracy

[flexcoders] PieSeries label question- need more formatting control of the label.

2008-08-22 Thread icodeflex
Hello- I have a requirement to style the text in a PieSeries label to display with mixed sized text, colors, and fonts. I am thinking the solution lies in a labelRenderer for the PieSeries- which as far as I can tell isn't supported in the out of the box PieSeries. Has anyone done this before

[flexcoders] Re: Choosing Components Dynamically

2008-08-22 Thread mknuttall
Thanks. I should be fine with the verboseness. I've coded this type of thing in Java (Swing and SWT) and something like it in WinForms. Actually, it is not to bad in Java. Pretty clean code. Any examples? --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: You can

[flexcoders] Httpstatus from httpservice?

2008-08-22 Thread Brad Keck
I am using an httpservice to retrieve an XML document. I want to find out the httpstatus I am receiving on the call to handle errors. (Specifically, I'm looking for a 30x code to handle a redirect if the session has timed out.) It does not seem that the either the fault or result events

[flexcoders] Re: Choosing Components Dynamically

2008-08-22 Thread mknuttall
I can deal with the verbosity and the components will be predesigned and so available at compile time. Got any examples? --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: You can certainly build a view dynamically, because any component can be instantiated in

[flexcoders] Binding XML elements containing hyphens to DataGridColumns

2008-08-22 Thread seanwinship
I am trying to bind XML that has hyphens in the element names to a DataGrid. If I declare something like this: mx:DataGridColumn dataField=asset-id headerText=Asset ID/ and use the Service/Model Proxy pattern, I can load the data from an HTTPService. However, I can't seem to bind other

[flexcoders] Re: Free Flex Gauge Component

2008-08-22 Thread twgonzalez
Hi All, Sorry I have not been tracking Flex Coders as much as I should have. To answer some questions. 1) Yes this is the Degrafa gauge component. 2) I put it as v0.4 component because it is my forth release, but I have never personally regression tested it. Usually if I put a 1.0 label on

[flexcoders] Re: DataGridColumn trouble...

2008-08-22 Thread Tim Hoff
Absolutely not true. Perhaps it wouldn't be a pure dto, but vo's often contain properties that are only useful to the UI. Since you've chosen to perform these calculations in the client, as opposed to the middle tier; where business logic typically resides, each row of the collection will have

  1   2   >