So yea im starting to get into Flex2 and coldfusion remoting. So i was playing with a simple datagrid and tree component. Which thanks alot to this group, went pretty well. But i was testing on a staging area (windows 2003, IIS, cf7.02 standard using developer mode) and i created like 4 virtual sites. I have a simple application that has cfapplication and some settings (application.setting.dsn). Each site has a set of cfcs and cfm files that all work (all use application scope for dsn stuff).
However it seems like only the first site's data will load into the flex swf. I have a cfdump of the correct data right below the swf load and the cfdump has the correct data. but the flex movie is still only showing the data from the first site. no matter what the cfdump has. Is there a setting or something that i need to use in cf or IIS or even code i am missing in my flex? snippets of code. note: i have a bunch more code in this file but doesnt matter (like transations and stuff i was playing with) so i realize i dont have all the event imports and some other stuff. mxml: <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" initialize="cfcService.getitemlist()"> <mx:Script> [Bindable] private var loadData:ArrayCollection; //init data loaders private function dataLoader(event:ResultEvent):void { loadData = event.result as ArrayCollection; } </mx:Script> <mx:RemoteObject id="cfcService" destination="ColdFusion" source="com/arquan/cart/remote/category"> <mx:method name="getitemlist" result="dataLoader(event)"/> </mx:RemoteObject> <mx:DataGrid id="myList" dataProvider="{loadData}" width="100%" height="100%" doubleClickEnabled="true" doubleClick="doedit()"> <mx:columns> <mx:DataGridColumn dataField="orderby" headerText="Order" width="50"/> <mx:DataGridColumn dataField="name" headerText="Name"/> <mx:DataGridColumn dataField="active" headerText="Active" width="150" labelFunction="formatStatus"/> </mx:columns> </mx:DataGrid> cfc: <cffunction name="getitemlist" access="remote" output="false" returntype="query"> <cfquery name="webitemsq" datasource="#application.settings.dsn#"> SELECT id, needspublished, staticid, conditionid, name, description, available, discontinued, orderby, active,createddate, modifieddate, createdby, modifiedby FROM cart_tblwebitem WHERE deleted = 0 </cfquery> <cfreturn webitemsq> </cffunction> so yea.. if there is anything else i forgot to include let me know. this is a very basic app for testing flex. But yea im a little lost. Any help is welcome and appreciated. thanks. Trishan

