RE: [flexcoders] PopUpManager

2007-05-29 Thread Alex Harui
Check out how we wrote mx.controls.Alert. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kgnytia Sent: Tuesday, May 29, 2007 1:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] PopUpManager Hi all! Im trying to open a

RE: [flexcoders] scrollToIndex with TileList

2007-05-29 Thread Alex Harui
Can you post an example? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jthieret Sent: Monday, May 28, 2007 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] scrollToIndex with TileList Can't get this to work. The call

RE: [flexcoders] DataGrid and complex types

2007-05-29 Thread Alex Harui
We'll probably just keep pointing people to the example on my blog. There dataField is checked quite often during initial rendering and scrolling and we don't want to do any extra thinking looking for dot-paths unless you know you're going to need it.

RE: [flexcoders] Re: Datagrid with bound dataProvider not updating.

2007-05-29 Thread Alex Harui
We'll wrap the array in an ArrayCollection, so call dataGrid.dataProvider.refresh(). Or dataGrid.invalidateList() However, neither approach may work until you refactor to modify the ArrayCollection and not the array. Arrays do not have change notifications so we can't see what is

RE: [flexcoders] Change default loader, etc

2007-05-29 Thread Alex Harui
Depends on how you set your changes and are building the app. FlexBuilder should try to set the background of the HTML wrapper for you. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dnk Sent: Monday, May 28, 2007 9:42 PM To:

RE: [flexcoders] show value in combobox

2007-05-29 Thread Alex Harui
You correct. A reference is required, although for straight strings, all strings of the same value refer to the same object. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, May 29, 2007 10:36 AM To:

RE: [flexcoders] Re: Showing item roll over color in a data grid manually

2007-05-29 Thread Alex Harui
I would consider customizing the renderers to show a different backgroundColor, not necessarily the highlightColor. There's an example of a lightweight background renderer on my blog (blogs.adobe.com/aharui) which you would tie into some logic as to whether that item is the current chart item

RE: [flexcoders] TextInput vs. ENTER key.

2007-05-29 Thread Alex Harui
Listen for the enter event and set focus somewhere else. You can use focusManager.getNextFocusManagerComponent if you're not sure where to set focus. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kellogg Sent: Tuesday, May 29,

RE: [flexcoders] DataGrid is slow

2007-05-30 Thread Alex Harui
Any custom renderers? Or just basic renderers? Is the data static or are there frequent updates? If you have custom renderers have you read my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mikhail

RE: [flexcoders] Image - contentHeight / contentWidth

2007-05-30 Thread Alex Harui
There is a complete event that fires when the swf is loaded. The updateComplete after that is the one you want. You'll get updateCompletes at other times as well From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Ingram Sent:

RE: [flexcoders] Extending TreeItemRenderer

2007-05-30 Thread Alex Harui
Usually, anything you want to see in a renderer is set in the data object itself. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sarah_e_boys Sent: Wednesday, May 30, 2007 5:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: TextInput vs. ENTER key.

2007-05-30 Thread Alex Harui
@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Listen for the enter event and set focus somewhere else. You can use focusManager.getNextFocusManagerComponent if you're not sure where to set focus. From: flexcoders

RE: [flexcoders] Re: Is there any way to call super.super.method in AS3?

2007-05-30 Thread Alex Harui
Sorry, but I think you're wrong or misunderstood. If a method is overridden, you can skip around the override like you can in some other languages From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of justinbuser Sent: Wednesday, May 30,

RE: [flexcoders] DataGrid is slow

2007-05-30 Thread Alex Harui
Hmm. 12 columns by 50 rows is 600 renderers. Should scroll reasonably quickly using line-scrolling. How many rows per sec/minute are you getting? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mikhail Shevchuk Sent: Wednesday, May

RE: [flexcoders] Re: CheckBox check icon style - checkColor hardcoded?

2007-05-30 Thread Alex Harui
It will be called iconColor in the next release From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, May 30, 2007 3:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: CheckBox check icon style -

RE: [flexcoders] Re: TextInput vs. ENTER key.

2007-05-30 Thread Alex Harui
%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: The code looks like it should dispatch ENTER anyway. Did you not get it? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders

RE: [flexcoders] Re: Is there any way to call super.super.method in AS3?

2007-05-31 Thread Alex Harui
C want to replace the myMethod in this parent class Class B, kept others unchanged.And myMethod in Class C still need to call A.myMethod. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Sorry, but I think you're wrong or misunderstood

RE: [flexcoders] Re: ComboBox ItemRenderer Issues

2007-05-31 Thread Alex Harui
No, so try the icons in combobox example on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola Sent: Tuesday, May 29, 2007 7:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] Re: Is there any way to call super.super.method in AS3?

2007-05-31 Thread Alex Harui
PROTECTED] On Behalf Of Alex Harui Sent: Thursday, May 31, 2007 11:37 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Is there any way to call super.super.method in AS3? Yes, or add another class layer between, or make the method replaceable, or make the method in A callable directly

RE: [flexcoders] DataGrid HeaderRenderer Recreates every click

2007-05-31 Thread Alex Harui
People do some really tricky things in customized DGs like having headers grow and shrink or other rows grow and shrink based on rollover states and selection and what not. Right now the DG aggressively redraws to make sure we don't make assumptions about what can change. In theory, your

RE: [flexcoders] create new button with an icon

2007-05-31 Thread Alex Harui
Button icons cannot be loaded at runtime. They must be embedded in the app. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mazarflex Sent: Thursday, May 31, 2007 10:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] create new

RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread Alex Harui
Do you have a custom tooltip? Otherwise it shouldn't close. How are you setting the tooltip? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Thursday, May 31, 2007 8:26 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] LoadModule, creating a history so the Back Button works...

2007-05-31 Thread Alex Harui
Not sure I understand. If you put ModuleLoaders as children of a TabNavigator and enable History in the HTML wrapper, it should just work. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave @ VitalPodcasts.com Sent: Thursday, May 31,

RE: [flexcoders] TabNavigator selectedIndex property

2007-05-31 Thread Alex Harui
Might be timing. Try setting selectedIndex either before or after adding children or maybe later via callLater From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of james.tundra Sent: Wednesday, May 30, 2007 5:09 PM To:

RE: [flexcoders] textarea minHeight

2007-05-31 Thread Alex Harui
Verticalscrollposition will be something like 0, 1, 2 and you probably need 100, 112, 124. Try {Math.max(100, t2.verticalScrollPosition * 12)} From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, May 31, 2007

RE: [flexcoders] Disable Clicks while on busyCursor

2007-05-31 Thread Alex Harui
Did you try Application.application.enabled = false? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Troy Gilbert Sent: Thursday, May 31, 2007 10:19 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Disable Clicks while on

RE: [flexcoders] Re: DataGrid edits with XMLListCollection dataprovider

2007-05-31 Thread Alex Harui
The DG default code assumes that you are pulling properties for display and stuffing them on edit. Your label functions are not simply property pullers so you'll need to customize an ITEM_EDIT_END handler, call preventDefault() and stuff it yourself. -Alex

RE: [flexcoders] Re: LoadModule, creating a history so the Back Button works...

2007-05-31 Thread Alex Harui
Not sure what your delivery timeframe is, but you would be a good candidate for the new Deep Linking feature in the upcoming beta. If you can't wait that long, google for UrlKit and try that out. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: create new button with an icon

2007-05-31 Thread Alex Harui
of the buttons on my form and pass their names to SQL. i dont know where to start i thought i had it with an array but i could not do the icon or the click. ugh!!! help me please thank you --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote

RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-05-31 Thread Alex Harui
it working so had to take a different approach. If you find a solution, please repost to the list. thanks -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Thursday, May 31, 2007 1:39 PM

RE: [flexcoders] btn.width wont accept %

2007-05-31 Thread Alex Harui
Width is of type Number. Through MXML black magic we detect the % and assign to percentWidth instead. So, newBtn.percentWidth = 100; From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave @ VitalPodcasts.com Sent: Thursday, May 31,

RE: [flexcoders] Re: Accessing the illusive stage Object through sprite (a near impossible feat)

2007-05-31 Thread Alex Harui
applciationComplete systemManager.stage should be available to you at initialize From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of patricklemiuex Sent: Thursday, May 31, 2007 2:15 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Accessing the illusive stage Object through sprite (a near impossible feat)

2007-05-31 Thread Alex Harui
@yahoogroups.com Subject: Re: [flexcoders] Re: Accessing the illusive stage Object through sprite (a near impossible feat) Alex, I think he said he was using an AS3 project. There is no applicationComplete event right? Peace, Mike On 5/31/07, Alex Harui [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote

RE: [flexcoders] Error #1009 - Problem running swf on production server

2007-06-01 Thread Alex Harui
The MyTreeItemRenderer class is compiled in otherwise you'd get a verify error. Somewhere in the data setter it is getting a null reference. If you turn on verbose-stacktrace it will give you the line number. If the item renderer loads images/icons dynamically, the timing of when the loading

RE: [flexcoders] Re: DataGrid HeaderRenderer Recreates every click

2007-06-01 Thread Alex Harui
not -1), look that value up in the 'columns' array and see if itself is it. If so, then display the appropriate up/down arrow. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: People do some really tricky things in customized DGs like

RE: [flexcoders] Re: Disable Clicks while on busyCursor

2007-06-01 Thread Alex Harui
for the app to disable, then any animations running while the app is disabled lag. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Did you try Application.application.enabled = false? From: flexcoders

RE: [flexcoders] layout help

2007-06-01 Thread Alex Harui
Try setting minHeight on the Canvas to 0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rohan Pinto Sent: Thursday, May 31, 2007 11:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] layout help hi folks, i'm building this

RE: [flexcoders] Re: [SOLVED] itemRenderer null object error

2007-06-01 Thread Alex Harui
I'd be careful about using render it can get called often. Always assume that data could be null. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Wright Sent: Friday, June 01, 2007 8:41 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] AddChild problem

2007-06-01 Thread Alex Harui
Adding children runs layout which for VBox will wrestle everything into a vertical stack. Canvas is better for random' positioning. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Tredway Sent: Friday, June 01, 2007 8:31 AM To:

RE: [flexcoders] Data Grid Column Headings

2007-06-01 Thread Alex Harui
Assign your own columns mx:DataGrid mx:columns mx:DataGridColumn headerText=Question ID dataField=questioned From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of one786786 Sent: Friday, June 01, 2007

RE: [flexcoders] Re: Custom Attributes

2007-06-01 Thread Alex Harui
Aren't you getting compiler warnings about binding to statics? What is myComponent? MyComponent is the class, but myComponent must be something else? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gary_mangum Sent: Friday, June

RE: [flexcoders] Re: Data binding will not be able to detect changes when using--I know I know

2007-06-01 Thread Alex Harui
Actually, whether you create an ArrayCollection or not, we will so it is the same memory either way. List classes and ComboBox only actually work with collections. If you hand us a bare array, we wrap it, if you hand us an ArrayCollection, we take it as is. IMHO, I recommend: mx:ComboBox

RE: [flexcoders] Re: [SOLVED] itemRenderer null object error

2007-06-01 Thread Alex Harui
AS3 ? I am all for whatever works consistently. If I am pushing the envelop trying to use an MXML component as an Item Renderer and adding events to produce dynamic styles and object then by all means somebody save me ! Alex Harui wrote: I'd be careful about using render it can get called often

RE: [flexcoders] Re: Custom Attributes

2007-06-01 Thread Alex Harui
of my attribute values to magic numbers if it is possible to use constants instead for readability and maintainability. In my example, myComponent.xml is the class, not MyComponent. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Aren't

RE: [flexcoders] Context menu mouseTarget vs. itemRenderer with Image control

2007-06-01 Thread Alex Harui
Images are not mouse targets. Try setting mouseChildren=true and/or mouseEnabled=true in the renderer. You may also need to cover the image with a Sprite with alpha=0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tsiesser Sent:

RE: [flexcoders] mx:list

2007-06-01 Thread Alex Harui
Did you set variableRowHeight = true -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ariel Jakobovits Sent: Friday, June 01, 2007 6:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:list when I use a custom item renderer, why are all

RE: [flexcoders] ctrl key problem....

2007-06-02 Thread Alex Harui
Try capture phase from the stage. Otherwise you may not see it depending on who has focus. Also post some code so we can see what you're trying to do. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gboro54 Sent: Friday, June 01,

RE: [flexcoders] Re: Context menu mouseTarget vs. itemRenderer with Image control

2007-06-02 Thread Alex Harui
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Images are not mouse targets. Try setting mouseChildren=true and/or mouseEnabled=true in the renderer. You may also need to cover the image with a Sprite with alpha=0

RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-03 Thread Alex Harui
Tried it in hotfix2, tooltip came up and editor did not lose focus. Which player, browser, os? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nxzone Sent: Friday, June 01, 2007 12:08 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Custom Attributes

2007-06-03 Thread Alex Harui
code these values. Thanks! --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: There used to be warnings. I can't recall if we've gotten around them yet, but you still might be getting hit up by some initialization thing. Try looking

RE: [flexcoders] removeItemAt combined with getItemAt - Manipulating an arrayCollection

2007-06-03 Thread Alex Harui
You'd have to scan the arraycollection. I wouldn't use an AC in a filter function, I'd probably use an object map indexed by fieldTag so you can remove faster. The filter function should use for..in to iterate the fields. From: flexcoders@yahoogroups.com

RE: [flexcoders] Change Object Reference

2007-06-03 Thread Alex Harui
Is it just me? References don't need unlinking. The original example should just work. Kevin, can you post your code so we can see what you're trying to do? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jurgen Beck Sent: Sunday,

RE: [flexcoders] stage.stageWidth/stageHeight lies in standalone player?

2007-06-03 Thread Alex Harui
I think SAFlashPlayer might do a quick resize so if you check later it has the right size. Try tracing on enterFrame events. In general, we do very little in the constructors. There is an INIT method which is used to kick off real work. From:

RE: [flexcoders] Flex Component still active, even know TitleWindow it resides in, is deleted -

2007-06-04 Thread Alex Harui
You can't really blow things away in AS3 (or Java). You kill all references to them and they go away when garbage collected. If you are listening to the app model, it means the app model has a reference to the event listener and thus it won't go away. Use weak references or clean up when

RE: [flexcoders] Sleep / Blink Image

2007-06-04 Thread Alex Harui
Sorry, AS doesn't sleep. To blink something, listen for enterFrame events and change the visuals.. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Olsen Sent: Sunday, June 03, 2007 6:51 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Disable Clicks while on busyCursor

2007-06-04 Thread Alex Harui
this shield slowing in performance? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Try calling validateNow after setting enabled to false. Animations can shut down validatiom. If you can disable and re-validate before the animations

RE: [flexcoders] Image click handler

2007-06-04 Thread Alex Harui
You might have to set mouseEnabled and/or mouseChildren on the Image From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cesare Rocchi Sent: Saturday, June 02, 2007 6:13 PM To: flexcoders Subject: [flexcoders] Image click handler Hello

RE: [flexcoders] Checkbox needs to have the same behavior like 'ctrlkey+mouse click' in datagrid

2007-06-04 Thread Alex Harui
You could just keep setting selectedIndices From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of handitan Sent: Friday, June 01, 2007 3:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Checkbox needs to have the same behavior like

RE: [flexcoders] Buttons with dynamic loaded images

2007-06-04 Thread Alex Harui
Button doesn't carry the extra code to load external images. You can write a subclass that does. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flashcrow2000 Sent: Monday, June 04, 2007 7:44 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: removeItemAt combined with getItemAt - Manipulating an arrayCollection

2007-06-04 Thread Alex Harui
Each time you use {}, you instantiate a unique new object which of course is not findable in the collection. You can use find() for that though. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of michaelmatynka Sent: Monday, June 04, 2007

RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Alex Harui
@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Tried it in hotfix2, tooltip came up and editor did not lose focus. Which player, browser, os? From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

RE: [flexcoders] Re: Custom Attributes

2007-06-04 Thread Alex Harui
can try it? Also, how can I verify that I have hotfix 2 installed? The windows installer was not working (see my other post) so I ended up unzipping the zip hotfix 2 instead. Gary --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: I saw

RE: [flexcoders] Re: Tooltip in itemeditor of datagrid BUG or... WIsh...

2007-06-04 Thread Alex Harui
mailto:flexcoders%40yahoogroups.com , Harish Sivaramakrishnan [EMAIL PROTECTED] wrote: are you looking at something like this? http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/ http://flexgeek.wordpress.com/2007/06/04/tips-tricks-itemeditors-iii/ On 6/3/07, Alex Harui [EMAIL PROTECTED

RE: [flexcoders] HorizontalList shows image place holder instead of image

2007-06-04 Thread Alex Harui
It looks like you made a custom renderer that just has an Image. Image doesn't know how to look for an icon property in the dataprovider. You might try customizing the .data setter. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Selecting which Child Components to add at runtime

2007-06-04 Thread Alex Harui
Are you asking about: private function fAddCustomView(compClass:Class):void { var canCustView:Container = Container(new compClass()); canCustView.label = Custom + cbCompList.selectedItem.label; vsComps.addChild(canCustView); } ... fAddCustomView(Comp1);

RE: [flexcoders] Extended component on Datagrid breaks when using a XMLListCollection

2007-06-04 Thread Alex Harui
It usually helps to show some code. English is too ambiguous. One common problem is that XML attributes are accessed differently than object properties var xml:XML = xmlnode attr1=foo / var obj:Object = { attr1 : foo }; You would access obj.attr1 and [EMAIL PROTECTED] and thus the

RE: [flexcoders] Can FLASH/FLEX Components scale for a PORTAL page ?

2007-06-04 Thread Alex Harui
You can probably tune it a bit. You may never really get full control in IE due to the way ActiveX works and other browser behavior. So you may need some JavaScript to help, maybe by turning of visibility of the ActiveX objects until their done initializing. HTML is rendered on the fly so it

RE: [flexcoders] loading mxml components based on flashvars

2007-06-04 Thread Alex Harui
If your script block looks like that, then you're assigning compon1 and component2 at instantiation time. Properties are generally not available until later so I'd do the assignment in commitProperties or the initialize event. -Alex From:

RE: [flexcoders] Re: Selecting which Child Components to add at runtime

2007-06-05 Thread Alex Harui
. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ wrote: Are you asking about: private function fAddCustomView(compClass:Class):void { var canCustView:Container = Container(new compClass()); canCustView.label = Custom

RE: [flexcoders] Package Level Funtions

2007-06-05 Thread Alex Harui
Did you have any public thing in that file? Maybe hack up one public thing From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Hallam Sent: Tuesday, June 05, 2007 7:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Package

RE: [flexcoders] Newbie getting annoyed with Drag and Drop :-)

2007-06-05 Thread Alex Harui
Took a quick peek. I didn't see calls to event.preventDefault() which are usually required when overriding drag/drop behavior. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of martz256 Sent: Tuesday, June 05, 2007 7:44 AM To:

RE: [flexcoders] Re: stage.stageWidth/stageHeight lies in standalone player?

2007-06-05 Thread Alex Harui
@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: I think SAFlashPlayer might do a quick resize so if you check later it has the right size. Try tracing on enterFrame events. In general, we do very little in the constructors. There is an INIT method which

RE: [flexcoders] DataGrid ItemEditor being closed when other component is updated

2007-06-05 Thread Alex Harui
If the DG thinks it needs to be re-layed out, it will close its session. Try locking the width/height of the List. It might stop it from invalidating the parent container. Wrapping the List in another container might work as well. From:

RE: [flexcoders] Error after loading swf

2007-06-05 Thread Alex Harui
Are you sure the SWF loaded? You might want to add trace statements to the loaded swf or build a debug version of it to see where it is getting stuck. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tonyx_788 Sent: Tuesday, June 05,

RE: [flexcoders] Re: Selecting which Child Components to add at runtime

2007-06-05 Thread Alex Harui
=true showArrival=true showPDeparture=true showHost=true/ - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, June 5, 2007 1:20:41 PM Subject: RE: [flexcoders] Re: Selecting which Child Components to add at runtime The order of items in HBox

RE: [flexcoders] Re: Error after loading swf

2007-06-05 Thread Alex Harui
::apply http://adobe.com/AS3/2006/builtin::apply () at mx.core::UIComponent/::callLaterDispatcher2() at mx.core::UIComponent/::callLaterDispatcher() at flash.utils::Timer/flash.utils:Timer::_timerDispatch() --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL

RE: [flexcoders] Re: Selecting which Child Components to add at runtime

2007-06-05 Thread Alex Harui
: Selecting which Child Components to add at runtime do you have an example of this technique? - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, June 5, 2007 3:35:10 PM Subject: RE: [flexcoders] Re: Selecting which Child Components to add

RE: [flexcoders] My swf application does not get input focus on startup.... why?

2007-06-05 Thread Alex Harui
The browsers steal focus. I've heard that somebody figured out enough Javascript, but I'm not sure if it worked in all cases. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mjharris73 Sent: Tuesday, June 05, 2007 2:24 PM To:

RE: [flexcoders] Re: Selecting which Child Components to add at runtime

2007-06-06 Thread Alex Harui
getDefinitionByName and getDefinition. You will still need to make sure the classes are linked into the SWF, so you have to know the total set of classes you want to use. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of phall121 Sent:

RE: [flexcoders] Module Sizing

2007-06-06 Thread Alex Harui
Known bug. You have to use percentWidth=100 percentHeight=100 on the mx:Module tag instead of width=100% height=100% From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mapper2255 Sent: Wednesday, June 06, 2007 8:48 AM To:

RE: [flexcoders] Help !!! Getting error when change RowHeight and then Scroll Datagrid

2007-06-06 Thread Alex Harui
Try calling invalidateList() (not invalidateDisplayList()) after you change the font size From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava Sent: Wednesday, June 06, 2007 10:07 AM To: Flex Coders Subject: [flexcoders]

RE: [flexcoders] Debugging flash app running in C++ app

2007-06-06 Thread Alex Harui
If you have the ActiveX debugger player installed, you should be able to use FDB to debug. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: Wednesday, June 06, 2007 7:46 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: ArrayCollection not working? Pulling out my HAIR!!!

2007-06-06 Thread Alex Harui
I don't think ArrayUtil is as smart as you wish it was. You may have to write your own conversion. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ervin Sent: Wednesday, June 06, 2007 6:50 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Help !!! Getting error when change RowHeight and then Scroll Datagrid

2007-06-07 Thread Alex Harui
or not but it is working for me. - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, June 7, 2007 1:20:08 AM Subject: RE: [flexcoders] Help !!! Getting error when change RowHeight and then Scroll Datagrid Try calling invalidateList

RE: [flexcoders] mx:List: How do you get rid of the 1 pixel gap between item renderers?

2007-06-07 Thread Alex Harui
paddingTop/paddingBottom From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Arpit Mathur Sent: Wednesday, June 06, 2007 9:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:List: How do you get rid of the 1 pixel gap between

RE: [flexcoders] Re: coordiates of items in a datagrid

2007-06-07 Thread Alex Harui
%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: You'll have to subclass and then snoop through the listItems array From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders

RE: [flexcoders] Re: EventResult to Array

2007-06-07 Thread Alex Harui
Did you try different resultFormat? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giro Sent: Thursday, June 07, 2007 4:50 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: EventResult to Array Dont work, if i make

RE: [flexcoders] Formatting tabnavigator labels?

2007-06-07 Thread Alex Harui
I don't think we've made that easy, but you can probably drill down into the tabs and alter the text and textformats in there. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of candysmate Sent: Thursday, June 07, 2007 1:53 AM To:

RE: [flexcoders] Connecting to swf dynamically in AS3

2007-06-07 Thread Alex Harui
Are the globes Flex 2.x Apps? If they are Flash 8 swfs you may not get INIT. -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of patricklemiuex Sent: Thursday, June 07, 2007 11:56 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Selecting which Child Components to add at runtime--Dynamic UI RSL

2007-06-07 Thread Alex Harui
%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: getDefinitionByName and getDefinition. You will still need to make sure the classes are linked into the SWF, so you have to know the total set of classes you want to use. From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Connecting to swf dynamically in AS3

2007-06-07 Thread Alex Harui
mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: Are the globes Flex 2.x Apps? If they are Flash 8 swfs you may not get INIT. -Alex From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders

RE: [flexcoders] OK,

2007-06-07 Thread Alex Harui
http://labs.adobe.com/wiki/index.php/Flex_Component_Kit The swfloader.content should be a MovieClip. Or it might have one child that is the MovieClip for the main timeline From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Re: Event is Raised ONCE and Firing TWICE

2007-06-07 Thread Alex Harui
I'd be checking to see if handleClose gets called twice. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of boy_trike Sent: Thursday, June 07, 2007 4:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Event is Raised ONCE and

RE: [flexcoders] SWFLoader

2007-06-08 Thread Alex Harui
Depends on what you mean by that. You can stop its timeline from advancing. You can block it from getting mouse events, but you probably can't keep it from doing some thinking. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Couldn't find item renderer in the event

2007-06-08 Thread Alex Harui
Which event? There's a difference between CLICK and ITEM_CLICK From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of handitan Sent: Thursday, June 07, 2007 6:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Couldn't find item

RE: [flexcoders] I need to pass an XMLCollection as a parameter to a JSP or Servlet

2007-06-08 Thread Alex Harui
I'm surprised no experts have answered this yet. I believe most folks get the source from the collection and call toXMLString: XML_Grupos.source.toXMLString() Not sure if you can wrap it in {} or not. From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Extending SWFLoader

2007-06-14 Thread Alex Harui
I wouldn't think it would work either. I don't think SWFLoader.as is that big or contains secret sauce so I'd just copy it, rename it and change what I need. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Freiman Sent:

RE: [flexcoders] SWFLoader weirdness when using separated applicationDomain

2007-06-14 Thread Alex Harui
Unfortunately, Flex does not work across different application domains at this time. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Oleg Filipchuk Sent: Thursday, June 14, 2007 7:52 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Why can't I use a QName as a Dictionary key ?

2007-06-14 Thread Alex Harui
Not 100% sure, but QNames have special privileges in AS as they generally get evaluated before applied as a property lookup. If you do d[http://foo::bar http://foo::bar/ ], what happens? Also, if you apply the qname to an Object does it work? If the dictionary doesn't use weak keys,

RE: [flexcoders] Printed content had vertical bar

2007-06-14 Thread Alex Harui
Did you try a hello world app with backgroundColor=0xFF? Did you try printing to other printers? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, June 14, 2007 2:14 AM To: flexcoders@yahoogroups.com Subject: Re:

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