RE: [flexcoders] Flex Builder

2005-02-03 Thread David Mendels
Hi, It is not sold standalone. Basic premise being that it really doesn't do much of value in the absence of the Flex server. What is your situation? If you are developing against the Flex server, you should have a copy/copies already? Lets see if we can help, David Macromedia From:

RE: [flexcoders] simple datagrid cell colour renderer

2005-02-03 Thread Matt Chotin
You could just use a VBox with a label inside of it. In the setValue method youd simply set the backgroundColor style on the VBox (in addition to the text of the label). Matt From: Andrew Spaulding [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 4:58 PM To:

RE: [flexcoders] Re: Subclass method signatures *must* match supe rcla ss methods?

2005-02-03 Thread Matt Chotin
I guess my point is if youre referring to everything by its subtype anyway (in your example as Compositeand not MovieClip) then it doesnt matter if your method is attachMovie or lb_attachMovie, its still going to be specific to the subclass and your code can call it just as easily with the

Re: simple datagrid cell colour renderer

2005-02-03 Thread Andrew Spaulding
Thanks Matt, I had already taken that option, now I have to get the VBox to resize to the available space in the cell. I would assume this would mean overwriting the getPrefferedHeight and getPreferredWidth methods. Thanks, Andrew. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL

Re: simple datagrid cell colour renderer

2005-02-03 Thread Andrew Spaulding
yeh that didnt work. what ive done is : function getPreferredWidth() : Number { return parent.layoutWidth; } function getPreferredHeight() : Number { return parent.layoutHeight; } Andrew --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Did you try setting

Re: simple datagrid cell colour renderer

2005-02-03 Thread Andrew Spaulding
Also, now that I overwrite these methods when i scroll up and down the grid the rows gradually increase in height ... there must be a better way to size the VBox? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Did you try setting width/height to 100%? _

Re: simple datagrid cell colour renderer

2005-02-03 Thread Andrew Spaulding
Yeh thats basically what I have but I also have variableRowHeight on my datagrid, with 2 or 3 of the cells in a row with wrapped text. maybe its the variable row height that is causing the problem? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Hmm, you must have

Re: simple datagrid cell colour renderer

2005-02-03 Thread Andrew Spaulding
Here's some sample code to demonstrate what I'm talking about. You can see that the problem in the last row of the grid. App.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:DataGrid variableRowHeight=true dataProvider={[{foo:

Re: [flexcoders] Flex Builder

2005-02-03 Thread Jeff Anderson
From pages I have read on the MM site, Flex Builder 1.5 is bundled with Flex 1.5. They mention no other method of acquiring it. Sorry. -Jeff On Wed, 2 Feb 2005 08:41:29 -0800, Mika Kiljunen [EMAIL PROTECTED] wrote: Try Macromedia J -Mika

Change DataGridColumn header height

2005-02-03 Thread matthewtsmith
Does anyone know how to change the height of a DataGrid header? I would like to display an icon and two lines of text in each header. I've done the work of making a new headerRenderer so that I can do this, but I can't seem to change the height of the header row. Any ideas? Thanks, -Matt

Re: Change DataGridColumn header height

2005-02-03 Thread matthewtsmith
Never mind, I got it, it's on the DataGrid instead of the DataGridColumn. --- In flexcoders@yahoogroups.com, matthewtsmith [EMAIL PROTECTED] wrote: Does anyone know how to change the height of a DataGrid header? I would like to display an icon and two lines of text in each header. I've done

RE: [flexcoders] Re: simple datagrid cell colour renderer

2005-02-03 Thread Matt Chotin
OK, try adding this to the cell renderer: var owner; function getPreferredHeight() : Number { return owner.layoutHeight; } Matt From: Andrew Spaulding [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 9:06 PM To: [EMAIL PROTECTED] Subject: [flexcoders]

Re: [flexcoders] htmlText and styles

2005-02-03 Thread Jim Miao
yes, It seems can not use css, and also can't use image either. - Original Message - From: James Ward [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 03, 2005 4:11 AM Subject: [flexcoders] htmlText and styles Has anyone successfully applied a style to a

RE: [flexcoders] Flex Builder

2005-02-03 Thread Dane, Sid
Hi, It does only ship with Flex server: "Flex Builder is only available with the Flex presentation server. You can receive Flex Builder in the following ways." But if you are developing for a client, he should have some licences you can use: "Flex Builder 1.5 comes bundled with Flex 1.5.

Working with special dataProviders

2005-02-03 Thread mwelie
Hi, I am new to Flex and I am trying to work with my extended dataProvider class and dataGrids. The following does not work but illustrates what I intend to do: mx:Model id=recordsXmlData source=records.xml / FilteredDataProvider id=fProvider source={recordsXmlData.record} / mx:DataGrid

Re: [flexcoders] dataProvider row filtering / suppressing

2005-02-03 Thread Manish Jethani
goran187 wrote: I am trying to go through the rows of a dataProvider and make sure there are no duplicate records. Do you know of an easy way to do this (maybe a built in function?) Use a hash table. AS2 objects are like hash tables. var uniqueItems = {}; for (var i:Number = 0; i

Cairngorm info

2005-02-03 Thread [EMAIL PROTECTED]
Hi, we are learning the Cairngorm code. We don't succeed in understanding, from the point of view of the code, the class ServiceLocator.as. If you look at the file Services.mxml I don't understand as ServiceLocator.as the class you/he/she able does to memorize all the RemoteObjects, don't I

RE: [flexcoders] Cairngorm info

2005-02-03 Thread Steven Webster
Hi Devis, If you look at the file Services.mxml I don't understand as ServiceLocator.as the class you/he/she able does to memorize all the RemoteObjects, don't I see containers? Can someone explain me this file mxml??? cairngorm:ServiceLocator xmlns:mx =

in which platform i will get the best prformens on Flex Server

2005-02-03 Thread shvilamit
i wont to buy a server and i wont to know if the flex will have a better preformens on linux server or dose it will be faster on windows server

Re: [flexcoders] Cairngorm info

2005-02-03 Thread [EMAIL PROTECTED]
Thank's Steven, good work, but according to you, considering that you know an architecture J2EE and his complexity, i don't know the sense to remap buisiness delgate in Flex, rather i have just build my business delegate in j2ee and i don't know if exist a logical/technical justify can you

Attempting to add a button to Panel titlebar

2005-02-03 Thread Seth Voltz
Fellow Flexcoders, So I have been trying to place a button in the titlebar of one of my panels and started digging around. I remembered Jesse had put up an example of a mix-in class ( http://www.jessewarden.com/archives/2005/01/collapseable_pa.html ) for doing just that. I dug through the code

unable to get value from popup to parent window

2005-02-03 Thread Srikanth Duvvuri
Hi We have a basic JSP app_jsp.jsp which includes a mxml app.mxml. this mxml has got a textinput and button. Clicking the button invokes a javascript function. The javascript function opens a window to enable the user to select (mouse down event) one of the two labels. This window is a mxml

Re: [flexcoders] Re: dynamic xml in flex

2005-02-03 Thread Manish Jethani
pioplacz wrote: would be nice is something like webservice used in the flex store.. cuase my application works the same way.. but how can i make it happen i have mysql database and i run iis so i have both php and asp... Write some PHP to output your data in XML format, and then Flex can

Re: [flexcoders] Cairngorm info

2005-02-03 Thread Robin Hilliard
Hi Devis, Here's an example of why delegates are useful on the client. Our current Flex project is based on an existing XML backend. We have one service with a single send() method to send XML strings up to the server and get XML string responses. Because this will probably change in the medium

RE: [flexcoders] Working with special dataProviders

2005-02-03 Thread Dimitrios Gianninas
Just of the top of my head here, you need to change: mx:DataGrid id="dataGrid" dataProvider="{fProvider}" / your curly braces are missing for binding Jimmy Gianninas - Developer Optimal Payments Inc. From: mwelie [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 3:53

Re: [flexcoders] Cairngorm info

2005-02-03 Thread [EMAIL PROTECTED]
Sorry Robin i have found your link. cheers Devis Robin Hilliard ha scritto: Hi Devis, Here's an example of why delegates are useful on the client. Our current Flex project is based on an existing XML backend. We have one service with a single send() method to send XML strings up to the server

Re: [flexcoders] Cairngorm info

2005-02-03 Thread [EMAIL PROTECTED]
Hi, thank's for you help for your question Did you see the sample Cairngorm application I posted earlier this week? No can you give me the post please? Devis Robin Hilliard ha scritto: Hi Devis, Here's an example of why delegates are useful on the client. Our current Flex project is based on an

RE: [flexcoders] unable to get value from popup to parent window

2005-02-03 Thread Dirk Eismann
Hi Srikanth, just to make sure I understand you correctly: 1) your app.mxml opens a new browser window by calling a js function 2) inside this newly created browser window, another mxml file is loaded 3) clicking on a Label inside the newly created window should update a TextInput

RE: [flexcoders] unable to get value from popup to parent window

2005-02-03 Thread Abdul Qabiz
if that's correct, I suggest you take a look at the LocalConnection class. By using the LocalConnection class, you can exchange data directly between two mxml apps. Right! I was also going to suggest the same. You can use LocalConnection object to communicate between two flex/flash apps

RE: [flexcoders] unable to get value from popup to parent window

2005-02-03 Thread Abdul Qabiz
Hey Srikanth, Here you go, I have modified your files for the same. Find the attached files. Look into mxml files, those are modified only. Hope that helps -abdul _ From: Abdul Qabiz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 7:30 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Image and Label in Custom Cellrenderer

2005-02-03 Thread Abdul Qabiz
yeah, you can have multiple components in a CellRenderer. You will have to take care of layouting etc. Look into Flex CellRenderer documentation for examples or look at http://www.richinternetapps.com -Abdul From: Sjors Pals [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005

DateChooser : How to highlight multiple days

2005-02-03 Thread Willem Engelbrecht
Hi I would like to know how i can use the datechooser to highlight multiple days to show that there is an entry on that day like people use in blogs. Thanks __ http://www.webmail.co.za the South African FREE email service

RE: [flexcoders] DateChooser : How to highlight multiple days

2005-02-03 Thread Jos vd Laar
http://www.rich-internet.de/blog/index.cfm?mode=dayday=2month=6year=2004 is a custom component that does something like that -Original Message- From: Willem Engelbrecht [mailto:[EMAIL PROTECTED] Sent: woensdag 2 februari 2005 11:34 To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Flex Uploading to server?

2005-02-03 Thread Tolulope Olonade [ MTN -YelloDrome ]
Ok, I'll keep an eye out for it. Dimitri never seems to amaze me. I think you should be an RD Engr for Microsoft :) But you are a Java guy... Thanks a lot. Enjoy Tolulope W. OlonadeSys Dev-TSS EngineerMTN YelloDrome, VI Lagos, Nigeria "Its practically impossible to teach good

RE: [flexcoders] Samples Error: FormatSourceService

2005-02-03 Thread Peter Farland
This means Flex's proxy couldn't find a service called FormatSourceService in the flex-config.xml configuration. Can you check: a) that the /WEB-INF/flex/flex-config.xml file exists b) that this file contains the necessary sample configurations (i.e. includes an entry for FormatSourceService) -

RE: [flexcoders] Flex Uploading to server?

2005-02-03 Thread Dimitrios Gianninas
LOL! Java is just fine much more fun and much more technologies to play with... its like being a kid :) And if I wasn't a Java guy right now, I would be painfully waiting to use Flex. Jimmy Gianninas - Developer Optimal Payments Inc. From: Tolulope Olonade [ MTN -YelloDrome ]

Re: [flexcoders] Attempting to add a button to Panel titlebar

2005-02-03 Thread JesterXL
If you don't want to use a mix-in, a classthat basically adds stuff at runtime to an existing class (which from an OOP standpoint Flex' future career, you shouldn't do, but from a Functional standpoint + Decorator is perfectly legal), then use Manish's example; he uses inheritance, much

Re: Samples Error: FormatSourceService

2005-02-03 Thread chrs_hearn
hey thanks, seems to be it, the samples config file was in the samples install dir... saying that...(my samples are on an e:\sites\ drive where all my website folders are while the cf/flex files are in the c:\cfusionmx\wwwroot\web-inf\flex dir)...when i deploy flex apps is the main config

RE: [flexcoders] Flex Uploading to server?

2005-02-03 Thread Tolulope Olonade [ MTN -YelloDrome ]
Dont mess with C# though. According to opinions all over the globe its widely accepted as the most elegant language. Developed by Anders Hejlsberg Author Turbo Pascal, Chief Architect Delphi and Lead Designer/Distinguished Engr Microsoft Corporation. Bruce Eckel and Larry O'Brien also

RE: [flexcoders] Re: Samples Error: FormatSourceService

2005-02-03 Thread Peter Farland
Typically each Flex web application has its own configuration file... though I do see a case where many mirrored web applications could have the same configuration. For some reason I thought there was a context param to specify the location of the Flex configuration file (which would make it

RE: [flexcoders] Flex Uploading to server?

2005-02-03 Thread Dimitrios Gianninas
Not really the placethe discuss such things... I really have no opinion on the C#, Cw stuff, I don't know enough about them. You Java and Flex will do fine however. Jimmy Gianninas - Developer Optimal Payments Inc. From: Tolulope Olonade [ MTN -YelloDrome ] [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Re: Samples Error: FormatSourceService

2005-02-03 Thread Peter Farland
A colleague of mine just pointed out that you may be confusing a J2EE web application with the concept of a coldfusion application. If you only have one ColdFusion standalone installation, then you only have one J2EE web application. This means you only have one place to specify a Flex

Re: Samples Error: FormatSourceService

2005-02-03 Thread chrs_hearn
ah...this is were i get confused since i'm coming from the CF side of things. I have a standard CFMX installation...what must i do or where do I install flex apps? I saw the wwwroot/web-inf dir and thought this is where I must put the files. Am i wrong for installing it this way or is there a

Re: dynamic xml in flex

2005-02-03 Thread pioplacz
I've tryed to this is my php... http://serenadserver.mine.nu:8080/katalog.php it won't work... don't know really why... my app works the same way like the flex store... --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: pioplacz wrote: would be nice is something

RE: [flexcoders] Re: dynamic xml in flex

2005-02-03 Thread Matt Chotin
You might need to use mx.utils.ArrayUtil.toArray() depending on which part of the data youre looking for. Search for that in the docs to see if it makes sense foryou. Matt From: pioplacz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03,2005 9:45 AM To:

Out Of Memory: Message

2005-02-03 Thread goran187
I am running Flex 1.5 on Apache Tomcat/5.0.28. Occasionally, I get the following error message: 'Requested page cannot be displayed An unexpected error occurred that prevented /AdTags/Adt.mxml from being displayed. --

Re: Samples Error: FormatSourceService

2005-02-03 Thread chrs_hearn
Thanks for the help, I have concluded it was a whitelist issue...i needed to add the domain i am using to the white list...and the config must reside with the cf server folder, not the app folder like you said...works now, hope this helps another using coldfusion. BTW, any good flex 1.5 books

RE: [flexcoders] Out Of Memory: Message

2005-02-03 Thread Steiner, Jeff
Goran What does your Tomcat memory usage look like? Also, what OS are you running this on? How much addressable memory do you have available to your Tomcat service? Jeff -Original Message- From: goran187 [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 10:32 AM To:

Re: how can I do this in Flex? -- (warning, best -practice police are in the hou

2005-02-03 Thread Miguel D�az Valenzuela
my friend, i have this problem now if I do if(dg.getItemAt(i).select) never can enter to do: Request.para = dg.getItemAt(i).code servicio_datos_motivos.send(Request); i don´t know which option or function can I use ... thanks a lot anyway for all your help if you can help me now, i will be very

Re: simple datagrid cell colour renderer

2005-02-03 Thread Andrew Spaulding
Hi Matt, I have tried using a getPreferredHeight method that returns the owners layoutHeight and this works fine, the colour fills the entire cell now. But I still have some weird behaviour when there is a scoll bar on my datagrid. If click and drag on the scroll bar and move it up and down the

Re: dynamic xml in flex

2005-02-03 Thread pioplacz
Maybe it sounds king of noobish but i'm a noob... but cannot get it to work... i tryed just passing the data from httpservice to datagrid but the right data won't show... I'm getting all confused maybe is something wrong with my php xml output... :S --- In flexcoders@yahoogroups.com,

RE: [flexcoders] Re: how can I do this in Flex? -- (warning, best -practice police are in the hou

2005-02-03 Thread Mehdi, Agha
Miguel, I'm not sure what are you asking. Can you please explain the problem? Thanks Agha -Original Message- From: Miguel D�az Valenzuela [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 11:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how can I do this

Re: Flex, Hibernate and Coldfusion

2005-02-03 Thread mpwoodward2
--- In flexcoders@yahoogroups.com, Michael McKellip [EMAIL PROTECTED] wrote: Cathy, Success! Thanks very much to you and Peter we have a workaround. There is definitely a classloader issue between CFMX / JRun 4 and the commons-logging classes. The end result is a user will be unable to

Oddities with binding columns of a DataGridColumn width in a repeater.

2005-02-03 Thread Jeff Tapper
Ok, heres an odd one. Normally, I can use bindings to specify widths of DataGridColumns (a trick i use to set a % width), like so: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Model id=sizes size1{this.width*.28}/size1 size2{this.width*.08}/size2 /mx:Model mx:DataGrid id=dg