[flexcoders] Re: Where to do heavy lifting in a Flex app? (no threading?)

2007-11-11 Thread fourctv
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > People have been begging for some kind of threading for a long time, > but the Flash Player team seems pretty adamant that this won't happen > any time soon. This message thread has revolved around the need for thre

[flexcoders] Re: Custom DataGrid

2007-11-11 Thread Matt
Does anyone have a clue why this might be happening? It's got me completely stumped. :( --- In flexcoders@yahoogroups.com, "Matt" <[EMAIL PROTECTED]> wrote: > > I am trying to create my own version of DataGrid using > Grid/GridRow/GridCell but I've run into a snag: > > > > I created a Box that

Re: [flexcoders] Re: Where to do heavy lifting in a Flex app? (no threading?)

2007-11-11 Thread Richard Rodseth
I don't know how the Flash Player is implemented, but I would expect C/C++. See also: http://developer.mozilla.org/en/docs/Tamarin Remember the player has a long history and download size has always been a priority. It wouldn't make sense to build one VM on top of another (relatively heavy) one.

Re: [flexcoders] Re: looking for a decent throbber

2007-11-11 Thread [EMAIL PROTECTED]
How do you get it to show ? I created a throbber object in an initialization handler, the object was created, and I ran play() , but I don't see anything on the screen. What am I missing ? Reid Priedhorsky wrote: > > Troy Gilbert wrote: > >> Yes, that's a very appealing architecture. We don't h

[flexcoders] Drag and drop question

2007-11-11 Thread msabljic
Hi, I am trying to drag an UIComponent instance over an Image object and drag and drop work fine but i am having problem with dragProxy image. I would like to use my original drag source UIComponent as dragProxy image but if i do the following: public function dragItSubs(event:MouseEvent):v

[flexcoders] LCDS, AIR and Client Side Cacheing

2007-11-11 Thread christophers1228
Hello, Is it possible to enable client side caching with AIR and LCDS when you have managed destinations? For example, if I have 4 related tables each having their own destination. SalesPerson has many WorkOrders. WorkOrder has one SalesPerson. WorkOrder has many Proposals. Proposal has one Work

Re: [flexcoders] Drag and drop question

2007-11-11 Thread Daniel Freiman
Use a bitmap of the target instead of the original target. /// var target:UIComponent = event.currentTarget as UIComponent; var dragProxy:Bitmap; var myBitmapData:BitmapData = new BitmapData(target.width, target.height); myBitmapData.draw(target); // dra

[flexcoders] There has been an I/O Error: Error #2038

2007-11-11 Thread FlexCoders
FLEX 2 I have a Flex upload project that gets this error at the end. It actually uploads the file but at the end it tosses out this error. I am not sure why this is happening. I will upload a file and it will complete. Then it will toss out the error: There has been an I/O Error: Error #2038

[flexcoders] extending flex builder component panel

2007-11-11 Thread northwood Lee
Hi, This is a question about how we can extend flex builder itself the *component *panel. see attachment(components.jpg). since flex builder is based on eclipse, I am wondering if we can extend the Flex Buidler 3 (or build an eclispe plugin)so that the componet panel could show the customized co

[flexcoders] Can't select an item renderer in a list

2007-11-11 Thread icepaco33
Greetings everybody, I have a peculiar problem. I have a list that is rendered by a custom item renderer. The list allows multiple selection and also drag and drop operation (in order to shuffle the item around) However when I move an item further down the list (drag & drop) then I can't select

[flexcoders] classes

2007-11-11 Thread Donovan
I am not a Flex user, I don't know how to do that yet. But here is my problem anyways. I have been working on my final project for school. I set up all my classes. I was having difficulty with getting them to work. My base class contains all the data that is necessary to set up the all the clas

[flexcoders] Is there some other solution?

2007-11-11 Thread djhatrick
Can I use flex 3 Beta 1 Flex 2.01 Compiler instead? People are asking me about the pop-up debug for our live site and I don't want to say, "Update your flash player". Thanks, Patrick

Re: [flexcoders] Is there some other solution?

2007-11-11 Thread Sheriff
you probably did not use the release version Project-->Export Release Version should take care of that message - Original Message From: djhatrick <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, November 11, 2007 2:06:02 PM Subject: [flexcoders] Is there some other solut

[flexcoders] "Enter Thru" States

2007-11-11 Thread dmeasbp
Hello All! I simply have a number of states, which alter a viewstack, which contain Panel components. I want to be able to 'RETURN' or 'ENTER' thru the states. Should I add an event listener to the application? Any help would be appreciated. D. Meas

RE: [flexcoders] Can't select an item renderer in a list

2007-11-11 Thread Alex Harui
Double check the UIDs. Try using the default renderer and see if you still have the problem. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of icepaco33 Sent: Sunday, November 11, 2007 5:52 AM To: flexcoders@yahoogroups.com Subject: [flex

RE: [flexcoders] classes

2007-11-11 Thread Alex Harui
Looks like you didn't instantiate B (new B()) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Donovan Sent: Sunday, November 11, 2007 10:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] classes I am not a Flex user, I don'

[flexcoders] Scrolling in application and component

2007-11-11 Thread donvoltz
Would someone point me in the right direction for adding mouse and keyboard scrolling both within the application and individual components. I have an application with many components on the screen, I would like to be able to use the mouse scroll wheel to move the application window as well as

Re: [flexcoders] Flex for database apps; compare to .net

2007-11-11 Thread Steve Hueners
On 11/10/07, Michael Pengi <[EMAIL PROTECTED]> wrote: > > > > > I have read a > couple of times that Visual Studio might be considered 'ahead' of Flex > Builder. VS is a far more polished IDE than FB2 - FB3 will close the gap a bit but not all the way. But some interesting things are developin

RE: [flexcoders] Tree displays xml node value, can I avoid that? how?

2007-11-11 Thread Tracy Spratt
You have easy control over the way each node is displayed, via labelFunction or itemRenderer, but by default, the Tree will display a node for each node in the dataProvider. You have two options. The first is to preprocess the xml into the node format that you want to see. The other is to use

RE: [flexcoders] Re: How to call methods on popupwindow after its PopUpManager.centerPopUp is called

2007-11-11 Thread Tracy Spratt
Yes, something else is going on here. I do this regularly in a Login popup where I pre-set the User Id from a value in a SharedObject. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Saturday, November 10, 2007 8

RE: [flexcoders] Tree displays xml node value, can I avoid that? how?

2007-11-11 Thread Tracy Spratt
I just noticed that there is a second example in that doc that manipulates xml nodes. It is probably what you (amd I) want to look at. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Sunday, November 11, 2007

RE: [flexcoders] Tree displays xml node value, can I avoid that? how?

2007-11-11 Thread Tracy Spratt
Crud, no that example doesn't manipulate xml, it manipulates nested arrayCollectios too. Sorry. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Sunday, November 11, 2007 6:26 PM To: flexcoders@yahoogroups.com S

[flexcoders] mx:List name/value pair

2007-11-11 Thread gdruiven
Hi , i'm new with flex an dthis list, not with actionscript and flash. my problem is, i have a mx:List and it's data comes out of a xml which i get from the server. it's a list of provinces, and they have a name and an id. I want to send the id back to the server when someone selects a province.

[flexcoders] Problem with dispatching custom event from pop up window

2007-11-11 Thread j301c
I have a custom event that holds an array element. When I dispatch an event from a pop up window - by dispatching it from the mx.core.Application.application object - with data assigned to the array the event fires correctly, however, the data array element is no longer assigned any data. Als

[flexcoders] Visual modelling program - which direction should I take? Z-order info?

2007-11-11 Thread Josh McDonald
Hi Guys, I'm about to start working on a program to display some XML data as a visual model. It requires various boxes-within-boxes and connecting lines. Before I go and do it all wrong, I have a few concerns and questions for anybody who's done this sort of thing before. Should I be creating cus

[flexcoders] Re: Can't select an item renderer in a list

2007-11-11 Thread icepaco33
No I do not have the same problem if I use the default renderer. I checked the UIDs in the following manner : - Manually changing the UID of each renderer to make sure they are unique - Using debug mode and monitoring the UID : they are different. In both cases tho the behavior of this bug is e

[flexcoders] Re-Scaling Charts when a series is made visible / invisible

2007-11-11 Thread cuddlygunchi
Hello, I give the user an option to make a series visible / invisible in a chart. However, the Y axis is always scaled according to the largest value a series can take, no matter if its visible or not. How can I make the Y axis scale according to only the visible series in my chart? I could

[flexcoders] How set combobox item saved in database

2007-11-11 Thread danielvlopes
Hello, i had dataprovider loaded from database, and this selected label is saved on database in other table. But when user must edit your data how i initialize the combobox on edit form with selected item in you previous selected item? I try this, but i don't know it is the best way:

[flexcoders] Problem with events, how event dispatched when state change?

2007-11-11 Thread danielvlopes
Hello, I had problem, i had one viewstack this viewstack had a stack for add, one for show and other for edit content received from database. In my edit screen i need some content of fields need to be updated after saver first time, i had a method to do this, but i don't know when this metod must

[flexcoders] Size list or DG column to widest content

2007-11-11 Thread Richard Rodseth
Is there a good way to have a datagrid column or list that is as wide as the widest content? eg. wide enough to display the longest name, if it's a name column?

Re: [flexcoders] Problem with events, how event dispatched when state change?

2007-11-11 Thread Anton K
Hi, I didn't get really what you want, but you can try to find the info here http://www.weblycan.com/blog/2006/12/_event_sequence_of_a_flex_stat.html I also had some issues with state change, may be useful for you too. Anton danielvlopes wrote: > > Hello, > > I had problem, i had one viewstack this

RE: [flexcoders] Size list or DG column to widest content

2007-11-11 Thread Alex Harui
Well, you have to measure every item in the DP which can take a while. Then, if horizontalScrollPolicy="on" it should honor the size, but if the policy="off" (default), it gets a bit trickier because in that mode, the DG will resize columns inorder to fit them all on screen. You can try setting re

RE: [flexcoders] Re: Can't select an item renderer in a list

2007-11-11 Thread Alex Harui
The UID's in the data, not the renderer matter. Renderers definitely get recycled so you can't store anything about selection in the renderer and have to use isItemSelected to update it during updateDisplayList. If you want to post a mini-example, we can take a look. __

RE: [flexcoders] Problem with dispatching custom event from pop up window

2007-11-11 Thread Alex Harui
Usually some silly programming mistake. Post some code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j301c Sent: Sunday, November 11, 2007 2:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with dispatching custom e

RE: [flexcoders] mx:List name/value pair

2007-11-11 Thread Alex Harui
I would use selectedItem.id From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gdruiven Sent: Sunday, November 11, 2007 1:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:List name/value pair Hi , i'm new with flex an dthis

RE: [flexcoders] Scrolling in application and component

2007-11-11 Thread Alex Harui
Mousewheel only works on windows, and Flex should do it for you. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of donvoltz Sent: Sunday, November 11, 2007 1:15 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Scrolling in applicati