Re: [flexcoders] Calculating width of a child BEFORE it's added...

2010-08-30 Thread dorkie dork from dorktown
Example code, mx:VBox width=100% mx:Text width=100% / /mx:VBox If you need to truncateToFit the text you can use the truncateToFit property, more info... http://blog.flexexamples.com/2008/01/26/truncating-text-in-the-flex-label-control-using-the-truncatetofit-property/ On Mon, Aug 30, 2010 at

Re: [flexcoders] basic authentification on air

2010-08-30 Thread Haykel BEN JEMIA
You have to put the full URL in service.destination. Le 2010 8 30 05:30, cholid cholid cholid_rid...@yahoo.com a écrit : i try to get some property of an object with xmlrpc and it's work then i adopt the code to air application when it run, then show a login window that is not happen in flex

Re: [flexcoders] Window website

2010-08-30 Thread Wesley Acheson
Hi, I'm a little confused as to what you want here? Do you mean you want the website to work at low resolutions say 640x480 or something else? Regards, Wesley Acheson On Sun, Aug 29, 2010 at 6:13 PM, Christophe christophe_jacque...@yahoo.frwrote: Hello, I am searching for examples of

[flexcoders] Re: Sorting in AdvancedDatagrid in Flex 3

2010-08-30 Thread tntomek
One option is to apply the sort on your collection and pull the records in out, sort, re-set to datagrid. this is a bit trickier then you might think but its possible. So AC.sort = someSort; var orderedRows:Array = AC.source; grid.dataProvider = new AC(orderedRows) Something along those

[flexcoders] Re: Problem getting compiler to recognize a custom class

2010-08-30 Thread colin.ashe
The class in question is a UI Component, which is being instantiated in MXML. I've included the necessary xmlns entry in the application tag. As I understand it, this is the only importing that needs to happen. And, as I said, the IDE knows about the class and can provide me with lots of

[flexcoders] Add check mark to context menu item when running in Web (not AIR)

2010-08-30 Thread pearlnferns
Hi all, I have a context menu to which I have added context menu items at runtime. I need to place a check mark next to the menu item that is currently selected. Although Flex provides the 'checked' property for a ContextMenuItem, this can be used only with AIR applications and the app I'm

[flexcoders] memory leaks and activation-objects

2010-08-30 Thread lew.miller
I've been wrestling with memory leaks and the FB4 profiler and lately have been trying to understand activation-objects and their relationship to GC because the vast majority (often all) of the references the profiler tells me an object has keeping it in memory come from activation objects.

Re: [flexcoders] Add check mark to context menu item when running in Web (not AIR)

2010-08-30 Thread Alex Harui
AFAIK there is no way to do that. Some folks add a context menu item that pops up a regular Flex menu with checkboxes. It is two steps, but that is the only way. On 8/30/10 7:20 AM, pearlnferns pearl.fernan...@celstream.com wrote: Hi all, I have a context menu to which I have added

Re: [flexcoders] memory leaks and activation-objects

2010-08-30 Thread Alex Harui
AFAIK, they do not cause leaks. If you show some data or a simple test case that indicates that they are, I will try to take a look. On 8/30/10 8:36 AM, lew.miller lew.mil...@gmail.com wrote: I've been wrestling with memory leaks and the FB4 profiler and lately have been trying to

[flexcoders] Weird Problem with the PopupButton Display!

2010-08-30 Thread saurabh_1guru
Hi, I have a simple Popup Button that displays a list of options. Very weirdly many times (At least the first time for sure) when I open the menu, all the options do not appear and the list seems to be broken. But when I start to scroll my mouse over the options, they start appearing.

[flexcoders] Re: FABridge Problem - Please help!

2010-08-30 Thread gmbroth
Hi, Was this problem resolved? I have Flex 3 MXML that defines: mx:Application ... utils:FABridge bridgeName=foo/ ... /mx:Application In Flex 4, must this statement now appear inside an fx:Declarations element? Even if there's no other fx namespace elements being used in the MXML?

[flexcoders] Need help making a Flex chart with an interactive legend

2010-08-30 Thread s_grollins
Hello, I currently need help with making a chart in Flex with multiple series and a chart legend which is an interactive legend where upon selecting an item in the legend (which corresponds with a series in the chart) that specific series in the chart will slideDown or Up depending on whether

Re: [flexcoders] How to tell if I am a popup.

2010-08-30 Thread Haykel BEN JEMIA
http://livedocs.adobe.com/flex/3/langref/mx/core/IUIComponent.html#isPopUp Le 2010 8 30 22:44, aceoohay pa...@compuace.com a écrit : I have a mx:module component that I sometimes call with a moduleloader, and sometimes call with a popupManager. In order to close the item properly I need to know

[flexcoders] Re: memory leaks and activation-objects

2010-08-30 Thread lew.miller
Thanks Alex. I don't have any simple test case indicating that they leak, I'm just struggling to understand what is causing certain leaks in a large application where the profiler points me to activation objects. So when tracking memory leaks with the FB4 profiler you're saying one

Re: [flexcoders] Re: memory leaks and activation-objects

2010-08-30 Thread Alex Harui
Could you be registering anonymous functions as event listeners and other callbacks? On 8/30/10 12:52 PM, lew.miller lew.mil...@gmail.com wrote: Thanks Alex. I don't have any simple test case indicating that they leak, I'm just struggling to understand what is causing certain leaks in a

Re: [flexcoders] Re: FABridge Problem - Please help!

2010-08-30 Thread Alex Harui
I don’t have time to try it right now. In Flex 4, the tag goes inside the fx:Declarations tag. I took a quick look at the AS code and it uses ExternalInterface so it shouldn’t be sensitive to changes between Flex 3 and 4. Have you tried debugging from both sides? Use a JS debugger or stick a