Re: [flexcoders] Position elements with different font size against baseline in HBox
Well, thank you for the answer, but I originally asked how I could eliminate padding =) On Sun, Sep 6, 2009 at 3:49 AM, Ivan Wang ivan.wang2...@gmail.com wrote: Just make the labels same height, and tuning its own padding. I think it is sort of tricky, but Flex still can't make text alignment perfect automatically, and you do always have to spend much effort to get over this. mx:HBox mx:Label height=100% text=LABEL1 fontSize=10 paddingTop = 2/ mx:Label height=100% text=LABEL2 fontSize=12 paddingTop = 0/ /mx:HBox - Original Message - *From:* Alexander Tarelkin alexander.tarel...@gmail.com *To:* flexcoders@yahoogroups.com *Sent:* Saturday, September 05, 2009 2:38 AM *Subject:* [flexcoders] Position elements with different font size against baseline in HBox Hello, flexcoders. Let's pretend I have the following code: mx:HBox mx:Label text=LABEL1 fontSize=10/ mx:Label text=LABEL2 fontSize=12/ /mx:HBox What should I do to vertically position the buttons on the same baseline without using padding? Referencing some constraint row from outside the HBox does not work, since HBox abolishes absolute positioning. Thank you, Alexander Tarelkin
Re: [flexcoders] LineSeries in LineChart
Types inherited from Series including LineSeries have a filterData property. Hopefully this is all you need. On Sat, Sep 5, 2009 at 10:56 PM, ram ramesh ram_y...@yahoo.co.in wrote: Hi How to block/restrict undefined value or null value in Lineseries before plotted into Chart. I tried all the scenarios.The issue is not consistent. If the Data object is not in ArrayCollection , undefined is getting plotted in the Chart. The Data point in the Chart is in 0 position of the Axis if the value is undefined. Please help me .I am relly sturggling to come out from this issue. 3 days I tried in all the scenarion like filteData = true setting and all. Please Response ASAP that would be very helpful. Thanks Ramesh
Re: [flexcoders] LineSeries in LineChart
I am sorry/ I missed that you have already tried this. Why don't you want to wrap the collection with an ArrayCollection if it works? On Sun, Sep 6, 2009 at 8:39 PM, Alexander Tarelkin alexander.tarel...@gmail.com wrote: Types inherited from Series including LineSeries have a filterData property. Hopefully this is all you need. On Sat, Sep 5, 2009 at 10:56 PM, ram ramesh ram_y...@yahoo.co.in wrote: Hi How to block/restrict undefined value or null value in Lineseries before plotted into Chart. I tried all the scenarios.The issue is not consistent. If the Data object is not in ArrayCollection , undefined is getting plotted in the Chart. The Data point in the Chart is in 0 position of the Axis if the value is undefined. Please help me .I am relly sturggling to come out from this issue. 3 days I tried in all the scenarion like filteData = true setting and all. Please Response ASAP that would be very helpful. Thanks Ramesh
[flexcoders] Position elements with different font size against baseline in HBox
Hello, flexcoders. Let's pretend I have the following code: mx:HBox mx:Label text=LABEL1 fontSize=10/ mx:Label text=LABEL2 fontSize=12/ /mx:HBox What should I do to vertically position the buttons on the same baseline without using padding? Referencing some constraint row from outside the HBox does not work, since HBox abolishes absolute positioning. Thank you, Alexander Tarelkin
Re: [flexcoders] Flex Compilation takes long time
I googled on the same subject literally a couple of weeks ago. Here is the link that shed some light and helped me: http://stackoverflow.com/questions/33768/any-advice-for-speeding-up-the-compile-time-in-flex-builder-3 What turned out relevant for our projects: * Slow compile time is most often caused by having large numbers of embedded resources ([Embed] or @Embed). We have plenty of them, but the second tip helped much more. * Go to Project-Properties-Flex Applications. All of the applications listed are compiled each time. This one is so evident but no one thought of that. We had 8 applications in the project, but only two of them were required at a time. On Wed, Jul 22, 2009 at 9:30 AM, ondemand_mayur ondemand_ma...@yahoo.comwrote: Hi folks, I have a project crated with Flex 3 ( SDK 3.2 ). When ever I compile it really takes much long time min 4 to 5 mins ( i.e. 240 to 300 seconds). That really make my developers crazy and it is so frustrating. Has any one any suggestions how to make compilation process faster. * I have already set -incremental=true for flex compiler in Flex Builder 3. * I have around six diff. modules in my project. ( And I have noticed after modularization of my application it takes some more time for compilation I know that in the process - flex builder has to call another tool for module compilation other then MXMLC ) I Need some tech. Tips and suggestions to reduce the time for compilation. Thanking you in advance. Mayur -- Alexander Tarelkin Web Developer devexperts.com
Re: [flexcoders] Flex Compilation takes long time
This link can be useful as well: http://hasseg.org/blog/?p=194 On Wed, Jul 22, 2009 at 9:30 AM, ondemand_mayur ondemand_ma...@yahoo.comwrote: Hi folks, I have a project crated with Flex 3 ( SDK 3.2 ). When ever I compile it really takes much long time min 4 to 5 mins ( i.e. 240 to 300 seconds). That really make my developers crazy and it is so frustrating. Has any one any suggestions how to make compilation process faster. * I have already set -incremental=true for flex compiler in Flex Builder 3. * I have around six diff. modules in my project. ( And I have noticed after modularization of my application it takes some more time for compilation I know that in the process - flex builder has to call another tool for module compilation other then MXMLC ) I Need some tech. Tips and suggestions to reduce the time for compilation. Thanking you in advance. Mayur -- Alexander Tarelkin Web Developer devexperts.com
Re: [flexcoders] variables name are in array
Where is the breaking condition in the loop? On Wed, Jul 22, 2009 at 12:57 AM, markflex2007 markflex2...@yahoo.comwrote: I use a array to save variable names and other to save values,but why the following code doesn't work.please give me a idea. for(var i:int = 0;arrName.length; i++) { arrName[i] = arrValue[i]; } Thanks a lot. Mark -- Alexander Tarelkin Web Developer devexperts.com
Re: [flexcoders] FlexBuilder / eclipse Question
Ctrl+F8 jumps between perspectives, and by default will return to the previous one. On Fri, Jul 17, 2009 at 7:21 PM, Libby libbychan...@yahoo.com wrote: Hi FlexBuilders! I was wondering if there is an option or way to automatically return to the development perspective when you shut down the debugger? So if you do terminate (Ctrl-F2) on the app in the debugger, you would immediately swap back over to development perspective the same way you earlier swapped to debugger perspective when you hit the debug button? Thanks for this and all your past help on this forum. Libby
[flexcoders] Sharing DataTransform between series
Hello, I am working on an application that displays several series on the same chart. The series display similar data so they actualy share vertical and horizontal axes. I noticed that series.describeData method is invoked twice for each dimension on any underlying data update. It turnes out that the axes are involved in several equal DataTransform objects within the chart. One common created in the CartesianChart, and one for each Serie object. Each data update leads to describeData invocation in the axes, they in turn call describeData on the registered datatransforms, the datatransforms call describeData on each IChartElement. Thus, each serie is contained in two dataTransforms: CartesianCharts' one and the Serie's own one. DataTransform object does not contain any state, so I wanted to reuse the chart's datatransform for all the series. Each Serie implements IChartElement so it implies passing in an external DataTransform. But, it turns out that the implementation of each series (Line, HLOC, Area) contains the following code in commitProperties method: dataTransform.elements = [this]; Moreover, the implementation of CartesianDataCanvas contains the code as well. Is there any reason why I should not want to reuse the same DataTransform or it is a bug? P.S. As a hack, I certainly can override the commitProperties and return the thrown out elements back, or even set elements array to an empty one and communicate over the CartesianChart's datatransform. I just wonder why it is as it is. I am using Flex 3.3.0.