I've blogged about it here: http://blogs.adobe.com/gosmith/
<http://blogs.adobe.com/gosmith/>
Gordon Smith
Adobe Flex SDK Team
ngth is now 3
When you use Object or Array to store name/value pairs, there is no way
to count how entries you've stored, other than looping over all of them
with a for-in or for-in-each loop. (Of course, you could keep track of
the count yourself in another variable.)
Gordon
#x27;s not a decompiler -- it can't produce AS3 or
MXML source code.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cancil
Sent: Sunday, February 24, 2008 9:54 AM
To: flexcoders@yahoogroups.
> Of course, modifying an array would become more expensive operation,
but it's still O(1) operation
The overhead when modifying each element is O(1), so the total overhead
you've incurred is O(n).
Gordon Smith
Adobe Flex SDK Team
Fro
Can you give more detail? I don't believe there is any O(1) algorithm
for this. O(1) means that comparing two 100,000-element arrays would
take the same time as comparing two 100-element arrays.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroup
appen
as you step line by line through this code?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Harry Saputra
Sent: Friday, February 22, 2008 8:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] B
Yes, private methods are supposedly faster. But I haven't done timing
tests myself to prove that.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Kovalyov
Sent: Friday, February 22, 2008 3:00
anonymous functions. My understanding is that they don't
perform as well as class methods because they require an activation
frame.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Maciek Sakrejda
Sent: F
From: Rajeshwar Mothe [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:25 PM
To: Gordon Smith; flexcoders@yahoogroups.com
Cc: [EMAIL PROTECTED]
Subject: RE: Problem while plotting Repeater in Flex
Hi Gordon,
I tried the piece of code driven By you, but in my case I am using VBox
x27;ve had nothing but frustration with Flex, and
I apologize for that.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of b_alen
Sent: Thursday, February 21, 2008 2:26 AM
To: flexcoders@yahoogroups.com
Subjec
The Flash Player and Flex work with Unicode text (although characters
outside the Basic Multilingual Plane may not be properly supported). I
suggest using UTF-8 encoding for your XML. The only modification you
might need to make to your app is to use a font which has Chinese
glyphs.
Gordon Smith
Can you explain more what you mean by the Circle Shape Canvas?
- Gordon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Swamy Nathan
Sent: Wednesday, February 20, 2008 11:01 PM
To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [f
at you can let us know what
we're doing wrong in a way that gets tracked. Complaints on flexcoders
don't always get tracked.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of b_alen
Sent: Wednesd
l> " initialize="initApp()">
This does work.
Of course this is so ancient, it is really irrelevant.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com
<mailto:flexcoders@yahoogroups.com> ] On Behalf Of Gordon Smith
Sent: Wednesday,
No, you can't. This can only be used for looping over dynamic properties
of dynamic classes. To loop over the children of a
DisplayObjectContainer, you have to do
var n:int = numChildren;
for (var i:int = 0; i < n; i++)
{
var child:DisplayObject = getChildAt(i);
...
}
Gordon Smi
You can look up properties and methods by name with o[p] syntax even if
o isn't an instance of a dynamic class.
And I'm pretty sure that wasn't a dynamic class in 1.x.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[
o the display list.
3. If you find yourself having to use callLater(), you're probably doing
something the wrong way. In general, you should use events rather than
just waiting awhile. If the framework doesn't provide the event you
need, please file an enhancement request.
Gordon Smith
Very clever! I didn't know that.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alan Shaw
Sent: Monday, February 18, 2008 7:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Examp
Are you getting a compilation error or a runtime error? What exactly
does it say?
Did you use the copylocale script to create ar_SA framework resources?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
DisplayObjectContainer has a getObjectsUnderPoint() method.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dsds99
Sent: Monday, February 18, 2008 9:46 PM
To: flexcoders@yahoogroups.com
Subject
Use the 'is' operator:
if (field is ValidatedTextInput)
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of aceoohay
Sent: Friday, February 15, 2008 11:31 PM
To: flexcoders@yahoogroups.c
t
either. (That said, we do use prototype chains to implement fast CSS
style lookup with getStyle().)
If you're curious about prototype-based inheritance, see
http://en.wikipedia.org/wiki/Prototype-based_programming.
Gordon Smith
Adobe Flex SDK Team
__
No, the player team hasn't disclosed either target date yet.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Harald Dehn
Sent: Friday, February 15, 2008 9:01 AM
To: flexcoders@yahoogroups.com
Subjec
x27;s compatible with the rest of the browser
world.
Again, no full HTML implementation is needed, just something along an
HTML editor like FCKEditor.
Jurgen
On Feb 15, 2008, at 10:27 AM, cmalartre wrote:
Hi Gordon Smith & all,
I thought that the Buzzword
Astro. These libraries will give developers all kinds of abilities
that TextField doesn't offer.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cmalartre
Sent: Friday, February 15, 2008 8:28 AM
To:
With that few nodes, efficiency probably isn't an important
consideration.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Thursday, February 14, 2008 2:56 PM
To: flexc
ay to do it since the logical
word order is "word1 word2 word5 word6" in one cell and "word3 word4
word7 word8" in another cell.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rafael Fa
ent form (either free or for money). I
suspect that there are business reasons to keep it as an Adobe-only
application for awhile, but I'm just an engineer and not involved in
such decisions.
BTW, what does your CRM app need in a texteditor beyond what
RichTextEditor currently provides? RTL supp
It would be unnatural to try to use the event mechanism to propogate an
event to all descendants of a tree node. Use a recursive method call to
accomplish this.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
In MXML's CSS, foo-bar and fooBar are equivalent style names.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Duncan
Sent: Thursday, February 14, 2008 9:39 AM
To: flexcoders@yahoogroups.com
Su
Flex makes almost no use of AS3's old-style prototype-based inheritance;
it uses the new class-based inheritance. If by "descendant" you mean
"instance of", use the 'is' operator:
var b:Button = new Button();
trace(b is UIComponent); // --> t
Unfortunately, 'textInput' doesn't get dispatched before a deletion
occurs. But 'change' gets dispatched after a deletion has occurred.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Why Adobe does not make something decent about this issue?
We're working on it! Flash Player 10 ("Astro") and Flex 4 are likely to
have a new text engine that will support right-to-left text and other
text improvements.
Gordon Smith
Adobe Flex SDK Team
You should generally avoid using anonymous functions, as they're more
expensive than methods. In AS3, every method is a closure. If an event
handler is a method, it can access everything in the class.
Gordon Smith
Adobe Flex SDK Team
From: flexc
You shouldn't assume that a for-in or for-each-in loop will iterate over
the items in any particular order. To ensure this, use a plain 'for'
loop.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
or instances of classes?
Are you changing fields inside an item? Or replacing entire items?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mr_j_harris
Sent: Tuesday, February 12, 2008 11:03 AM
To: fl
ders] DataGrid limit on amount of records or data?
Hi.
I really appreciate everyones response (-:
Gordon Smith wrote:
> You need to determine whether you're having a problem fetching the
data
> from the server, or displaying the data in the DataGrid.
The problem is in the renderin
You need to determine whether you're having a problem fetching the data
from the server, or displaying the data in the DataGrid.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Luke Vanderfluit
Look at the substitute() method of mx.utils.StringUtil.
And, in Flex 3, look at the getString() method of
mx.resources.ResourceManager.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of paulbohnenkamp
mpany Adobe.
Do you mean that Flex Builder's MXML editor should offer class selector
names when you type
styleName="
on an MXML tag? That sounds like a good idea.
If you can find this as an already-filed enhancement request at
http://bugs.adobe.com/flex, you should vote for it. If
"&" is a special character in XML and must be written as "&".
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adolfo
Ruiz
Sent: Friday, February 08, 2008 2:40 PM
To: flexco
needs measure() to get called
once right before the next render.
Call invalidateDisplayList() in a setter if it needs updateDisplayList()
to get called once right before the next render.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[
een created, so
fileNames -- being an instance var -- is null at that time.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Shen
Sent: Wednesday, February 06, 2008 1:22 PM
To: flexcoders@yahoogroups.
It looks like you don't have source-path set correctly when compiling
the resource bundle. The directory containing your com directory needs
to be on the source-path so that the
com.pricklythiste.i18n.CountryListEN class can be found.
Gordon Smith
Adobe Flex SDK
BTW by convention, ids should start with a lower-case letter:
gridView, not Gridview.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cobb
Sent: Friday, February 08, 2008 1:15 PM
To: flexcoders
Avoid calling invalidateXXX() inside commitProperties(), measure(), or
updateDisplayList(), as this can cause a second pass through the
LayoutManager to revalidate; invalidateXXX() is typically called by
property setters.
Gordon Smith
Adobe Flex SDK Team
From
ou do use the capture or bubble phases, you have to
listen on an ancestor of the object which is dispatching the event.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of brett.hitzel
Sent: Monday, Februa
You might want to try it in Flex 3. All our energy is currently going
into getting Flex 3 out the door, and I don't think we're likely to be
releasing further hotfixes to Flex 2.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mai
Event capturing/bubbling is something that happens only to events
dispatched from a DisplayObject.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, January 30, 2008 10:08 PM
What do you mean by "disappears into fat air"? Did you register a
listener on your object that is dispatching the event?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent:
First, trying arranging s inside an to overlap and
set their 'alpha' to something like 0.5 to make them semitransparent.
Then look at drag-drop examples.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Are you seeing this problem in Flex 2 or Flex 3?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of luke_lee1124
Sent: Tuesday, January 29, 2008 5:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders
AS3 has an 'in' operator. I think hasOwnProperty() is really only
necessary when dealing with prototype inheritance, which Flex doesn't
use (except in the style prototype chain).
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com
might not... we haven't made any effort to
guarantee that kind of compatibility.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, January 23, 2008 3:40 PM
To: flexcoder
ource
bundle SWCs in Flex 3 apps. I'm afraid that I don't have any advice on
how to do what you want to do. My recommendation is to produce a Flex 2
SWC and a Flex 3 SWC if you have to support Flex 2.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@
> The array is then sorted to group identical values together.
If all you're doing is counting how many times each number appears, and
then determining which one appears most frequently, why are you
bothering to sort the Array?
Gordon Smith
Adobe Flex
n view.
I'm going to go slink under my desk and let others opine on how to do
styles correctly in a way that will make Flex Builder happy.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smi
> the lack of definitive info on this topic is pretty amazing to me
Ben, what could be more definitive than the approach that the Flex SDK
team takes for its own components? You don't have to follow our lead,
but I still think it counts as best practice.
Flex framework SWCs, such as framework.s
+1
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Wednesday, January 23, 2008 1:26 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Intialize nested accordion children
I think you're confusing the ArrayCollection itself with the data items
that it contains. An ArrayCollection has N items. It sounds like each
item has a fkstate_id field. But which item in the ArrayCollection do
you want to look at? You can get the ith item with
_getNews.getItemAt(i).
G
I can't reproduce the problem. The following app renders properly for
me.
- Gordon
http://www.adobe.com/2006/mxml";>
[Bindable]
private var foo:String = "Foo";
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
B
e so! But I can't say for sure as I'm on the development team,
not the documentation team, and I haven't personally looked through an
entire documentation set, which is huge.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [
asier to make
balls move around the stage. The focus of Flex is not Flash-style
animations and games, although some developers use it to create just
that. Flex is really focused on building Rich Internet Applications, and
we provide the most common components that are necessary to do that...
things l
that
aren't properly covered, or intermediate-level examples that would be
useful? If so, I'll pass them on to the doc team.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTE
rray();
incorrects[0] = "a";
incorrects[1] = "b";
incorrects[2] = "c";
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tim Hoff
Sent: Thursday, January 17, 2008 11:04 PM
To
> Is it just me ?
No, it isn't working for me either. I'm cc'ing some folks on the
documentation team.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday
You've declared an Array var which is automatically initialized to
'null' -- it isn't yet a reference to an actual Array object. You need
to write
var incorrects:Array = [];
to initialize it to an empty (i.e., 0-element) Array instance.
Gordon Smith
poning trying to use
Sprites-based classes. You'll make more progress, gain confidence, and
then be in a better position to understand how to take advantage of
Sprites later.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PR
> I checked it and double checked it. very frustrating. .
Can you please explain exactly what you saw that made you believe that
setTextFormat() is a method of TextArea? If there is a documentation
problem, I would like to get it fixed so that others aren't similarly
confused.
Gord
r() to
true.
So I think your choices are either to listen on Stage, SystemManager, or
Application for any of these four events on their way down to the target
during the capture phase, or for Event.ADDED on these objects as it --
the only one that bubbles -- bubbles up.
Go
e.g.,
the low-level DisplayObject which display the label) and use TextField
APIs like setTextFormat() on a range of characters.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: Wednesday, Jan
Instead of typing commands at the (fcsh) prompt, you can let fcsh read
commands from a file:
fcsh < commands.txt
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of reflexactions
Sent: Wednes
(0,
0).
Its x and y coordinates give its upper-left corner in its parent's
coordinate system.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Corey Smaller
Sent: Wednesday, January 16, 2008 2:58
styles.style["font-family"]
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ruidsoares
Sent: Monday, January 14, 2008 12:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dash symbol
ormat" and found
http://sc.openoffice.org/excelfileformat.pdf
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dormousecheck
Sent: Sunday, January 13, 2008 8:05 PM
To: flexcoders@yahoogroups.com
Subject: [
I'm not sure exactly what you're asking, but XML namespaces in any MXML
component work exactly like XML namespaces in .
For example, you could define AddressForm.mxml as
...
Gordon Smith
Adobe Flex SDK Team
> of defining
> columns, you define rows, and your data appears as columns instead of rows?
What do you mean by "appears as columns"? A DataGrid appears as a rectangular
matrix of cells. The columns can have headers. Row headers are not supported.
Go
tation
of styleChanged() in UIComponent to see what you get without overriding.
It has logic about when to call invalidateSize() and
invalidateDisplayList() on itself and its parent.
Gordon Smith
Adobe Flex SDK Team
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL
red. You just call getStyle() to get, for
exmaple, a color to pass to a drawing API.
Gordon Smith
Adobe Flex SDK Team
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Monday, January 07, 2008 1:40 AM
To: flexcoders@yahoogroups.c
artup by specifying resourceModuleURLs in
the FlashVars of the HTML wrapper.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rmarples
Sent: Tuesday, January 08, 2008 5:24 PM
To: flexcoders@yahoogroups.com
Due to time and resource constraints, Flex 3 will localize the framework
classes only for English and Japanese. I hope that we can support more
locales in the next release, and that the community will help us with
this task once the SDK is open-source.
Gordon Smith
Adobe Flex SDK Team
It should help some to compute
var a:Object = itemA[dataField];
var b:Object = itemB[dataField];
to start with and then work with the local variables a and b.
BTW, why are you writing a function that returns a compare function,
rather than simply writing a compare function?
- Gordon
You could draw the segments using drawing commands in the Graphics
class.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of coder3
Sent: Monday, January 07, 2008 3:51 PM
To: flexcoders@yahoogroups.com
Doesn't the browser cache handle this?
- Gordon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of joshua gatcke
Sent: Monday, January 07, 2008 2:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] use runtime image more than once
I think you need to use navigateToURL() to reload the web page with the
SWF.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Monday, January 07, 2008 10:14 AM
To: flexcoders
It is probably MUCH faster to use a for-in loop to count the fields.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Dimitrios Gianninas
Sent: Friday, January 04, 2008 1:10 PM
To: flexcoders
As far as I know, you have to loop.
By the way, using Object-literal syntax
var o:Object = { a: "aa", b: "bb" };
produces more efficient code than what you wrote. And instead of doing
var o:Object = new Object();
you should just write
var o:Object = {};
e var, a getter, and a
setter. Each style only requires a little metadata.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Friday, January 04, 2008 2:54 AM
To: flexcoders@yahoogroups.com
What do you mean by defining a "set function" for the ComboBox? Can you
show some code?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Thursday, January 03, 2008
> I assume I'm going to capture a MouseEvent.CLICK on the stage
You would do that only if you want to be able to click anywhere on the
stage.
If you are only clicking a Button, just put a click handler on the
Button and have it loop over an array containing the balls you've
created and call a m
Yes. If you're writing your custom component in AS, just set up your
event handler in your constructor with
addEventListener(ToolTipEvent.TOOL_TIP_CREATE, toolTipCreateHandler);
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [m
Assuming that the children you want to move down come after (in child
index order) the one you're hiding, you could do
var n:int = numChildren;
for (var i:int = indexOfInvisibleControl; i < n; i++)
{
var child:UIComponent = UIComponent(getChildAt(i));
child.y += deltaY;
}
Gord
Handle the toolTipCreate event and create whatever kind of tool tip you
want.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Pearson
Sent: Wednesday, January 02, 2008 1:47 PM
To: flexcoders
I don't understand. UIComponents already have a toolTip property. When
it is set, a tool tip automatically appears when the mouse moves over
that component and stays there for a little while.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroup
You haven't made otherfilenumber bindable, so
{modelGeneral.otherfilenumber} is causing this warning.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Wednesday, January 02, 2008
ng XML attributes to specify
three things which under the covers are really quite different. You're
advocating hiding these differences at the AS level as well, which I
think could cause more confusion than you're trying to solve.
I'd be interested to hea
If you can repro this in a simple case, please file a bug at
http://bugs.adobe.com/flex.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark Ingram
Sent: Wednesday, January 02, 2008 9:00 AM
To
ct --> undefined
All other types --> null
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Christophe Herreman
Sent: Tuesday, January 01, 2008 12:15 PM
To: flexcoders@yahoogroups.com
Subject: Re
effect is
component.setStyle("foo", "bar");
The programmatic way to set an event handler is
component.addEventListener("foo", bar);
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
if ("test" in bla)
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rafael Faria
Sent: Thursday, December 20, 2007 9:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Checking if
501 - 600 of 1667 matches
Mail list logo