I'm not sure if this is applicable, but since a newline on a windows
system is \r\n (CR + LF), is it possible that hitting enter adds both
these characters, and then hitting backspace only removes the last
character, leaving the \r?
I would have thought the built-in TextArea component would
StringUtil.substitute might help with the token replacement.
--- In flexcoders@yahoogroups.com, Weyert de Boer [EMAIL PROTECTED] wrote:
Hello!
Does anyone know some simple text-based template engine for Flash? I
would like to generate some text files based on code
snippets/templates
in
--- In flexcoders@yahoogroups.com, Jonathon Stierman [EMAIL PROTECTED]
wrote:
Has anyone been able to make this work? I have a sample up and
running
(and receiving the callbacks), but my arguments come back only as
Object
class instances.
Using an args[0] is MyComplexObject returns false
Sorry about the empty post - meant to say:
Take a look at registerClassAlias
- http://livedocs.adobe.com/flex/3/langref/flash/net/package.html#reg\
isterClassAlias()
--- In flexcoders@yahoogroups.com, Jonathon Stierman [EMAIL PROTECTED]
wrote:
Has anyone been able to make this work? I have a
--- In flexcoders@yahoogroups.com, Jonathon Stierman [EMAIL PROTECTED]
wrote:
Ahh, thank you! That does retain the class definition.
But it doesn't seem to have included all the nested complex objects -
I
have a three layer deep model (Library Bookshelf Book, for
example), and while
*sigh* Another blank message. Rich Text Editor doesn't like me today,
it seems.
What I had written was:
Are you making a registerClassAlias call for each complex object?
That's the only thing I can think of. I've got a similar situation
with nested complex objects, and while I'm using
Hey list,
I'm trying to dynamically create a HSlider and add it as a child in
the updateDisplayList method of a Canvas subclass.
When I do this, I get a run-time exception because the slider's
updateDisplayList runs before the slider's commitPropertes (and
commitProperties seems to set up
Maybe I'm just missing some complexity of the problem, but any reason
why something like this wouldn't work? (assuming the scrolling ticker
can accept XML in its dataProvider)
private function resultHandler(evt:ResultEvent):void {
var result:XML = evt.result;
datagrid.dataProvider =
I've done something like this before where I leave the default
preloader UI up until additional loading has been completed. If you
decide to go down that road, the steps I used were something like
this:
- Subclass DownloadProgressBar and override the setter for the
preloader property.
-
I imagine this is the norm, unless there is something different with
Flex-specific shops. I think the general idea is they don't want to
pay people to write code, only to have them quit and take the stuff
they wrote to a competitor. You can still reuse your code, as long as
you do it for the
As far as I know, that was a new feature introduced in Flex 3.
--- In flexcoders@yahoogroups.com, Dennis Falling [EMAIL PROTECTED]
wrote:
How do you select which SDK to use in flex builder 2? In 3 you can
specify
a default for all projects and set one for each project.
It's possible, but ugly. I did a similar thing in a project I'm working
on where I wanted errorTips to show on focusIn/focusOut. I created a
subclass of ToolTipManagerImpl and overrode the registerErrorTip method
- you'd want to override registerToolTip instead. The current
implementation adds
Even if you don't install it permanently, you could always try it out
for a day or two, make sure your apps work with the new player.
--- In flexcoders@yahoogroups.com, Nick Collins [EMAIL PROTECTED] wrote:
You should be fine. The new APIs (IK, 3D transformations, etc.) aren't
available in
You can try something like this (seemed to work for me):
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute
mx:Script
![CDATA[
import mx.controls.Label;
override protected function createChildren():void
{
For #1, you can use the restrict property of TextArea. It should do
exactly what you need.
http://livedocs.adobe.com/flex/3/langref/mx/controls/TextArea.html#res
trict
--- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:
For 1 you would probably have to add an event listener
If you don't have permissions to put files at the root of the server,
you can use Security.loadPolicyFile() to load a crossdomain.xml from
a custom location.
--- In flexcoders@yahoogroups.com, bornaeon [EMAIL PROTECTED] wrote:
Hi all.
I am working in my full flex site, and in one part of
This should work:
public function onCreationComplete():void
{
tabNav.addEventListener(IndexChangedEvent.CHANGE, tabsChanged);
}
private function tabsChanged(event:IndexChangedEvent):void
{
//do validation
}
--- In flexcoders@yahoogroups.com, Dharmendran A [EMAIL PROTECTED]
wrote:
Hi,
Hello,
I'm having a problem where input fields that fail validation don't
pick up a borderColor style from a runtime stylesheet. I've got a
small test case below with a NumberValidator hooked up to a TextInput
and two buttons that load/unload some styles.
If you type a number in the field
Hello,
I'm having a problem with using XML that contains namespaces as a data
provider for a ColumnChart. When setting the yField property of the
ColumnSeries, nothing shows up in the chart if I just use the local
name portion, and there seems to be no way to specify a namespace.
There is a
19 matches
Mail list logo