'this' is always the component or
application represented by the top tag in the file.
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jnewport
Sent: Monday, November 06, 2006
1:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re
You'd write
model.dispatchevent( new
TextEvent(SEARCH_MACHINES, false, false, dgItems.selectedItem.machine));
But the SDK team considers the 3-line
approach better practice, because it makes clear which property is getting set
to what. If you have an event with a lot of prop
You can't turn off the KeyboardEvents that
the Flash Player dispatches. But you can stop components from listening to
them.
In the Button source code, I see
override protected function
keyDownHandler(event:KeyboardEvent):void
{
if (!enabled)
return
It "resets" the project to a not-built state, including discarding any outputs
from a previous build.
- Gordon
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dkerr
Sent: Saturday, November 04, 2006 9:04 AM
To: flexcoders@yahoogroups.com
Subjec
What object is null? target?
target.dataProvider? resizeLarge? We'd need to know how you're setting these.
Also, there should be no need to pass a
reference to the DataGrid to this method as a 'target' parameter. If the
DataGrid has id="myDataGrid", then any method in the same scrip
I think Mark's problem is that alpha
doesn't apply to system fonts. You have to use embedded fonts if you want to
fade them. This is a limitation of the Flash Player.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Igor Costa
Se
someSelector { skin: ClassReference(null)
}
- Gordon
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Sergey Kovalyov
Sent: Thursday, November 02, 2006
4:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to set
skin style to null in CS
> I guess the compiler has a good reason for moaning otherwise.
It does. The warning is intended to make developers aware that AS
doesn't has function-scoped, not block-scoped. variables. When you
declare a var anywhere inside a function, it's scope is the entire
function, not just the { ... } blo
> I'm confident the Apollo run time engine will be able to hook into
> whatever 3D acceleration the O/S can provide.
I don't believe this is an Apollo goal. If we do graphics hardware
acceleration, we'd probably do it in all versions of the Flash Player.
- Gordon
-Original Message-
Fro
com] On Behalf Of Gordon Smith
Sent: Tuesday, October 31, 2006
3:41 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe
Just wondering, since I'm working on it... what features of Apollo
are people most excited about?
way to communicate with say, the serial
port on the local machine, or am I thinking about this the wrong way?
Dustin Mercer
From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Gordon Smith
Sent: Tuesday, October 31, 2006
3:16 PM
To: [EMAIL PROTECTED
am hugely excited
about Apollo's potential. Your work will be fomenting a revolution in
software development in '07!
Best regards,
g
On 10/31/06, Gordon
Smith <[EMAIL PROTECTED]com>
wrote:
Just wondering, since I'm working on it... what features
ead we incur from the browser!
This one gives us much more room to make larger applications.
So, basically, freedom, freedom, freedom!
Dustin Mercer
From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Gordon Smith
Sent: Tuesday, October 31, 2006 12:41
PM
olution in
software development in '07!
Best regards,
g
On 10/31/06, Gordon
Smith <[EMAIL PROTECTED]com>
wrote:
Just wondering, since I'm working on it... what features of
Apollo are people most excited about?
- Gordon
__._,_.___
-
6
5:37 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] JUST SAY
NO to creationPolicy="all" !
On 10/30/06,
Gordon Smith <[EMAIL PROTECTED]com>
wrote:
>
> I've never seen a case where it is necessary to push data into the
controls before they exist. If you
Just wondering, since I'm working on it...
what features of Apollo are people most excited about?
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew D. Goodfellow
Sent: Tuesday, October 31, 2006
6:15 AM
To: flexcoders@yahoogroups.com
!
Can you
give me an example of "complications"? For example I have
6 tabs in my application. Two of the tabs load SWF files. So
in this case a user may never select the tab which loads a swf. Is this a
case to say no to creationpolicy=all?
Gordon Smith said the followin
Kirby
Sent: Monday, October 30, 2006
3:05 PM
To: flexcoders@yahoogroups.com
Cc: Matt
Horn
Subject: Re: [flexcoders] JUST SAY
NO to creationPolicy="all" !
Gordon -
Good advice. I also assume that there are even greater savings
(load time) if one of these controls uses a SWF
I'm not sure what you want to do. Can you give an example of what you
want to pass for s, and what you would like result_txt.text to be set
to?
- Gordon
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Diego Guebel
Sent: Monday, October 30, 2006
I know better, and I don't do it myself, and I understand why not to do it and
I'm very very
sorry for recommending it : )
--- In [EMAIL PROTECTED]ups.com,
"Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> Several times a week someone co
Several times a week someone complains
that they can't seem to set data into controls on the second, third, etc. pane
of a ViewStack, Accordion, or TabNavigator because these controls don't get
created until the user navigates to the pane they're on.
Inevitably there are multip
Yes, you simply loop over them. There is
no easier way.
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shemeshkale
Sent: Sunday, October 29, 2006
1:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how do i
access properties
eries = textArea.getTextField().getCharBoundaries(caretIndex);
But when caret index is on the begining of the line Boundaries
object is NULL.And I want to awoid that.
-- In [EMAIL PROTECTED]ups.com,
"Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> The cursor blinks at the caretIndex
This will work but isn't a recommended
technique. Please see Tracy's
reply.
- Gordon
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Luis Eduardo
Sent: Thursday, October 26, 2006
9:53 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ho
You're running into a difference between an XMLList (a
built-in E4X type, along with the XML type) and XMLListCollection (a Flex
framework type).
If the right-hand-side (RHS) of the E4X += operator is an
XML instance or an XMLList instance, it inserts children as you are expecting.
To answer that for sure, we'd have to see
the code for your Prospect class. Did you write code to set these three
properties, either in the var declaration (e.g., var sicCode:int = 3) or in the
constructor? Have you stepped through the constructor?
- Gordon
From: flexcod
Hello Gordon,
Thanks for the hint. I will try this. I didn't know, that the
parentDocument must be cast, because I use it also
(parentDocument.currentState='') and there it works. I will try it
and
give you a feedback, if it solved my problem.
Best regards,
Pascal
Gordon Smi
What is the message for Error #1069?
Try tracing expressions like
main(parentDocument).filenet, main(parentDocument).filenet.sidebar and see what
you get.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pascal Schrafl
Sent:
If you cast parentDocument to your
application class, the compiler can tell you whether you've constructed the
right _expression_ or not. For example, if your app is MyApp.mxml, then do
MyApp(parentDocument).filenet...
Without the cast, it can't typecheck
anything because pa
You use square-bracket syntax to access a child
tag or an attribute whose name you don't know at compile time:
hitdata.item["@" + someVar]. If someVar is "revenue", then hitdata.item["@revenue"]
is the same as [EMAIL PROTECTED],
in the same way that when o is a plain Object o["foo"] is
The cursor blinks at the caretIndex. You
can use getCharBoundaries() to determine the location of the character at this
index. It's left edge should be the position of the caret.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of B
When the image has been completely loaded,
you get a 'complete' event. At that point the contentWidth and contentHeight
properties contain the natural size of the image. You can use these to set the
Image's size to be some fraction of the natural size:
private function completeH
I think it should be possible to write an
MXML component based on , although I've never tried
it.
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of iko_knyphausen
Sent: Monday, October 23, 2006
6:27 PM
To: flexcoders@yahoogroups.com
Subject
(caretIndex);
but I'm getting error cause Boundaries in this case is Null object.
Help me please to get this thing working if You see errors..
--- In [EMAIL PROTECTED]ups.com,
"Gordon Smith" <[EMAIL PROTECTED]>
wrote:
>
> I'm not sure what you mean by "sett
horizontalGap is a style like backgroundColor,
rather than a normal property like percentWidth, so you'd do
hDivide.setstyle("horizontalGap",
8);
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of KP
Sent: Monday, October 23, 2006
1:
A DataGrid only creates enough rows to
fill out its height. For example, if you have 1000 items in your dataProvider
and the height of the DataGrid only allows you to see 10 of them, then it only
creates 10 rows and it "recycles" them with new data as you scroll.
This is how it can scro
I'm not sure what you mean by
"setting the number of lines in the TextArea component"? If you want
to control where line breaks occur, put the \n character into the 'text'
String.
To get the line position of a particular
character try using getCharBoundaries() and then getLineIndexA
Here is a simple application incorporating
your code snippet. As I click in the TextArea, I don't get any errors. So
you'll need to post your exact code and the exact sequence of user interactions
that lead to your problem. What is the value of caretIndex when you get the
error?
- G
You also need to change = to == in your E4X filter. A working example is below.
- Gordon
http://www.adobe.com/2006/mxml";>
From: flexcoders@yahoogr
}")
and now I
want to
> be able to refer to that component dynamically.
>
>
> On 10/16/06, Gordon Smith <[EMAIL PROTECTED]> wrote:
> >
> > You simply refer to components by their id. You don't have to
"look
> > them up" by it. For example, if
You simply refer to components by their
id. You don't have to "look them up" by it. For example, if you have
MyApp.mxml:
...
then in the Application's
methods you can write expressions like b1.label.
Technically, what is happening is that the
MX
Are you aware that globalToLocal() and
localToGlobal() don't modify the point you pass in? They return the modified point.
You can't force the Flash Player to redraw
in the middle of a long computation. You'll have to break the computation into
smaller pieces that can be performed frame-by-frame or
timer-event-by-timer-event and which store their state so that they can
continue later.
- Gordon
to have a knack for explaining
things very
clearly and concisely. Any chance we'll see tutorials or a book from
you at some point? I'd buy it in a heartbeat.
Thanks,
Ben
--- In [EMAIL PROTECTED]ups.com,
"Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> Below is an example
eed someway to have a function
called automatically when a child is switched to, so I can
reinitialize and use the data just passed in.
Thanks,
jelentz
--- In [EMAIL PROTECTED]ups.com,
"Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> Databinding is one way to accomplish this:
Below is an example of forcing text input
to uppercase as the user types it.
The trick is to handle the 'textInput'
event, which is dispatched after the user presses a key but before the new text
appears in the TextArea (or TextInput, or TextField). This is a cancelable
event, which
Databinding is one way to accomplish this:
Another would be to write a
"change" handler on the ViewStack. Switch on the selectedIndex and
re-initialize the pane you're changing to.
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf
It would be a little more elegant , and a
little faster, to do
if (disp is Button)
instead of
if (disp.toString().indexOf("Button")
> -1
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Crowe
Sent: Friday, October
No, sorry, AS3 doesn't support conditional
compilation.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steve Kellogg @ Project SOC
Sent: Friday, October 13, 2006
7:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cond
.treeNoIcons
{
disclosure-open-icon: ClassReference(null);
disclosure-close-icon: ClassReference(null);
}
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of genuinexeal
Sent: Thursday, October 12, 200
removeChild() or removeChildAt(), which UIComponent
inherits from DisplayObjectContainer.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of leo4beer
Sent: Wednesday, October 11, 2006
5:49 AM
To: flexcoders@yahoogroups.com
Subject:
> This is (i think) why they are stored in a different place, it
might even help prove performance (again, i think).
You're right on both counts. This is a major reason why ActionScript 3
is faster than ActionScript 2.
- Gordon
From: flexcoders@yahoogroups.com [mailt
There is no concept of registration point
in Flex components. You'll have to change the component's x, y, and rotation
properties simultaneously. The source file RotateInstance.as contains the
trigonometry for doing this, so you should be able to cut-paste-and-adapt this
code for your c
dable for
with and height percentages of monitor .
Regards.
On 10/9/06, Gordon
Smith <[EMAIL PROTECTED]com>
wrote:
By "screen" do
you mean the computer monitor, or the Flash "stage"?
You can use the
localToGlobal() method to convert to stage coordinates. I
By "screen" do you mean the
computer monitor, or the Flash "stage"?
You can use the localToGlobal() method to
convert to stage coordinates. I don't think you can get monitor coordinates of
DisplayObjects.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@y
Read about item renderers. You can put
anything you want into a List or Tree.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steve Kellogg @ Project SOC
Sent: Wednesday, October 04, 2006
3:30 PM
To: flexcoders@yahoogroups.com
S
No, there is no concept of registration point. You'll have to play a Move
effect in parallel with the resize effect, or write your own effect that does
both.
- Gordon
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andriy
Panas
Sent: Wednesda
In your example, you store the ith TextInput
instance as myArray[i][0] and the ith CheckBox instance as myArray[i][1]. So
loop over i and check whether myArray[i][1].selected is true.
The name of the local var chkCheckBox is
completely irrelevant; this var doesn't even exist after t
I haven't been following this thread, but
if you find yourself putting the same 'change' handler on each instance of your
TimeText component, then you should instead make that handler part of the
DEFINITION of that component.
Although you could accomplish that by
registering it in a
Or write the && operator as &&
- Gordon
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, October 03, 2006 2:50 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Conditional Login inside curly braces for
bindi
Put your Button selector in the
tag of the .
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JClouz
Sent: Thursday, September 28, 2006
7:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
overriding Button's style s
Yes, you should be using invalidation. The
typical pattern for doing this is as follows:
private var
_buttonLabel:String = "";
private var buttonLabelChanged:Boolean
= false;
public function get
buttonLabel():String
{
return
_buttonLabel;
}
-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, September 28, 2006 7:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: MXML Constructor
On Wednesday 27 September 2006 22:39, Gordon Smith wrote:
> the latter runs as earl
Putting code into a creationComplete handler is close to the opposite of
putting it into a constructor; the former runs as late as possible while the
latter runs as early as possible. Using a preinitialize handler would be a
better choice.
- Gordon
-Original Message-
From: flexcoders@
ntax error in John's example, but was easy to work
out)
@Gordon: the docs on setStyle say "Calling the setStyle() method can
result in decreased performance. Use it only when necessary."
Do you know of any metrics round this?
On 9/27/06, Gordon
Smith < [EMAIL PROTECTED]com&
In normal operation, when you change the
text displayed by a component like Text, the component's height gets
recalculated the next time the LayoutManager runs (which happens right before
the tree of DisplayObjects gets rerendered to the stage). After the
LayoutManager runs, the compone
Setting creationPolicy="all" is ALMOST NEVER the right
thing to do in Flex. It disables the Deferred Instantiation feature, which
enables Flex apps to minimize their startup time by not instantiating
components until the user can see them.
Declare a Boolean var on the second pane
to st
> I really can't figure out how to center the panel and 'stretch'
the canvas ...
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeroen Beckers
Sent: Tuesday, September 26, 2006
7:19 AM
To: flexcoders
Subject: [flexc
You can't write a constructor for an MXML
component because the MXML compiler autogenerates one. What do you need to do
in the constructor?
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tobiaspatton
Sent: Tuesday, September 26
Setting creationPolicy="all" is
ALMOST NEVER the right thing to do in Flex. It disables the Deferred
Instantiation feature, which enables Flex apps to minimize their startup time
by not instantiating components until the user can see them.
> Do
you have a suggestion for how to enable a
A showEffect is actually a style whose
value is an Effect, so you'd do
imgNewImage.setStyle("showEffect",
fadeIn);
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Harris
Sent: Monday, September 25, 2006
5:30 PM
To:
I'm afraid that AS3 doesn't allow a
constructor to be private.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of pauland2513
Sent: Friday, September 22, 2006
4:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: private
The preferred way is to use the 'is'
operator, which is new in AS3:
trace(str is String); // output is
"true"
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harish Sivaramakrishnan
Sent: Monday, September 18, 2006
6:06
The behavior you're seeing is the Deferred
Instantiation feature of Flex. The point of it is to avoid creating components
until the user can see them, in order to minimize the application startup time.
Setting creationPolicy="all" 'fixes'
the problem by disabling this feature. It is
getDefinitionByName() works on Flex
classes as well as Flash ones, but if you want something like
getDefinitionByName("mx.controls.Button")
to work, you have to ensure that Flex's
Button class is linked into your application's SWF. If you actually use the
Button class somewh
> Flex lacks a proper set of date/time classes.
Everybody's entitled to their opinion of what "proper" is, but
Flex/Flash/ActionScript has the same set of JavaScript date/time classes
that are available to HTML web apps. A lot of compelling web
applications have presumably been written with them.
You presumably meant the result should be 23.7, not 23.8.
However, getting 23.703 isn't a bug; you'd get the
same answer in other languages like Java and C++. The imprecision is because Number
in ActionScript (like float in Java and C++) stores a floating-point value as
DisplayObject). Is there any
convenient way to get a list of other types of objects, such as UIComponents?
On 8/28/06, Gordon
Smith <[EMAIL PROTECTED]com>
wrote:
Every DisplayObjectContainer has a getObjectsUnderPoint()
method.
- Gordon
From: [EMAIL PROTECTED]ups.c
No, you don't have to calculate it
yourself. There have been a half-dozen replies that you simply set
spacer.percentWidth = 100;
- Gordon
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of e_baggg
Sent: Monday, August 28, 2006
12:35 PM
To: fl
Every DisplayObjectContainer has a getObjectsUnderPoint()
method.
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi
Sent: Monday, August 28, 2006
12:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Getting al
DisplayOb
private function
clickHandler(event:Event):void
{
var myImage:MyImage = new
MyImage();
myImage.source = ...;
addChild(myImage);
}
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fais
A UIComponent gets its styles by calling the
getStyle() method that it inherits from UIComponent, not the getStyle() method on
CSSStyleDeclaration. I'll try to explain the difference.
The getStyle() method on
CSSStyleDeclaration simply looks at the styles set in that single
CSSStyle
If you just need rounding to a fixed number of decimal
places, and you don't need formatting, you could use the toFixed() method of
the Number class. ASDoc example:
var num:Number = 7.31343;trace(num.toFixed(3)); // Output: 7.313 - Gordon
From:
flexcoders@yahoogroups.co
> not available in MXML
You can set percentWidth in either MXML or ActionScript.
There are 3 equivalent ways to set a percentage width:
b.percentWidth = 100;
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darin Kohles
Sent: T
It looks to me like a player bug with
opaqueBackground.
Try drawing like this instead:
override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
{
super.updateDisplayList(unscaledWidth,
unsca
When a Flex app starts up, the
StyleManager already has a set of selectors, such as for ApplicationControlBar
and ComboBox. They have default settings for all the styles that the components
expect to be set. If a style is unset, you can get RTEs or other misbehavior.
In general, you
suggestion in this situation.
Sascha
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Gordon Smith
Sent: Saturday, 19. August, 2006
08:39
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] How to
set EventListeners to undrawn components on a Vi
understand why its not the default type.
Matt – the datatype NUMBER – how is this translated into a datatype
such as long etc?
Regards
Samuel
On 18/8/06 03:54, "Gordon Smith" <[EMAIL PROTECTED]com>
wrote:
> Normally this is guaranteed to 2^64 –1
The Number data ty
Why call addEventListener() yourself? If
you simply put an mouseDown or whatever event atttribute on your content item
in MXML, it should work fine; addEventListener() will get called for you when
the content item gets created.
- Gordon
From: flexcoders@yahoogroups.com [
> Normally this is guaranteed to 2^64 –1
The Number data type is based on the
IEEE-754 double-precision standard. It uses 64 bits to store a floating point
number.
However, only 52 bits are used for the
binary significand; 11 are for the binary exponent, and 1 is for the sign.
e?
Sounds like I'll go with creating a new instance and checking it.
Thanks again.
Thunder
--- In [EMAIL PROTECTED]ups.com,
"Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> I'll bet that new'ing an instance of the class and using the 'is'
> operator on
Hi, Matt.
We worked closely with many enterprise
customers, including financial ones, during our development phase and beta
period, and support for decimal arithmetic was not a priority for them. I've also
read many thousands of FlexCoders and Beta list emails during the Flex 1, 1.5
We're considering adding decimal
arithmetic to a future release, but I'm afraid that currently neither the
player nor the Flex framework offers this. Decimal arithmetic is not a feature
of _javascript_ or ECMAScript, the languages that we've based ActionScript on. So
I'm curious how dev
More explanation...
Tom, the behavior you saw was correct.
In your first case, defining the soap
namespace prefix on doesn't affect , because has
no namespace prefix and is therefore in the undefined default namespace, not in
the soap namespace.
In your second case, you ar
I'm not sure what you are asking, but if
you write an MXML component -- call it AddressForm.mxml -- like this
then this gets transformed into
public class AddressForm extends Form
{
...
}
The file name becomes the class name. The
top tag name
I'll bet that new'ing an instance of the
class and using the 'is' operator on the instance will be faster than calling
describeType() on the class and checking for an
tag.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt
C
An Accordion automatically creates one
instance of AccordionHeader for each child pane that you add to the Accordion. You
can get a reference to the i-th header with getHeaderAt(i), which is conceptually
similar to getChildAt(i).
Can you clarify what it is about the description
that
A general rule in Flex layout management is
that children get positioned and sized by their parents. I suspect that the
reason you don't see anything is that item_button has a width and height of 0
by default.
If you extend UIComponent, then it is your
responsibility to position and
If recordMap is really just a plain
Object, then you would do
delete UserData.getInstance().recordMap[vectorOrder.detail_id];
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Doug Arthur
Sent: Monday, August 14, 2006 1:37
Consider using the mx.logging.Log class
instead of the trace() function.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel Colak
Sent: Monday, August 14, 2006 7:32
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] tra
1101 - 1200 of 1667 matches
Mail list logo