[flexcoders] Re: two tabnavigators with different tab colors?

2006-06-08 Thread shemeshkale
tnx allnothing of the suggested methods above works in flex 1.5 :the tabStyleName property is not working in flex 1.5the getTabAt() is not recognized in flex 1.5and usig Tab in style (as in the ASDoc example) is setting the same color to all tabs throughout the applicatioso what r u

RE: [flexcoders] One last try: Javascript security

2006-06-08 Thread Matt Chotin
Did you compile with use-network=false? I have a sample app that will be coming out where the HTML can communicate into the SWF. And I know that the ExternalInterface was at least able to register the callbacks out. I didnt try making calls from the SWF out. Also have you tried

[flexcoders] Re: USing the FileReference Class

2006-06-08 Thread rama satoskar
How did u solve the problem then?? --- In flexcoders@yahoogroups.com, Luís Gustavo Sanabio [EMAIL PROTECTED] wrote: I have the same problem. I think that is impossible, because of the security reasons. 2006/6/7, rama satoskar [EMAIL PROTECTED]: Hi friends, I am using the

Re: [flexcoders] Re: Namespace hell

2006-06-08 Thread Tom Chiverton
On Thursday 08 June 2006 04:42, Ben Clinkinbeard wrote: namespace. If you can manage to figure out a way to delete a default namespace I would be mighty grateful. Could you run the XML through a suitable regex, and then convert back to an e4x object ? -- Tom Chiverton

Re: [flexcoders] One last try: Javascript security

2006-06-08 Thread Tom Chiverton
On Thursday 08 June 2006 02:51, Michael Schmalle wrote: Don't take my word for it but, I think these issues Apollo is going to address. Who, or what, is Apollo ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP.

[flexcoders] Memory consume more than 40% for two tomcat applications?

2006-06-08 Thread Dan
Hi , I am running a tomcat with only 2 nearlly identical FLEX applications. (For development)It is running on linux. However, it cause the Out of Memory so often. The tomcat startup use the following parameters -server -Xms512M -Xmx768M. Is that FLEX consumes extremely high memory? Or

Re: [flexcoders] zombie warnings

2006-06-08 Thread Tom Chiverton
On Wednesday 07 June 2006 23:41, Jason wrote: warning x2 (for the same line), along with several others. I've tried closing the project and restarting Flex. Is there some kind, gentle way I can get it to clear them out? Send your code, compiler output and bug report to the beta team :-) --

Re: [flexcoders] Memory consume more than 40% for two tomcat applications?

2006-06-08 Thread Carlos Rovira
Yep,I notice a huge amount of memory using FDS under JOnAS 4.6.6 on my windows test for the samples war, I have to run the server increasing the memory. Hope FDS team try to optimize that.I remember to have the issues with Flex 1.0 and 1.5, and it would be great to have an eye on this

[flexcoders] Why suddenly these ugly transparent popups

2006-06-08 Thread wesubotnix
I have some problem with my popups, which has never occured before. Now they suddenly show up with a transparent titlebar. Very ugly! The titlebar says: mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; width=800 height=600 showCloseButton=true close=PopUpManager.removePopUp(this);

Re: [flexcoders] Why suddenly these ugly transparent popups

2006-06-08 Thread Jeremy Lu
try this: mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml width=800 height=600 showCloseButton=true close=PopUpManager.removePopUp(this); creationComplete=onCreationComplete(); alpha=1.0 styleName=opaquePanel it will set three styles for you and make the panel opaque. you can

[flexcoders] Re: Why suddenly these ugly transparent popups

2006-06-08 Thread wesubotnix
Thanks! That did it! styleName=opaquePanel it will set three styles for you and make the panel opaque. you can check this class definition in framework's default.css file. cheers, Jeremy. Yahoo! Groups Sponsor ~-- Home is just a click

[flexcoders] Is Adobe a reasonable business partner?

2006-06-08 Thread Jim Robson
Ive been developing in Flash and CF for years, so I have some experience dealing with Macromedia, but Ive never had to deal with Adobe until now. So far, my impression is that the Adobe developers are great (although most of the ones Im aware of probably worked for Macromedia).

[flexcoders] Flex2B3 - set the combobox selectedItem within an inline script

2006-06-08 Thread bhaq1972
I've got a Combobox component declared as an itemEditor in a datagrid. during its initialize i set its dataprovider. i then want to set its selecteditem or selectedIndex to be the same as datagrids dataprovider any ideas ? code ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] Re: USing the FileReference Class

2006-06-08 Thread Abdul Qabiz
Hi,Right, due to security sandbox you cant not get the complete path of local file. I know, it's frustrating and restrict us building some cool apps but security is also very important.What you can do, upload the image on server and again download to client cache... That's the only solution..

RE: [flexcoders] Flex2B3 - set the combobox selectedItem within an inline script

2006-06-08 Thread Jim Robson
Set the editorDataField attribute: mx:DataGridColumn dataField=Text editorDataField=Text itemEditor={myCombo}/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Thursday, June 08, 2006 7:07 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] use of FileReference Class

2006-06-08 Thread rama satoskar
Hi all, This is my second post regarding FileReference class. I am new to flex so excuse if this is a simple question for all the coders here. I want to be able to locate the complete path of the image or the file select using the browse() method of the FileReference class object..Someone earlier

[flexcoders] Re: Flex2B3 - set the combobox selectedItem within an inline script

2006-06-08 Thread bhaq1972
thanks but it hasn't done what i want (thanks anyway). However, I have managed to get success by doing the following code in creationComplete of the defined component. mx:Component id=myCombo mx:ComboBox labelField=Text initialize=startUP() creationComplete=doThis() mx:Script ![CDATA[

[flexcoders] Custom Panel (with buttons on title portion of the border)

2006-06-08 Thread Jordan Snyder
Hello all, I'm simply trying to get a couple of buttons on a panel (plus and minus buttons, similar to most Mac software). I'd like to put it on top of the title portion of the border, at the top, but of course since I can't simply change z-order, the button sneaks behind the panel. I'm only

Re: [flexcoders] Why suddenly these ugly transparent popups

2006-06-08 Thread Phil Marston
I don't know, but I'd change alpha to 100 just a thought, Phil wesubotnix wrote: I have some problem with my popups, which has never occured before. Now they suddenly show up with a transparent titlebar. Very ugly! The titlebar says: mx:TitleWindow

[flexcoders] Marquee images in flex

2006-06-08 Thread Ravindra Suthar
Hi all, I would like to marquee images using flex. And images will be load using xml. Please help me for that. Regards Ravindra Suthar __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Viewing HTML

2006-06-08 Thread Phil Marston
Hi Suzy, I can't remember which blog I saw it on (one of the Adobe guys I think), but I saw an example using an IFrame to load the HTML in. Then a custom component in the Flex movie sent messages to Javascript so the IFrame always appeared in the right place and the right size over the Flex

Re: [flexcoders] Using E4X with attributes in XML tags

2006-06-08 Thread Sonja Duijvesteijn
some_label.text=xml_object.ItemID.Title.toString();You want the Title from the ItemID not from the xml object. some_label.text=xml_object.(@xmlns==...).ItemID; I'm not sure why it thinks that @xmlns doesn't exists but it should be == as it's not an assignment. Kind regards,Sonja

[flexcoders] FDS/CF flex-data-service.xml

2006-06-08 Thread Bjorn Schultheiss
Hi List, Within the Mystic doc: Using Flex Data Service with Assembler It specifies a destination to use in the flex-data-service.xml; I used it and flex server doesn't like it on startup. It dies at the server tag. In the docs this is what is defined in the server tag. server assembler

[flexcoders] insert image on richtexteditor

2006-06-08 Thread Jesús Iglesias
Title: Mensaje Hi, I have added a new control to a richtexteditor to let user insert images. I'm inserting the image this way: var myTARange:TextRange = new TextRange(editor, false, 10, 10);myTARange.htmlText="img src="" /"; But the image is not inserted. If I do this:

Re: [flexcoders] Why suddenly these ugly transparent popups

2006-06-08 Thread Sonja Duijvesteijn
I had the same problem, not sure where it came from however. setStyle(borderStyle, solid) seemed to fix it.Hope this helps,Sonja Duijvesteijn 2006/6/8, wesubotnix [EMAIL PROTECTED]: I have some problem with my popups, which has never occured before. Now they

[flexcoders] SWFLoader.content not populated

2006-06-08 Thread Steve Gilchrist
When I create a SWFLoader class in actionscript (see below) the content property is null. If I use mx:SWFLoader tag it is set with the SystemManager object of the loaded swf. Is there something I need to be doing in actionscript to have content populated? Thanks Steve mx:Script ![CDATA[

[flexcoders] € char may not appear on linux servers

2006-06-08 Thread Antoine Malpel
Hi, I run my application locally on a WindowsXP and the £$€ whatever char appear well... But When I upload the application to my Dedian production serveur the € (EURO) char do not appear, havind instead an empty square char... Do I need to specify something in flex / tomcat conf files ? upload

Re: [flexcoders] �servers

2006-06-08 Thread Paul Hastings
Antoine Malpel wrote: But When I upload the application to my Dedian production serveur the � (EURO) char do not appear, havind instead an empty square char... usually means the browser can't render the char w/the font it's using. if it's question marks (???) that means your data is garbaged.

Re: [flexcoders] Custom Panel (with buttons on title portion of the border)

2006-06-08 Thread Michael Schmalle
Hm, I made my own widow but, if I remeber correctly the 'titleBar' is a UIComponent. 1) In creatChildre() override if (!minimizeButton ) { minimizeButton = new Button(); minimizeButton .styleName = this; minimizeButton .addEventListener(MouseEvent.CLICK,

Re: [flexcoders] Why suddenly these ugly transparent popups

2006-06-08 Thread Michael Schmalle
That styleName solution sets titlebar and statusbar alpha and fills. It is a solution if you want contrast from the content of the Panel. Peace, MikeOn 6/8/06, Sonja Duijvesteijn [EMAIL PROTECTED] wrote: I had the same problem, not sure where it came from

Re: [flexcoders] Marquee images in flex

2006-06-08 Thread Tom Chiverton
On Thursday 08 June 2006 10:28, Ravindra Suthar wrote: I would like to marquee images using flex. Do what ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership

[flexcoders] Remove selected items from an ArrayCollection / DataGrid?

2006-06-08 Thread Jim Robson
I am trying to give users the ability to remove selected items from a DataGrid. The idea is that the user selects the items to remove, then clicks the Remove Selected button. The problem is that if the user selects more than one item, then not all of the selected items will be removed.

[flexcoders] Re: Viewing HTML

2006-06-08 Thread Suzy Lawson
Yeah, that was Christophe's blog I believe. The problem with that is the iFrame is loading an HTML page that already exists on a server. What I need is a way to display HTML stored in client-side memory as a String. (wether it be in javascript or FLex). --- In flexcoders@yahoogroups.com, Phil

[flexcoders] Re: Namespace hell

2006-06-08 Thread ben.clinkinbeard
Could you run the XML through a suitable regex, and then convert back to an e4x object ? -- Tom Chiverton I dunno, my regex knowledge is pretty pathetic. Maybe I will look into that if I get some time. Ben Yahoo! Groups Sponsor ~-- Get

[flexcoders] Re: changing states.

2006-06-08 Thread Jeremy Rottman
I got it figured out. I changed my menuHandler function to this. private function menuHandler(event : MenuEvent) : void { parentApplication.mainDisplay.currentState = [EMAIL PROTECTED]; } works like a charm now. Thanks for the help on this TH and rob --- In

[flexcoders] RE: Remove selected items from an ArrayCollection / DataGrid?

2006-06-08 Thread Jim Robson
Correction: the app is actually removing of the selected items with each click of the button. The new version of the code below has additional items in the data model in order to make this easier to test. Any ideas? Am I just missing something obvious? ?xml version=1.0

[flexcoders] Re: Using E4X with attributes in XML tags

2006-06-08 Thread Geoffrey Williams
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* creationComplete=init () mx:Script ![CDATA[ public function init ():void { var xml_object:XML = Item

Re: [flexcoders] RemotingConnection not found in Mike Potter's Flex2AMFPHP tutorial

2006-06-08 Thread Duncan McMillan
Thanks Phil I have further questions if you don't mind: So I get from your restaurant link below that I have to use the RemoteObject within Flex, but it says that these are used to reference Java objects in the Java application server. But what I need is to reference a php service in an XAMPP

RE: [flexcoders] Marquee images in flex

2006-06-08 Thread Andrew Trice
Take a look at Ben Stuckis blog entry: http://blog.benstucki.net/?id=23 -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY From:

[flexcoders] Re: Viewing HTML

2006-06-08 Thread tonyx_788
hi Suzy i think Phil is talking about coenraets blog, this is the link hope it helps http://www.coenraets.com/apps/iframe/index.htm **Saludos** Tony --- In flexcoders@yahoogroups.com, Phil Marston [EMAIL PROTECTED] wrote: Hi Suzy, I can't remember which blog I saw it on (one of the Adobe

[flexcoders] trouble with second axis in linechart (Scaling capabilities)

2006-06-08 Thread sp0rarb3jd3r
i am having trouble getting the second axis in my chart to update. i am parsing xml-data into a chart. the client needs more than one feed displayed, so I supply a combobox. but when i switch from xml with larger numbers to an xml-feed with a smaller, the second axis retains it's scale. where as

[flexcoders] Re: Viewing HTML

2006-06-08 Thread drome.dario
Suzy, Taking Christophe's example, I think that you can inject your in- memory-html into the HTMLDocument inside the iframe. --- In flexcoders@yahoogroups.com, Suzy Lawson [EMAIL PROTECTED] wrote: Yeah, that was Christophe's blog I believe. The problem with that is the iFrame is loading an

RE: [flexcoders] use of FileReference Class

2006-06-08 Thread Andrew Trice
The number 1 reason to not allow access to the client machines file system is security (as mentioned before). This would enable the possibility of someone creating a flex/flash application that monitors the file structure of your local machine, potentially identifying any weaknesses or

[flexcoders] Re: zombie warnings

2006-06-08 Thread Jason
Send your code, compiler output and bug report to the beta team :-) Where? Yahoo! Groups Sponsor ~-- Everything you need is one click away.  Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM

[flexcoders] Re: zombie warnings

2006-06-08 Thread Jason
FYI, I got around the problem by creating a new project and copying all the files into it. Yahoo! Groups Sponsor ~-- Home is just a click away.  Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM

RE: [flexcoders] use of FileReference Class

2006-06-08 Thread Andrew Trice
OR, you could make a call to _javascript_ file object: input type=file / This is much easier than the applet approach. -Andy _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office:

[flexcoders] selectedIndices are Strings???

2006-06-08 Thread Jim Robson
I dont understand why DataGrid.selectedIndices returns an array of Strings. I thought that indices were generally integers. (For example, Array.indexOf returns an int.) Can anyone explain why the selected index of a DataGrid is a String? When dgTest is a DataGrid instance, the

Re: [flexcoders] Re: Namespace hell

2006-06-08 Thread Tom Chiverton
On Thursday 08 June 2006 14:34, ben.clinkinbeard wrote: I dunno, my regex knowledge is pretty pathetic. Maybe I will look into that if I get some time. It'd just be something like replace /xmlns:=[.*]/ (i.e. start at 'xmlns=' and go to next '') with empty string. Maybe just a simple

[flexcoders] Re: Remove selected items from an ArrayCollection / DataGrid?

2006-06-08 Thread bhaq1972
i reckon your the selectedIndicis is changing and therefore cannot be relied upon within your for loop. try this. (as a starting point) private function removeSelected():void { var array1:Array = new Array(); for(var j:int;j dgTest.selectedIndices.length; j++) { var num1:int =

RE: [flexcoders] Re: Remove selected items from an ArrayCollection / DataGrid?

2006-06-08 Thread Jim Robson
Yes, I suspect youre on the right track (except for the fact that DataGrid indices are Strings see my other post on that subject). The other issue Ive encountered is that the array needs to be sorted from greatest to least. Thats what Im working on now. Of course, this is not

[flexcoders] How do I access the value in this datagrid?

2006-06-08 Thread g8torjoe
I have a datagrid pulling information from a SQL database. Each row in the grid has an itemEditor with a numericStepper. I want to write back to the database the values the user enters in that control. I just can't quite figure out how to reference the different rows. Code below, thanks in

RE: [flexcoders] How do I access the value in this datagrid?

2006-06-08 Thread Tracy Spratt
In broad terms, since I have not done this myself, have your steppers change event write the new value to the dataProvider. Then access the value from there using whatever logic necessary. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf

RE: [flexcoders] Re: zombie warnings

2006-06-08 Thread Tracy Spratt
Did you try clean? Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Sent: Thursday, June 08, 2006 10:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: zombie warnings FYI, I got around the problem by

[flexcoders] Re: Help on Illegal assignment to function

2006-06-08 Thread polestar11
Gordon wrote: In AS3, if a class has declared a method at compile time, you can't reset that method at runtime to be a different function. In AS3 one should be able to change methods and properties at runtime of dynamic classes: A dynamic class defines an object that can be altered at run time

SOLVED - [flexcoders] Remove selected items from an ArrayCollection / DataGrid?

2006-06-08 Thread Jim Robson
OK, below is the solution that I came up with. If anyone sees a simpler / better way, please let me know. Adobe engineers: I am guessing that removing items from a data grid is a common operation, in which case it seems like there should be a very simple and straightforward way of doing

Re: [flexcoders] RemotingConnection not found in Mike Potter's Flex2AMFPHP tutorial

2006-06-08 Thread Phil Marston
Hi Duncan, I think you're getting into some specifics to do with your setup I can't answer. I've only briefly touched F1.5 and am really only learning F2.0 just now as well. I'm busy trying to follow the restaurant example while coding for Flex 2.0 and AMFPHP (which is an interesting

Re: [flexcoders] Re: zombie warnings

2006-06-08 Thread Tom Chiverton
On Thursday 08 June 2006 15:12, Jason wrote: Send your code, compiler output and bug report to the beta team :-) Where? The labs site, though peoples from Adobe hang out here too. Though it would appear from your other post that it's not a reproducible problem. -- Tom Chiverton

[flexcoders] Re: How do I access the value in this datagrid?

2006-06-08 Thread g8torjoe
Thanks Tracy, Wouldn't the change event fire every time the arrows on the stepper are clicked? In other words, if I have it default to zero, and they increase it to 7 by using the arrow, that would be 7 times the change event fires, and therefore 7 updates to the dataProvider? I think that may

[flexcoders] beta3 -- Binding XML data to List Controls -- data binding experts?

2006-06-08 Thread sufibaba
Hi all, I have XML data that is being returned from a remoting service. I would like to bind this data directly to various List-based controls (As I understand it, List controls like Arrays/ArrayCollections). What is the best way to massage the incoming XML data so that it can be binded

RE: [flexcoders] beta3 -- Binding XML data to List Controls -- data binding experts?

2006-06-08 Thread Jim Robson
This is what Ive done; its simple and it works mx:Model id=eventListData source=eventList.xml / mx:ArrayCollection id=acEventList source={eventListData.events.event} / mx:DataGridid=dgEventList dataProvider={acEventList} mx:columns mx:DataGridColumn headerText=Header01

[flexcoders] Flex 1/5 : still fail to lock input...

2006-06-08 Thread Antoine Malpel
Again I ask this because I really didn't find the solution var inputBlocker; function setBlockingCursor() { // Create an empty UIObject popup that blocks user input CursorManager.setBusyCursor(); inputBlocker = popupWindow(UIObject); } function removeBlockingCursor() { // Remove

[flexcoders] Datagrid Help

2006-06-08 Thread s_hernandez01
Hey everybody I created a datagrid and the data source is from an xml file. However, I want the data to be displayed vertically instead of horizontally. For example: Item| Product 1 Price | $11.99 Item # | 1256 ... ... I appreciate any help I can get. Thanks Sal

[flexcoders] Re: Flex 1/5 : still fail to lock input...

2006-06-08 Thread Renaun Erickson
Here is some test code I created: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:Script ![CDATA[ import mx.managers.CursorManager; import mx.core.UIObject; var inputBlocker;

[flexcoders] Re: two tabnavigators with different tab colors?

2006-06-08 Thread Doug Lowder
I had the same results as you setting the Tab css style - the style seems to be a global one that overrides the current settings, making all tabs the same color throuhout the app instead of just changing them for the current tab navigator control. I tried several approaches, using css stlye

RE: [flexcoders] trouble with second axis in linechart (Scaling capabilities)

2006-06-08 Thread Ely Greenfield
From your description, it sounds like it should be working. But I'd need a working sample to really see if it's a flex bug or problem in your code. Can you strip it down to a barebones example of the problem? (esp. that doesn't require a server). Thanks, Ely. From:

RE: [flexcoders] Datagrid Help

2006-06-08 Thread Stacey Mulcahy
Can you do that with a db? Wouldnt you be better to look at charts or a horizontal tile list ? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of s_hernandez01 Sent: Thursday, June 08, 2006 12:19 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] selectedIndices are Strings???

2006-06-08 Thread Tom Bray
Try either of these two options: for( var i:int; i arr.length; i++ ) {trace( arr[i] ); } //or for each( var i:int in arr ) {trace( i ); }The for...in loop that you're using is for iterating over the properties of objects, which it expects to evaluate as strings. So, in

RE: [flexcoders] selectedIndices are Strings???

2006-06-08 Thread Jim Robson
Thanks Tom, I believe array indices are ints, not strings. However, I also believe that datagrid indices are strings, because when I used the Array.sort() function on the DataGrid.selectedIndices array, the order was all messed up. For example, 10 came before 2. For that reason, I

[flexcoders] Re: zombie warnings

2006-06-08 Thread Jason
Did you try clean? No, I didn't even know that existed. I've only been using Flex for about a week. I already deleted the project from Builder (but not the files). When I recreated the project, it didn't have the warnings. So I guess that's another way to fix it. If it happens again, I'll

[flexcoders] Initialize funkyness

2006-06-08 Thread Jeremy Rottman
I am using initialize to call a function when I enter a state. The first time I enter the state everything works fine. The function is called and the text input is populated correctly. But when I leave the state, and go back into at another time, it appears that the function is not called and the

RE: [flexcoders] Is Adobe a reasonable business partner?

2006-06-08 Thread Matt Chotin
Hi Jim, Can you provide me with more background on where youve been having problems interacting with the organization? You say sales and customer service. Can you let me know whom youve been in contact with and when and what remains to be resolved? Please mail me offlist.

Re: [flexcoders] selectedIndices are Strings???

2006-06-08 Thread Tom Bray
>From the docs on Array.sort():All elements, whatever the data type, are sorted as if they were strings, so 100 precedes 99, because 1 is a lower string value than 9. But you can easily change the default sort behavior by doing this:arr.sort(Array.NUMERIC);-Tom On 6/8/06, Jim Robson [EMAIL

RE: [flexcoders] selectedIndices are Strings???

2006-06-08 Thread Francis Cheng
Dont forget that the Array.sort() method sorts using string values by default, so even when sorting an array of numbers or ints, they will be sorted as if they were strings. To get numeric sorting, so that 10 comes after 2, use the Array.NUMERIC sort option, e.g.:

RE: [flexcoders] Re: How do I access the value in this datagrid?

2006-06-08 Thread Tracy Spratt
I dont think that is too much overhead. Remember that the renderer has a reference to the item object itself, so updating a property value on a user click should not be a resource issue. If you are still uncomfortable with that, you can probably find some other event to use that only

[flexcoders] Re: beta3 -- Binding XML data to List Controls -- data binding experts?

2006-06-08 Thread sufibaba
Hi Jim, Thanks for the tip. I just tried it and it's giving me an error saying that it could not convert my xmldata. My data is coming back from a remoting service and it is typed as XMLList. In addition, my xml has a root node. Any ideas why I am getting an error. Cheers, Tim --- In

RE: [flexcoders] Datagrid Help

2006-06-08 Thread Tracy Spratt
If you really want horizontal columns, with vertical row functionality, then I dont think the dataGrid will work. (But that sounds like a useful control for someone to make!) If you just want to display the values in a crosstab style view, you can manually rearrange the data.

RE: [flexcoders] selectedIndices are Strings???

2006-06-08 Thread Jim Robson
You know, I looked at that page in the docs this morning, but I guess my eyes just skipped right past that part. It seems decidedly counterintuitive, but I should be used to that by now; Ive been developing Flash apps for 6 years! Thank you for the help. Now I can go back and

Re: SOLVED - [flexcoders] Remove selected items from an ArrayCollection / DataGrid?

2006-06-08 Thread Doug Lowder
Does this work? private function removeSelected(): void { while (dgTest.selectedIndices.length 0){ acTest.removeItemAt(dgTest.selectedIndices[0]); } } --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: OK, below is the solution that I came up with. If

Re: [flexcoders] I noticed something MS Vista Beta 2 out

2006-06-08 Thread Robert Thompson
Grudge, Wisdom, Warning or...or read again...Michael Schmalle [EMAIL PROTECTED] wrote: Man, You must have been burned by that stove bad.. It's not healthy holding a grudge this hard! Peace, Mike.On 6/7/06, Robert Thompson [EMAIL PROTECTED] wrote:

RE: [flexcoders] selectedIndices are Strings???

2006-06-08 Thread Jim Robson
Thanks Francis, Tom Bray also straightened me out on that. I was wrong, and I feel properly chastened. Thank you for the help! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Francis Cheng Sent: Thursday, June 08, 2006 1:26 PM To:

[flexcoders] Re: I noticed something MS Vista Beta 2 out

2006-06-08 Thread christopherjdunn
This was just an FYI, not trying to start anything. I know some have already been trying to use Flex Builder 2 under Vista, just letting them know beta 2 was out. Chris --- In flexcoders@yahoogroups.com, Robert Thompson [EMAIL PROTECTED] wrote: Grudge, Wisdom, Warning or...or read again...

Re: [flexcoders] I noticed something MS Vista Beta 2 out

2006-06-08 Thread Michael Schmalle
Hey, I read it; Wisdom entails optimism... in fact anybody with more money than you can't be trusted. As far as Microsoft steering my future, I doubt it. I guess I am just missing your perspective. Most people that think, know that a company that is run by more than one person has many ideas

RE: [flexcoders] Question

2006-06-08 Thread Kelly @ Dekayd Media Inc.
If you need J2EE capabilities then you can use: http://geronimo.apache.org/ I think JBoss is J2EE too but I am not sure. Last time I checked (beta 2) FDS is just a .war file and as such can be deployed on Apache Tomcat which is very free. I would say stick with whatever

[flexcoders] AxisRenderer Bug

2006-06-08 Thread Brendan Meutzner
Hi, Came across something today, which I'm guessing should be filed as a bug... If you are using an AxisRenderer on a chart, and resize the Chart instance to the point that the labels disappear, you get the following Cannot access a property or method of a null object reference.at

[flexcoders] questions about overriding updateDisplayList() for VDividedBox

2006-06-08 Thread Tom Bray
My goal is to extend the VDividedBox so that I can minimize/maximize its children (like the Navigator and Outline panes in flexbuilder, for example). I checked out what documentation I could find and I have some questions. Are the dividers layed out in layoutChrome()? If so, when I override

RE: [flexcoders] Re: Help on Illegal assignment to function

2006-06-08 Thread Francis Cheng
Its probably because there is a difference between fixed properties and properties added at runtime. Fixed properties are variables, methods, or constants that you define as part of a class definition. These are fixed in the sense that you cannot remove them or replace them at runtime.

Re: [flexcoders] questions about overriding updateDisplayList() for VDividedBox

2006-06-08 Thread Michael Schmalle
Hi; Check C:\Program Files\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\frameworks\source\mx I studied that class long and hard. Good luck, there is a lot going on. I think once you see that class, you will realize you need to do alittle study ;-) Peace, MikeOn 6/8/06, Tom Bray [EMAIL

Re: [flexcoders] Initialize funkyness

2006-06-08 Thread Scott Langeberg
I believe that initialize() is only triggered the first time the movie loads. You'll probably want to call the function again, using a listener on the statechange. Sorry I don't have any code to give... ;) Scott On 6/8/06, Jeremy Rottman [EMAIL PROTECTED] wrote: I am using initialize to

RE: [flexcoders] AxisRenderer Bug

2006-06-08 Thread Ely Greenfield
Hi Brendan. I think I actually just fixed this bug in the mainline a few days ago. If you have a simple reproducable file you could send me, I can verify it. Thanks, Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan MeutznerSent: Thursday, June 08,

[flexcoders] how to tell DateField to update from internal date

2006-06-08 Thread Jason
I have a DateField object that I manipulate in code: startBox.selectedDate.date++; This works fine, but the date displayed in the field doesn't update. Is there some method to call to tell the DateField to update itself based on it's date? Only thing I've found is to create a new date object,

[flexcoders] MenuBar

2006-06-08 Thread dhvani_d
I am trying to build a menu. I would like to use MenuBar class. But instead of showing the label property for each item in the menubar, I want to show an icon/button/image. Is this possible? Has anyone done this? - dhvani Yahoo! Groups Sponsor

[flexcoders] Re: Help on Illegal assignment to function

2006-06-08 Thread drome.dario
I Agree with Gordon in the interpretation of that stated in the documentation: If the method is declared at compile time, you can not change it even if the class is dynamic or not However, if you define your method at runt time, then, you can change it when you need it. So, given that the

[flexcoders] Flex Dynamic Menu Architecture

2006-06-08 Thread Wally Randall
I have a large menu with about 100 different nodes and sub-nodes. I am trying to design a means of enabling the menu nodes at run-time rather than hardcoded in the mxml menu application. I envisage having the menu call a ColdFusion CFC to dynamically build the menu menubarXML list with the

[flexcoders] Problem importing Flex 2.0 project from B2 to B3, Definition mx.rpc.remoting:Rem

2006-06-08 Thread c64_addict
My project worked fine in B2 so i installed B3 release, import in B3 and i'we got: Definition mx.rpc.remoting:RemoteObject could not be found error. 1. Was my import proper or i have to do something else ( copy some .as or .swc files? or.). 2. I also create new project in B3 and just

[flexcoders] Re: Viewing HTML

2006-06-08 Thread Brian Riggs
One thing you could try is to assign the String to an (e4x) XML object, set XML.ignoreWhitespace to true, and then output the result using XML.toXMLString(). This should cause whitespace between tags to be stripped out. -- Brian --- In flexcoders@yahoogroups.com, Suzy Lawson [EMAIL

Re: [flexcoders] CSS Value for '{cssValue}' not supported

2006-06-08 Thread Irv Kanode
Title: Re: [flexcoders] CSS Value for '{cssValue}' not supported I get the CSS Value for '{cssValue}' not supported error in beta 3 when I try to use an Application style and within it set the backgroundSize to 100%. Setting backgroundSize to auto, works. I'd guess the error means you are

Re: [flexcoders] AxisRenderer Bug

2006-06-08 Thread Brendan Meutzner
Ely,Interestingly, I went and modified one of the examples from the ChartExplorer to send to reproduce and send to you. It's labelRotation was set to 90, and the error wouldn't reproduce. So I changed it to 75 (which is what I had my production chart set to) and sure enough, error. I didn't try

[flexcoders] Re: Initialize funkyness

2006-06-08 Thread Jeremy Rottman
That is exactly what I changed it to scott. Thanks for the thought. --- In flexcoders@yahoogroups.com, Scott Langeberg [EMAIL PROTECTED] wrote: I believe that initialize() is only triggered the first time the movie loads. You'll probably want to call the function again, using a listener on

RE: [flexcoders] AxisRenderer Bug

2006-06-08 Thread Ely Greenfield
Thanks Brendan. This actually looks like a different bug. It's been logged. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan MeutznerSent: Thursday, June 08, 2006 12:53 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] AxisRenderer Bug

[flexcoders] I've got me data bindings in a terrible twist. FB2b3

2006-06-08 Thread willmorganuk
Hi All - I'm getting really confused here. The help docs offer examples of binding webservice results to either UI components or objects, such as an ArrayCollection. This is all good and fine, but shouldn't I be binding these results to a model? And then bind UI comps to the model too? Here's

  1   2   >