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
, 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
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
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,
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
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
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
());
}
_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
());
}
_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
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
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
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
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
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
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
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
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
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
] 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
, 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
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
101 - 121 of 121 matches
Mail list logo