[flexcoders] Fast String concatenation

2008-07-11 Thread polestar11
Hi there I wanted to check if there are any tricks one can do to improve the speed on concatenating strings. I know in Java there is a StringBuilder class which is faster than the '+' operator. I havent seen an equivallent for Actionscript, so is var mystring:String = 'string1' + 'string2' the

[flexcoders] Re: Fast String concatenation

2008-07-11 Thread polestar11
, Simon Bailey [EMAIL PROTECTED] wrote: Try the much faster appendText() method :) Cheers, Simon On 11 Jul 2008, at 13:53, polestar11 wrote: Hi there I wanted to check if there are any tricks one can do to improve the speed on concatenating strings. I know in Java

[flexcoders] Re: Fast String concatenation

2008-07-15 Thread polestar11
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of polestar11 Sent: Friday, July 11, 2008 5:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Fast String concatenation Hi there I wanted to check if there are any

[flexcoders] Performance, Event Listeners and removedFromStage

2008-07-15 Thread polestar11
Hi I know it's good practise to clean up event listeners to improve on performance. I see 2 ways of doing this: - Explicitly clean up listeners (using removeEventListener(...)) - Specify 'useWeakRefrerences = true' when adding the event listener (addEventListener(Event.ADDED_TO_STAGE,

[flexcoders] Custom Components - updateDisplay results in ghost children drawn

2008-07-15 Thread polestar11
Hi I've been working with custom components only just noticed a strange re-drawing issue where I get ghost versions of the children in my component appearing. I've only just noticed this since I set the child's position relative to unscaledWidth, which changes and so allows me to see N

[flexcoders] Re: Performance, Event Listeners and removedFromStage

2008-07-16 Thread polestar11
Is there any other way / event to completely remove events instead of using the removedFromStage event? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Weak refs work. You can rely on them, but not count on when an object will finally go away. removedFromStage

[flexcoders] Re: Custom Components - updateDisplay results in ghost children drawn

2008-07-16 Thread polestar11
Thanks Josh This example was a simple case. What I actually want to is have my component behave like a container where it centres its child items. In retrospect I would have to extend from the Container class. The absoulte size would fix the problem (in that the item re-draws would occur

[flexcoders] Re: Custom Components - updateDisplay results in ghost children drawn

2008-07-16 Thread polestar11
()); } _nameText = nameText; _numberText = numberText; invalidateProperties(); } --- In flexcoders@yahoogroups.com, polestar11 [EMAIL PROTECTED] wrote: Thanks Josh This example was a simple case. What I actually want to is have my component behave like

[flexcoders] Re: Custom Components - updateDisplay results in ghost children drawn

2008-07-16 Thread polestar11
()); } _nameText = nameText; _numberText = numberText; invalidateProperties(); } --- In flexcoders@yahoogroups.com, polestar11 [EMAIL PROTECTED] wrote: Thanks Josh This example was a simple case. What I actually want to is have my component behave like a container

[flexcoders] Re: Custom Components - updateDisplay results in ghost children drawn

2008-07-17 Thread polestar11
Well what do u know. I moved my component from my test sandbox to my production environment and the problem went away - no strange graphics lingering behind. Very strange, but at least it works. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: I don't think

[flexcoders] Create Flex Ajax Bridge menu option - Crashes FlexBuilder

2008-12-05 Thread polestar11
rant So often I have accidentally clicked the 'Create Ajax Bridge' menu option which is located just above the SVN 'Team' menu option. I then click cancel and ... wallah ... Flex Builder has crashed. /rant

[flexcoders] Re: Create Flex Ajax Bridge menu option - Crashes FlexBuilder

2008-12-16 Thread polestar11
FlexBuilder 3 --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Friday 05 Dec 2008, polestar11 wrote: So often I have accidentally clicked the 'Create Ajax Bridge' menu option which is located just above the SVN 'Team' menu option. I then click cancel

[flexcoders] Re: Flex Debug Problem

2009-11-04 Thread polestar11
Hi there I managed to find a solution to the problem. It has to do with outdated app xml config files (which I think don't get committed into source control) So after importing my project from source control, I create a new application (eg. Test) and run / debug it, which works fine. Compare

[flexcoders] Re: FB3 Debug: Launch Failed: Invalid argument

2009-11-04 Thread polestar11
Have you tried debugging your app with FireFox? I'm also on a mac but have never tried debugging using Safari Cheers Tracy --- In flexcoders@yahoogroups.com, Stephen Downs st...@... wrote: I've having an extremely agonizing time dealing with mysterious alert messages when trying to debug my

[flexcoders] Re: Wondering about buttons..

2009-11-04 Thread polestar11
I would do the same, where these public properties update the style information of the button (icon labelPlacement) I would also probably do this as an mxml component (with the code inside a mx:Script tag) --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: If I were going

[flexcoders] Re: How can I populate the data in PopUpMenuButton?

2009-11-04 Thread polestar11
I have never worked with an AdvancedDataGrid, but for a regular DataGrid I would do the following: - create a new component that will be the item-renderer (possibly extend DataGridItemRenderer) - this new component would contain a popup-menu component - at this component level you have access to

[flexcoders] FlexBuilder - Release Build - Cannot type Cyrillic foreign characters

2009-11-26 Thread polestar11
Hi there All of a sudden when creating a release build of my application, users are not able to type Cyrillic other foreign characters into textareas. If I test on a debug version I am able to enter in these characters, but not if I make a release build. This is strange because I have made

[flexcoders] Special characters (eg. Cyrillic) TextArea

2009-11-30 Thread polestar11
Hi there I have a problem where I am not able to paste special characters (eg. cyrillic arabic) into a flex TextArea component. This occasionally happens in a debug version of my app and always happens in a release build. I created a test application in the same project to try isolate the

[flexcoders] Re: Special characters (eg. Cyrillic) TextArea

2009-12-01 Thread polestar11
] On Behalf Of Andriy Panas Sent: Monday, November 30, 2009 10:49 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Special characters (eg. Cyrillic) TextArea Hi polestar11, Simple code sample will definitely help to understand your issue. -- Best regards, Andriy Panas

[flexcoders] Re: Special characters (eg. Cyrillic) TextArea

2009-12-02 Thread polestar11
, but about Flash player features. -- Best regards, Andriy Panas 2009/12/1 polestar11 polesta...@... Hi there It is the mx:TextArea: mx:TextArea width=200 y=20 x=20 / Here is a code snippet: mx:Box width=100% height=100% horizontalAlign=center verticalAlign=middle

[flexcoders] Weird font issues

2009-12-03 Thread polestar11
Hi there I'm experiencing a strange issue where when compiling running my project with FlexBuilder, text in a custom implementation of Flex's new text-layout control periodically disappears and re-appears, or just doesn't display at all. I put this build (debug or release) up for my

<    1   2