The problem with the Application.cfc (Bug #2) appears to be even worse then i thought. It can be tested with the following simple files:
 
Application.cfc (change the name for each directory)
 
<cfcomponent>
 <cfset this.name = "app2" />
</cfcomponent>
 
App.cfc
 
<cfcomponent extends="fly.TestApp">
 <cffunction name="test" access="remote" returntype="any">
  <cfreturn "TEST (#application.applicationName#): #getDirectoryFromPath(getCurrentTemplatePath())#" />
 </cffunction>
</cfcomponent>
 
App2.mxml (app1 looks exactly the same).
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="start()">
 
 <mx:Script>
  <![CDATA[
   import fly.utils.cfDump;
   import mx.rpc.events.FaultEvent;
   import mx.rpc.events.ResultEvent;
   import mx.rpc.remoting.RemoteObject;
   public function start():void
   {
    var ro:RemoteObject = new RemoteObject();
    ro.destination = "ColdFusion";
    ro.source = "App";
    ro.addEventListener(ResultEvent.RESULT, _result);
    ro.addEventListener (FaultEvent.FAULT, _fault);
    
    ro.test();
   };
   
   public function _result(e:ResultEvent):void
   {
    //will push the event over a local connection to our debug panel which shows it like cfDump in coldfusion would.
    cfDump(e);
   };
   
   public function _fault(e:FaultEvent):void
   {
    cfDump(e);
   };
  ]]>
 </mx:Script>
</mx:Application>
 
 
I will now test to see if i can set up a windows 2000 server with IIS to see if i can replicate the problem there.
 
 
Greetz Erik
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to