RE: [flexcoders] Re: Is it possible to listen to *all* events without hacking the SDK?

2008-07-17 Thread Gordon Smith
isk. It could go away or behave differently in a future version of Flex. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Wednesday, July 16, 2008 10:26 PM To: flexcoders@yahoogroups

RE: [flexcoders] Is source available? for flash.utils.ByteArray.uncompress

2008-07-17 Thread Gordon Smith
e available in Flash Player 10. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of luvfotography Sent: Thursday, July 17, 2008 12:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is source ava

RE: [flexcoders] Re: Is it possible to listen to *all* events without hacking the SDK?

2008-07-17 Thread Gordon Smith
The dispatchEventHook will only catch events dispatched by UIComponents. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, July 16, 2008 9:34 PM To: flexcoders

RE: [flexcoders] Tristate checkboxes in Flex 3

2008-07-16 Thread Gordon Smith
What did you see in the bug that made you think that this enhancement was implemented? The bug is marked Deferred, which means it wasn't. Would you like to submit a patch to implement it? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroup

RE: [flexcoders] setup.sh Error, Compiling Flex

2008-07-15 Thread Gordon Smith
Forget about the #/!bin/sh... that shouldn't be there because this script gets 'source'd, not executed. I think the problem is that when you installed Cygwin you didn't specify the option to use DOS line endings. Gordon Smith Adobe Flex SDK Team __

RE: [flexcoders] setup.sh Error, Compiling Flex

2008-07-15 Thread Gordon Smith
You're running in Cygwin, right? If you put #!/bin/sh as the first line of setup.sh, does that make it work? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Tu

RE: [flexcoders] Digital clock

2008-07-15 Thread Gordon Smith
The simplest digital clock would simply be a Label whose text is changed every second by a Timer. To make it look more realistic, you can find a digital clock font and embed that in your SWF. Gordon Smith Adobe Flex SDK Team From: flexcoders

RE: [flexcoders] setup.sh Error, Compiling Flex

2008-07-15 Thread Gordon Smith
Could you be specific about what you're doing? Are you getting the Flex trunk from the Subversion repo? Or are you downloading a prebuilt SDK? Are you on Windows, Mac, or Linux? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [m

RE: [flexcoders] Flex 4 (Gumbo) not compiling, Class Error

2008-07-15 Thread Gordon Smith
You're not compiling against the right version of playerglobal.swc. These are new classes in Player 10. How are you compiling? Using the mxmlc command line tool in the Flex 4 SDK? Or trying to use the Flex 4 SDK with Flex Builder 3? Gordon Smith Adobe Flex SDK

RE: [flexcoders] Accessing public function from a different mxml

2008-07-15 Thread Gordon Smith
Try using parentDocument instead of parent to go up the MXML hierarchy. Or try "dotting down" from the Application instance: Application.application.foo.bar.a.pubfunction(). Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoo

RE: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Gordon Smith
least) the compc task just doesn't work at all That would be surprising if true since the SDK build scripts in the Subversion trunk build all the SWCs using , and plenty of developers are using these scripts on OS X. There is, however, a known bug that isn't doing incremental c

RE: [flexcoders] Float number calculation in AS3

2008-07-14 Thread Gordon Smith
community working on financial applications to explain how they work around this limitation. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: Monday, July 14, 2008 9:17 AM To: flex

RE: [flexcoders] Re: addEventListener for UI component scaling?

2008-07-14 Thread Gordon Smith
Trying listening for FlexEvent.UPDATE_COMPLETE. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Monday, July 14, 2008 12:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addEventListener for U

RE: [flexcoders] Ant tasks and spaces in paths?

2008-07-14 Thread Gordon Smith
Josh, could you please file a bug for this at http://bugs.adobe.com/flex/ ? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Sunday, July 13, 2008 9:33 PM To: flexcoders

RE: [flexcoders] Label or Text ,how to control the vertical position of text inside the component

2008-07-11 Thread Gordon Smith
Label supports paddingLeft, paddingRight, paddingTop, and paddingBottom. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Friday, July 11, 2008 4:00 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Flex Text Selection Problem...

2008-07-11 Thread Gordon Smith
Unfortunately, FP9 doesn't support setting the text selection color. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Corey Bray Sent: Friday, July 11, 2008 2:37 PM To: flexcoders@yahoogroup

RE: [flexcoders] Stump the Flex Nerd: Getting reference to the set method of a property

2008-07-09 Thread Gordon Smith
But do you really need a setter reference? You can set a property by name with code like this["users"] = result as ArrayCollection; Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Stump the Flex Nerd: Getting reference to the set method of a property

2008-07-09 Thread Gordon Smith
There is no way in AS3 to get a reference of type Function to a getter or setter. What is your use case for needing such a reference? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Hubbard

RE: [flexcoders] loading attributes in a flex custom tag

2008-07-07 Thread Gordon Smith
You normally override commitProperties() when you want to be able to set properties in any order and do something later after you know all their values. To ensure that commitProperties() gets called, call invalidateProperties() in the property setters. Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] Simple text vs htmlText length question

2008-07-02 Thread Gordon Smith
Try using \n instead of \r. Also try seeing whether setting textField.condenseWhite to true or false before setting textField.htmlText affects it. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Get a list of all available classes?

2008-07-02 Thread Gordon Smith
> is there a way to get a complete list of available public classes from the runtime? Not through a simple API. You'd have to parse the SWF's DoABC2 block. The SWF spec is here: http://www.adobe.com/devnet/swf/ Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] Sizing Components Inside Custom UIComponents

2008-07-01 Thread Gordon Smith
If you were extending a Container like VBox, its updateDisplayList() implementation would call setActualSize() on the children, taking their percentWidth and percentHeight into account. But when you extend UIComponent, you take on the responsibility for sizing your children. Gordon Smith

RE: [flexcoders] ToolTip TextField TextColor

2008-07-01 Thread Gordon Smith
It sounds like all you need is ToolTip styling, not ToolTip skinning. Did you try ToolTip { borderColor: blue; backgroundColor: yellow; color: red } ? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Embedding fonts

2008-07-01 Thread Gordon Smith
Show us what you're doing. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Tredway Sent: Tuesday, July 01, 2008 2:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Embedding

RE: [flexcoders] CurrencyFormat vs locale

2008-07-01 Thread Gordon Smith
Sorry, I don't understand why you wouldn't simply localize the "alignSymbol", "thousandsSeparatorTo", and "decimalSeparatorTo" resources in the "SharedResources" bundle in order to get localized currency formatting with Curren

RE: [flexcoders] CurrencyFormat vs locale

2008-06-30 Thread Gordon Smith
What is the problem with bundling resources for each locale? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Monday, June 30, 2008 4:44 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] init function in component

2008-06-30 Thread Gordon Smith
What does "like a random function" mean? You're asking us to tell you what is wrong with a createUUID() method but you don't show us the code for it. BTW, do you know about the createUID() method of the UIDUtil class in the Flex framework? Gordon Smith

RE: [flexcoders] Re: internationalization @ switching runtime

2008-06-27 Thread Gordon Smith
I'm not very familiar with the chart classes, but setting the labelFunction to null and then back again will probably make them display the new locale. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On B

RE: [flexcoders] Re: internationalization @ switching runtime

2008-06-27 Thread Gordon Smith
Try calling invalidateList() on the list-based component that you want to update with the new locale. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Friday, June 27, 2008 9:48

RE: [flexcoders] AS3 interface question

2008-06-27 Thread Gordon Smith
As far as I know, Adobe plans to follow the emerging Ecmascript 4 standard. We're unlikely to support covariant return types in ActionScript unless ES4 has them. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROT

RE: [flexcoders] Re: uint unset value

2008-06-25 Thread Gordon Smith
Yes, StyleManager.NOT_A_ COLOR is 0x. A uint is 32 bits. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, June 25, 2008 4:33 PM To: flexcoders

RE: [flexcoders] Re: uint unset value

2008-06-25 Thread Gordon Smith
That's correct. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Wednesday, June 25, 2008 2:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: uint unset value -

RE: [flexcoders] uint unset value

2008-06-25 Thread Gordon Smith
If you've typed _myColor as uint, it can't store either null or NaN. If it needs to store null, make it Object. If it needs to store NaN, make it Number. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Re: Inheritance : Calling super.function with var args

2008-06-24 Thread Gordon Smith
mention of the prototype property I could find I'm curious what you're doing with the 'prototype' property. It's pretty much vestigial at this point because AS3 uses class-based, rather than prototype-based, inheritance. Gordon Smith Adobe Flex SDK Team __

RE: [flexcoders] Does Flex 2/3 support left to right languages?

2008-06-24 Thread Gordon Smith
If you meant to say right-to-left language (like Arabic and Hebrew), the answer is "Not properly". Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of twcrone70 Sent: Tuesday, June 24, 2008

RE: [flexcoders] Setting width doesn't resize component immediately

2008-06-23 Thread Gordon Smith
Try calling validateNow() on the parent after changing the width of the left child. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wwwpl Sent: Monday, June 23, 2008 2:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoder

RE: [flexcoders] Re: Test contro height question

2008-06-23 Thread Gordon Smith
Please file a new bug then. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of I am Peter, not Lena Sent: Monday, June 23, 2008 10:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Test

RE: [flexcoders] Automatic programatically controls binding (i18n)

2008-06-23 Thread Gordon Smith
In MXML components you can simply use databinding expressions like but in AS3 components you need to override resourcesChanged() -- which gets called when the ResourceManager's localeChain changes -- and reset the label. - Gordon From: flexcod

RE: [flexcoders] internationalization @ switching runtime

2008-06-20 Thread Gordon Smith
ResourceManager's getString() method does parameter substitution. Its signature is public function getString(bundleName:String, resourceName:String, parameters:Array = null, locale:String = null):String Gordon Smith

RE: [flexcoders] internationalization @ switching runtime

2008-06-20 Thread Gordon Smith
etadata on your declaration of the buildTitle() method, and arrange for the class buildTitle() is in to redispatch the ResourceManager's "change" events. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] internationalization @ switching runtime

2008-06-20 Thread Gordon Smith
var rb:ResourceBundle = new ResourceBundle(locale, bundleName); rb.content[key1] = value1; rb.content[key2] = value2; ... resourceManager.addResourceBundle(rb); Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROT

RE: [flexcoders] internationalization @ switching runtime

2008-06-20 Thread Gordon Smith
You want to learn about the ResourceManager class in Flex 3. It allows you to simply change its localeChain property at runtime and have the entire application redraw in a new language. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

RE: [flexcoders] imports in super and sub class

2008-06-19 Thread Gordon Smith
Yes. Imports in a superclass are not inherited by a subclass. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Thursday, June 19, 2008 4:54 AM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Re: string to actual actionscript code?

2008-06-19 Thread Gordon Smith
ample, inside some method, do var textBox:TextBox = new TextBox(); textBox.foo = bar; addChild(textBox); textBoxes.push(textBox); 3. In any other method, you can refer to textBox[i] to get the ith one you created. Gordon Smith From: flexcoders@

RE: [flexcoders] 'Pointer' in actionscript?

2008-06-16 Thread Gordon Smith
I'm having trouble following this because I don't understand why your getter for itemLocation doesn't return what the setter set. But, setting that aside, I suspect your binding problem is because your setter isn't dispatching a binding event. Gordon Smith

RE: [flexcoders] Re: string to actual actionscript code?

2008-06-16 Thread Gordon Smith
Why are you lost without eval()? What would you use it to do? Many developers think they need it when they really don't; there are often other ways to accomplish what they're trying to do. Gordon Smith Adobe Flex SDK Team From:

RE: [flexcoders] mdash in line of text?

2008-06-16 Thread Gordon Smith
> The font seems to have an emdash in Photoshop -- any idea why it's not working in flex? Sorry, I don't know why they'd behave differently. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTE

RE: [flexcoders] mdash in line of text?

2008-06-13 Thread Gordon Smith
e two em-dashes. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Friday, June 13, 2008 1:28 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] mdash in line of text? Thank

RE: [flexcoders] Re: Math.abs() Limitation?

2008-06-13 Thread Gordon Smith
nt digits (6 or 7, I think) and a smaller exponent range. AS3 doesn't have this 32-bit floating-point type. The IEEE Standard for Binary Floating-Point Arithmetic (IEEE 754) defines the behavior of these datatypes, and modern microprocessors implement them in hardware.

RE: [flexcoders] Re: Math.abs() Limitation?

2008-06-13 Thread Gordon Smith
ou subtract a much larger value like 1e+294 you'll start affecting the least significant digit. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: Friday, June 13, 2008 12:26 PM

RE: [flexcoders] mdash in line of text?

2008-06-13 Thread Gordon Smith
In Unicode the em-dash is — or —. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Friday, June 13, 2008 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mdash in line

RE: [flexcoders] Difference between Flash/Flex in AS 3

2008-06-12 Thread Gordon Smith
x every MXML document actually defines a class. Your 'for' loop belongs inside some method, such as a handler for the 'initialize' event. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Re: Object name from a mouse click

2008-06-11 Thread Gordon Smith
x27;s unusual for one of an arbitrary number of children to need to access a single sibling. Are you sure you don't want to be doing something like dispatching an event from one child that all the children listen for? Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] Re: Object name from a mouse click

2008-06-10 Thread Gordon Smith
variables that point to them. Can you clarify what you're really trying to do from a user's point of view rather than from a programming point of view? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Math.abs() Limitation?

2008-06-10 Thread Gordon Smith
ers much larger than int.MAX_VALUE. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent: Friday, June 06, 2008 2:10 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

RE: [flexcoders] Math.abs() Limitation?

2008-06-06 Thread Gordon Smith
What do you get when you trace out the folllowing values? int.MAX_VALUE - 1290 Math.abs(int.MAX_VALUE - 1290) int.MAX_VALUE - 1284 Math.abs(int.MAX_VALUE - 1284) Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Object name from a mouse click

2008-06-06 Thread Gordon Smith
What do you mean by "the actual object name"? The 'id' that you specified in MXML? And what object are you talking about? A component inside your item renderer? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mai

RE: [flexcoders] Re: VerifyError: Error #1063: Argument count mismatch on ... ResourceBundle().

2008-06-06 Thread Gordon Smith
Where are your resources coming from? Are you compiling them from .properties files? Or linking against resource bundle SWCs? Where did the SWCs come from? Were they compiled with Flex 2? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

RE: [flexcoders] Please help graphics.beginFill and css issue

2008-06-05 Thread Gordon Smith
> Flex 3 however it does not. How does it fail? When you put backgroundColor: #FF in CSS and execute var backgroundColor:Number = getStyle("backgroundColor") what value does this var get set to? It should be 16777215. Gordon Smith Adobe

RE: [flexcoders] OT (slightly) Gold standard method to make a web Flex app truly skinnable.

2008-06-05 Thread Gordon Smith
Have you made a Hebrew app in Flash or Flex before? I don't think Player 9 properly supports right-to-left languages. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Kramer Sent: Wedn

RE: [flexcoders] VerifyError: Error #1063: Argument count mismatch on ... ResourceBundle().

2008-06-05 Thread Gordon Smith
The constructor for the ResourceBundle class had no arguments in Flex 2 but two optional arguments were added in Flex 3. So it sounds like you are somehow mixing Flex 2 and Flex 3 code. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Retrieving instence name?

2008-06-05 Thread Gordon Smith
Did you import the LoaderInfo class? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Thursday, June 05, 2008 12:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

RE: [flexcoders] The supplied DisplayObject must be a child

2008-06-04 Thread Gordon Smith
Can you post a minimal amount of code that reproduces the problem? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Venky999 Sent: Wednesday, June 04, 2008 9:50 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Some Characters on Dynamically Loaded Fonts Show Incorrectly

2008-06-04 Thread Gordon Smith
s that are less attractive that the original device font. 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 hawkfansixty Sent: Wednesday, June 04, 2

RE: [flexcoders] Dynamic TextArea creation

2008-06-03 Thread Gordon Smith
the ith TextArea as newTexts[i].text Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tiago Santarosa Sent: Tuesday, June 03, 2008 12:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] MXML namespace

2008-06-02 Thread Gordon Smith
> I think it would be better to use prefixes for your own namespaces and none for MXML. We're giving this serious consideration as a new convention for Flex 4. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL P

RE: [flexcoders] Repeater Question

2008-05-30 Thread Gordon Smith
No. You can use startingIndex and count to specify just a range within a dataProvider, but you have to have a dataProvider. Try Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abu Hamdan

RE: [flexcoders] Flex Ant Tasks - can someone cut the umbilical?

2008-05-30 Thread Gordon Smith
Huh? Why does it need to get set within the task? If an Ant script does isn't compc going to run with FLEX_HOME set by the property tag? Isn't each spawned build running in its own process with its own FLEX_HOME property? Gordon Smith Adobe Fle

RE: [flexcoders] Re: ClassReference and resourceBundles

2008-05-30 Thread Gordon Smith
ass, regardless of locale, as determined by the manifest file. Another approach you might want to consider is having an English module, a French module, etc. Each can have its own manifest file so that in the English module could map to a different class than in the French module. Gordon Sm

RE: [flexcoders] Re: ClassReference and resourceBundles

2008-05-30 Thread Gordon Smith
Why would you want users in the U.S. to see more information (i.e., an extended view) than users in France (who see a quick view)? Why don't you want them to see the same information, either in English or in French? Gordon Smith Adobe Flex SDK

RE: [flexcoders] Is String to Number conversion locale-specific?

2008-05-30 Thread Gordon Smith
I asked the Flash Player team, and one of the engineers told me that a period is always interpreted as a decimal point, regardless of the OS locale. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Sharing bindable data between mxml files in different project folders

2008-05-30 Thread Gordon Smith
You can also just declare public var testValue:String; and access it from other components as Application.application.testValue. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yigit

RE: [flexcoders] Flex Ant Tasks - can someone cut the umbilical?

2008-05-30 Thread Gordon Smith
Yes, setting FLEX_HOME in Ant is the best approach. For example, if you look at the opensource code for the SDK, you'll see that our top-level Ant script declares Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[

RE: [flexcoders] Problems accessing a class method from an mxml file

2008-05-30 Thread Gordon Smith
What is your declaration of _nav? The compiler apparently thinks it has type Class, rather than the type of the class you've written. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of justSteve

RE: [flexcoders] Compile css file to swf with ClassReference in the css file

2008-05-30 Thread Gordon Smith
Assuming that the class you're specifying in ClassReference lives in a source file, make sure that the -source-path is such that it can be found by the compiler. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROT

RE: [flexcoders] Multiline Textfield Trunctation

2008-05-29 Thread Gordon Smith
The Flex framework doesn't support multiline truncation. I don't know there's third-party code to do this. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ninobronzed Sent: Thursday,

RE: [flexcoders] ClassReference and resourceBundles

2008-05-29 Thread Gordon Smith
on of this class for English and one for French? If so, they can't both be named com.SpecialViewCanvas if they're linked into the same app. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of D

RE: [flexcoders] Re: loading resource bundles manually in flex3

2008-05-29 Thread Gordon Smith
loaded with one HTTP request. Of course, you could always write your own .properties parser in ActionScript. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Durres76 Sent: Thursday, May 29

RE: [flexcoders] loading resource bundles manually in flex3

2008-05-29 Thread Gordon Smith
nager for app configuration rather than for localization? For configuration, I'd suggest using XML files to specify the UPD and BBS views and attributes. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Re: Creating dynamic instence

2008-05-28 Thread Gordon Smith
Use an Array to keep track of the multiple instances: private var loaders:Array = []; ... loaders[i] = new SWFLoader(); Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent

RE: [flexcoders] Re: Use my ou namespace with manifest without swc?

2008-05-28 Thread Gordon Smith
flex-config.xml and app-config.xml are just ways of setting compilation options for mxmlc. You can accomplish the same thing with command-line options or (I think) options if you're using the Ant task. Gordon Smith Adobe Flex SDK Team From: flexc

RE: [flexcoders] Re: UIComponents as Object keys and Re-parenting

2008-05-28 Thread Gordon Smith
, May 28, 2008 12:48 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: UIComponents as Object keys and Re-parenting Heh heh, so it does. Long week. I think I read Gordon Smith *A*dobe F*lex* SDK Team As Alex. Thanks you, Gordon--please excuse my brain fatigue. -- Maciek

RE: [flexcoders] UIComponents as Object keys and Re-parenting

2008-05-28 Thread Gordon Smith
heir location in the DisplayObject hierarchy, and this changes when you reparent a UIComponent. You probably want to use a Dictionary instead of an Object. A Dictionary can store key/value pairs where the key can be an object and doesn't get converted to a string. Gordon S

RE: [flexcoders] Text Question

2008-05-27 Thread Gordon Smith
Use for paragraphs of text. But there is no reason to use for an Accordion pane if all you're going to put in it is . You should just use instead. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Beha

RE: [flexcoders] Handling between 20.000 and 100.000 records

2008-05-22 Thread Gordon Smith
I'd try the regular filter first and make sure it's really too slow before trying anything else. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR Sent: Wednesday, May 21, 2008

RE: [flexcoders] Re: "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Gordon Smith
We don't recommend putting curly braces around the values of event attributes like creationComplete... that makes it look like databinding even though it isn't. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PRO

RE: [flexcoders] Bug or bad programming?

2008-05-20 Thread Gordon Smith
It's the rules of XML. An & character inside an attribute value is expected to be the beginning of an XML "entity" like < or & or { . So if you want an ampersand character, you have to write it as & . Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] Text input change, datachange, and other events

2008-05-20 Thread Gordon Smith
> The text input has 4 event triggers Of its own. But it inherits lots and lots more from its superclasses. In the Language and Components Reference, click the "Show Inherited Events" link. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTEC

RE: [flexcoders] resourceManager and actionScript updates

2008-05-19 Thread Gordon Smith
to declare and initialize your 'rm' instance variable. Your 'mycomp2' component already has a 'resourceManager' property because it extends UIComponent. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto

RE: [flexcoders] Localization with subdirectories is possible?

2008-05-19 Thread Gordon Smith
I can't remember whether Flex 3 supports this, but if it does, I think the bundle name would be "security.main". Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Leonardo Moreno Se

RE: [flexcoders] Re: bug in setMonth() method?

2008-05-19 Thread Gordon Smith
It isn't up to Adobe to define how the Date class works. The Player team's intention is to follow the Ecma-262 spec for this class. I haven't checked what the spec has to say about this, but if the Player isn't in compliance, that's a bug. Gordon S

RE: [flexcoders] Releasdate for flash player 10

2008-05-16 Thread Gordon Smith
> is there allready a time shedule for the final release? I don't think this has been announced. Normally it's quite a few months between the first public beta and the final release. Gordon Smith Adobe Flex SDK Team From: flexcoders@ya

RE: [flexcoders] Re: How to tell if variable is an int, uint, or a Number?

2008-05-15 Thread Gordon Smith
value in the set of possible values for each of these types. But I would expect a var declared as var u:uint; to report itself via describeType() as a uint, just like int and Number do. It seems like a bug that it doesn't. Gordon Smith Adobe Flex SDK Team _

RE: [flexcoders] Flash Player 10 is in prerelease!

2008-05-15 Thread Gordon Smith
tor., etc. We'll be making use of this in new APIs for Flex 4. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Marcus Engene Sent: Thursday, May 15, 2008 12:16 AM To: flexcoders@yahoog

RE: [flexcoders] Re: Flash Player 10 is in prerelease!

2008-05-15 Thread Gordon Smith
I don't think the Player team has released any docs on the new APIs yet. For now, they're mainly interested in developers using FP10 for compatibility testing. Gordon Smith From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behal

[flexcoders] Flash Player 10 is in prerelease!

2008-05-14 Thread Gordon Smith
http://labs.adobe.com/technologies/flashplayer10/ Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] object in components

2008-05-14 Thread Gordon Smith
I'm pretty sure that you'll get selection problems if you don't have unique data items. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maciek Sakrejda Sent: Wednesday, May 14,

RE: [flexcoders] Can AIR app get Workstation Credentials?

2008-05-14 Thread Gordon Smith
I don't think is possible. And wouldn't it be a security problem if it was? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Sent: Wednesday, May 14, 2008 2:11 PM To:

RE: [flexcoders] Event result listener problem

2008-05-14 Thread Gordon Smith
The popups aren't really the issue... the issue is, when you submit two similar requests and get back two results, how do you know which result goes with which result. Data services aren't my strong area, but I think one answer is to use an AsyncToken. Gordon Smith Adobe Fle

RE: [flexcoders] Getters/Setters VS Function:Void/Return

2008-05-14 Thread Gordon Smith
ed towards getters/setters. Have you tried timing get foo() vs. getFoo() yourself? (I haven't.) Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Curtin Sent: Wednesday, May 14, 2008 11:15 AM

<    1   2   3   4   5   6   7   8   9   10   >