RE: [flexcoders] Re: Question about a flex component

2009-07-28 Thread Gordon Smith
The ASDoc for ArrayCollection lists removeItemAt() as an inherited method. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena_kris2003 Sent: Tuesday, July 28, 2009 10:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] Who can explain me this:

2009-07-28 Thread Gordon Smith
You're exactly correct. I offered some ASCII-art diagrams of this yesterday, but your explanation in English is better. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Todd Kerpelman Sent: Monday, July 27, 2009 6:35

RE: [flexcoders] Re: Question about a flex component

2009-07-28 Thread Gordon Smith
Use any program that can produce a GIF or PNG and draw a left-pointing and a right-pointing triangle. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena_kris2003 Sent: Tuesday, July 28, 2009 5:43 AM To: flexcoders

RE: [flexcoders] Re: How to customize ThousandSeparator to display price in INR format

2009-07-28 Thread Gordon Smith
That's correct. Improved locale-aware formatting capabilities that will handle this case are being built for a future version of the Flash Player. But the current Flex formatters only know how to insert a thousandsSeparator every three digits. Gordon Smith Adobe Flex SDK Team From: flexc

RE: [flexcoders] Who can explain me this:

2009-07-27 Thread Gordon Smith
ntinues to point to the same object, so you have testx[0] > { data: 1000 } a -----| --> { data: 200 } b -| Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of lytvynyuk Sent: Monday, July 27, 2

RE: [flexcoders] Re: Question about a flex component

2009-07-27 Thread Gordon Smith
ent.localX = 10; mouseEvent.localY = 10; ... someComponent.dispatchEvent(mouseEvent); Gordon Smith Adeobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena pandit Sent: Monday, July 27, 2009 4:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flex

RE: [flexcoders] Re: Question about a flex component

2009-07-27 Thread Gordon Smith
You can try dispatching MouseEvents, but I'm not sure that they'll work exactly the same as a Player-generated one. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena pandit Sent: Monday, July 27, 2009 4:17 PM To:

RE: [flexcoders] Re: Sideways text

2009-07-27 Thread Gordon Smith
Really? When I try I don't see anything. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Saturday, July 25, 2009 3:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Sideways text -

RE: [flexcoders] Re: Question about a flex component

2009-07-27 Thread Gordon Smith
Normally only the Player dispatches MouseEvents, in response to the user using the mouse. Why would you want to dispatch a MouseEvent in your code? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena_kris2003 Sent: Monday

RE: [flexcoders] Re: Question about a flex component

2009-07-27 Thread Gordon Smith
That's not how list-based components work. You don't add event listeners to data items. You listen to events dispatched by the list itself. What are you trying to accomplish with your event handlers? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mail

RE: [flexcoders] Re: Question about a flex component

2009-07-24 Thread Gordon Smith
item = { label: "Two", data: 2 }; myList.dataProvider.addItem(item); Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena_kris2003 Sent: Friday, July 24, 2009 3:19 PM To: flexcoders@yahoogroups.com Subject: [flexcod

RE: [flexcoders] Sideways text

2009-07-24 Thread Gordon Smith
ments its new text components would probably be useful if you're going to do this. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of danapayne Sent: Friday, July 24, 2009 8:10 AM To: flexcoders@yahoogroups.com Subject: [

RE: [flexcoders] Re: Question about a flex component

2009-07-24 Thread Gordon Smith
ntalScrollPosition += 1. Use -= for the Previous button. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena_kris2003 Sent: Thursday, July 23, 2009 4:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Question about

RE: [flexcoders] Flex 4 query

2009-07-23 Thread Gordon Smith
I recommend downloading Flash Builder 4 here: http://labs.adobe.com/ It's easier to use Flex 4 SDK with Flash Builder 4 than to use Flex 4 SDK with Flex Builder 3. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Purn

RE: [flexcoders] FileReference.load()

2009-07-23 Thread Gordon Smith
u can use code like if ("doSomething" in obj) obj["doSomething"](); to look for and call a doSomething() method that has been added for 10.1. But that's doesn't help you. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@y

RE: [flexcoders] Question about a flex component

2009-07-23 Thread Gordon Smith
x27;d need another icon ("previous page" instead of "next page") to go back to 10-19 and then 0-9. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena pandit Sent: Thursday, July 23, 2009 10:22 AM To: flex

RE: [flexcoders] FileReference.load()

2009-07-22 Thread Gordon Smith
Try this: if ("load" in fileReference) fileReference["load"](); That should compile against the Player 9 version of playerglobal.swc, but, in Player 10, detect that the method exists and call it by name. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups

RE: [flexcoders] Re: Adobe has open-sourced the Text Layout Framework (TLF)

2009-07-22 Thread Gordon Smith
I asked the TLF team and they said they're considering adding basic table support -- but perhaps not as complete as in HTML -- for TLF 2.0. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dennis van Nooij Sent: Wednesday,

RE: [flexcoders] fontFamily style: inconsistency between ASDocs and developers guide.

2009-07-22 Thread Gordon Smith
I think TextField also started accepting fontFamily with a comma-separate list in Player 9. I believe this ASDoc is incorrect. Can you file a doc bug at http://bugs.adobe.com/flex? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [flexcoders] Re: Event's cancelable

2009-07-22 Thread Gordon Smith
t; event dispatched by a TextField, then TextField won't insert the characters. The typical pattern in a dispatcher in this case is var event:Event = new SomeEvent("aboutToDoSomething"); dispatchEvent(event); if (!event.isDefaultPrevented()) doSomething(); Gordon Smith Ado

RE: [flexcoders] Re: variables name are in array

2009-07-22 Thread Gordon Smith
i:int = 0; i < n; i++) { this[names[i]] = values[i]; } will set foo to 1 and bar to 2. This works because you can access foo by name as this["foo"]. Does that help? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups

RE: [flexcoders] variables name are in array

2009-07-21 Thread Gordon Smith
private var obj:Object = {}; and later set obj[name1] = value1; obj[name2] = value2; You can then retrieve all the names and values like this: for (var name:String in obj) trace(name, obj[name]); Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Adobe has open-sourced the Text Layout Framework (TLF)

2009-07-21 Thread Gordon Smith
I searched the businesswire article for the word "table" and didn't find it. Where do you see this? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dennis van Nooij Sent: Tuesday, July 21, 2009 5:07 AM

[flexcoders] Adobe has open-sourced the Text Layout Framework (TLF)

2009-07-20 Thread Gordon Smith
http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_view&newsId=20090720006233&newsLang=en http://opensource.adobe.com/wiki/display/tlf/Text+Layout+Framework Gordon Smith Adobe Flex SDK Team

RE: [flexcoders] Actionscript Number BUG?!!!

2009-07-13 Thread Gordon Smith
Because the Number type, which takes up 64 bits, can only store 15 or 16 significant decimal digits. It doesn't do infinite precision arithmetic. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of _estatica_ Sent: Monday, Ju

RE: [flexcoders] PDF - Text Display

2009-06-24 Thread Gordon Smith
lash Text Engine (FTE). Spark components are new in Flex 4 and live in the spark.* package. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of lrlarsonny Sent: Wednesday, June 24, 2009 11:23 AM To: flexcoders@yahoogroups.com Subj

RE: [flexcoders] my SWFLoader wont give me the correct width and height

2009-06-18 Thread Gordon Smith
Try checking the values in an "updateComplete" handler. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jamie S Sent: Thursday, June 18, 2009 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] my SWFLoader wo

RE: [flexcoders] Dynamically Naming Objects

2009-06-13 Thread Gordon Smith
boBox(); ... comboBoxes["state"] = new ComboBox(); You can then access this ComboBox as comboBoxes["state"]. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Brad Bueche Sent: Saturday, June 13, 2009 3:48 PM To: f

RE: [flexcoders] Selectable

2009-06-13 Thread Gordon Smith
For performance and memory reasons, text in cannot be selectable or editable. You can use , which does not have scrollbars, or you can turn the scrollbars of off by setting horizontalScrollPolicy and verticalScrollPolicy to "off". Gordon Smith Adobe Flex SDK Team From:

RE: [flexcoders] using addChild() or includeInLayout ?

2009-06-09 Thread Gordon Smith
You should get faster startup if you wait until you need them and create them dynamically. But I think the states feature is probably the best way to accomplish this. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of arpan

RE: [flexcoders] A question about ViewStack

2009-06-08 Thread Gordon Smith
A creationComplete event is dispatched very late -- after the component has already been laid out. If you set its selectedIndex early (which is what doing it in MXML does), it should work. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

RE: [flexcoders] Re: Is this list declining?

2009-06-04 Thread Gordon Smith
Sorry, I don't have an update on that, Amy. Maybe Vera knows, so I've cc'd her. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Tuesday, June 02, 2009 6:23 AM To: flexcoders@yahoogroups.com Subject: [fle

RE: [flexcoders] Resource bundles and static vars

2009-06-01 Thread Gordon Smith
> I can control neither code that was written before I started working on this > project nor all design decisions But if you point out that one of the Flex SDK engineers said "don't do that", maybe they won't do it any more. :) Gordon Smith Adobe Flex SDK Team From:

RE: [flexcoders] Resource bundles and static vars

2009-06-01 Thread Gordon Smith
s get initialized is hard to figure out and you might have circular-dependencies. Just-in-time initialization is a good general solution to these problems, at the cost of a simple null check on each access. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:fl

RE: [flexcoders] How to make FTE text selectable and editable?

2009-06-01 Thread Gordon Smith
Yes, TLF is packaged separately in textLayout.swc and textLayout.swz. We'll be hosting this SWZ along with framework.swz, flex4.swz, etc. Gordon Smith Adobe Flex SDK Team -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of M

RE: [flexcoders] Is this list declining?

2009-06-01 Thread Gordon Smith
There is a lot of traffic (>100 posts/day) on the Flex forum at http://forums.adobe.com/community/flex/flex_general_discussion The Adobe forums now support email. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Manish Jeth

RE: [flexcoders] How to make FTE text selectable and editable?

2009-06-01 Thread Gordon Smith
That's correct. FTE simply creates TextLines that display text and contain information about glyph bounds, etc. All selection and editing must be handled in ActionScript. Use have to use TLF or a TLF-based component, unless you want to roll your own text editor. - Gordon From: flexcoders@yahoo

RE: [flexcoders] Re: 2 Questions abot TextField in ActionScript

2009-05-14 Thread Gordon Smith
My hunch is that flash.filters.ConvolutionFilter could be used to accomplish that kind of "halo" effect around text characters, if you can figure out, or Google, the right convolution matrix to use. It might be easier to first try our flash.filters.GlowFilter. Gordon Smith Adobe Fle

RE: [flexcoders] Re: 2 Questions abot TextField in ActionScript

2009-05-13 Thread Gordon Smith
1. Did you try setting TextField's 'alpha' property? In Player 10, I think it works with both device and embedded fonts. In Player 9, I think it only works with embedded fonts. 2. I'm not clear on what kind of halo you want. Around a text border? Around every character? Around certain words? Ha

RE: [flexcoders] 2 Questions abot TextField in ActionScript

2009-05-12 Thread Gordon Smith
about? Label? Text? TextInput? TextArea? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ACasualObserver Sent: Tuesday, May 12, 2009 12:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] 2 Questions abot TextField in

RE: [flexcoders] Text Layout Framework with Flex 3.3 and Embeded Fonts

2009-05-11 Thread Gordon Smith
Pete, has the 3.x compiler been revved, or will it be, to support embedding fonts as DefineFont4 tags for use with FTE and TLF? Or is this something only Flex 4 will support? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Daniel Freiman Sent: Thursda

RE: [flexcoders] Re: adding to a sprite.

2009-05-06 Thread Gordon Smith
Flex containers like Canvas override the Player's addChild() method to do all sorts of extra stuff. And Flex components like Image rely on their parent containers to lay them out with the correct size and position. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroup

RE: [flexcoders] Re: Outputting a variable into htmlText

2009-04-30 Thread Gordon Smith
Name, the name was getting set too late and it was null when init() was called Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fumeng5 Sent: Thursday, April 30, 2009 10:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] Re: Accessibility stopped working

2009-04-22 Thread Gordon Smith
If the accessibility classes ever get initialized on Mac, I'd be very surprised. Doesn't Capabilities.hasAccessibility return false in all Mac Players? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sen

RE: [flexcoders] Re:How do I detect 'enter' key on a textInput control?

2009-04-21 Thread Gordon Smith
A TextInput control dispatches an "enter" event when you press the Enter key. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Pilby Sent: Monday, April 20, 2009 8:55 PM To: flexcoders@yahoogroups.com Subject: [flexcode

RE: [flexcoders] [101] measured width vs. explicit width vs. width

2009-03-25 Thread Gordon Smith
not known until the component has undergone a LayoutManager pass. For historical reasons related to ease-of-use consideration, the "width" property does double duty. As a setter, it sets the explicitWidth. As a getter, it returns the actual width. Gordon Smith Adobe Flex SDK Te

RE: [flexcoders] swf file size changes from build to build?

2009-03-18 Thread Gordon Smith
I think Alex was joking. He was simpily confirming that you don't get the same size each time you build (although I'm surprised by the size of the variation). What did you mean by "myIntVar = 1 instead of 0"? The SWFs should execute exactly the same. - Gordon From: flexcoders@yahoogroups.com [

RE: [flexcoders] Support for Regional Languages in Flex?

2009-03-16 Thread Gordon Smith
you should use the ResourceManager. If anyone has already made Flex apps using Indic languages, please speak up with any problems you found. There may be gotchas I don't know about. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behal

RE: [flexcoders] char Type

2009-03-13 Thread Gordon Smith
an AS String to represent a single Unicode code point, since there are more than 65536 Unicode characters. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Maciek Sakrejda Sent: Friday, March 13, 2009 8:19 AM To: flexcoders@ya

RE: [flexcoders] Array of objects

2009-03-13 Thread Gordon Smith
ray to a Vector: var v:Vector. = Vector.(["Hello", "World"]); Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Andrews Sent: Friday, March 13, 2009 2:03 AM To: flexcoders@yahoogroups.com Subject: Re

RE: [flexcoders] Re: flex + mysql unicode support

2009-03-12 Thread Gordon Smith
Don't some device fonts (e.g., Arial on Windows?) include glyphs for large portions of Unicode? BTW, I just wanted to point out that the String type in AS is Unicode, so all text in Flex apps is Unicode. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:fl

RE: [flexcoders] Re: Turn all keyboard input into upper-case for all TextInput and TextArea

2009-03-10 Thread Gordon Smith
er the text has been inserted. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of per.olesen Sent: Tuesday, March 10, 2009 1:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Turn all keyboard input into upper-case f

RE: [flexcoders] Re: Define repeaters at runtime

2009-03-09 Thread Gordon Smith
mage instance, then setting imageArray[i].source in a loop should work fine. What are you setting it to, and how does it not work? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of smitade Sent: Friday, February 27, 2009 11:3

RE: [flexcoders] static function and getDefinitionByName

2009-03-09 Thread Gordon Smith
If you are running in a debug player, you should have gotten an RTE when the VM tried to execute ClassRef[getter](), unless your getter returns a Function expecting no arguments. If you didn't, that seems like a serious VM bug. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroup

RE: [flexcoders] Re: Flex Interview Questions

2009-03-09 Thread Gordon Smith
to be executed when it hears that event. The event handler can use an implied argument named 'event' to access the Event instance." Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nathanpdaniel Sent: Monday, March

RE: [flexcoders] Re: Converting strings to numbers before sorting?

2009-02-27 Thread Gordon Smith
| NewYork Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Keith Hughitt Sent: Friday, February 27, 2009 8:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Converting strings to numbers before sorting? > var a:

RE: [flexcoders] Re: Define repeaters at runtime

2009-02-27 Thread Gordon Smith
So that the doc team understands... What is it that you found surprising? That an Array can hold anything, including references to components? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of smitade Sent: Thursday, February 26

RE: [flexcoders] How to find the actual type of a custom flex component?

2009-02-26 Thread Gordon Smith
u a String like "mx.containers:VBox". (It think it puts a colon in there.) Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ashish Verma Sent: Thursday, February 26, 2009 5:37 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Displaying Extremely large fonts

2009-02-23 Thread Gordon Smith
r 10. As a demonstration of this, the following Flex 4 app http://ns.adobe.com/mxml/2009";> renders properly because TextBox uses FTE rather than TextField. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Stephen

RE: [flexcoders] Bug? Width of single-character label...

2009-02-23 Thread Gordon Smith
This sounds like a bug to me. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jasonbriggs99 Sent: Tuesday, February 17, 2009 4:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Bug? Width of single-character label

RE: [flexcoders] How to get input language in Flex 3 app

2009-02-16 Thread Gordon Smith
I don't think the Flash Player has an API for this. What would you do with the input language? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bobmeyering Sent: Friday, February 13, 2009 8:20 AM To: flexcoders@yahoogroup

RE: [flexcoders] Making the impossible possible, something odd is happening

2009-02-09 Thread Gordon Smith
urprised if the latter case generated bytecode for the pointless comparison. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sam Lai Sent: Saturday, February 07, 2009 6:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcod

RE: [flexcoders] Tables in Rich Text Editor

2009-02-06 Thread Gordon Smith
with it. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Josh McDonald Sent: Thursday, February 05, 2009 9:55 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Tables in Rich Text Editor I'd definitely be int

RE: [flexcoders] Tables in Rich Text Editor

2009-02-05 Thread Gordon Smith
ourself if you are very ambitious. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Igor Costa Sent: Saturday, January 31, 2009 7:29 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Tables in Rich Text Editor Jeroen

RE: [flexcoders] flex date and timezone

2009-01-28 Thread Gordon Smith
ou need. Haykel Ben Jemia Allmas Web & RIA Development http://www.allmas-tn.com<http://www.allmas-tn.com/> On Wed, Jan 28, 2009 at 5:42 PM, Gordon Smith mailto:gosm...@adobe.com>> wrote: > In java, there is a TimeZone class to handle it. > is there something similar in Fle

RE: [flexcoders] flex date and timezone

2009-01-28 Thread Gordon Smith
> In java, there is a TimeZone class to handle it. > is there something similar in Flex? No, sorry, there isn't anything comparable in the Flex framework. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of coder3 Se

RE: [flexcoders] internationalization

2009-01-21 Thread Gordon Smith
from any source with your own code. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Yves Riel Sent: Wednesday, January 21, 2009 5:00 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] internationalization The only

RE: [flexcoders] RTL with FP10, Flex 3

2009-01-21 Thread Gordon Smith
Do you really need to use Flex 3? We're adding TLF support to Flex 4. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Haykel BEN JEMIA Sent: Wednesday, January 21, 2009 2:07 AM To: flexcoders@yahoogroups.com Subjec

RE: [flexcoders]TextLayoutFramework - support for graphics / swfs?

2009-01-20 Thread Gordon Smith
load the SWF. If you haven't specified the width or height, they'll be determined by the Loader. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Tuesday, January 20, 2009 2:45 AM To: flex

RE: [flexcoders] internationalization

2009-01-20 Thread Gordon Smith
Haykel is probably talking about loading a resource module. The resource bundles in a resource module automatically get added to the ResourceManager. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Yves Riel Sent: Tuesday

RE: [flexcoders]Count the number of arguments on a function

2009-01-14 Thread Gordon Smith
I think describeType() provides information about method parameters. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Wednesday, January 14, 2009 12:39 AM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Re: Release a child .... again

2009-01-12 Thread Gordon Smith
hild2); Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, January 09, 2009 5:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Release a child again On its (child2) creationComplete. -

RE: [flexcoders] Re: Release a child .... again

2009-01-09 Thread Gordon Smith
When does child2 call parent.addEventListener()? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markgoldin_2000 Sent: Friday, January 09, 2009 7:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Release a child

RE: [flexcoders] Namespace declaration problem

2009-01-08 Thread Gordon Smith
It sounds like you don't have the SWC with the comc.adobe.flex.extras.controls.* classes (which are not part of a standard Flex installation) or it isn't on your library-path. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

RE: [flexcoders] Re: SWF file format question - SymbolClass Tag

2008-12-19 Thread Gordon Smith
Also, I'm pretty sure that there is some compiler option you can use to prevent specific classes from getting linked in. That's a lot easier than trying to remove them after they've been linked in. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: SWF file format question - SymbolClass Tag

2008-12-19 Thread Gordon Smith
The AS3 classes are in the DoABC (or maybe a DoABC2?) tag. It seems unlikely that you could remove a class and still have the SWF work. If the class wasn't used by your application, the MXML compiler wouldn't have linked it in. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoo

RE: [flexcoders] Re: Is Flex the wrong technology for widgets? SWF file sizes are too big...

2008-12-16 Thread Gordon Smith
"Hello"; addChild(textField); Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Tuesday, December 16, 2008 9:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Is Flex the wrong technology for wi

RE: [flexcoders] Re: How many classes are there in flex 3 framework?

2008-12-16 Thread Gordon Smith
And .mxmlc files like RichTextEditor.mxml ARE classes. But does anybody really care about an accurate count? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Tuesday, December 16, 2008 3:46 PM To: flexcoders@yahoogroups.com Subject: RE:

RE: [flexcoders] Re: Padding/spacing before the first line in a TextArea

2008-12-16 Thread Gordon Smith
> This has been a long standing bug that I've been complaining to Adobe about. The new Text Layout Framework that Gumbo components use gives you control over the vertical placement of the first line. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto

RE: [flexcoders] Am i high?

2008-12-12 Thread Gordon Smith
I've noticed this using the MAX build of Flex Builder 4 (Windows, standalone), pointed at the trunk SDK. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of djhatrick Sent: Thursday, December 11, 2008 12:40 PM To: flexc

RE: [flexcoders] Re: speed of the "for each" looping

2008-12-12 Thread Gordon Smith
aranteed for-in order. So I think an Array or ArrayCollection implementation is free to execute a for-in loop in any order it wants. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Thursday, December 11, 2

RE: [flexcoders] Re: speed of the "for each" looping

2008-12-10 Thread Gordon Smith
So don't use for..in or for each... in if you care about the enumeration order. It could very possibly change in future versions of the Flash Player. Gordon Smith Adobe Flex SDK From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, Decemb

RE: [flexcoders] Re: Accessing Stage from Class

2008-12-05 Thread Gordon Smith
BTW, that's because in AIR there can be multiple instances of Stage. Each NativeWindow has one. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Friday, December 05, 2008 6:54 AM To: flexcoders@yahoogroups.com Su

RE: [flexcoders] Error 1189: Attempt to delete the fixed property.

2008-12-03 Thread Gordon Smith
before returning if you want to make the Array object eligible for garbage collection. Otherwise the static var, which always exists, would continue to point to it and prevent the Array object from being GCd. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PRO

RE: [flexcoders] Flex TextArea Limited by number of lines.

2008-12-03 Thread Gordon Smith
the amount of text that goes in, or use the 'change' event to remove excess text that has already gone in. Which are you trying, and what problems are you running into? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tchrede

RE: [flexcoders] Looking for what this[iscalled]

2008-12-01 Thread Gordon Smith
t;xyz"] = 3 then abc["xyz"] is int should be true. The values you store have definite types at runtime, although at compile time the type of abc["xyz"] is considered to be *. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROT

RE: [flexcoders] Re: Text Layout Framework in Flex 4

2008-11-20 Thread Gordon Smith
o the bottom line is that what you ask for is our goal, but it isn't a definite Gumbo feature yet. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller Sent: Wednesday, November 19, 2008 9:57 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-18 Thread Gordon Smith
g null to 0. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, November 18, 2008 1:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Calling functions with optional parameters This produces the

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-18 Thread Gordon Smith
This produces the compilation warning 1102: null used where a int value was expected. I'm surprised that it doesn't produce a compilation error, and I'll ask the AS3 folks about that. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTE

RE: [flexcoders] Re: HTML IN FLEX

2008-11-18 Thread Gordon Smith
used in Flex 4.) TLF will not support all of HTML, but it will be more capable than TextField's htmlText. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Monday, November 17, 2008 9:56 AM To: flexcoders@yahoogroups.c

RE: [flexcoders] Re: TextFormat being reset?

2008-11-18 Thread Gordon Smith
I think the Text component is setting the text format of its TextField to correspond to the CSS styles set on the Text component. The inheriting CSS styles must be recomputed every time a component is reparented. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Gordon Smith
Optional parameters must come after required parameters. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, November 14, 2008 2:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Calling functions with optional

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Gordon Smith
You can write either MyClass.foo = bar; or MyClass["foo"] = bar; to set a static property of a class. Gordon Smtih Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, November 14, 2008 2:28 PM To: flexcoders@yahoogroups.com Sub

RE: [flexcoders]How do I check if a component is on the display list?

2008-11-12 Thread Gordon Smith
A DisplayObject is on the display list if its 'stage' property is non-null. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from dorktown Sent: Tuesday, November 11, 2008 2:44 PM To: flexcoders@yahoogroups.c

RE: [flexcoders] How to adjust the height of VBox dynamically

2008-11-11 Thread Gordon Smith
That's what a VBox does by default when you don't specify its height... it makes itself high enough to show all of its children. If you don't want one of its children to contribute to its height, set includeInLayout to false on that child. Gordon Smith Adobe Flex SDK Team F

RE: [flexcoders] Question on how to find out what something is.

2008-11-11 Thread Gordon Smith
> > My question is what is One, what kind of component or object is it. It is an instance of the class mx.containers.Form, as specified by the following entry in the file frameworks/mxml-manifest.xml Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:

RE: [flexcoders] textArea's that are limited by the amount of lines

2008-11-07 Thread Gordon Smith
I think you should be using the textInput event, which lets you intercept the text before it goes in. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tchredeemed Sent: Friday, November 07, 2008 7:57 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Does UIComponent.measureHTMLText(htmlText) method takes TextFormat.blockIndent value into the account when calculating width value of TextLineMetrics object?

2008-11-07 Thread Gordon Smith
e that. In any case, TextField is not going to get much attention in the future. It will continue to be supported for backward compatibility, but the new flash.text.engine APIs in FP10 are the foundation for text display from now on. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogrou

RE: [flexcoders] hi! this examples didn't work out,please help

2008-11-05 Thread Gordon Smith
Declaring public var myFirstProperty:String; is equivalent to declaring public var myFirstProperty:String = null; - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, November 05, 2008 6:43 AM To: fl

RE: [flexcoders] Does UIComponent.measureHTMLText(htmlText) method takes TextFormat.blockIndent value into the account when calculating width value of TextLineMetrics object?

2008-11-03 Thread Gordon Smith
It sounds like a Player quirk that the Flex framework needs to work around. I think a fix went in to the measure() method of UITextFormat recently for a similar problem with 'indent'. You should file a bug. And if you file a patch, it is likely to get fixed sooner. - Gordon From: flexcoders@ya

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