RE: [flexcoders] loading an image via actionscript

2007-11-24 Thread Alex Harui
If you look at the source code for mx:Image/SWFLoader, you'll see it is much more sophisticated than your example. Also, you are not waiting for the complete event so there is nothing to manipulate until then. From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] ComboBox and DataGrid - set data() call causes next ComboBox to collapse...

2007-11-24 Thread Alex Harui
Did you set editable=true on the DG? If so, it should update the data on itemEditEnd and not on change. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cmarkiewicz Sent: Friday, November 23, 2007 1:43 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Problem with TileLIst RowCount

2007-11-24 Thread Alex Harui
Can you post a test case for what you are trying to do? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oneproofdk Sent: Friday, November 23, 2007 4:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Problem with TileLIst

RE: [flexcoders] Re: Get Data from Datagrid?

2007-11-24 Thread Alex Harui
Normally you would loop through the dataprovider to get all of the items and prices. The dataprovider will probably support the IList interface. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of t.horster Sent: Friday, November 23, 2007

RE: [flexcoders] itemRenderer's width and color is not changed. why?

2007-11-24 Thread Alex Harui
The renderers width is fixed to the width of the column. Are you looking for something like the centered checkbox example from my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of luoxuanhuayelin Sent:

RE: [flexcoders] Dynamically Setting width of a TextInput control

2007-11-24 Thread Alex Harui
The renderer's width is fixed to the size of the column From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Thursday, November 22, 2007 11:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamically Setting

RE: [flexcoders] Re: On mx.collections and the missing data structures... Set, Map, Queue, etc

2007-11-24 Thread Alex Harui
For 3.0? No. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi Sent: Thursday, November 22, 2007 10:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: On mx.collections and the missing data structures... Set, Map,

RE: [flexcoders] ComboBox inside a DataGrid

2007-11-24 Thread Alex Harui
Not sure I understand. The ComboBox usually represents one of a set of possible values for a datafield in a dataprovider. Can you give a more explicit example of the data involved? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Tree : disable select as you type

2007-11-24 Thread Alex Harui
Call stopImmediatePropagation, or override keyDownHandler and don't call super, or override findString From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of benoit.kogut Sent: Thursday, November 22, 2007 8:36 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Another Change Event?

2007-11-24 Thread Alex Harui
Try callLater? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of triggersoftware Sent: Thursday, November 22, 2007 2:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Another Change Event? I'm writing a Quiz application where

Re: [flexcoders] Re: On mx.collections and the missing data structures... Set, Map, Queue, etc

2007-11-24 Thread Aldo Bucchi
Thx Who implemented mx.olap? He sure learned something about sets, bags n stuff. Any tips? Performance / memory considerations? I am pushing flash.utils.Dictionary to see how far I can get. Looks solid enough to implement identity based sets and multisets. Best, Aldo On Nov 24, 2007 5:30 AM,

[flexcoders] Re: fullscreen option with wmode set to opaque: unable get fullscreen

2007-11-24 Thread kumar_gandhi30
--- In flexcoders@yahoogroups.com, t.horster [EMAIL PROTECTED] wrote: This is an old issue. It's impossible with wmode set to opaque or transparent. You can't use both with fullscreen. Tom --- In flexcoders@yahoogroups.com, kumar_gandhi30 kumar_gandhi30@ wrote: hello every one iam

[flexcoders] how many times can we use IFrame in an app:

2007-11-24 Thread kumar_gandhi30
how many times can we use IFrame in an app: this is the question thats now bothering me any one who can make out plz do, iam working on a project and used iframe as panelcanvasiframe/c/p and now if i place another iframe only one is visible at a time why is this, is there a solution.. plz

[flexcoders] Re: Databinding and modellocator

2007-11-24 Thread nxzone
For me too but you dont change the user during runtime. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ [Bindable] private var userBind : User = User.getInstance(); private function changeUser():void{ User.setUser(new

Re: [flexcoders] Re: Databinding and modellocator

2007-11-24 Thread Ralf Bokelberg
You are binding to the concrete instance of the User. If you change the instance, the binding is lost. If you change the content of the bound User object, it should work. Cheers Ralf On Nov 24, 2007 4:55 PM, nxzone [EMAIL PROTECTED] wrote: For me too but you dont change the user during

[flexcoders] Loading combobox problem...

2007-11-24 Thread aceoohay
The following is in flexbuilder 2, AS 3. I have an application that I am building with modules using NetConnection to access the server. I want to centralize the routines that get data from the DB for Combo Boxes and the like because I want to reuse the data returned. In the

[flexcoders] Global Security Settings panel - set with in flex

2007-11-24 Thread essuark
My flex app access swf on local folder and the swf have code in them that talk to many other domains. I had to set my Global Security Settings panel to allow access to my Data Folder. Is there a way I can just do something with Flex to allow basically a wildcard? I have tried both

[flexcoders] Re: Setting multiple custom styles

2007-11-24 Thread ben.clinkinbeard
Here is the item I opened: https://bugs.adobe.com/jira/browse/FLEXDOCS-149 --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: So the answer is pretty much what I expected. You can't assume when your class will be initialized. It appears in this case that binding and

Re: [flexcoders] Loading combobox problem...

2007-11-24 Thread yigit boyar
i just can not give a solution to your first question cuz i couldn't understand it. (sth must be going wrong in your code) anyway; here is a better way to handle shared data; a MODEL . model is a singleton class that generally keeps shared data of your applicaiton. it should look like ; and

RE: [flexcoders] Global Security Settings panel - set with in flex

2007-11-24 Thread Alex Harui
There is no programmatic control over the setting panel. The user must explicitly give permission. Otherwise it would be easy to write virus software with Flash. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of essuark Sent: Saturday,

[flexcoders] Re: Loading combobox problem...

2007-11-24 Thread aceoohay
Actually I found the error of my ways. It would appear that if you have ArrayCollectionOne and ArrayCollectionTwo and you add an event listener to ArrayCollectionOne, after which you; ArrayCollectionOne = ArrayCollectionTwo; it replaces the entire ArrayCollectionOne with ArrayCollectionTwo

[flexcoders] Re: Need help componentizing SliderControl!!!

2007-11-24 Thread Jaganathan.K
Someone please help me out... Thanks Regards, Jaga --- In flexcoders@yahoogroups.com, Jaganathan.K [EMAIL PROTECTED] wrote: Hi All, I need to create a slider control which should be controlled externally. I have the folowing code where i hardcoded all the values like the panel

Re: [flexcoders] loading an image via actionscript

2007-11-24 Thread Sheriff
sorry but what does that exactly mean? like the loader isn't suppose to be handling that type of stuff. Thanks - Original Message From: Alex Harui [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, November 24, 2007 2:18:03 AM Subject: RE: [flexcoders] loading an image via

[flexcoders] Flex 3.0 beta TileList component getting errors while effects playing

2007-11-24 Thread steve
I have a problem with deleting item from a Flex 3.0 beta TileList component. While a delete item effect is playing and I delete another item, I get an 'RangeError: Index '8' specified is out of bounds.' error. The code works fine if you wait until the effects are finished before you delete

[flexcoders] Date time component

2007-11-24 Thread gur_sukh
Hi, Does anyone know of a dateField component with date and time chooser for flex? I am trying to develop one and modified the DateChooser to show date and time. Now i wanted to modify the DateField to use my customised dateChooser and found that the _dropDown in DateField is private and read

[flexcoders] Re: Databinding and modellocator

2007-11-24 Thread nxzone
Yes, the binding is lost because it now working. But do you know how to do this? Now i'm doing this with a watcher and is working. Anybody have another suggestion? Thank you --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: You are binding to the concrete instance of

RE: [flexcoders] Need Help with DataServices pushing data to nested collections

2007-11-24 Thread Jeff Vroom
If you are using clustering but don't have sticky-session load balancing that could cause this type of thing, but otherwise it doesn't sound right. The first thing would be to record the client and server debug logs for a sample session which exhibits the failure. For the client,

[flexcoders] Application container failed to capture KeyboardEvent

2007-11-24 Thread zhongtie
My simple flex app somehow doesn't respond to key event, but mouse events work fine. Any ideas? Thanks, Tie --- src code --- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute keyDown=onEvent(event) mouseDown=onEvent(event)

[flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-24 Thread simonjpalmer
this is not in a datagrid it is just a dynamically created control on a canvas --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The renderer's width is fixed to the size of the column From: flexcoders@yahoogroups.com

[flexcoders] Date handling...

2007-11-24 Thread aceoohay
I am using AS3 and Flexbuilder 2. I have a label field lblLoginTime that I populate using; lblLoginTime.text = dateTimeFormat.format(Date()); mx:DateFormatter id=dateTimeFormat formatString=MM/DD/ HH:NN:SS/ at 10:43PM on November 24, 2007 it displayed 11/25/500 23:43:30 which makes it

Re: [flexcoders] loading an image via actionscript

2007-11-24 Thread Douglas Knudsen
Image.source = pathtoimage loads up at runtime, eh? Why not use this? DK On 11/24/07, Sheriff [EMAIL PROTECTED] wrote: sorry but what does that exactly mean? like the loader isn't suppose to be handling that type of stuff. Thanks - Original Message From: Alex Harui [EMAIL

RE: [flexcoders] Re: Dynamically Setting width of a TextInput control

2007-11-24 Thread Alex Harui
Hmm, you explicitly mentioned item renderer. Anyway, if you set the .text early enough, the TextInput should pick it up. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Saturday, November 24, 2007 7:05 PM To:

RE: [flexcoders] Application container failed to capture KeyboardEvent

2007-11-24 Thread Alex Harui
No children of the Application have focus, so there are no events to capture. If you listen to the stage, you'll see everything. The app is not the top-level displayobject so your handlers will not pick up events from popups either. From: