RE: [flexcoders] TextArea popup editor in DataGrid

2008-07-29 Thread Alex Harui
all of the popups (which makes sense). Any other suggestions or have I reached a dead-end with this approach? Thanks for your help, Glenn On Mon, Jul 28, 2008 at 11:41 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Walk through the focusOutHandler on DataGrid.

RE: [flexcoders] Setting the dataGrid column's font and leaving the header alone?

2008-07-29 Thread Alex Harui
I think you have to make a custom header renderer that forces its font family back to something you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bredwards358 Sent: Tuesday, July 29, 2008 11:07 AM To: flexcoders@yahoogroups.com S

RE: [flexcoders] Re: Custom error handler

2008-07-29 Thread Alex Harui
expect the error to occur? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Throw it and catch it. > > > > > > From: flexcoders@yahoogroups.com &

RE: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Alex Harui
SWFs loaded from a different domain or SWFs built for Player 8 do not dispatch mouse events. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Patrick J. Jankun Sent: Tuesday, July 29, 2008 11:50 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcomponents] RE: [flexcoders] Re: Measurement and template component

2008-07-29 Thread Alex Harui
adds them to > the TiledCanvas. Seemed reasonable at the time. > > On Mon, Jul 28, 2008 at 9:46 PM, Alex Harui <[EMAIL PROTECTED] <mailto:aharui%40adobe.com> > wrote: >> You'll have to walk through the measure() methods on each container to see >> wh

RE: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Alex Harui
.swf, i actually upped the assets movie only for testing, can you give me some advice how to make this the right way? thanks for your answer! Patrick On Jul 29, 2008, at 10:44 PM, Alex Harui wrote: SWFs loaded from a different domain or SWFs bu

RE: [flexcomponents] RE: [flexcoders] Re: Measurement and template component

2008-07-29 Thread Alex Harui
ey logic points to check would be appreciated. I assume getScrollableRect() is returning a different value, but I can't imagine why that would be. On Tue, Jul 29, 2008 at 1:47 PM, Alex Harui <[EMAIL PROTECTED] <mailto:aharui%40adobe.com> > wrote: > You know that any indenting yo

RE: [flexcoders] Custom Context Menu in flex app

2008-07-29 Thread Alex Harui
Looks ok to me. Make sure you're right clicking on the app and not something that has its own context menu From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vipinck Sent: Tuesday, July 29, 2008 3:14 PM To: flexcoders@yahoogroups.com Subje

RE: [flexcoders] MouseEvent's not firing

2008-07-29 Thread Alex Harui
security sandbox warnings. im an totally newbie in as3, and my experience is quite short, any tips would be appreciated :) cheers, Patrick On Jul 29, 2008, at 10:44 PM, Alex Harui wrote: SWFs loaded from a different domain or SWFs built for Player 8 do not dispatch mo

RE: [flexcoders] Measurement and percentages (was measurement and template components)

2008-07-29 Thread Alex Harui
In theory, if measure() returns different numbers than the last time it got called, invalidateDisplayList gets called and eventually you get updateDisplayList and go through layout again. Also, in theory, measuredMinWidth/measuredWidth (and heights) will be different if you have % on reportChro

RE: [flexcoders] Datagrid filterfunction results

2008-07-30 Thread Alex Harui
toArray() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Don Kerr Sent: Wednesday, July 30, 2008 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid filterfunction results I have a dataProvider feeding a dataGrid.

RE: [flexcoders] DataGridColumn issue: Passing an array.

2008-07-30 Thread Alex Harui
Already posted, already answered From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Monday, July 28, 2008 3:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGridColumn issue: Passing an array. Hii Guyz,

RE: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Alex Harui
You can certainly subclass Application via AS. Are you trying to do it in MXML? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Wednesday, July 30, 2008 11:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can

RE: [flexcoders] ViewStack, Combobox & Dataprovider

2008-07-30 Thread Alex Harui
That didn't make sense. I don't see viewstack or box in your sample code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cox.blair Sent: Wednesday, July 30, 2008 9:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ViewStack, C

RE: [flexcoders] Catch Browser Exit with Flex

2008-07-30 Thread Alex Harui
There have been past threads on this, and no perfect solution. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gjessup1 Sent: Wednesday, July 30, 2008 11:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Catch Browser Exit with

RE: [flexcoders] Type Cast Error

2008-07-30 Thread Alex Harui
It is picking up the class from a different application domain. See the modules presentation on my blog. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of donald_d_hook Sent: Wednesday, July 30, 2008 10:22 AM To: flexcoders@yahoogroups.co

RE: [flexcoders] link report question

2008-07-30 Thread Alex Harui
I don't know what they fully mean given that classes share constant pools, but there is an optimization pass where some byte code is pulled from swf, but then the SWF is compressed so it will always be smaller than the sum of sizes. From: flexcoders@yahoogroups

RE: [flexcoders] Air NativeWindow in StageScaleMode.SHOW_ALL

2008-07-30 Thread Alex Harui
I haven't tried it with AIR, but I'd assume the same principle applies. There is a default size for the window and UI needs to map to it in order to scale. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of george_w_canada Sent: Wednesday,

RE: [flexcoders] Passing flash variables to an embedded SWF

2008-07-30 Thread Alex Harui
Not sure you can do that. You'll have to implement some communication between the two swfs. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Laurent Sent: Wednesday, July 30, 2008 6:10 AM To: flexcoders@yahoogroups.com Subject: [flexcode

RE: [flexcoders] DataGrid horizontal ScrollBar not shown properly

2008-07-30 Thread Alex Harui
Pixel limits should be 8000px. But since parts of the SB stretch, maybe there is occlusion due to some scaling problem. File a bug. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rleuthold Sent: Wednesday, July 30, 2008 4:56 AM To: fl

RE: [flexcoders] Sorting an XMLList on an attribute

2008-07-30 Thread Alex Harui
XMLList doesn't support Sort From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gaurav1146 Sent: Tuesday, July 29, 2008 11:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sorting an XMLList on an attribute Hi, I am trying to

RE: [flexcoders] Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Alex Harui
Some way you have to create a dependency on VBox to actually get it linked into the SWF, otherwise it isn't there to be found. One way is to use the shared RSL, but otherwise, you have to actually use the class somewhere. In import statement doesn't actually create a link dependency, it simply sa

RE: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Alex Harui
esponse. Patrick --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Some way you have to create a dependency on VBox to actually get it > linked into the SWF, otherwise it isn't there to be found

RE: [flexcoders] Air NativeWindow in StageScaleMode.SHOW_ALL

2008-07-30 Thread Alex Harui
w and 'presentation' window, it's funny that main windows scaled correctly while 'presentation' window still not work. George Alex Harui wrote: > > I haven't tried it with AIR, but I'd assume the same principle > applies. There is a default size for th

RE: [flexcoders] link report question

2008-07-30 Thread Alex Harui
...so it doesnt really mean a whole lot, in regard to the actual swf...but could be used as a relative comparison to the other classes. On Wed, Jul 30, 2008 at 3:14 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I don't know what they fully mean given t

RE: [flexcoders] Sorting an XMLList on an attribute

2008-07-30 Thread Alex Harui
ame elements in sorted order. On Wed, Jul 30, 2008 at 3:22 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: XMLList doesn't support Sort From: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> [mailto:flexcod

RE: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Alex Harui
in detail > why this works for the flash namespace, and not the flex name space ( > or my own classes) > > Thanks for your time and quick response. > > Patrick > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroup

RE: [flexcoders] link report question

2008-07-30 Thread Alex Harui
IDE? On Wed, Jul 30, 2008 at 10:56 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Yeah, I only use it as a relative number. From: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> [mailto:flexcod

RE: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Alex Harui
ect: Re: [flexcoders] Can we subclass Application yet? I'm confused. You subclass Application every time you create a new Flex app, and in MXML. What problems are there to speak of? -Josh On Thu, Jul 31, 2008 at 6:08 AM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> &g

RE: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Alex Harui
onald Sent: Wednesday, July 30, 2008 4:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Can we subclass Application yet? Makes sense, since you're overriding Container._childDescriptors anyway. But why on earth would you *want* to do this? -Josh On Thu, Jul 31, 2008 at 9:0

RE: [flexcoders] popup window

2008-07-30 Thread Alex Harui
text.percentWidth=100 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Vega Sent: Wednesday, July 30, 2008 9:04 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] popup window I understand the width as a percentage but in

RE: [flexcoders] Re: Type Cast Error

2008-07-30 Thread Alex Harui
n for your time! --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > It is picking up the class from a different application domain. See the > modules presentation on my blog. > > > > __

RE: [flexcoders] Re: Datagrid filterfunction results

2008-07-30 Thread Alex Harui
excoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > toArray() > > > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40

RE: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Alex Harui
You can tell the compiler to include classes that follow the [Mixin] pattern, but that's too much overhead for a general class loader thing. The pattern is very simple. It is: import mx.containers.VBox; VBox; import mx.controls.TextArea; TextArea; etc. You could probably write a scri

RE: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Alex Harui
s to work with the current compiler. I might take a look at that over the weekend along with some component lifecycle stuff I want to put together to blog about. -Josh On Thu, Jul 31, 2008 at 9:25 AM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Template apps,

RE: [flexcoders] How do we implement pop-up input in Flex?

2008-07-31 Thread Alex Harui
My code usually listens to the popup for its closeevent and pulls data from the popup. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Jackson Sent: Thursday, July 31, 2008 9:15 AM To: flexcoders@yahoogroups.com Subject: [flexcode

RE: [flexcoders] Re: Can we subclass Application yet?

2008-07-31 Thread Alex Harui
params to callback renderer question? Am about to resend rephrased in specific chart context. TIA, Mic. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You can certainly subclass Application via

RE: [flexcoders] Re: Type Cast Error

2008-07-31 Thread Alex Harui
bject and Stock object in it. The BackTest is ok, but the stock object is null - so it looks like it is not getting serialized properly for whatever reason. The first time it does, but not the second time. Thanks ... --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ,

RE: [flexcoders] Keyboard navigating through List's item renderers

2008-07-31 Thread Alex Harui
You're headed in the right direction. I think you have to implement IFocusManagerComponent on the renderer, and handle KEY_FOCUS_CHANGE. FWIW, I wouldn't use a Form since it is pretty heavy. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

RE: [flexcoders] Re: Type Cast Error

2008-07-31 Thread Alex Harui
tance!! --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Essentially, the actuall classname isn't StockVO, it is > [EMAIL PROTECTED] If the portion > after the @ matches it is effectively stripped

RE: [flexcoders] Load Complete on tilelist

2008-07-31 Thread Alex Harui
You'l lhave to write that method yourself. Listen for "complete" events from the image controls From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Gironella Sent: Thursday, July 31, 2008 5:36 AM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Re: Load Complete on tilelist

2008-07-31 Thread Alex Harui
: [flexcoders] Re: Load Complete on tilelist Really? Why can't you just use the result event and set result=functionName on HTTPService? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You'

RE: [flexcoders] Selecting an Editor for a DataGridColumn at runtime - how?

2008-07-31 Thread Alex Harui
You didn't say what error you got, but did you try this? private function onItemEditBegin(event:DataGridEvent):void { var dgc:DataGridColumn; dgc = event.currentTarget.columns[event.currentTarget.editedItemPosition.colum nIndex]; if (dgc != null) { dgc.itemEditor = new ClassFactory(mx.controls.Nu

RE: [flexcoders] problem adding images to UIComponents using AS3

2008-07-31 Thread Alex Harui
Parents size their children in Flex, so the UIComponent's image size is probably zero since nobody sized it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sid Maskit Sent: Thursday, July 31, 2008 1:39 PM To: flexcoders@yahoogroups.com S

RE: [flexcoders] Re: Type Cast Error

2008-07-31 Thread Alex Harui
r to use it. I guess I am not sure if I will be right back where I started with the original problem. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Essentially, the actuall classname isn't Sto

RE: [flexcoders] Re: Type Cast Error

2008-07-31 Thread Alex Harui
rt of the object (VO) in the module so I can do some operations on it - i.e. - get it from the main module and manipulate as needed... Sound correct? Thanks again. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote

RE: [flexcoders] How to temporarily stop a dataProvider from updating UI

2008-07-31 Thread Alex Harui
There is enable/disableAutoUpdate, but adding rows one at a time is inefficient. Just concat the two arrays and replace the dataprovider From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of whatabrain Sent: Thursday, July 31, 2008 3:23 PM To

RE: [flexcoders] Re: problem adding images to UIComponents using AS3

2008-07-31 Thread Alex Harui
e: problem adding images to UIComponents using AS3 So good to know, I tried this: But still no joy. Does it have to be sized by it's parent? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > >

RE: [flexcoders] Re: problem adding images to UIComponents using AS3

2008-07-31 Thread Alex Harui
That's because Canvas has code that sizes its children, but UIComponent does not. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sid Maskit Sent: Thursday, July 31, 2008 3:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] R

RE: [flexcoders] How to temporarily stop a dataProvider from updating UI

2008-07-31 Thread Alex Harui
On Thu, Jul 31, 2008 at 6:47 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: There is enable/disableAutoUpdate, but adding rows one at a time is inefficient. Just concat the two arrays and replace the dataprovider

RE: [flexcoders] How to temporarily stop a dataProvider from updating UI

2008-07-31 Thread Alex Harui
loop was unneccessary, but most of the time there is some kind of processing or merging going on with the new source instead of just taking the array handed back. On Thu, Jul 31, 2008 at 7:06 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Yeah, that's basi

RE: [flexcoders] Re: A simple component in AS - Setting height Issues

2008-07-31 Thread Alex Harui
Normally, I use callLater then set the component's height to its measuredHeight. CallLater is required because the player doesn't always know the text dimension in the same frame you set the text in. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] O

RE: [flexcoders] Re: Type Cast Error

2008-07-31 Thread Alex Harui
no need to have an import in the module? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > There's an "Under the hood: Application Domain" slide in the > presentation. It tries to show

RE: [flexcoders] How to temporarily stop a dataProvider from updating UI

2008-07-31 Thread Alex Harui
on when refresh() actually needs to be called? Definitely don't want to be forcing controls to run their update code twice... On Thu, Jul 31, 2008 at 7:14 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Should dispatch COLLECTION_CHANGE with RESET. __

RE: [flexcoders] Re: Type Cast Error

2008-07-31 Thread Alex Harui
lem. There are not compile errors, but in the main app, the module loader is null for the module I tested with. So now I need to figure out why that doesnt display. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote

RE: [flexcoders] Itemrenderer not showing up in combobox

2008-07-31 Thread Alex Harui
Good point, feel free to file an enhancement request. See the IconComboBox example on my blog for a way to modify what the CB shows. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ervin Sent: Thursday, July 31, 2008 7:56 PM To: f

RE: [flexcoders] Eli Greenfield's Randomwalk

2008-07-31 Thread Alex Harui
The source code either has a license in it or not. If not, I think you can do anything you want with it. Ely's been away so I'm not sure he's going to respond before Monday. I'm not sure I can visualize what you want to do. Got a sketch? From: flexcoders

RE: [flexcoders] Re: Overriding function not marked for override?

2008-07-31 Thread Alex Harui
Monkey-patching is a necessary evil because Adobe didn't want to fully document every API used to build the framework because then we'd be locked into supporting it forever, and then we'd be really restricted on making improvements to the framework. Depending on what you monkey-patch, you might

RE: [flexcoders] Re: Flex3 cookbook error in microphone example: constructor functions must be instance methods

2008-07-31 Thread Alex Harui
This compiles for me: http://www.adobe.com/2006/mxml"; width="400" height="300"> You didn't happen to name your mxml file "mic" or "Microphone" did you? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sen

RE: [flexcoders] Re: Eli Greenfield's Randomwalk

2008-07-31 Thread Alex Harui
Amy, make sure you want 90% of tilelist functionality, otherwise it might be better rolling your own. Selection, virtualization, renderers, dataproviders, etc. IIRC, there are stacks of renderers, so I would try to make the last stack this special-case thing, whether tilelist or custom layout

RE: [flexcoders] Re: rendering problem

2008-07-31 Thread Alex Harui
st the app sorry but any reason why the UI could be deforming while you scroll?! anyone else had this problem before? raf --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Can you post the app?

RE: [flexcoders] Access a swf's properties.

2008-08-01 Thread Alex Harui
A SWF isn't a Class so something is already off-track. Call getQualifiedClassName on image to see what it really is. Or use ObjectUtil.getClassInfo From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ervin Sent: Friday, August 01,

RE: [flexcoders] Re: problem adding images to UIComponents using AS3

2008-08-01 Thread Alex Harui
Well, I wouldn't say "NEVER". I can put an Image in a UIComponent and just have to make sure I call setActualSize on the image. Another rule is Flex is that Navigator children must be Containers, Container children must be IUIComponents, and UIComponent children can be anything. Yet another ru

RE: [flexcoders] Module Garbage Collecting

2008-08-01 Thread Alex Harui
It will be interesting to see how unloadAndStop works in AS3. Most modules stick because they bring in new CSS type selectors that get registered with the central StyleManager. If you forcibly punt those things in FP10, it will be interesting to see if there are any dangling references that throw

RE: [flexcoders] Tabbing children from custom item renderer inside List

2008-08-01 Thread Alex Harui
Your renderer has to implement IFocusManagerComponent and use setFocus to pass focus to the internal numericsteppers. It must use the KEY_FOCUS_CHANGE event to catch TAB and call preventDefault then switch focus to the other numericstepper. Maybe I'll find time for an example. This question com

RE: [flexcoders] Validator error auto show without mouse over?

2008-08-01 Thread Alex Harui
Use thicker borders, or popup your own floaters. You're not really looking for tooltip/errortip behavior here. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cox.blair Sent: Friday, August 01, 2008 5:18 AM To: flexcoders@yahoogroups.com Su

RE: [flexcoders] Re: Eli Greenfield's Randomwalk

2008-08-01 Thread Alex Harui
riday, August 01, 2008 5:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Eli Greenfield's Randomwalk --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Amy, make sure you want 90% o

RE: [flexcoders] Re: problem adding images to UIComponents using AS3

2008-08-01 Thread Alex Harui
flash.text.TextField has a default size so some text will show. flash.display.Sprite is a rubberband and gets its size from the graphics and drawn in it and child Sprites and Shapes placed in it Flex components have a completely different model (which is a more expected model, IMHO) and have all

RE: [flexcoders] Loader Complete Event not firing for loadBytes

2008-08-01 Thread Alex Harui
Should be: private var CarouselLoader:Loader; ... var tmpByteArray:ByteArray = myDBObject.thumb; CarouselLoader = new Loader(); CarouselLoader.contentLoaderInfo.addEventListener( Event.COMPLETE,bitmapLoaded); CarouselLoader.loadBytes(tmpByteArray); ... private function bitmapLoaded():voi

RE: [flexcoders] Re: problem adding images to UIComponents using AS3

2008-08-01 Thread Alex Harui
Your GroupHandle has no measure method so it will be given a size of 0,0 unless you specify a width/height on the GroupHandle Please read over the docs on custom component development. There is a basic recipe you should be following. From: flexcoders@yahoogroup

RE: [flexcoders] Re: Access a swf's properties.

2008-08-01 Thread Alex Harui
thus the image. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > A SWF isn't a Class so something is already off-track. > > > > Call getQualifiedClassName on imag

RE: [flexcoders] Re: How to temporarily stop a dataProvider from updating UI

2008-08-01 Thread Alex Harui
eData, and your control is bound to a > > > _data > > > > ArrayCollection > > > > > > > > public function updateData(newData:IList):void > > > > { > > > > va

RE: [flexcoders] Re: Access a swf's properties.

2008-08-01 Thread Alex Harui
I think he picked icons that were the right size. I don't see any code that sizes the icons. You would need to add sizing code to the tutorial. The article discussion seems to discuss the null problem you're seeing as well. A SWF is an inefficient way to embed a simple graphic. Pulling assets

RE: [flexcoders] override/monkey patch global functions possible?

2008-08-02 Thread Alex Harui
You can't monkey patch stuff in flash.*.* You can provide your own trace statement. We did something similar with the Logger classes From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew Sent: Saturday, August 02, 2008 2:49 AM To: fl

RE: [flexcoders] Re: Tabbing children from custom item renderer inside List

2008-08-03 Thread Alex Harui
You'll need more code in keyFocusChangeHandler. It has to not call preventDefault when it is time to transfer the tab to the next renderer. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claudiu Ursica Sent: Sunday, August 03, 2008 5:52 A

RE: [flexcoders] Multiple Lists

2008-08-03 Thread Alex Harui
dragInitiator in the dragEvent From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Sunday, August 03, 2008 7:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Multiple Lists I have multiple lists and i want one dr

RE: [flexcoders] Re: Tabbing children from custom item renderer inside List

2008-08-04 Thread Alex Harui
tialize="appInitializeHandler(event)"> --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You'll need more code in keyFocusChangeHandler. It has to not cal

RE: [flexcoders] Application.application.enables = false problem in Popup

2008-08-04 Thread Alex Harui
Disable the popup too. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, August 04, 2008 1:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Application.application.enables = false problem in Popup

RE: [flexcoders] Is there no one who could help me with this?

2008-08-04 Thread Alex Harui
The original post is about trying to use HTMLComponent as a List editor renderer. The List doesn't handle editor renderers that overflow the List's screen area. You will probably need to add variableRowHeight=true and expand the underlying renderer, or use a popup renderer like a ComboBox dropdo

RE: [flexcoders] Multiple AIR Instances

2008-08-04 Thread Alex Harui
OTOH, AIR send the first instance an event when the second instance is launched. I don't know if there's a way around it, but I'd just put up another Window for that second instance. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey

RE: [flexcoders] Re: Tabbing children from custom item renderer inside List

2008-08-04 Thread Alex Harui
ze="appInitializeHandler(event)"> --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:

RE: [flexcoders] Re: Keyboard navigating through List's item renderers

2008-08-04 Thread Alex Harui
age/121233 <http://tech.groups.yahoo.com/group/flexcoders/message/121233> Also, I used the search but didn't find any solution yet. Thanks again, Almog Kurtser http://www.mostlyflex.com <http://www.mostlyflex.com> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.c

RE: [flexcoders] error: DisplayObject must be a child of the caller

2008-08-04 Thread Alex Harui
Maybe you ran that code twice? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of blc187 Sent: Monday, August 04, 2008 12:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] error: DisplayObject must be a child of the caller I have a

RE: [flexcoders] Custom events from dynamically loaded modules

2008-08-04 Thread Alex Harui
You won't have anything to hook into from MXML, but you can always call addEventListener From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ken Johnson Sent: Monday, August 04, 2008 3:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Multiple AIR Instances

2008-08-04 Thread Alex Harui
look it up myself, so please don't do it for me! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: 05 August 2008 00:27 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Multiple AIR Instances OTOH, AIR send the first in

RE: [flexcoders] Where are the AIR resources?

2008-08-04 Thread Alex Harui
Just so I'm clear. You have a AIR SWF based on Flex that is using HTMLLoader to load another Flex SWF off the web? Are the two SWFs supposed to be able to communicate? What error are you getting? FWIW, the Marshall Plan will allow an AIR/Flex SWF to load another Flex SWF off the web directly,

RE: [flexcoders] problem adding images to UIComponents using AS3

2008-08-04 Thread Alex Harui
One of my responses to the thread said that you probably can't wrap UIComponents in non-UIComponents. You'll have to use flash.display.Loader instead of mx:Image or just use UIComponent instead of MovieClip. I don't think there's much savings From: flexcoders@ya

RE: [flexcoders] datagrid crash on horizontal scroll

2008-08-04 Thread Alex Harui
Any reason you can't go to Flex 3? That's probably messing up your popUp itemEditor too. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glenn Jones Sent: Monday, August 04, 2008 6:49 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Questions about DragManager

2008-08-05 Thread Alex Harui
import mx.core.UIComponent From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of timgerr Sent: Tuesday, August 05, 2008 10:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Questions about DragManager Hello all, I am working on a drag

RE: [flexcoders] Flex 3 DataGrid with frozen first row

2008-08-05 Thread Alex Harui
You might be able to borrow from this post: http://blogs.adobe.com/aharui/2008/03/custom_ilists_combobox_prompts.htm l From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ndele_sutton Sent: Tuesday, August 05, 2008 9:31 AM To: flexcoders@yahoog

RE: [flexcoders] Add a context menu to a menubar item

2008-08-05 Thread Alex Harui
Custom itemRenderer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Tuesday, August 05, 2008 9:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Add a context menu to a menubar item Either this is really easy and I

RE: [flexcoders] Turning off SWF messages

2008-08-05 Thread Alex Harui
I don't know of any way to turn it off, but I sure love the [UnloadSWF] when I'm trying to prove that a SWF did get GC'd, so I put up with it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Laurent Cozic Sent: Tuesday, August 05, 2008 2:28

RE: [flexcoders] Where are the AIR resources?

2008-08-05 Thread Alex Harui
g swfs, so please keep that in mind when making recommendations. Thanks for the help, Steve On Mon, Aug 4, 2008 at 5:11 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Just so I'm clear. You have a AIR SWF based on Flex that is using HTMLLoade

RE: [flexcoders] Re: Flex 3 DataGrid with frozen first row

2008-08-05 Thread Alex Harui
m with this? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You might be able to borrow from this post: > http://blogs.adobe.com/aharui/2008/03/custom_ilists_combobox_prompts.

RE: [flexcoders] Re: How to show the Hand Cursor on the Close Button?

2008-08-05 Thread Alex Harui
See if btn is null. Find a different place to run your code if it is. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexawesome Sent: Tuesday, August 05, 2008 11:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to show t

RE: [flexcoders] Where are the AIR resources?

2008-08-05 Thread Alex Harui
n. You mention getting it into the same directory as the main swf. Can you expand on that comment? Thanks On Tue, Aug 5, 2008 at 11:09 AM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: You didn't say what error you are getting, but I'll bet it

RE: [flexcoders] Re: How do I show only part of an image?

2008-08-05 Thread Alex Harui
That mgiht work, and can be done entirely in MXML, but others are suggesting you learn how to use DisplayObject.mask. You can also create your own flash.display.Bitmaps by cutting up the original Bitmap and hand those to mx:Image as well. From: flexcoders@yahoog

RE: [flexcoders] Multiline Button Label

2008-08-05 Thread Alex Harui
I posted Flex versions in an update of the article. In the future, please give more detail as to what kinds of problems you are running into. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenjgreenwood Sent: Tuesday, August 05, 2008 3:43

RE: [flexcoders] compilation - what's the secret sauce?

2008-08-05 Thread Alex Harui
mx:WebService is defined in the RPC.SWC manifest as mx.rpc.soap.mxml.WebService, which implements IMXMLObject mx.rpc.soap.mxml.WebService has a default property which is a map of mx:rpx.soap.mxml.Operation objects IMXMLObjects have an initialized() method From

RE: [flexcoders] Re: Can we subclass Application yet?

2008-08-05 Thread Alex Harui
: Can we subclass Application yet? Alex - how can you use DefaultProperty for this? Doesn't the compiler stop you from using a default property on MXML root elements? -Josh On Fri, Aug 1, 2008 at 3:18 AM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:

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