[flexcoders] Re: ColdFusion CFCs Not Returning Data

2007-10-15 Thread Mike Collins
Sounds like a job for Charles. http://www.xk72.com/charles/ a great debugging tool when trying to see what's crossing the wire between Flex and CF.

[flexcoders] Loading Modules

2007-03-26 Thread Mike Collins
I have looked for several days on how to create and load module in Flex Builder 2 and while there are tons of partial examples I have yet to find a good complete example. I am trying to find somthing that shows: 1. How to create a project that can use modules 2. How to create one or more

Re: [flexcoders] OS X Dock implemented in Flex

2007-03-23 Thread Mike Collins
Please do post the code. This would be nice to have the source for. Mike On 3/23/07, Allen Riddle [EMAIL PROTECTED] wrote: Hey everyone, my coworker created an OS X dock in Flex for our use in our application. He just posted it on his web site. If enough people dig it, he's going to post

Re: [flexcoders] How to pass some values along with invalidateDisplayList

2007-03-22 Thread Mike Collins
Why worry about the mouse position? Why not set the state of your menu object to indicate which menu is selected, which one is hovered over, which ones are open, etc. These state values get set in the MOUSE_MOVE event before you invalidate and then the updateDisplayList already knows the state

[flexcoders] how can I know what browser my app is in?

2007-03-19 Thread Mike Collins
I have looked up userAgent, user-agent, browser, browser type, etc. and can not find anything that will allow me to tell what browser is hosting my app. Can anyone tell me if and where something like this may be? Thanks, Mike

Re: [flexcoders] Runtime Memory Problems

2007-03-17 Thread Mike Collins
the previous one would be cleaned up with garbage collection. So I'm not sure what can be done or if there is a fix for this. I really would LOVE to have access to the Garbage Collection in Flash so I could force things to happen when I am dumping a real large image. Thanks, Mike Collins

[flexcoders] Re: Disabling button on buttonBar - error...

2006-11-03 Thread Mike Collins
Quick thought here... create a State in design mode, delete\disable your button, then look at the code the design mode UI builds for you. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: cf query, xml fle

2006-09-13 Thread Mike Collins
Not what you may be looking for but you might try converting the entire cfquery into XML. I wrote this in CF to convert any query into XML. cffunction name=query2xml returntype=string cfargument name=inq required=yes type=query/ cfset var exml = '' cfset rowcount = 0 cfset exml =

[flexcoders] Re: Anyone else using yahoo webhosting

2006-09-01 Thread Mike Collins
All yahoo plans can serve swf files so you should be fine. It looks like it supports PHP\MySQL so you can process forms and work with SQL. You can use HTTPService and pass form data into PHP for processing. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Anyone actually able to save data from flex

2006-08-31 Thread Mike Collins
Here is one sample. Server side code: File test1.cfm cfoutput#xmlout#/cfoutput MXML ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=335 height=100% paddingTop=2 paddingLeft=0 paddingRight=1 mx:Script ![CDATA[ import

[flexcoders] Re: Anyone actually able to save data from flex

2006-08-30 Thread Mike Collins
HTTPService passes strings not objects so that is most likely the issue. Either convert the DataModel to a xml string or do something like this to pass in the variables as form variables. If you want to pass objects you need to use RemoteObject calls. public function submitURL() {

[flexcoders] Re: How to cast a WebService lastResult when CFC returnType=xml

2006-08-24 Thread Mike Collins
I did this with HTTPService with returning an xml as a string from a cfm. The HTTPService resultformat is object. A combo box would us it this way. mx:ComboBox width=140 toolTip=Product Filter id=productlist dataProvider={getSearchCombos.lastResult.searchcombos.product} / This example shows

[flexcoders] Re: any way to catch application exit?

2006-08-15 Thread Mike Collins
As far as the SharedObject, I would think binding the lso field to some source field should take care of keeping the SharedObject current. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Validators -- Is there a better way of doing this? (Flex 2)

2006-08-07 Thread Mike Collins
I don't know if this the best way but it worked for a registration form I built. Items are validated at valueCommit and when the user clicks submit. // Function to validate data and submit it to the server. private function validateAndSubmit():void { //

[flexcoders] Re: getURL()

2006-08-03 Thread Mike Collins
Another option is to create a local function called getURL that calls navigateToURL. It may reduce some code changes for you. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Flex 2: Inline ItemRenderer -- Getting current row of DataGrid

2006-04-20 Thread Mike Collins
I have the following for a DataGridColumn, which works just fine: mx:DataGridColumn dataField=label id=dg_products_label width=65 headerText=Product mx:itemRenderer mx:Component mx:Text text={data.label} color={outerDocument.checkProductUsage(this,data.selected)} /