> Not able to achieve this.
Why not? One simple solution is just to have a resource in your .properties
file that looks like this:
ComboList=Item 1,Item 2,Item 3
Use getString() and split() to turn it into the array [ “Item 1”, “Item 2”,
“Item 3” ] that you can use as the dataProvider of the C
No. The braces are required.
Gordon Smith, Adobe compile team
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf
Of Davidson, Jerry
Sent: Friday, July 20, 2012 6:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Syntax - Package
We've all seen
lling setStyle()will
force another layout.
Gordon Smith, Adobe
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf
Of flexwdw
Sent: Wednesday, April 11, 2012 3:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] setStyle, preinitialize and initialize
So, I've
I think you can call flash.net.navigateToURL() to change the browser page. When
you change the page, the instance of the Flash Player playing the old page will
get terminated.
- Gordon Smith, Adobe
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf
Of Dan M
Sent
ECMAScript did it this way and ActionScript was trying to follow ECMAScript.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf
Of John Fletcher
Sent: Friday, January 13, 2012 6:23 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: date problem?
> I don't think there is a JIT inside (maybe I am wrong), so each instruction
> is decoded and emulated on the native CPU.
The ActionScript 3 Virtual Machine in Flash Player does use a JIT.
Gordon Smith, Adobe
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
them.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf
Of Gustavo Duenas
Sent: Friday, October 07, 2011 9:51 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] help with a repeater
Thank you my friend, you are really good
ed, you can use its getRepeaterItem()
method to get the item in the dataProvider that created it.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf
Of Gustavo Duenas
Sent: Friday, October 07, 2011 5:28 AM
To: flexcoders@yahoogroups.com
I would expect single/double quotes to work. If they don't, I think you should
file a bug.
One more thing to try in the meantime is putting a backslash in front of the
space.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behal
, because they
may not exist yet. Item renderers get created on demand as items scroll into
view.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of sdl1326
Sent: Wednesday, August 25, 2010 9:48 AM
To: flexcoders@yahoogroups.com
I think using const for local variables that don't change is a good idea. I
wish we had done it throughout the framework. In the future, it might allow the
ActionScript compiler to do better optimization.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:fl
I think you're right that you can't find out at runtime that 'bar' was typed as
IBitmapDrawable. But using IBitmapDrawable as a type annotation does ensure
that it gets compiled in unless you deliberately exclude it.
Gordon Smith
Adobe Flex SDK Team
From: flexco
But you don't HAVE to use embedded fonts. You could just specify some standard
Japanese device font.
What problem are you having with Japanese text?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Andriy Panas
Sent: Tu
I don't think so. How early do you need it? Why isn't preinitialize early
enough?
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of dorkie dork from dorktown
Sent: Thursday, June 03, 2010 12:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Even
It should work. Exactly what problem are you having?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of tex_learning_flex
Sent: Wednesday, May 19, 2010 7:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] textInput - Flex 4
From the ASDoc for these events:
preinitialize: "Dispatched at the beginning of the component initialization
sequence. The component is in a very raw state when this event is dispatched.
Many components, such as the Button control, create internal child components
to implement functionality; fo
preinitialize - before child components are created
initialize - after children are created, but before component undergoes layout
creationComplete - after layout
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Angelo Anolin
> Is there a limit to the number of states in a Flex application?
Not that I'm aware of.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Joel
Sent: Saturday, May 15, 2010 8:52 PM
To: flexcoders@yahoogroups.com
You can assume that anything not documented as being asynchronous is
synchronous.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of itaid1
Sent: Friday, May 14, 2010 9:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re
I would just use a RegExp to replace \r and \n with nothing or with a space.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Baz
Sent: Wednesday, May 12, 2010 11:39 AM
To: Google/Yahoo Groups
Subject: [flexcoders] Best way to
> Is is possible to update all the variables that are affected by a change to
> the affiliate?
If you make them static getters rather than static vars, they can return
something different every time you access them.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogrou
icles and does
transportation scheduling algorithms. If you had a Car class that implemented
both ICarbonEmitter and IVehicle, then either library could work with an
instance of Car.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Or use an and specify the minValue and maxValue.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Tom Chiverton
Sent: Monday, April 19, 2010 3:34 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Question on TextInput
11:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Can someone rewrite this...
Gordon:
that solution (the age switch) is what i proposed before, in the fisrt reply, :D
PD: Adobe Flex SDK Team?, wow!, nice work adobe! :D
2010/4/16 Gordon Smith mailto:gosm...@adobe.com>>
ode, but it would probably
execute slightly slower.
Finally, if the age groups were more sensible so that each one contained 3
ages, then you could just do something like int(age/3) + 1.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Beh
This step is necessary if you are writing attributes like
label="{resourceManager.getString('MyApp', 'someResource')"
But I don't think it is necessary if you use the @Resource() compiler directive:
label="@Resource(bundle='MyApp', key='someResource')"
However, unlike the databinding expression
Can you please restate your question? I'm not sure what you're asking.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of gogineni
Sent: Saturday, April 03, 2010 10:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoder
{
trace(event.target);
}
The attribute "value" is code that becomes the body of the handler.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Mike Chang
Sent: Saturday, April 03, 2010 10:47 AM
To: flexcoders@yahoogrou
The 'is' operator should definitely work.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Laurence
Sent: Saturday, March 27, 2010 2:35 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is it a ValueObject,
ne by line, set breakpoints, inspect the
loop counter and the sum, etc.?
You're likely to succeed if you take baby steps and have patience. And ask
questions when you get stuck!
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
If these folders exist, then I'm not sure what's causing the "unable to open"
errors. Rob, have you heard of this problem before?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Thomas Silvester
Sent: Wedne
My understanding is that none of Adobe's Creative Suite applications support
being installed on a case-sensitive Mac file system. The Flex team was
unfortunately unable to get this restriction relaxed when Flash Builder joined
the Creative Suite.
Gordon Smith
Adobe Flex SDK Team
The month names are pulled from localized resources according to the
ResourceManager's localeChain. If you set resourceManager.localeChain = [
"fr_FR" ] then the month names should be in French.
Are you using the ResourceManager to localize your interface for various
locales
You probably just need to create fr_CA and de_CH subdirectories inside of
frameworks/locale so that the resource SWCs for these locales can be created
there.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Thomas Silvester
Most Flex framework classes have an mx_internal version string similar to this:
mx_internal static const VERSION:String = "4.0.0.13827";
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Nick Middleweek
Sent: Tuesday
Yes, this should work. I can't reproduce your problem. Can you post a tiny but
complete app that demonstrates the problem?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Mike Chang
Sent: Wednesday, March 10, 2010 2:42
You can access the properties of any object by name, using square-bracket
notation. For example, o.p can be written o["p"]. In this case, the relevant
object is 'this', so you want
this["california"]
this["california" + "_over"]
hook function is mx_internal
and therefore undocumented and subject to change or removal without warning.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Nick Middleweek
Sent: Friday, February 19, 2010 10:26 AM
To: flexc
[Bindable] metdata gets retained, and so should appear in describeType()'s
output, but [Style], [Event], and [Effect] do not. You could, however,
recompile the framework to keep them. Look at the tags in
the Ant build.xml file for frameworks/projects/framework, for example.
Gordon Smith
Have you tried the beta of FlashBuilder 4? (FlexBuilder was renamed to
FlashBuilder.)
http://labs.adobe.com/technologies/flashbuilder4/
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Lee Jenkins
Sent: Monday, February 01
ndent collation
routines, as Gregor said.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Gregor Kiddie
Sent: Monday, February 01, 2010 7:19 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Sort function does not work
tInput();
var textInput2:TextInput = textInput2;
you haven't created two TextInput instances; you have made two variables refer
to ("point to") the same TextInput instance.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Beha
aracters instead of Greek.
PS: Follows history from previously (slightly hijacked thread)
Thanks Gordon, I will open a new Thread
On Fri, Jan 29, 2010 at 2:09 AM, Gordon Smith
mailto:gosmith%40adobe.com>> wrote:
I'm not aware of this particular problem, but I'll ask a Player
I'm not aware of this particular problem, but I'll ask a Player engineer who
might know what's going on.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Fotis Chatzinikos
Sent: Thursday, January 28, 2010 3:49 PM
Flex's mx.formatters.CurrencyFormatter has various properties that you can set,
such as currencySymbol.
By default, the currencySymbol comes from a locale-dependent resource in the
ResourceManager (the "currencySymbol" resource in the "SharedResources"
bundle). Which locale is used depends on t
There is no way for these properties to be correct until the image has been
loaded. So to get the correct values, you probably need to wait for a
'complete' event from the Image.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
You can write code like
if ("mycomponent" in this)
{
this["mycomponent"].doSomething()
}
to avoid an FTE with mycomponent does not exist.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Ondina F
Sent:
Flash Player 10 introduced a new text system known as FTE (the
flash.text.engine classes). It also continues to have the old TextField class.
So there are basically two text systems, with their own ways of doing text
formatting.
They have some formats in common, but each also has formats of its
What control are you using? ? ?
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of bsyyu
Sent: Tuesday, January 12, 2010 9:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flash player 10 problem for Flex textinput in Chinese
I make a applicat
I don't beleve there is any requirement for dstLocale to be related to
srcLocale.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of tungchau81
Sent: Monday, January 11, 2010 5:09 PM
To: flexcoders@yahoogroups.com
Su
for Flex Builder only" because you can compile
without using Flex Builder, such as with the Ant task or the mxmlc
command line tool.
You're correct that if you don't use MXML then [Event] and [Style] metadata is
irrelevant. But other metadata like [Embed], [ResourceBundle], and
[A
This is likely to be rather slow, but if you really need to do a recursive
comparison of XML objects, it's probably reasonable. I don't know of any
built-in operator or method that does deep equality.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mail
;resize" events until the application dispatches an
applicationComplete event.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of markflex2007
Sent: Wednesday, January 06, 2010 7:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
does
special processing on attributes like @eventType, @param, and @result inside
these comments. We adopted this convention from how JavaDoc works.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Aaron Hardy
Sent: Monday
ately after setting the text, they won't be correct because the
LayoutManager hasn't run a validation pass (i.e., commitProperties(),
measure(), and updateDisplayList() haven't executed). But if you wait for an
updateComplete event, they will be correct.
Gordon Smith
Adobe Flex
As far as I know, the setter never auomatically calls the getter. It certainly
shouldn't, since the getter could have some undesirable side-effect that you
wouldn't want happening in the setter.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mail
I'm pretty sure that this ordering is just a convention.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Nick Middleweek
Sent: Wednesday, December 16, 2009 8:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ge
1. if (dragEvent.currentTarget is Panel)
2. currentTarget is generically typed as Object, which doesn't have an
addChild() method. But if you have already checked that the dropTarget is a
Panel, it's safe to do a cast:
Panel(dragEvent.currentTarget).addChild(...);
Gordon Smith
Adob
> Given a use-case involving Flash running in IE7 on a Windows OS, is it safe
> to assume that
> "device fonts" in the context of this thread refers to any font installed on
> the Windows client machine?
That's right.
Gordon Smith
Adobe Flex SDK Team
From:
what those assignment statements are
actually doing, as opposed to c = a + b.
For another thing, I think with device fonts the Player doesn't just grab
glyphs and render them... I think it uses the OS to render them. So if the OS
doesn't have rotation APIs, it can't rotate them.
et?")
The 'c' part is typically an expression like i++ to increment the loop variable
for the next pass.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Ballai Tibi
Sent: Friday, December 04, 2009 10:48 AM
To: fle
I've heard that anonymous functions are significantly slower because the
runtime has to create an activation frame for them. We use very few anonymous
functions in the Flex framework.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.co
The resources in a ResourceBundle CAN be modified at runtime. A
ResourceBundle's 'content' property is just an Object where you can store
name/value pairs for resources such as
myBundle.content["foo"] = "bar";
Gordon Smith
Adobe Flex SDK Team
From: flexcod
BTW, are you are talking about the old MX TextArea or the or new Spark TextArea?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Andriy Panas
Sent: Monday, November 30, 2009 10:49 AM
To: flexcoders@yahoogroups.com
Subject: Re
Unfortuantely, floating-point arithmetic in most CPUs and computer languages
today is based on binary fractions (1/2, 1/4, 1/8, 1/16, ...) not decimal
fractions (1/10, 1/100, 1/1000, 1/1000,...). There is no ActionScript Number
(or C++ double) that is EXACTLY equal to 0.1, 0.2, or 0.3 because do
If you are talking about the old MX TextInput and TextArea, they are based on
the TextField class in the Flash Player. It is blinking the insertion point and
you can't change what it looks like.
If you are talking about the new Spark TextInput and TextArea in Flex 4, they
are based on the Text
Please file a bug against Flash Player.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of tom.pijsel
Sent: Friday, November 13, 2009 6:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] UnicodeFFFE not working in web
if ("item" in objADGLD)
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of thomas parquier
Sent: Thursday, November 12, 2009 5:10 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to test if an object
e
a new 3-element array by combinding elements 0/1, 2/3, and 4/5.
But if the six elements in the string are grouped into three pairs of two, then
it would obviously be less work if it were stored as
Label1|url1||label2Explorer|url2||label3|url3
You could then simply split it on ||.
G
e_note-leiser-0>)
cost per
operation.[2]<http://en.wikipedia.org/wiki/Hash_table#cite_note-knuth-1>[3]<http://en.wikipedia.org/wiki/Hash_table#cite_note-cormen-2>
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of d9_te
is that you're expecting Flex
controls to work inside of pure ActionScript apps.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of dennis
Sent: Friday, October 09, 2009 12:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcode
Neither TextField nor TLF support double-underlining, so you'll have to draw it
yourself. In TLF (and in the new control in Flex 4) the
single-underlining is drawn with ActionScript code, so you can see how they do
it.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroup
No, they aren't sorted. They use a storage technique called a hash table.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of d9_tech
Sent: Thursday, October 15, 2009 2:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexc
required.
You're probably thinking of Vector. vs Vector.. There are indeed
different types, and one cannot be cast to the other.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of coder3
Sent: Thursday, October 15, 2009 3:54
tober 08, 2009 9:36 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Resources for compiling with asc.jar
Oh. Why would someone use it instead of mxmlc? Can I use mxmlc in it's place?
One more question, is there any advantage to using mxmlc over asc? Thanks
On Thu, Oct 8, 2009 at 4:18
asc.jar doesn't just decompile ActionScript... it also compiles it. But one
normally uses mxmlc to compile ActionScript or MXML. I'm not sure whether we
even document how to use asc.jar by itself.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mail
Hmm... it looks like it's safe to say this:
http://labs.adobe.com/technologies/flex/mobile/
Gordon Smith
Adobe Flex SDK Team
From: Gordon Smith
Sent: Monday, October 05, 2009 1:54 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Devel
There will be a MAX session on the Flex SDK and mobile devices. I don't think
we're supposed to say more before that.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of oneworld95
Sent: Monday, October 05, 2009
> Is there any other way I can get the tooltip to die after 2 seconds
> regardless of what mouse movements take place...?
Use a Timer to call destroyToolTip(). I believe that hideDelay only affects
tooltips that are automatically shown, not ones that you show with
createToolTip().
- Gordon
Fr
I don't think it has a problem with concatenated Strings... that would be very
surprising if it did. But I don't think it works properly with htmlText.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Matthew
Sent: Wednesday, September 16, 2009 3:52 PM
When you inspect dreamText.htmlText and dreamText.text, are they what you
expect or are they empty Strings?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of janjohannes...@rocketmail.com
Sent: Monday, September 14, 2009 10:02 AM
With TextField-based text in MX components, I don't think this is easy. You'd
probably have to use mouseMove to track the mouse within a TextField and
low-level TextFIeld APIs to discover what range of characters the mouse is over.
With TLF in Spark components, I think it is easier because a hyp
If you are talking about , you can't change the password
character... uses the TextField class in Flash Player, which
only is capable of displaying asterisks. The new in Flex 4, which
is based on TLF, has an mx_internal var for the password character.
- Gordon
From: flexcoders@yahoogroups.co
Yes, the Player has multiple threads. But the ActionScript Virtual Machine
executes in only one of them. And the AVM executes one event handler before
starting another event handler. You're not actually claiming to have proof to
the contrary, are you?
Gordon Smith
Adobe Flex SDK Team
Yes, that is what Alex is saying. Handler B will not begin before handler A
finishes. Event handlers don't get paused. Furthermore, when you (or the
Player) calls dispatchEvent(), all the event handlers listening for that event
execute before dispatchEvent() returns.
Gordon Smith
Adobe
> Are there any resources that describe the internals of the Flash player?
> Is there a spec like there is for the Java runtime?
Unfortunately, no. About the closest thing is a spec for the SWF file format.
But that spec doesn't really explain how the Player loads and executes a SWF
file.
- Gor
Array and ArrayCollection do not enforce any kind of type checking on their
elements… each element can be anything.
If you need strongly-typed elements, use Vector:
macList:Vector.
BTW, the convention is to start class names with a capital letter.
Gordon Smith
Adobe Flex SDK Team
From
Sorry... I didn't see that Valdhor had already explained this.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Gordon Smith
Sent: Monday, August 17, 2009 2:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Event Best Prac
't
correct. A popped-up titlewindow is a child of the SystemManager, not a child
of the TabContainer or a grandchild of the Application, and neither the
TabContainer nor the Application should get a bubbled-up event from a popup.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@ya
Well, the == operator produces a lot of "interesting" behavior. That's why
there's a === operator. ☺
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Dave Glasser
Sent: Thursday, August 13, 2009 4:
Does anybody want to try to figure out what the E4X spec says it should do?
It's certainly possible that the Player implementation of E4X is doing it wrong.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Tracy Spratt
You have to "opt in" to doubleclicks. An InteractiveObject doesn't dispatch a
DOUBLE_CLICK event when it is double-clicked unless its doubleClickEnabled
property is true.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On B
LoginInfo.username = usernameTextInput.text;
when the popup is closed.
Static vars simply live in the class itself, not in an instance of the class.
You can reference them from anywhere.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of spuy
you would declare an AS subclass
of Event instead of using DynamicEvent, but that's another lesson.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of spuy...@ymail.com
Sent: Friday, August 07, 2009 11:36 AM
To: flexcoders@yahoog
model, the default behavior is the same, but you can use
destructon policies to say that the child should not only be removed from the
display list but also freed for garbage collection.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On B
using the .instanceIndex property of the RadioButton
that you're processing.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of coder3
Sent: Wednesday, August 05, 2009 5:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to
access LoginInfo.userid) or a LoginInfo instance attached to your
application (so that any code can reference
Application.application.loginInfo.userid).
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of spuy...@ymail.com
Sent
UIComponents have a visible:Boolean property which you can set to true or false.
You can tell whether a Container is scrollable by checking whether its
maxHorizontalScrollPosition is greater than 0.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod
le to rotate text in TextField-based components.
But I'd love to be proven wrong.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of postwick
Sent: Tuesday, July 28, 2009 4:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexc
ic var data:int;
}
and then the compiler would know that 'data' is int at compile-time.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of valdhor
Sent: Tuesday, July 28, 2009 11:57 AM
To: flexcoders@yahoogroups.com
1 - 100 of 1667 matches
Mail list logo