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

2008-08-05 Thread Alex Harui
om/jira/browse/SDK-15107 <http://bugs.adobe.com/jira/browse/SDK-15107> ??? DK On Tue, Aug 5, 2008 at 11:55 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: This pattern worked for me: PanelTemplate.mxml -

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

2008-08-05 Thread Alex Harui
n yet? Interesting. So either the documentation is very old, or [DefaultProperty] simply isn't inherited? Either way the docs could use updating. I'll put testing this onto my todo list :) -Josh On Wed, Aug 6, 2008 at 1:55 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAI

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

2008-08-05 Thread Alex Harui
it hard-coded to look for IMXMLSupport? Is there any actual documentation for IMXMLSupport? -Josh On Wed, Aug 6, 2008 at 1:45 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: mx:WebService is defined in the RPC.SWC manifest as mx.rpc.soap.mxml.Web

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

2008-08-05 Thread Alex Harui
e sort of voodoo, because builder is auto-completing the little-case tag -but won't let you cmd-click it through to mx.rpc.soap.mxml.Operation.as <http://mx.rpc.soap.mxml.Operation.as> -Josh On Wed, Aug 6, 2008 at 2:30 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED

RE: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-05 Thread Alex Harui
Make sure your filter function returns true for some of the data From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of stinasius Sent: Tuesday, August 05, 2008 10:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: filtering a flex dat

RE: [flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-05 Thread Alex Harui
removing the filterfunction doesn't really prove anything. Whenever you call refresh() after you've assigned the filterFunction, your filterfunction should get called. If you add a trace statement, you should see it once per item in the dataprovider. From: flexc

RE: [flexcoders] Flex Module issue

2008-08-06 Thread Alex Harui
The more interesting question is why the second one isn't. Because all of your references to the module are in temporary local variables, as soon as you exit the click handler, the module is available for garbage collection, and in the first case it got collected and the second it didn't, but usua

RE: [flexcoders] Need Help with Modules

2008-08-06 Thread Alex Harui
Modules are not applications. Application.application is the application in MyApp.mxml From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of s20678 Sent: Wednesday, August 06, 2008 9:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Ne

RE: [flexcoders] Event Phase clarification "bubbling" - please Diagram

2008-08-06 Thread Alex Harui
FWIW, we didn't make up the event model. It is based on the W3C spec http://www.w3.org/TR/DOM-Level-3-Events/events.html which has a pretty picture in it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Wednesday, August 0

RE: [flexcoders] Application's height property problem

2008-08-06 Thread Alex Harui
App height is bound by the stage size. It sounds like you actually want to change the player's object size in the browser which requires javascript and ExternalInterface From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of guillaumeracine Sent:

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

2008-08-06 Thread Alex Harui
- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Custom itemRenderer > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.

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

2008-08-06 Thread Alex Harui
We're discussing whether you can have an app template. Suppose you wanted every app you build to have a menubar at the top and controlbar at the bottom. If you just do AmyAppTemplate.mxml You can't just use that in your next app like this: ... ___

RE: [flexcoders] Re: need help urgent - multiple images printing

2008-08-06 Thread Alex Harui
Printing is synchronous, and image loading isn't. Normally you have to pre-load all images before starting a print job. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cyber_runners Sent: Tuesday, August 05, 2008 7:59 PM To: flexcoders@yah

RE: [flexcoders] List IconFunction with Button renderers

2008-08-06 Thread Alex Harui
Button doesn't pick up icons for free when it is a renderer. Good subclassing challenge though! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Wednesday, August 06, 2008 1:39 PM To: flexcoders@yahoogroups.com Subject: [flexcoder

RE: [flexcoders] Where are the AIR resources?

2008-08-06 Thread Alex Harui
sting html page was getting these calls, but now it doesn't seem to be. I would have expected it the other way around where as non-trusted the calls would get lost and as trusted they would work. Any ideas? On Tue, Aug 5, 2008 at 3:13 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PRO

RE: [flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Alex Harui
Man, you are strict! There is no reason you can't do work in your override before calling super.whatever() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, August 06, 2008 5:25 PM To: flexcoders@yahoogroups.co

RE: [flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Alex Harui
Invalidation of the same phase while processing that phase is ignored From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gold Sent: Wednesday, August 06, 2008 5:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Must call su

RE: [flexcoders] Must call super.commitProperties at END of overrided commitProperties when extending TitleWindow?

2008-08-06 Thread Alex Harui
uld see super.foo() at the end of your method, and because it's not in line with the rest of the project, move it back up the top - who knows how long it'll be before somebody notices that under certain circumstances the titles on your CustomPanel aren't what they should be any more?

RE: [flexcoders] Re: Advise - List

2008-08-06 Thread Alex Harui
I think the OP really wants it to be in a renderer, which has slightly different rules A renderer is given explicitWidth before it is measured, and for text flow components, it should set the with of that component then take its measurements. From: flexcoders@ya

RE: [flexcoders] Re: Advise - List

2008-08-06 Thread Alex Harui
er.measure()? Intriguing :) -Josh On Thu, Aug 7, 2008 at 1:48 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I think the OP really wants it to be in a renderer, which has slightly different rules A renderer is given explicitWidth bef

RE: [flexcoders] How to save datagrid data to a Arraycollection?

2008-08-06 Thread Alex Harui
selectedItems is only the items clicked on and selected. You probably want to use myCollection.getItemAt(i) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Wednesday, August 06, 2008 9:31 PM To: flexcoders@yahoogroups.co

RE: [flexcoders] Re: Advise - List

2008-08-06 Thread Alex Harui
Just FYI for anybody reading this thread, the reason it works when using a UITextField and not mx:Text is that UITextField is not a UIComponent and so updates its sizing and such as soon as it has a .width and a .text -Josh On Thu, Aug 7, 2008 at 2:55 PM, Alex Harui <[EMAIL PROTECTED] <ma

RE: [flexcoders] How to fix this?

2008-08-07 Thread Alex Harui
Please post full stack traces, examples that actually compile and examples that actually have the problem in it. ChangeOrder does not appear in the example. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Thursday, Augus

RE: [flexcoders] Where are the AIR resources?

2008-08-07 Thread Alex Harui
need to verify swfs and html loaded from the app directory? On Wed, Aug 6, 2008 at 6:12 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Where's the HTML page loaded from? Domain security rules apply to that too.

RE: [flexcoders] Problems with nudgescrolling when programatically clicking items in DataGrid

2008-08-07 Thread Alex Harui
set dragEnabled=true or use the mx_internal mouseX/Y override in UIComponent From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bsensale Sent: Thursday, August 07, 2008 6:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems wi

RE: [flexcoders] Re: How to save datagrid data to a Arraycollection?

2008-08-07 Thread Alex Harui
If the DG re-ordered, then it got re-ordered in the collection. The DG doesn't have its own copy. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Thursday, August 07, 2008 6:29 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] CursorManager problem - custom cursor disappears

2008-08-07 Thread Alex Harui
The cursor won't draw until code stops running. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ferriejbank Sent: Thursday, August 07, 2008 5:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] CursorManager problem - custom cursor d

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

2008-08-07 Thread Alex Harui
s.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Keep track of rollover events? > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogr

RE: [flexcoders] Checking swfs for malicious code!

2008-08-07 Thread Alex Harui
If you load content from another domain or sub-domain, it is loaded into a secure sandbox and can't really do anything malicious. If you load from the same domain, it can do anything it wants. If you load content from another domain or sub-domain, and another piece of content from that same "oth

RE: [flexcoders] Re: Advise - List

2008-08-07 Thread Alex Harui
I thought you wanted html in a renderer. If so, copy ListItemRenderer and modify to set the htmlText instead of text. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rafael Faria Sent: Thursday, August 07, 2008 12:22 AM To: flexcoders@yaho

RE: [flexcoders] Garbage Collection and event listeners

2008-08-07 Thread Alex Harui
No one call can remove all listeners. No one call can remove all references, just one at a time. If you add a listener on yourself, there is no need to remove it. It might slightly help if it is a DRC object, but eventually it will be garbage collected. a.addEventListener("foo", b.someMethod)

RE: [flexcoders] Re: Problems with nudgescrolling when programatically clicking items in DataGrid

2008-08-07 Thread Alex Harui
Thanks for the quick reply. Is there a sample anywhere of how to do this? Or could someone put the sample code into the little app below? Thanks! --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > set

RE: [flexcoders] is there a way to disable scrolling to selected row when DataGrid sorts?

2008-08-07 Thread Alex Harui
Override collectioniChangeHandler. if collectionEventKind = REFRESH, set anchorBookmark = null; At least in theory... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ndele_sutton Sent: Thursday, August 07, 2008 10:57 AM To: flexcoders@ya

RE: [flexcoders] Re: How to fix this?

2008-08-07 Thread Alex Harui
BindingUtils.bindSetter(watcherListener, this, "myCollection1" , true); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Thursday, August 07, 2008 11:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to

RE: [flexcoders] Re: Problems with nudgescrolling when programatically clicking items in DataGrid

2008-08-07 Thread Alex Harui
ly clicking items in DataGrid Heh, sorry, I meant the other option. Thanks! --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > dragEnabled="true"> > > > ___

RE: [flexcoders] Re: Garbage Collection and event listeners

2008-08-07 Thread Alex Harui
moved from memory. When you say a to b what do you mean? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > No one call can remove all listeners. No one call can remove all > references, just one

RE: [flexcoders] Re: Checking swfs for malicious code!

2008-08-07 Thread Alex Harui
oders] Re: Checking swfs for malicious code! --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > If you load > from the same domain, it can do anything it wants. > This is our main concern at the mo

RE: [flexcoders] WindowedApplication custom close / exit

2008-08-07 Thread Alex Harui
I think you want: flash.events.Event.EXITING From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aphexyuri Sent: Thursday, August 07, 2008 2:16 PM To: flexcoders@ya

RE: [flexcoders] Re: How to fix this?

2008-08-07 Thread Alex Harui
Make myCollection public From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Thursday, August 07, 2008 7:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to fix this? hi I already defined myCollection b

RE: [flexcoders] URL deeplinking or other?

2008-08-08 Thread Alex Harui
deeplinking = BrowserManager. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Friday, August 08, 2008 10:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] URL deeplinking or other? Does anyone know the best way

RE: [flexcoders] Re: How to display the vertical scrollbar of a container on the left

2008-08-08 Thread Alex Harui
Override updatedisplaylist, override viewMetrics, cross your fingers. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of haykelbj Sent: Friday, August 08, 2008 8:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to display the

RE: [flexcoders] Paginate DataGrid

2008-08-08 Thread Alex Harui
What do you mean by paginated? The PrintDataGrid will help you print across multiple pages. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Jackson Sent: Friday, August 08, 2008 1:16 PM To: flexcoders@yahoogroups.com Subject: [flexc

RE: [flexcoders] Tabbing in an ItemEditor

2008-08-08 Thread Alex Harui
http://blogs.adobe.com/aharui/2008/08/datagrid_itemeditor_with_two_i.htm l From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Sent: Friday, August 08, 2008 3:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tabbing in an ItemEdit

RE: [flexcoders] Re: introspection - remote object

2008-08-08 Thread Alex Harui
Did you try for..in From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of marioa00 Sent: Friday, August 08, 2008 1:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: introspection - remote object by the way, as you can see, the rem

RE: [flexcoders] Sorting XMLListCollection by childIndex()

2008-08-08 Thread Alex Harui
I think as the sort happens, the child indexes will change. I'd wrap the collection so that it iterates in reverse order. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, August 08, 2008 7:06 PM To: flexcoders@yahoog

RE: [flexcoders] Re: Paginate DataGrid

2008-08-08 Thread Alex Harui
hoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > What do you mean by paginated? The PrintDataGrid will help you print > across multiple pages. > > > > From: flexcoders@yahoogroups.com <mailto:flexcode

[flexcoders] RE: [flexcomponents] maintaining sort arrow icon with server side sorting of datagrid

2008-08-09 Thread Alex Harui
I think people have been successful using a subclass of a collection that either overrides the sort property or refresh() method so the collection doesn't actually sort. The DataGrid reads the sort property and sets up the sortArrow, but never calls refresh() if you call preventDefault() on header

RE: [flexcoders] Re: Should I remove listeners declared in mxml? ie: Best Practice

2008-08-09 Thread Alex Harui
OTOH, there is no situation where you need to call removeEventListener for any event attribute in MXML. The references created do not cause memory leaks. Furthermore, you can't call removeEventListener(..., onCreationComplete) bececause what got called behind the scenes was addEventListene

RE: [flexcoders] Re: Sorting XMLListCollection by childIndex()

2008-08-09 Thread Alex Harui
ogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I think as the sort happens, the child indexes will change. I thought the XMLListCollection was just an view of the original XMLList>XML object. If that's true, childIn

RE: [flexcoders] Extending A Class From an External Source Produces Error 1017: Base Class Not Found

2008-08-10 Thread Alex Harui
Try just C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\FLVPlayback From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Balderson Sent: Sunday, August 10, 2008 12:50 PM To: flexcoders@yah

RE: [flexcoders] Re: URL deeplinking or other?

2008-08-10 Thread Alex Harui
URLKit heavily influenced BrowserManager, and I believe was ported to work on top of it, or in spite of it. You can use that if you want. BM is somewhat less featured and lower-level. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fle

RE: [flexcoders] Re: Itemrender resize state not working

2008-08-10 Thread Alex Harui
The parent of item renderers blocks resize events. Add some code that calls owner.invalidateSize() when the state changes From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Reyes C. Sent: Sunday, August 10, 2008 10:45 AM To: flexco

RE: [flexcoders] Multi-button ToggleButtonBar

2008-08-10 Thread Alex Harui
I didn't look at your code yet, but it looks like you're missing: navItemFactory = new ClassFactory(MultilineButton); From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Sunday, August 10, 2008 11:19 AM To: flexcoders

RE: [flexcoders] Re: Should I remove listeners declared in mxml? ie: Best Practice

2008-08-10 Thread Alex Harui
hen event.target may not be what we want. What do you think? Thanks again and I'm very curious to see your replies as I'm sure this will be a large debate in our office. Dale --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EM

RE: [flexcoders] Extending A Class From an External Source Produces Error 1017: Base Class Not Found

2008-08-10 Thread Alex Harui
Joseph Balderson, Flash Platform Developer | http://joeflash.ca <http://joeflash.ca> Alex Harui wrote: > Try just > > > > C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component > Source\ActionScript 3.0\FLVPlayback > > --

RE: [flexcoders] callLater function?

2008-08-10 Thread Alex Harui
Technically it is triggered via both ENTER_FRAME and RENDER. Actionscript is single-threaded and all script that is supposed to run runs without interruption, but sometimes you want to run something after the script runs The entire invalidation system uses callLater. __

RE: [flexcoders] How to control width of item in inline renderer?

2008-08-11 Thread Alex Harui
In a datagrid, the width of a renderer is dictated by the column's width. A renderer is given the column's width in its explicitWidth property before measurement and must report the correct measuredHeight based on that value in its measure() method. Containers like VBox don't handle measuremen

RE: [flexcoders] Unknown discrepancy..

2008-08-11 Thread Alex Harui
I think asking folks to type in rotation in radians in Flash Authoring would be a pain for designers. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Monday, August 11, 2008 12:53 PM To: flexcoders@yahoogroups.com Subj

RE: [flexcoders] Re: reordering a list when clicked??

2008-08-11 Thread Alex Harui
Hard to say what's going on. I'm pretty busy, but if you post a test case I might get a chance to look at it. Please strip all Cairngorm out and use a small app with baked in data. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg M

RE: [flexcoders] Flex won't create all Components

2008-08-11 Thread Alex Harui
There are some tricks to dynamically adding controlbars. Maybe that is your problem? If not, we'd probably need more info, like what "seem to share" means. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of florian.salihovic Sent: Monday,

RE: [flexcoders] FLVPlayback in Flex produces RTE #1009 when setSize() is called for a bad URL

2008-08-11 Thread Alex Harui
2008 10:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FLVPlayback in Flex produces RTE #1009 when setSize() is called for a bad URL Previously in [flexcoders] Extending A Class From an External Source Produces Error 1017: Base Class Not Found Alex Harui wrote: > OK. I don't

RE: [flexcoders] FLVPlayback in Flex produces RTE #1009 when setSize() is called for a bad URL

2008-08-11 Thread Alex Harui
stick to the kludge for now. __ Joseph Balderson, Flash Platform Developer | http://joeflash.ca <http://joeflash.ca> Alex Harui wrote: > Doesn't sound like Flash/Flex. If you go back to compiling from the > fl.* source you

RE: [flexcoders] Globally setting useHandCursor true for Flex components, specifically button

2008-08-11 Thread Alex Harui
You'll probably have to subclass Button. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Monday, August 11, 2008 5:35 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Globally setting useHandCursor true for

RE: [flexcoders] Re: URL deeplinking or other?

2008-08-11 Thread Alex Harui
Looks ok to me. Make sure the html wrapper and supporting .js files are deployed correctly and you aren't getting JS errors on the HTML page. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Monday, August 11, 2008 4:02

RE: [flexcoders] Flex 3 Radio Button Tab weirdness

2008-08-11 Thread Alex Harui
You can only tab or shift-tab to the selected radiobutton in a group. You use arrow keys to change the selected radiobutton. If you're not seeing that behavior file a bug. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aut0poietic_u

RE: [flexcoders] SandBox security issue

2008-08-11 Thread Alex Harui
Read the security white paper on the adobe site. Some cross-domain access is not allowed w/o permissions From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kirilminevgroups Sent: Monday, August 11, 2008 10:31 AM To: flexcoders@yahoogroups.

RE: [flexcoders] FLVPlayback in Flex produces RTE #1009 when setSize() is called for a bad URL

2008-08-11 Thread Alex Harui
bad URL That's a neat trick... you mean copying FLVPlayback.as into /src/fl/video ? __ Joseph Balderson, Flash Platform Developer | http://joeflash.ca <http://joeflash.ca> Alex Harui wrote: > You can just copy that one

[flexcoders] RE: How to make FileSystemTree with Checkbox

2008-08-11 Thread Alex Harui
Sorry, I haven't worked with FST yet. From: ashish [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2008 11:09 PM To: Alex Harui Cc: flexcoders@yahoogroups.com Subject: How to make FileSystemTree with Checkbox Hi Alex, Can you guide me how

RE: [flexcoders] Re: URL deeplinking or other?

2008-08-12 Thread Alex Harui
For me, IE's status bar shows a warning icon and says errors on page. See if your code works with the default wrapper. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, August 12, 2008 6:23 AM To: flexcoders@yahoo

RE: [flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-12 Thread Alex Harui
Post an example if it is small. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Longley Sent: Tuesday, August 12, 2008 12:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Datagrid selected item highlight behavior cha

RE: [flexcoders] Trying to undo changes to datagrid dataprovider

2008-08-12 Thread Alex Harui
Is your backup copy a deep copy? If not then sub-objects got shared and modified. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore Sent: Tuesday, August 12, 2008 1:11 PM To: Flexcoders Subject: [flexcoders] Trying to undo cha

RE: [flexcoders] My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-12 Thread Alex Harui
Wordwrapping is the responsibility of the renderer. Label is a single-line control so it won't word wrap. Using Text is possible but you have to wire up the measure method correctly. See past threads for how to do that. Also, that makes a heavy weight renderer. My recommendation is to copy

RE: [flexcoders] Displaying custom items in ComboBox

2008-08-12 Thread Alex Harui
IconComboBOx on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Regert Sent: Tuesday, August 12, 2008 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Displaying custom items in ComboB

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-12 Thread Alex Harui
He's surprised that the popup isn't parented by the app. Popups are parented by the systemMgr which also parents the app. Id's are per-document (or per-mxml file) so you can traverse documents and pull objects by their ids. From: flexcoders@yahoogroups.com

RE: [flexcoders] what is a reliable way to know when your component is re-displayed

2008-08-12 Thread Alex Harui
Most folks use the Viewstack's change event. You don't want to wait until they are displayed to update them, you want to do it just before, which is when the viewstack is changing. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of andrew.

RE: [flexcoders] Trying to undo changes to datagrid dataprovider

2008-08-12 Thread Alex Harui
t: Re: [flexcoders] Trying to undo changes to datagrid dataprovider Yep, I'm using ObjectUtils.copy, which creates a deep copy. On Tue, Aug 12, 2008 at 4:39 PM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Is your backup copy a deep copy? If not then sub-objects g

RE: [flexcoders] Modal Popup inside a module (or inside a view) of my application

2008-08-13 Thread Alex Harui
Modal is done by putting a transparent sprite over the area that shouldn't be clicked. So, if you pop up a transparent sprite then popup your dialog and position and size everything, you should get what you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: WordWrapping a Label

2008-08-13 Thread Alex Harui
The "leading" style From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cuttenv Sent: Wednesday, August 13, 2008 11:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WordWrapping a Label --- In flexcoders@yahoogroups.com

RE: [flexcoders] Re: Loading style sheets at run time

2008-08-13 Thread Alex Harui
ers%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > 2. Bseides the @font-face, you must have some way of specifying in > CSS to use the "Ad Lib" font. What does the relevant CSS look like? > > 4. What happens if you load the

RE: [flexcoders] Re: Datagrid editedItem

2008-08-13 Thread Alex Harui
I think you should listen to the collection for CollectionChange events and use that to sync to the server. Don't work from UI events. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff Sent: Wednesday, August 13, 2008 11:06 AM To

RE: [flexcoders] .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Alex Harui
When you embed a SWF, it gets wrapped in a MovieClipLoaderAsset and is not the MovieClip itself. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Wednesday, August 13, 2008 10:23 AM To: flexcoders@yahoogroups.com Subj

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-13 Thread Alex Harui
doing. Maybe it will be public someday. From: Zoran Avramov [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 9:40 AM To: flexcoders@yahoogroups.com Cc: Alex Harui Subject: RE: [flexcoders] AS 3.0 event target problem!!! Hi Alex/Gordon The problem

RE: [flexcoders] Issues with mx:Text, mouse cursors, and Hrefs inside the text

2008-08-13 Thread Alex Harui
I don't think you can override behavior of the internal TextField From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Todd Sent: Wednesday, August 13, 2008 6:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Issues with mx:Text, mou

RE: [flexcoders] Re: My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-13 Thread Alex Harui
o make standard controls. Ah well. Better the way it is, than not existing at all. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Wordwrapping is the responsibility of the renderer. Label is a > si

RE: [flexcoders] Getting an ItemEditEnd event to fire from a customer itemEditor (Focus?)

2008-08-13 Thread Alex Harui
ItemEditEnd fires when the DG has editable=true, and you click somewhere else or tab somewhere else. There could be an issue if the editor doesn't take focus, I've never tried that. Set its tabEnabled=true and have it implement IFocusManagerComponent. From: f

RE: [flexcoders] how to search an arraycollection

2008-08-13 Thread Alex Harui
You'll have to loop through yourself and keep track of the minimum difference From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of blc187 Sent: Wednesday, August 13, 2008 12:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to se

RE: [flexcoders] Re: .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Alex Harui
ehalf Of Jason Sent: Wednesday, August 13, 2008 1:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: .swf displays fine, but MovieClip methods fail --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> w

RE: [flexcoders] Re: .swf displays fine, but MovieClip methods fail

2008-08-13 Thread Alex Harui
Sorry, didn't mean to be mean. I searched "embed swf moviecliploaderasset" and the third result was an example from colin moock that had the secret sauce in it. Definitely hunt me down at Max. I'll apologize in person, then get on your case about using all these sprites and movieclips in

RE: [flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-13 Thread Alex Harui
mplement IUID. > > Read this entry for a better explanation: > http://ryangravener.com/wordpress/?p=36 <http://ryangravener.com/wordpress/?p=36> > > On Tue, Aug 12, 2008 at 3:54 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > > > Post an example if it is small. > > > >

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-13 Thread Alex Harui
change or timing glitch can change those numbers. From: Zoran Avramov [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 2:21 PM To: flexcoders@yahoogroups.com; Alex Harui Subject: RE: [flexcoders] AS 3.0 event target problem!!! What happens when the

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-13 Thread Alex Harui
@yahoogroups.com; Alex Harui Subject: RE: [flexcoders] AS 3.0 event target problem!!! Yep I thought you did something like that for the numbering and that is definitely not going to work. In terms of walking the tree and assigning names this will not work either since one of my requirements (It

RE: [flexcoders] How early can I get SystemManager, and what's the best way to get it?

2008-08-13 Thread Alex Harui
It kind of depends on where you're trying to access it from. It is the first class created so it is always there. You can subclass it and use it as your [Frame(..)] and then your code is running right away From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTE

RE: [flexcoders] Observing collections

2008-08-13 Thread Alex Harui
Never used Observe, but if it implements IMXMLObject or you subclass and do so, then you can use it in MXML From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Wednesday, August 13, 2008 4:16 PM To: flexcoders@yahoogrou

RE: [flexcoders] Displaying custom items in ComboBox

2008-08-13 Thread Alex Harui
_ Michael J. Regert From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday, August 12, 2008 6:17 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Displaying custom items in ComboBox IconComboBOx on my blog (bl

RE: [flexcoders] Re: what is a reliable way to know when your component is re-displayed

2008-08-13 Thread Alex Harui
That's because you don't really paint or display in Flash. You set up your display list and until you change it, that's what the player will display. You can try capturing show/hide events, but knowing what can make you visible (viewstack change) should be most efficient _

RE: [flexcoders] Re: Modal Popup inside a module (or inside a view) of my application

2008-08-13 Thread Alex Harui
uld always just add it as a child and handle it that way. Then I could control it's index. I thought it was possible to do with popups though. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > M

RE: [flexcoders] Observing collections

2008-08-13 Thread Alex Harui
orlds_smal.ht ml> As it happens it doesn't implement IMXMLObject. In any case, since it uses regular binding expressions for the "source" property, I believe it has the limitation-by-design I referred to. On Wed, Aug 13, 2008 at 5:17 PM, Alex Harui <[EMAIL PROTECTED] &

RE: [flexcoders] How early can I get SystemManager, and what's the best way to get it?

2008-08-13 Thread Alex Harui
e to do that. -Josh On Thu, Aug 14, 2008 at 10:16 AM, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: It kind of depends on where you're trying to access it from. It is the first class created so it is always there. You can subclass it and use it as your [Fra

RE: [flexcoders] Re: writeObject() and readObject()

2008-08-13 Thread Alex Harui
If you wrote an instance of DocumentFIle, you need to read back an instance of DocumentFIle From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of slackware2142 Sent: Wednesday, August 13, 2008 5:57 PM To: flexcoders@yahoogroups.com Subject: [f

RE: [flexcoders] Observing collections

2008-08-13 Thread Alex Harui
containers) based on a description. So suppose my view has a property called "description" which has a property "things" that is the collection or array. It's no great hardship to add a listener in the setter for description, but I wish I could say something like: On

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