RE: [flexcoders] Remote Object Errors

2005-08-08 Thread Peter Farland
Are you missing an apache jar from your /WEB-INF/lib directory? Check with the jars that existed with the default flex web application installation and compare them to those present in your own web app. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Remote IP address

2005-08-25 Thread Peter Farland
You can get hold of the HttpServletRequest in a Java class when accessed via RemoteObject by using flashgateway.Gateway.getHttpRequest(). http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/commo n/html/wwhelp.htm?context=Flex_Documentationfile=2247.htm Once you have the

RE: [flexcoders] Remote objects and when they exist

2005-09-20 Thread Peter Farland
isAdmin is a function... So you need to use parentheses () to invoke it, even when there are no arguments. public function loadPerms():Void { srvPermissions.isAdmin() } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Calls to CFCs

2005-09-28 Thread Peter Farland
Actually, it's likely that you're getting an AppendToGatewayUrl AMF Response Header from the server because it detected that while a session was created during the request, the client didn't inform the server whether it could accept cookies. This AMF Response Header is trying to tell the client

RE: [flexcoders] Calls to CFCs

2005-09-29 Thread Peter Farland
t it just doesn't get to the CFC for some reason. Doing the same exact thing with all the other CFCs and they work fine :/Peter Farland wrote: Actually, it's likely that you're getting an AppendToGatewayUrl AMFResponse Header from the server because it detected that while a sessionwas crea

RE: [flexcoders] Calls to CFCs

2005-09-29 Thread Peter Farland
just doesn't get to the CFC for some reason. Doing the same exact thing with all the other CFCs and they work fine :/Peter Farland wrote: Actually, it's likely that you're getting an AppendToGatewayUrl AMFResponse Header from the server because it detected that while a sessionwa

RE: [flexcoders] Calls to CFCs

2005-09-29 Thread Peter Farland
TempObject = result[i]; GetTechSearchArray.push(TempObject); } OTD_TECH_RESULTS.dataProvider = GetTechSearchArray;}Peter Farland wrote: Are you setting remote-objects-debug in flex-config.xml? What version of ColdFusion are you using? Re: the unsupported type in stream message... are you doing anyt

RE: [flexcoders] Calls to CFCs

2005-09-29 Thread Peter Farland
Er,that wouldrequire the "Debug" level log too... logger level="Debug"flashgateway.log.DefaultLogger/logger And I should have also mentioned that you need to restart JRun if you change any config files. -- Flexcoders Mailing List FAQ:

RE: [flexcoders] CFC Cashing

2005-10-05 Thread Peter Farland
Are you using the CFC as a web service? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson Sent: Wednesday, October 05, 2005 10:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] CFC Cashing I make a change to the CFC and the

RE: [flexcoders] RemoteObject call to POJO on JRUN

2005-10-16 Thread Peter Farland
Are you sure that /amfgateway is mapped to your Flex AMF GatewayServlet in /WEB-INF/web.xml and not a coldfusion one? Have you used a sniffer to try and watch where your SWF is trying to call - i.e. tracking down host names, ports, context roots, what have you... From:

RE: [flexcoders] RemoteObject call to POJO on JRUN

2005-10-18 Thread Peter Farland
I think JRun has a sniffer.exe in the main jrun bin directory that you could use... I think you would have to methodically track down what URLs are being used at compile time, what URLs are being used to host the SWF, what URLs are being used to make data requests. Without detailed info I

RE: [flexcoders] Re: dates, AS, and Java

2005-11-03 Thread Peter Farland
Dates are supported via AMF in the manner you describe. Can you send me the full method signatures that are supposed to line up? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf Sent: Thursday, November 03, 2005 6:00 PM To:

RE: [flexcoders] Re: Returning Object Instances from ColdFusion

2005-11-21 Thread Peter Farland
Benoit, both of those approaches are Flex 2.0 only. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benoit Hediard Sent: Sunday, November 20, 2005 6:56 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Returning Object Instances

RE: [flexcoders] Quick RemoteObject clarification

2006-03-14 Thread Peter Farland
The Flash Remoting Gateway has been superseded by the Remoting Service from Flex Enterprise Services (now referred to as Flex Data Services as of Flex Beta 2). RemoteObject in Flex 2 connects to the FDS RemotingService using RemotingMessages. From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: WSDLResponse not resolvable

2006-03-15 Thread Peter Farland
If you could send me the WSDL I could take a look. It might be a problem with non-qualified versus qualified wrapped document literal web services. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan MirandaSent: Monday, March 13, 2006 6:41 PMTo:

RE: [flexcoders] Re: WSDLResponse not resolvable

2006-03-15 Thread Peter Farland
This looks like a Flex 2 bug with the schema elementFormDefault="qualified" attribute not being honored for each element defined in the types section. I believe a work around for now is to manually add form="qualified" attributes to the relevant element tags for each type definition. I've

RE: [flexcoders] Re: WSDLResponse not resolvable

2006-03-15 Thread Peter Farland
Actually, sorry, this is not the case. Your issue is a Flex 2 Beta 1 bug that should be fixed for Beta 2. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter FarlandSent: Wednesday, March 15, 2006 2:08 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders]

RE: [flexcoders] Configuring RemoteObject destinations (Flex 2)

2006-03-15 Thread Peter Farland
If you use {server.name} in place of the IP address or host server name then it will be replaced at runtime with that used to load the SWF. Note that if you load a SWF from the file system using the standalone player then it will be interpreted as localhost. As for the port token,

RE: [flexcoders] Configuring RemoteObject destinations (Flex 2)

2006-03-15 Thread Peter Farland
Additionally, you could configure several channels for a destination and rely on channel failover so that it will look for one then the other... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Y. KwongSent: Wednesday, March 15, 2006 7:41 PMTo:

RE: [flexcoders] Re: Web Service Call - Flex 2 (Complex Type with Args)

2006-03-16 Thread Peter Farland
I can take a look. Can you send me the WSDL directly? Thanks, Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richie Rich Sent: Wednesday, March 15, 2006 9:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Web Service Call

RE: [flexcoders] Re: 2.0B1 - Use of CSS style sheet with DataGridColumn styleName

2006-03-16 Thread Peter Farland
is terribly inconsistent about what text to use to reference the styles. It uses font-family, fontFamily, font-weight, borderStyle... What is it supposed to be? Perhaps the documentation didn't explain this but the style names can be represented in either way... it depends on how they're

RE: [flexcoders] What is the basic flow of Flex?

2006-03-21 Thread Peter Farland
Is this for Flex 1.5 or Flex 2? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Pieszak Sent: Tuesday, March 21, 2006 6:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] What is the basic flow of Flex? Hello again, I'm very new to

RE: [flexcoders] java.util.Map

2006-03-21 Thread Peter Farland
java.util.Map is supported in any version of Flex and the following should work in either version: var stab:Object = event.result;for (var key:String in stab) { txt.text = "--" + stab[key]; } advanced Are you using Flex 1.5 or Flex 2? The difference between Flex 1.5 and Flex 2 is

RE: [flexcoders] Re: What is the basic flow of Flex?

2006-03-21 Thread Peter Farland
: [flexcoders] Re: What is the basic flow of Flex? Sorry, it's for Flex 2. And I'm talking specifically about ColdFusion and Flex integration. Thanks. --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Is this for Flex 1.5 or Flex 2? -Original Message- From

RE: [flexcoders] Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package

2006-03-22 Thread Peter Farland
No, you must have a refernence to MyClass somewhere in your code in order for it to be linked in to the SWF at compile time. A string 'myPackage.MyClass' does not constitute a reference. This is not a bug - the compiler must optimize what classes are actually needed to keep the SWF size down.

RE: [flexcoders] Coldfusion + FDS 2 DataService multiple problems

2006-03-22 Thread Peter Farland
Do you have the [RemoteClass(alias="your.fully.qualified.case.sensitive.VO")] correctly registered on the ActionScript VO class? Are you sure you have the case of the package and class name exactly the same as the CFC VO? ActionScript 3 is case sensitive, even for package names (i.e.

RE: [flexcoders] Saving object graphs

2006-03-23 Thread Peter Farland
ArrayCollection on the server extends ArrayList so that should work, but if you've got ManagedProxies instead of Books then it's likely the Book client type wasn't linked in to the SWF and/or properly registered with the correct [RemoteClass(alias=...)] metadata. Can you try adding a reference to

RE: [flexcoders] Re: Saving object graphs

2006-03-23 Thread Peter Farland
It is intended behavior and it's not an error (although a common one). If you don't create a reference to the class the optimizer won't keep it in the swf. If you didn't do this then each SWF would contain every class in the classpath - this is not good. An import doesn't guarantee the class

RE: [flexcoders] Unable to connect to RemoteObject

2006-03-24 Thread Peter Farland
This is for Flex 2.0... are you compiling with Flex Builder 2 or the webtier compiler in FDS or perhaps even the command line using mxmlc? If you're not using the webtier compiler you need to specify the location of the flex-enterprise-services.xml file to the mxmlc compiler with the --services

RE: [flexcoders] Setting up Remoting

2006-03-31 Thread Peter Farland
It's prefilled with a path for the typical Java based installation. We expect uses to change this value for a variety of installation scenarios - essentially you will have to know the location of this file and update this value on ANY mxmlc compilation when using FDS or CF data services,

RE: [flexcoders] cloning was: in operator (F2B2)

2006-04-04 Thread Peter Farland
Darren, yep, we use this approach ourselves internally. I would like to clarify that ByteArray readObject and writeObject do retain object references between instances within the graph being cloned... just not to any other object outside of the graph. From: flexcoders@yahoogroups.com

RE: [flexcoders] OutOfMemoryError

2006-04-05 Thread Peter Farland
Hi Kim, How are you compiling the application? The reason I ask is that it's not clear from your email what is reporting this error or where/how it is reported to you... When you say that you tried to run it in a browser, are you relying on the webtier compiler by browsing to a .mxml

RE: [flexcoders] Re: OutOfMemoryError

2006-04-05 Thread Peter Farland
n their PC. The only differences are what software we have installed on our machines outside of this project. Thanks, Kim --- In flexcoders@yahoogroups.com, "Peter Farland" [EMAIL PROTECTED] wrote: Hi Kim, How are you compiling the application? The reason I ask is that it's not clear fro

RE: [flexcoders] FDS and Remoting

2006-04-10 Thread Peter Farland
Are you trying to contact the CF event gateway, or a normal endpoint like a CFC for RemoteObject? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of a1 Sent: Saturday, April 08, 2006 7:18 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Amfgateway call

2006-04-13 Thread Peter Farland
If your serlvet mapping is /amfgateway/* then you should be allowed to append path info to the endpoint URI after the servlet mapping. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of siddiquihashimSent: Thursday, April 13, 2006 4:20 AMTo:

RE: [flexcoders] Re: Flex2/EJB3 integration: problems mapping Java/AS3 classes

2006-04-17 Thread Peter Farland
It might simply be a problem in the beta 2 player, as I have registerClassAlias working for AMF 0 using a beta 3 player (not yet released, obviously). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Xavi BeumalaSent: Monday, April 17, 2006 5:05 AMTo:

RE: [flexcoders] logout remote object in flex

2006-04-17 Thread Peter Farland
What was the exception? Did you get a stack trace? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Monday, April 17, 2006 12:25 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] logout remote object in flex I tried that with the

RE: [flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-17 Thread Peter Farland
It isn't up to the Flex RemoteObject feature... it's how the flash player NetConnection works with AMF requests (and continues to work in FP 8.5). -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 3:15 PM To:

RE: [flexcoders] Can't user RemoteObject on HTTPS ONLY Server?

2006-04-17 Thread Peter Farland
How are you loading your SWF? Are you loading it over HTTPS too? Is it on the same domain as the secure AMF endpoint? Did you recompile your SWF with the updated configuration? Did you restart the server with the updated configuration? How many channels are referenced under your RemotingService

RE: [flexcoders] logout remote object in flex

2006-04-17 Thread Peter Farland
or" code = null type = "" details = "" description = "flashgateway/Gateway" details = "" description = "flashgateway/Gateway"Peter Farland [EMAIL PROTECTED] wrote: What was the exception? Did you get a stack trace? From: flexcoders

RE: [flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-18 Thread Peter Farland
not operate in parallel? Yes, that was the workaround. Is there look into changing the behavior of NetConnection in the player before Flex is released for production? By the way, thanks for the code tip. - Sof --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote

RE: [flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-18 Thread Peter Farland
before Flex is released for production? By the way, thanks for the code tip. - Sof --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: Was that the workaround that involved using a unique endpoint URL to avoid connection sharing? If so, in FDS 2 you could create

RE: [flexcoders] RemoteObject Issue

2006-04-18 Thread Peter Farland
Perhaps your SiteKeywordVO is never linked into the SWF because you never create a dependency on the class name (as mxmlc will optimize and remove unreferenced class definitions). An import statement is not enough to create a dependency. -Original Message- From:

RE: [flexcoders] mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Peter Farland
(Note that this is Flex 2 Beta) We didn't want the parent mx.rpc.soap.WebService to introduce extraneous dependencies on other parts of the Application framework. So any functionality that does introduce such a dependency (such as busy cursors or bubbling of events to top level application

RE: [flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Peter Farland
Operation.send(args) has the method signature: override public function send(... args : Array) : AsyncToken So the ... args:Array param will be an Array of length 1 with an Object as _your_ args var. This means you can only send ordered arguments via send(). For named arguments, you use the

RE: [flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Peter Farland
in the documentation (I realize that is probably low priority at this point), because when I read it (a few times) I got the impression that the two ways of sending arguments were functionally equivalent. Thanks again, Ben --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote

RE: [flexcoders] How to override type cast operator @ runtime?

2006-04-19 Thread Peter Farland
ObjectProxy is a Flex specific subclass of Proxy for wrapping anonymous Objects that are dynamic and can't be predictably made bindable to report property change events. It shouldn't be used to wrap typed objects like instances of B (see later). You can never cast ObjectProxy to B... the as

RE: [flexcoders] Re: How to override type cast operator @ runtime?

2006-04-20 Thread Peter Farland
, Vadim Melnik. --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: ObjectProxy is a Flex specific subclass of Proxy for wrapping anonymous Objects that are dynamic and can't be predictably made bindable to report property change events. It shouldn't be used to wrap typed

RE: [flexcoders] Flex Remoting

2006-04-20 Thread Peter Farland
It depends on what the method signature for SampleDAO.getPersons looks like. Where did you find this sample? Note that the AS signature for NetConnection.call() is: public function call(command:String, responder:Responder, ... arguments):void So the ... syntax in AS means the rest of the

RE: [flexcoders] Problem with AMFGateway and Sessions - please help

2006-04-20 Thread Peter Farland
Did the request come through the gateway servlet? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller Sent: Wednesday, April 19, 2006 8:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem with AMFGateway and Sessions

RE: [flexcoders] Re: Problem with AMFGateway and Sessions - please help

2006-04-21 Thread Peter Farland
] Re: Problem with AMFGateway and Sessions - please help I assume so. The event handler class's methods are all static. This is also unnamed service. Thanks, --- Dmitry --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Did the request come through the gateway servlet

RE: [flexcoders] Viewing a base64Binary image in flex1.5

2006-04-21 Thread Peter Farland
Don't know of a way to do that in Flex 1.5... I don't think base64Binary was supported in WS in that release... But, fwiw, when Flex 2 Beta 3 comes out I could see it being done. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed

RE: [flexcoders] Re: AMFPHP v.s. HTTPService PHP ??

2006-04-22 Thread Peter Farland
In AS3 you can set AMF0 to be used globally for any NetConnection: import flash.net.*; ... NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0; though you'd have to unwrap the messages from the request on the OpenAMF side of things since Flex 2 RemoteObject uses a messaging framework

RE: [flexcoders] Flex2B2: JAVA to AS object serialization issue

2006-04-23 Thread Peter Farland
Title: RE: [flexcoders] Flex2B2: JAVA to AS object serialization issue Valy, the only bug I know of in this area for Beta 2 has to do with AMF 0. If you're not changing the objectEncoding of the underlying NetConnection to ObjectEncoding.AMF0 then it's likely that you either have

RE: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-24 Thread Peter Farland
Mykola, I'm slightly confused by your post in contrast to what Sergey and Stanislav originally said. I read Sergey's post as that he was having trouble with uncaught exceptions and had to add a lot of code to catch and possibly ignore such errors. I read your post to mean the opposite of

RE: [flexcoders] (Flex20 Beta2): RemoteObject Destination configuration problem

2006-04-24 Thread Peter Farland
Are you precompiling the SWFs? If so, are you specifying --services and pointing to the configuration file at compile time with either Flex Buildercompilercommand line arguments or mxmlc command line arguments? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: 回复: RE: [flexcoders] Flex 2 probl em about remoteobject in tomcat

2006-04-25 Thread Peter Farland
You shouldn't have both "localhost" and "{server.name}" in your channel-definitionendpoint uri="..." From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sank xuanSent: Tuesday, April 25, 2006 12:45 AMTo: flexcoders@yahoogroups.comSubject: 回复: RE: [flexcoders] Flex 2

RE: Ri: [flexcoders] Flex 2 problem abo ut remoteobject in tomcat

2006-04-25 Thread Peter Farland
Just comment out the messaging service include in your /WEB-INF/flex/flex-enterprise-services.xml file. !-- service-include file-path="flex-message-service.xml" / -- The messaging service has a JMS adapter registered which you don't need unless you're planning on using the messaging

RE: [flexcoders] Re: (Flex20 Beta2): RemoteObject Destination configuration problem

2006-04-25 Thread Peter Farland
:\tomcat\webapps\flex\WEB-INF\flex\flex-remoting-service.xml do can't it be done manually. Thanks, Aejaz --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Are you precompiling the SWFs? If so, are you specifying --services and pointing to the configuration file

RE: [flexcoders] Flex 2 not maintaining order of web service parameters.

2006-04-25 Thread Peter Farland
This is a known issue in Beta 2, should be addressed in Beta 3. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ilia_papas Sent: Tuesday, April 25, 2006 11:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2 not maintaining

RE: [flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread Peter Farland
=129 id=formInput/ mx:Button x=119 y=170 label=Submit fontSize=13 id=button1 click=SendStringBack.getString.send()/ mx:Label x=119 y=86 text=What is your name ? width=160 fontSize=15 id=label1/ /mx:Application --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: You

RE: [flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread Peter Farland
pleRemoteObject.html there is no change in behavior. I must have not understood you correctly. Can you please clarify if possible on how to set context root step by step.Thanks again,Aejaz--- In flexcoders@yahoogroups.com, "Peter Farland" [EMAIL PROTECTED] wrote: Sorry, the J2! EE context ro

RE: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-25 Thread Peter Farland
do trust me without responding to the real feedback from developers any technology will shortly become outdated. On 4/24/06, Peter Farland [EMAIL PROTECTED] wrote: Mykola, I'm slightly confused by your post in contrast to what Sergey and Stanislav originally said. I read Serg

RE: [flexcoders] Re: (Flex20 Beta2): send failed for RemoteObject

2006-04-25 Thread Peter Farland
need crossdomain.xml as Tomcat is running locally. If so what will this file contain in which directory I should create it. Thanks, Aejaz --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Are you loading your SWF from http://localhost:8080? Or are you using

RE: [flexcoders] Data Mapping problem

2006-04-27 Thread Peter Farland
To cast a typein ActionScript you use this syntax: tmpDoctor = samples.Doctor(event.result); (i.e. it is not the same syntax as Java). Also, in your Java class, note it must have a public no-args constructor and the fields (or bean getter/setters) must be public. From:

RE: [flexcoders] Re: Uncaught exceptions in Flex 1.5

2006-04-28 Thread Peter Farland
Flex 1.5. So the question is How we can fight silent exceptions death in Flex 1. 5 ???. I have some ideas but to realise them i have to rewrite all flex 1.5 framework and i think it's not acceptable. Waiting for reply , Max --- In flexcoders@yahoogroups.com, Peter Farland pfarland

RE: [flexcoders] Help!

2006-04-28 Thread Peter Farland
The crossdomain.xml file resides on the remote server that you're trying to contact, so it should be accessible like this: http://someserver:someport/crossdomain.xml This fileis not involved at compile time. (Also, that is not a warning and it can't be ignored, it's a hard error

RE: [flexcoders] Re: Possible to invoke Flex2b2 compiler as a Java class?

2006-04-28 Thread Peter Farland
Sorry, this method of invocation is not supported by Flex. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Avi Flax Sent: Friday, April 28, 2006 10:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Possible to invoke Flex2b2

RE: [flexcoders] AS3 - Support for Overloading Method Signatures?

2006-04-28 Thread Peter Farland
As far as I know this won't happen (it's largely guided by the ECMA 4 standard) so for AS3 you'll need to use the varargs ...syntax to take a variable number of arguments: public function calculateSomething (required:int, ...others:Array):int { } Note that you can place functions in

RE: [flexcoders] [Flex2] Problems with Fonts

2006-05-03 Thread Peter Farland
How did you embed the font? Did you change the character range to include these high-ascii characters? Note by default the english range is used which by default has the range U+0020-U+007E. You'd either need to create a new language range in the flex-config.xml file and refer to this by

RE: [flexcoders] how do I prevent users from accessing my super extened class?

2006-05-03 Thread Peter Farland
In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the final keyword which can be applied at the class or method levels to stop subclasses overriding/extending functionality. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Re: Uncaught exceptions in Flex 1.5

2006-05-03 Thread Peter Farland
didn't know that. I'll use all of these tools. And i'm waiting for Flex 2. Thank You one more time. --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote: Some of the comments I made also apply to Flex 1.5's usage of ActionScript 2 in Flash Player 7. ActionScript 2

RE: [flexcoders] Re: how do I prevent users from accessing my super extened class?

2006-05-03 Thread Peter Farland
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the final keyword which can be applied at the class or method levels to stop subclasses overriding/extending functionality. -Original Message- From

RE: [flexcoders] Re: how do I prevent users from accessing my super extened class?

2006-05-03 Thread Peter Farland
. ...but at least I understand why now! :-) --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Correct. public final function set thumbCount(number:Number):void { super.thumbCount = number; } -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Dynamically setting RemoteObject endpoints in Flex 1.5

2006-05-04 Thread Peter Farland
Try calling it on the underlying Connection... remoteObjectId.connection.connect(newURIGoesHere); -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, May 04, 2006 5:27 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Please Help: Not being able to access the .as class from mxml in Flex 2 Beta 2

2006-05-04 Thread Peter Farland
Is the Program class correctly declared inside a package test {} block? Does Program.as live in a subdirectory called test? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of eairox Sent: Thursday, May 04, 2006 7:02 PM To:

RE: [flexcoders] Simple XML web service call

2006-05-09 Thread Peter Farland
You need to add a fault handler to the WebService to see why it has failed. How are you loading the SWF? Is the SWF hosted on the same machine as the CFC? Note that localhost and 127.0.0.1 are not the same string for purposes of domain name checking for security sandbox restrictions.

RE: [flexcoders] Flex 1.5 Standard config Flex-error setup not working...

2006-05-10 Thread Peter Farland
I believe that since flex.compiler.ErrorPageServlet doesn't override doPost, this is expected. Any chance you can track down what is making the request via POST instead of GET? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent:

RE: [flexcoders][Flex2B3] Newbie question: WebServices in class

2006-05-11 Thread Peter Farland
Did you call loadWSDL() on the __mxna:WebService first? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nirth Fur Zahad Sent: Thursday, May 11, 2006 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders][Flex2B3] Newbie question:

RE: [flexcoders] RemoteObject || Multiple signature

2006-05-15 Thread Peter Farland
The remoting service on the server attempts to bind to an appropriate method signature based on both the number of arguments provided and also their data types.Some type marshalling must take placeto cater for the weaker type system on the client.This method lookup is cached for the

RE: [flexcoders] Beta3 - RemoteObject destination error with stateful parameter

2006-05-15 Thread Peter Farland
I'd just delete the stateful property. stateful would now be scope in Beta 3, but since you're relying on the default, just remove the property. Note that scope now takes three possible values, request, session or application. -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Wanted - A simple WSDL example

2006-05-16 Thread Peter Farland
You're running into the sandbox security restrictions of the Flash Player. In short, to contact a remote webservice without using the proxy service the owner of the domain hosting the service would need to place a crossdomain.xml file in their webroot and specify your domain in the list of

RE: [flexcoders] AMFPHP credentials, secured services

2006-05-18 Thread Peter Farland
How are you calling your amfphp endpoint? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesús Iglesias Sent: Thursday, May 18, 2006 7:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AMFPHP credentials, secured services Hi,

RE: [flexcoders] AMFPHP credentials, secured services

2006-05-18 Thread Peter Farland
nombre de Peter Farland Enviado el: jueves, 18 de mayo de 2006 15:55 Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] AMFPHP credentials, secured services How are you calling your amfphp endpoint? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED

RE: [flexcoders] Cairngorm - mx:HTTPService result=event.call.resultHandler( event )... doesn't work anymore

2006-05-19 Thread Peter Farland
In Flex 2, mx.rpc.events.ResultEvent is a subclass of mx.rpc.events.AbstractEvent which still contains a deprecated getter for a call property. The new name for this property is token (as per the dynamic mx.rpc.AsyncToken instance that is returned from any RPC service invocation). I'm not

RE: [flexcoders] [Flex2] File upload using HTTP PUT ?

2006-05-19 Thread Peter Farland
You can use HTTP 1.1 methods such as PUTwith the FDS Proxy Service. The Flash Player URLLoader only supports GET and POST, however the FDS Proxy Service uses Apache Commons HTTPClient to make the request for you and this library is HTTP 1.1 compliant. Note, however, that the Proxy

RE: [flexcoders] java enum does not serialize

2006-07-13 Thread Peter Farland
This feature was deferred until a later release of Flex. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of busitech Sent: Wednesday, July 12, 2006 6:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] java enum does not serialize

RE: [flexcoders] HTTPS and Remote passwords

2006-07-13 Thread Peter Farland
Flex is restricted by the functionality of the Flash Player. The underlying API flash.net.URLLoader will not let Flex set any of the headers required to mimic what you're asking for, i.e. pre-authentication. If you're using Basic Authentication from the J2EE web application container, then the

RE: [flexcoders] Unknown FDS error

2006-07-13 Thread Peter Farland
. It does have a number so it must be, at eleast internally, documented somewhere. Regards Hank On 7/11/06, hank williams [EMAIL PROTECTED] wrote: On 7/11/06, Peter Farland [EMAIL PROTECTED] wrote: Hank, this isn't much information to go on. What technology are you

RE: [flexcoders] HTTPS and Remote passwords

2006-07-13 Thread Peter Farland
Load your SWF from HTTPS. Ensure your channel-definition is correct (i.e. using SecureAMFEndpoint and SecureAMFChannel classes in the config and ensure https is in the endpoint url). Ensure the id of this channel is in the list of channels for your destination. Ensure you're compiling against the

RE: [flexcoders] Re: Loading WSDL using Flex 2.0 Data Services

2006-07-14 Thread Peter Farland
It seems youre using the proxy service through FDS but relying on the DefaultHTTP destination (since a destination was not specified). Have you setup the allowed URL patterns in the corresponding /WEB-INF/flex/proxy-config.xml file for the DefaultHTTP destination? Have you looked at

RE: [flexcoders] Can anyone explain how to load a wsdl in flex 2.0 using Flex 2 Data Services

2006-07-14 Thread Peter Farland
Did you read the online documentation for Flex Data Services 2? Did you see these pages? http://livedocs.macromedia.com/flex/2/docs/1162.html http://livedocs.macromedia.com/flex/2/docs/1163.html http://livedocs.macromedia.com/flex/2/docs/1164.html From:

RE: [flexcoders] RemoteObject AND TypeError: Error #1034

2006-07-19 Thread Peter Farland
What endpoint are you contacting with RemoteObject an FDS 2.0 endpoint? From that error Id have to guess youre trying to contact an old endpoint that isnt returning the new message types as expected by the mx.messaging.channels.AMFChannel (the default channel for mx:RemoteObject).

RE: [flexcoders] RemoteObjects - ActionScript parameters

2006-07-19 Thread Peter Farland
You can just programmatically create a ChannelSet that contains one or more Channel implementations, such as mx.messaging.channels.AMFChannel, that are configured to contact your ColdFusion endpoint (that has the update). Or, if you want to use the MXML API, you can set a fully

RE: [flexcoders] clean up on aisle three - formatting request for Adobe

2006-07-21 Thread Peter Farland
The convention is 4 spaces for an indent, tabs are converted to 4 spaces. I imagine everyone uses fixed-width fonts and Eclipse doesnt show whitespace characters (that I know of, to-date) so code formatting like this must have just slipped through the cracks (in my experience this is

RE: [flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Peter Farland
Mike, can you send me a clear and simple test case containing Java and AS source as an example of the issue? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98 Sent: Friday, July 21, 2006 5:00 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Messaging Services deserialization

2006-07-21 Thread Peter Farland
Is the client throwing an error? Any chance youre trying to cast a result but do not have that ActionScript type mapped to the Java type? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Allen Riddle Sent: Friday, July 21, 2006 3:45 PM To:

RE: [flexcoders] Flex AMFPHP and VOs

2006-07-21 Thread Peter Farland
Im assuming Flex 2 and ActionScript 3.0. Have you ensured that the client has that type linked in to the SWF (one does so by making a reference to the type somewhere in the code either in a variable type or a function signature etc.)? Have you used [RemoteClass(alias=xyz)]

RE: [flexcoders] Re: AMF serialization of floats (REPOST)

2006-07-21 Thread Peter Farland
As a work around for now, try using double instead of float. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike_Robinson_98 Sent: Friday, July 21, 2006 5:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AMF serialization of floats

RE: [flexcoders] HTTPS and status codes

2006-11-05 Thread Peter Farland
Do a search for problems with HTTPS responses containing Pragma,no-cache headers and Expires headers with a time set in the past and MSIE (it has been discussed on this list before too)... to sniff HTTPS requests consider using Paros Proxy with MSIE on the client to see the actual headers

  1   2   3   4   5   6   >