[flexcoders] Flex 2 ColdFusion Apps with IIS and Virtual directories.
Hello, I am trying to set up a Flex2 app that calls CFCs via the new remoting gateway. I am using ColdFusion integrated with IIS and virtual directories. I am able to compile the application but cant call any CFCs living in an IIS virtual directory. I receive the following error: faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed' Now, I have set up all the proper mappings in CF, enabled mappings in the services-config file and am sure my remoteObject mxml code is correct. I'm thinking I might need to change something in the channel setup in the services-config file but really cant find any documentation on it. I am able to run apps and connect to CFCs fine when I have the standalone version of ColdFusion installed and CFCs living in the CF wwwroot. Has anybody been able to connect to CFCs in Flex2 with ColdFusion integreated with IIS and virtual directories? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Streaming video via RTMP into flex 1.5
Hello, I have been trying to get a .flv to stream into the MediaView component using a variety of techniques (NetConnection/NetStream) but to no avail. Has anybody been able to stream video into a Flex 1.5 application via RTMP successfully and if so I would greatly appreciate any advise. Thanks! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: KeyListener.onKeyDown = keyListenerFunction;
Thanks Matt, I tried the following code which results in a syntax error: var KeyListener:Object = new Object(); KeyListener.onKeyDown = mx.utils.Delegate(this, keyListenerFunction); Key.addListener(KeyListener); anything jump out at you? Thanks, Keith --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You need to do KeyListener.onKeyDown = mx.utils.Delegate(this, keyListenerFunction); -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kjlinboomer Sent: Tuesday, February 21, 2006 3:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] KeyListener.onKeyDown = keyListenerFunction; Hello, I have a key listener that instantiates itself in a contructor of a class. When a key comes in, the key listener dispatches the call to a keyListenerFunction as in the subject of this post. The problem is that I am loosing focus to the rest of my class inside the handler function. I want to be ablt to call a method in my class based on which key has been pressed: function keyListenerFunc() { if (Key.getAscii() == 13) { Call some public function in my class here. //saveFromAnnotationEdit(); } if (Key.getAscii() == 97) { Call some public function in my class here. //addAnnotation(); } } Is there a way I can pass a reference into the handler function so I can access its methods? Thanks for any ideas, Keith -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Drag and Drop in Tree Componet
Hi all, I am developing a tree component with drag and drop dunctionality within itself (ie -- if a drag a leaf from one branch to another). Can somebody point me in the right direction of a tutorial or some online examples. Thanks! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Data provider for custom component
Hi all, I have developed a custom component for use in flex. I have dropped it into an MXML file and my init(), createChildren() etc functions are all working and I can pass initial values into in like: myComponent initialValue1=someValue / My question is how do I provide an external data provider for this component? Do I need to put flex's dataProvider class in the same package as my component and then refer like this: myComponent initialValue1=someValue dataProvider {//some action script object here} /dataProvider /myComponent Not sure how this works... Thanks!! Keith -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] trace from flash file to flex output panel
Hi All, I am building up a flex project and it has several AS 2.0 files included in the application. I dont see my traces in the flash files showing up in the flex output panel when I select run or debug in flex builder. Is there a way to route traces from an AS file to the flex output panel? Thanks, -Keith -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: trace from flash file to flex output panel
Hi Tracy, Thanks for the help! Where can I find this Developing Flex Apps document that you mentioned. Keith --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Are you using the Debug Flash Player, and have you configured your mm.cfg file? If not, see the chapter Debugging Flex Applications in the Developing Flex Apps document. I trace out of AS files regularly. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kjlinboomer Sent: Friday, January 06, 2006 12:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] trace from flash file to flex output panel Hi All, I am building up a flex project and it has several AS 2.0 files included in the application. I dont see my traces in the flash files showing up in the flex output panel when I select run or debug in flex builder. Is there a way to route traces from an AS file to the flex output panel? Thanks, -Keith -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Flex webservice to CFC
Hello, I am trying to call a CF component from flex using mx:WebService. I am having trouble sending arguments to the component. I get an Array of input arguments did not contain a required parameter at position 0 error. I have tried putting the argument as a single quote as seen below and in double quotes and as a flash var but they all return the same error. If I use a component that requires no arguments then I get a return value and it works fine. Any help with this would be very much appreciated. Below is my mxml for the web service declaration and below that is the CFC code both are in very simple form as I am just trying to get this to work. mx:WebService id=dataFunctions wsdl=http://192.168.168.4:8500/keith/components/reportingNew.cfc?wsdl; showBusyCursor=true mx:operation name=myFunction result=alert(event.result); mx:request myArgument'test'/myArgument /mx:request /mx:operation /mx:WebService cfcomponent cffunction name=myFunction access=remote returntype=string cfargument name=myArgument type=string required=yes cfset myResult=foo cfreturn myResult /cffunction /cfcomponent Thanks, Keith -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: cold fusion component web service
hi Jeremy -- thanks -- below is the CF component I am trying to access. // cffunction name=getWeekSessionSummary access=remote cfargument name=productorialID type=string required=yes cfargument name=action type=string required=yes cfargument name=startdate type=string required=yes cfargument name=enddate type=string required=yes cfset today = Now() cfset today_fmt = DateFormat( today, '-mm-dd' ) cfset yesterday = DateAdd( 'd', -1, today ) cfset yesterday_fmt = DateFormat( yesterday, '-mm-dd' ) cfset oneweekago = DateAdd( 'd', -6, today ) cfset oneweekago_fmt = DateFormat( oneweekago, '-mm-dd' ) cfquery name=getAggSessions datasource=statistics SELECT logcache_datestamp, logcache_event_count AS count FROM syscache cfif arguments.action neq WHERE (logcache_datestamp BETWEEN '#oneweekago_fmt#' AND '#today_fmt#') AND logcache_productorialid = '#arguments.productorialID#' AND logcache_event_type = 'sessionsCount' cfelse cfif arguments.startdate neq AND arguments.enddate neq WHERE (logcache_datestamp BETWEEN '#startdate#' AND '#enddate#') AND logcache_productorialid = '#arguments.productorialID#' AND logcache_event_type = 'sessionsCount' cfelse WHERE logcache_productorialid = '#arguments.productorialID#' AND logcache_event_type = 'sessionsCount' /cfif /cfif GROUP BY logcache_datestamp /cfquery cfset count = #getAggSessions.count# cfif count NEQ cfreturn #getAggSessions# cfelse cfreturn n/a /cfif /cffunction // --- I have added to the white list as descibed in my previous post and then I am just trying to add a dataservice using the data panel in flex builder 1.5. Once I select the service name from the drop down it complains that it cant connect. Thanks Again! --- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED] wrote: Can you post you post your flex/cf code so we can look at it. --- In flexcoders@yahoogroups.com, Keith Lindenboom [EMAIL PROTECTED] wrote: Hi All, I am trying to set up some CF components to be used as web services through flex. I have added a node to the named section web-service proxy node of the flex config file as seen below: named service name=reportingService wsdlhttp://192.168.168.1/keith/components/reporting.cfc?wsdl /wsdl endpoints !-- actual url to use when accessing the named web service -- endpointhttp://192.168.168.1/keith/components/reporting.cfc /endpoint /endpoints !-- define a web service which may be referenced by name from mxml -- !-- service name=service -- !-- enables use of custom fault code on the client for handling authentication failures -- !-- use-custom-authenticationfalse/use-custom-authentication -- !-- wsdl location for the named service -- !-- wsdlhttp://localhost:8100/flex/flex-proxy/servicename?wsdl /wsdl -- !-- endpoints for the named web service -- !-- endpoints -- !-- actual url to use when accessing the named web service -- !-- endpoint http://localhost:8100/flex/flex-proxy/servicename/endpoint -- !-- /endpoints -- !-- user-name and password to use when accessing this web service -- !-- run-as user=user password=pwd/ -- !-- Adds the service's wsdl and endpoints to the unnamed whitelist. If false, these can never be used unnamed -- !-- This should be set to false if using web application security with this named service -- !--allow-unnamed-accesstrue/allow-unnamed-access-- /service /named I am having trouble connecting to the service in flex builder (it keeps failing). I know that the path and everyhting is correct and I can invoke the components directly with CF. I have tried restarting the service and the when i compile the file i get a 500 internal server error Anybody else run into this problem?