[flexcoders] Re: Best way to create mutiple (+100) objects

2005-11-11 Thread moyosaned
If you you use a Repeater, it will rebuild the components every time your dataprovider is changed. I thought it would be more efficient to create the objects first and when you don't need them you just hide them. --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: Why not

[flexcoders] How to add checkboxes to datagrid

2005-11-11 Thread sandip_patil01
Hi All, I want to add checkboxes to datagrid. I am trying example from Flex Explorer sample under Component Library DataGrid Custom Cell Renderers I copied these two files in folder c:\sample 1) CheckCellRenderer.as 2) CheckCellRendererDemo.mxml tried to run but it is showing me error

[flexcoders] changing color of button when it is pressed

2005-11-11 Thread sandip_patil01
Hi all, Can anybody know how to change color of button when we press a button. i.e. when we press button say it should change its color form red to white. Sandip P Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click

[flexcoders] setting width of datagrid column using a variable.

2005-11-11 Thread leorajpoot
hi all I want to set the width of a column of a datagrid,value of the width is stored in a variable. In DataGridColumn tag if i set width=variableName, then a error occurs which says can't parse variableName. If i set width without quotes eg. width=variableName then a error occurs which says

RE: [flexcoders] How to add checkboxes to datagrid

2005-11-11 Thread Sandip Patil
Hi Matt, Thanks for your response. I tried Flex Explorer sample under Component Library DataGrid Custom Cell Renderers this example. I copied these two files in folder c:\sample 1) CheckCellRenderer.as2) CheckCellRendererDemo.mxml tried to run but it is showing me error "There is no

Re: [flexcoders] setting width of datagrid column using a variable.

2005-11-11 Thread Sreejith Unnikrishnan
Just set dataGridName.getColumnAt(2).width = vairableName; on creation complete of the dataGrid where 2 should be replaced by the index of the column that you wish to set width. - Sree leorajpoot wrote: hi all I want to set the width of a column of a datagrid,value of the width is

Re: [flexcoders] setting width of datagrid column using a variable.

2005-11-11 Thread Manish Jethani
On 11/11/05, leorajpoot [EMAIL PROTECTED] wrote: I want to set the width of a column of a datagrid,value of the width is stored in a variable. In DataGridColumn tag if i set width=variableName, then a error occurs which says can't parse variableName. If i set width without quotes eg.

Re: [flexcoders] How to add checkboxes to datagrid

2005-11-11 Thread Manish Jethani
On 11/11/05, Sandip Patil [EMAIL PROTECTED] wrote: I copied these two files in folder c:\sample 1) CheckCellRenderer.as 2) CheckCellRendererDemo.mxml tried to run but it is showing me error There is no property with the name CheckCellRenderer Both files should be in the same

Re: [flexcoders] changing color of button when it is pressed

2005-11-11 Thread Manish Jethani
On 11/11/05, sandip_patil01 [EMAIL PROTECTED] wrote: Can anybody know how to change color of button when we press a button. i.e. when we press button say it should change its color form red to white. Have you looked at the mouseDown event? Yahoo! Groups Sponsor

[flexcoders] removing listener for KeyUp event from mx:TextInput field

2005-11-11 Thread Andriy Panas
Dear flexcoders, I have a problem with removing the custom listener for KeyUp event for my mx:TextInput field. The new listener for 'KeyUp' event that I add during 'focusIn' event never gets deleted. Every time I move focus to the mx:TextInput field one new listener is added for 'KeyUp'

[flexcoders] disable fwdMonth and prevMonth buttons in DateChooser

2005-11-11 Thread keishichi2001
Flex2.0 can i do this? with setting any props... I can't find suitable prop... Thanks, Keishichi Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back!

RE: [flexcoders] changing color of button when it is pressed

2005-11-11 Thread Mark Wales
You'll want to set the style of the button in Actionscript: In MXML: mx:Button id=myButton label=Change Color click=changeColor() / In script: public function changeColor():Void { var colorArray:Array = [ red, red ]; myButton.setStyle(fillColors,

Re: [flexcoders] disable fwdMonth and prevMonth buttons in DateChooser

2005-11-11 Thread Manish Jethani
On 11/11/05, keishichi2001 [EMAIL PROTECTED] wrote: Flex2.0 can i do this? with setting any props... I can't find suitable prop... You can grab the internal forward button and set it to disabled. dateChooser.fwdMonthButton.enabled = false; I'm told that this variable is public by mistake

RE: [flexcoders] Cool Flex Site with Free 30 day trial

2005-11-11 Thread Merrill, Jason
I agree with your comment about navigation it was too linear, you never knew where you were in the application so a menu breaking things out would be nice instead of feeling like you have to watch the whole thing in one long linear fashion. Kudos though for using Flex, nice use of the

Re: [flexcoders] Re: WebServices via ActionScript

2005-11-11 Thread Jeff Tapper
Try this, note, I'm calling a different method, getSongs which takes a band name as an argument mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; initialize=getFunky() mx:Script ![CDATA[ import mx.services.WebService; import mx.services.PendingCall; var

RE: [flexcoders] changing color of button when it is pressed

2005-11-11 Thread Matt Horn
I'd recommend doing programmatic skinning, and changing the button's color based on the state inside the skin. This is described for Flex 1.x in the DevApps book. For 2.0, the updated skinning docs did not make it into the Alpha release, but I'd be happy to post some samples. Matthew J. Horn Flex

[flexcoders] Internal Build problem (FLEX 2)

2005-11-11 Thread yaagcur
I am getting a problem An internal build error has occured Checking the error log it states Warning: valueOf is not a function What should I be looking for I have no valueOf string in the code Yahoo! Groups Sponsor ~-- Fair play? Video games

Re: [flexcoders] Any Flex ARP tutorial online?

2005-11-11 Thread Manuel Saint-Victor
Thanks-I'll check it out.ManiOn 11/11/05, JesterXL [EMAIL PROTECTED] wrote: Old, before I had my CommandRegistry; source at the bottom: http://dev.jessewarden.com/swg/resources/ Unfinished, but more mature example: http://www.jessewarden.com/archives/2005/09/miscellaneous_d_1.html

[flexcoders] Flex 1.x web-service and out-parameters

2005-11-11 Thread knly browne
If i call a web-service that has out parameters..how do i access those out parameters when the web-service call returnes. Thanks-- Kenlie BrowneSoftware Developer -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: disable fwdMonth and prevMonth buttons in DateChooser

2005-11-11 Thread keishichi2001
Thanks Manish, Yeah, personally i think people may want to switch ON/OFF these buttons. DateChooser is the one of powerful component, so we may use the component at any situation, like simple calendar for just viewing. please remain the var as public :) Thanks, Keishichi --- In

[flexcoders] Re: Recognizing when a CheckBox inside a DataGrid is clicked

2005-11-11 Thread fowleryj
Thanks, Malcolm and Jester! listOwner.editField(getCellIndex().itemIndex, My_Date_Column_Name_To_Update, Date()) worked like a charm. =) --- In flexcoders@yahoogroups.com, Malcolm [EMAIL PROTECTED] wrote: You could simply use listOwner.editField inside the cell renderer. For example something

[flexcoders] Re: Reverse yaxis (FLEX 2)

2005-11-11 Thread yaagcur
Thanks Ely for the hack The pre-multiplying is straightforward and combined with adding mx:LinearAxis minimum=-22 maximum=-1/ gives me the chart I am looking for but the axis looks a bit tacky with all the negative numbers However, I am having trouble appling a labelFunction Attempting to adapt

[flexcoders] Amazon Web Service through FlexBuilder 1.5.

2005-11-11 Thread Sreejith Unnikrishnan
I am trying to access one of the Amazon Web Services through FlexBuilder 1.5. The following WSDL gives me a "WSDL fetch failed" error! http://awis.amazonaws.com/AWSAlexa/AWSAlexa.wsdl while, the beta version of the same service succeeds http://aws-beta.amazon.com/AWSAlexa/AWSAlexa.wsdl

[flexcoders] Chart types (Flex 2)

2005-11-11 Thread yaagcur
I am looking to present graphically data on a list of baseball players longevity at a club e.g all New York Yankees players who were at the club at a particular date say 1960 would show those who had careers from 1955-1961 and 1960-1970 etc. I want to have the y axis listing the player names and

RE: [flexcoders] removing listener for KeyUp event from mx:TextInput field

2005-11-11 Thread Kevin Langdon
The event broadcaster keeps a map of event types and the event listener. By creating a new Delegate object everytime you are creating a new Listener. So the broadcaster can no find the previous one to remove. If you want to keep the Delegate ref stuff going. Try this: class

[flexcoders] Microsoft's Web. 2.0 Draws Skepticism

2005-11-11 Thread Tariq Ahmed
Considering the recent discussion, and Scott's latest blog post I thought you guys would find this interesting... http://news.yahoo.com/s/pcworld/2005/tc_pcworld/123503 "Though the powers that be at Microsoft seem to have finally grasped the impact of the Internet on the f

[flexcoders] Flex Builder 2.0 - HTTPService - Security Error

2005-11-11 Thread Michel Bertrand
Title: Flex Builder 2.0 - HTTPService - Security Error Hello ! I have had a problem with HTTPService tag. The tag bellow bring me the following error: Security error accessing url. mx:HTTPService id=testDataSrv url="">http://localhost:8080/Teste/servlet/DataServiceTest

RE: [flexcoders] Flex Builder 2.0 - HTTPService - Security Error

2005-11-11 Thread Carson Hager
Title: Flex Builder 2.0 - HTTPService - Security Error Did you load the swf from a host other than "localhost"? Even using the machine name or the non loopback IP would cause this problem. Carson Carson HagerCynergy Systems,

RE: [flexcoders] Re: Reverse yaxis (FLEX 2)

2005-11-11 Thread Ely Greenfield
Things have moved around a bit. 1) set the labelFunction on the LinearAxis, not the AxisRenderer 2) your LabelFunction should look like: Public function defineLabel(value:Number,previousValue:Number,axis:LinearAxis) { } I don't think reverse axis is on any future plans list, but future

RES: [flexcoders] Flex Builder 2.0 - HTTPService - Security Error

2005-11-11 Thread Michel Bertrand
Title: Mensagem No, I'm loading the SWF from localhost. -Mensagem original-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Carson HagerEnviada em: sexta-feira, 11 de novembro de 2005 15:19Para: flexcoders@yahoogroups.comAssunto: RE: [flexcoders]

RE: [flexcoders] Chart types (Flex 2)

2005-11-11 Thread Ely Greenfield
You want a BarChart. This won't compile (at least without warnings), but it will get you pointed in the right direction: var data:Array = [ { name: Bob, start: 1955, end: 1970}, { name: Sally, start: 1930, end: 1968} ] BarChart dataProvider={data} verticalAxis

Re: [flexcoders] Re: disable fwdMonth and prevMonth buttons in DateChooser

2005-11-11 Thread Aldo Bucchi
have you checked out mx.controls.CalendarLayout ?? from the docs: The CalendarLayout class handles the layout of the date grid in a month. CalendarLayout can be extended to develop DateControls with either single month display control or side-by-side month displays. I haven't used it myself

[flexcoders] Cairngorm + Tartan + DB

2005-11-11 Thread Bruno Martins
Someone has good example using Cairngorm + Tartan + DB? Thanks in advance...-- Bruno Gustavo MartinsCel: (11)9585-9587Tel: (11)3965-1909 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Flex Builder 2.0 - HTTPService - Security Error

2005-11-11 Thread Dave Wolf
Just use a relative URL url=/Teste/servlet/DataServiceTest -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Michel Bertrand [EMAIL PROTECTED] wrote: Hello !

[flexcoders] Flex 2 - setting the color of a DataGrid row

2005-11-11 Thread solgraphics
I am trying to set the color of a DataGrid row using dg.setPropertiesAt(1, {0x00} ); and I am having no luck. Did this change with Flex 2? Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.

[flexcoders] arabic

2005-11-11 Thread elomer79
how can i make it write arabic language Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM

Re: [flexcoders] Flex 2 - setting the color of a DataGrid row

2005-11-11 Thread Aldo Bucchi
I don't know about the API call being valid or not, but the statement itself is incorrect: {0x00} is not a valid Object Literal, it should be in the following format: {myProp:0x00} best, aldo On 11/11/05, solgraphics [EMAIL PROTECTED] wrote: I am trying to set the color of a

[flexcoders] Re: Flex 2 - setting the color of a DataGrid row

2005-11-11 Thread solgraphics
My bad. Finger aren't working today. What I meant to type was: dg.setPropertiesAt(1, {backgroundColor:0x00} ); This is the snippet that does not work. Thanks --- In flexcoders@yahoogroups.com, Aldo Bucchi [EMAIL PROTECTED] wrote: I don't know about the API call being valid or not, but the

[flexcoders] regarding Canvas container in flex-2

2005-11-11 Thread Jignesh Dodiya
hi...i m having one silly question but important when i write my code within mx:Canvas . /mx:Canvas i get the error COMPONENT DECLARATION ARE NOT ALLOWED HERE if i remove Canvas container it works fine.. and by default in Flex-2 alfa-1 we get mx:Application mx:Canvascode .

RE: [flexcoders] Re: setFocus is evil

2005-11-11 Thread Dan Diodati
What onLoad tag are you talking about? There is no onLoad event in flex? And what are you referring to with 'theFlashControl'? Can you give more detail please, since I am pretty new to flex, and I do not really know flash yet. Thanks, Dan From: flexcoders@yahoogroups.com

Re: [flexcoders] regarding Canvas container in flex-2

2005-11-11 Thread Jignesh Dodiya
thanx phil... itz simple code.. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=* mx:Script ![CDATA[ private function text1() { text2.text = hellow this is Jignesh; } ]] /mx:Script mx:Button id=m_btn label=button

Re[2]: [flexcoders] removing listener for KeyUp event from mx:TextInput field

2005-11-11 Thread Andriy Panas
Hello Kevin, Thank you Kevin, you were correct here! I rely on Delegate class here, so I will take your advice and I will do it your way. Friday, November 11, 2005, 5:37:16 PM, you wrote: KL The event broadcaster keeps a map of event types and the event listener. By KL creating a new

Re: [flexcoders] Re: setFocus is evil

2005-11-11 Thread JesterXL
The _javascript_ onLoad function in the body tag of the HTML that hosts the Flex SWF. Since the Flex SWF is an instance of the Flash Player ActiveX control, and the browser has focus, not the ActiveX control, you need to have _javascript_ set focus to it. - Original Message -

[flexcoders] Flex 2.0 Enterprise Services 2

2005-11-11 Thread Boddula, Sridhar
When Flex 2.0 Enterprise Services 2 Alpha will be available? Thanks, Sridhar Boddula, EIS - New Tech. Development 617-664-8566(Work) Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back!

RE: [flexcoders] Flex 1.x web-service and out-parameters

2005-11-11 Thread Mink, Joseph
You will probably need to copy your "out parameters" to variables defined in the script section of your MXML document. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of knly browneSent: Friday, November 11, 2005 10:01 AMTo: flexcoders@yahoogroups.comSubject:

RE: [flexcoders] Internal Build problem (FLEX 2)

2005-11-11 Thread Matt Chotin
Do you have a small file giving you that build problem? Sounds like a bug From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of yaagcur Sent: Friday, November 11, 2005 6:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Internal Build

RE: [flexcoders] regarding Canvas container in flex-2

2005-11-11 Thread Matt Chotin
The problem is probably the mx:Fade that you have, we dont allow faceless components to be declared at any level other than under the root tag. I would just move your script blocks and the Fade outside the Canvas. You raise an interesting usability issue with how the default

[flexcoders] It's Time to Flex My Zorn: Flex 2.0 Flex Builder 2

2005-11-11 Thread Tariq Ahmed
It's Time to Flex My Zorn: Flex 2.0 Flex Builder 2 Flex 2.0 will change the web development sphere forever http://au.sys-con.com/read/142730.htm Very nice article Mr Barnes! Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a

RE: [flexcoders] Irregular Tables and TreeTables

2005-11-11 Thread Mrsny, Lynn
I would also like to know if this is possible and if so, is it using rowRenderers or custom controls? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard RodsethSent: Thursday, November 10, 2005 10:58 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders]

[flexcoders] Re: Irregular Tables and TreeTables

2005-11-11 Thread huhgawz
Ok guys...here is my first approach. I wish to share it with all of you but please contribute to enhance it.Maybe it could be more dynamic. Actually it has some minor visual bugs but it could be a good