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: flexcoders@yahoogroups.co

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 handler

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 th

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

2006-04-18 Thread Peter Farland
ps these issues could use some clarification 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, &qu

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

2006-04-18 Thread Peter Farland
TTPS requests. Am I missing sometihng? I'm at a loss. Thanks. --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > How are you loading your SWF? Are you loading it over HTTPS too? Is it > on the same domain as the secure AMF endpoint? &g

RE: [flexcoders] How do I access URL vars in onCreationComplete?

2006-04-18 Thread Peter Farland
In MXML, try getting the values from Application.application.parameters -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nathan Sent: Tuesday, April 18, 2006 8:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I access URL vars i

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 oper

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

2006-04-20 Thread Peter Farland
ng to provide the same functionality as COM's TraceHook (http://www.sellsbrothers.com/tools/#tracehook). But sounds like it's impossible with AS3. -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > ObjectProxy

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
flexcoders] 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

RE: [flexcoders] Re: Flex Remoting

2006-04-21 Thread Peter Farland
this.loginId = loginId;     }     public String getName() {     return loginName;     }     public void setName(String loginName) {     this.loginName = loginName;     } } is that bug in flex 2.0 beta 2 , need help --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMA

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 Se

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 t

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 registere

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 Builder compiler command line arguments or mxmlc command line arguments? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aej

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 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 problem about remoteobject in tomcat

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.     The messaging service has a JMS adapter registered which you don't need unless you're planning on using the messaging service with a Producer/Consumer to do real time messaging to a

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

2006-04-25 Thread Peter Farland
\webapps\flex\WEB-INF\flex\flex-remoting-service.xml Please let me know what does setting, -services   C:\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" <[E

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 order

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

2006-04-25 Thread Peter Farland
        >     >   > >   > showBusyCursor="true" fault="faultHandler(event)"> >     result="getNameHandler(event)"> >       >                     >         {formInput.text} >         >    

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

2006-04-25 Thread Peter Farland
@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Ah, yes, you need to specify --context.root on the command line as the > client can't tell what the context root is (i.e. because you can have > the default context root "" it can't m

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

2006-04-25 Thread Peter Farland
pleRemoteObject/SimpleRemoteObject.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 PROTECT

RE: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-25 Thread Peter Farland
, all we want is to make the platform we are using better, and 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 cont

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

2006-04-25 Thread Peter Farland
oteObject/SimpleRemoteObject.html Do I still 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 yo

RE: [flexcoders] Data Mapping problem

2006-04-27 Thread Peter Farland
To cast a type in 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: flexcode

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

2006-04-28 Thread Peter Farland
s the way lots > of > > really cool stuff were developed for the last year and it is mostly > > ignored by Adobe. > > > > You have a great idea of RIA and a great high performant player, if > you > > make a great product it will be an "all win" situatio

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 file is not involved at compile time.   (Also, that is not a warning and it can't be ignored, it's a hard error inf

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 compi

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 mu

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 nz_meh

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

2006-05-03 Thread Peter Farland
, but it's not > > applicable for libraries that I'm using (as2lib). > > > > Respect. > > > > --- In flexcoders@yahoogroups.com, "maxym.hryniv" wrote: > > > > Thank You Peter. It's a shame for me that i didn't know that. I&#x

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

2006-05-03 Thread Peter Farland
r the help --- 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/exte

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

2006-05-03 Thread Peter Farland
t won't compile. ...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;  >

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: [flexc

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: flexcoders@yahoogroups.c

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. -Orig

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: Wednes

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: WebSe

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 place to cater for the weaker type system on the client. This method lookup is cached for the pro

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

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

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 dom

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, How

RE: [flexcoders] Help with remote objects.

2006-05-18 Thread Peter Farland
Without specifying a destination in an flex-enterprise-services.xml file you have two options:   You'd could programmatically create a mx.messaging.channels.ChannelSet in an block and assign it to the RemoteObject instance,   or you could try just specifying the endpoint attribute (in add

RE: [flexcoders] AMFPHP credentials, secured services

2006-05-18 Thread Peter Farland
ction AppendToGatewayUrl( s : String ) : void{     //     }   } } -Mensaje original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Peter Farland Enviado el: jueves, 18 de mayo de 2006 15:55 Para: flexcoders@yahoogroups.com Asunto: RE: [flexcoders] AMFPHP credentials

RE: [flexcoders] Cairngorm -

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 famil

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

2006-05-19 Thread Peter Farland
You can use HTTP 1.1 methods such as PUT with 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 Servi

RE: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-21 Thread Peter Farland
Have you tried adding a format="xml" attribute to the tag as well? Normally this section is akin to an tag with named keys but when you're specifying the XML literally you need to inform the compiler. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Be

RE: [flexcoders] HTTP Service Error

2006-05-21 Thread Peter Farland
Have you tried browsing to the URL directly? What does it return?   What is the URL used to launch your SWF that accesses the JSP page? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sreedhar reddySent: Saturday, May 20, 2006 10:16 AMTo: flexcoders@yahoogroups.

RE: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3]

2006-05-21 Thread Peter Farland
26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags [FB2b3] Hi Peter, worked :D where have you learnt that? I would never think about that myself, thanks, regards, Peter --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTEC

RE: [flexcoders] SOAP dateTime to ActionScript date conversion

2006-05-22 Thread Peter Farland
> 1) Why is flex deserializing this as a String instead of a Date? [Pete] This would be a bug. Are you on the beta program and are you able to log a bug? If not, let me know and I can help. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt S

RE: [flexcoders] Beta3 - Remoting error when running from "local" build

2006-05-23 Thread Peter Farland
If you have {context-root} in any of your endpoints and rely on the services configuration to generate the correct channels for you at runtime then you must specify --context-root=/yourcontext at compile time. (This has been raised before as an issue with the dialog for not asking for this value

RE: [flexcoders] is "delete" really the best/only way to remove a node in e4x?

2006-05-25 Thread Peter Farland
Title: is "delete" really the best/only way to remove a node in e4x? For native Flash Player APIs, I'd log a bug against the player... this isn't really a Flex decision. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy SprattSent: Wednesday, May 24, 2006 9:29

RE: [flexcoders] Access of undefined property in XMLDocument

2006-05-26 Thread Peter Farland
Have you tried doing this inside a function instead? Perhaps you could call this function on initialization, perhaps on the Application creationComplete event? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of CharlesSent: Friday, May 26, 2006 3:49 PMTo: flexcoders

RE: [flexcoders] F2B3: mx.rpc.soap.mxml.WebService omits empty nodes

2006-05-31 Thread Peter Farland
This is a known issue that should be in releases after beta 3. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, May 31, 2006 3:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] F2B3: mx.rpc.soap.mxml.We

RE: [flexcoders] RemoteObject calls failing

2006-05-31 Thread Peter Farland
Have you got a {context.root} token in the channel-definition endpoint for the "my-amf" channel? If so, can you try removing it to hard code the context root, or if you want it to remain in the config, you must specify --context.root as a command line parameter. Next, how did you load the SWF?

RE: [flexcoders] Re: RemoteObject calls failing

2006-06-01 Thread Peter Farland
tually tried hard coding values for all 3 of the merge fields, which didn't seem to have any effect.  I've got tomcat on my machine and I'm running from eclipse, so the browser is using http. Is there anything else I should check? --- In flexcoders@yahoogroups.com, "Peter Fa

RE: [flexcoders] Re: RemoteObject calls failing

2006-06-01 Thread Peter Farland
me I made this change.   Still curious, where would I pass a --context.root parameter? thanks so much for the help. Jeremy --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Have you got a {context.root} token in the channel-definition endpoi

RE: [flexcoders] "No FontManager provided" after migrating to Beta 3

2006-06-01 Thread Peter Farland
One correction, I think the class should still be called BatikFontManager, not BatikManager. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Uhlmann Sent: Thursday, June 01, 2006 4:35 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcod

RE: [flexcoders] Instantiation and setting problems

2006-06-02 Thread Peter Farland
Where are you declaring these classes? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson Sent: Friday, June 02, 2006 12:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Instantiation and setting problems I anyone else ha

RE: [flexcoders] E4X, SOAP and namespaces, oh my!

2006-06-02 Thread Peter Farland
Ben, if a parent type declares the default namespace (as it does on GetDocumentResponse) then child elements that do not redeclare the default namespace nor use a prefix to another namespace will inherit that parent namespace. -Original Message- From: flexcoders@yahoogroups.com [mailt

RE: [flexcoders] Re: Instantiation and setting problems

2006-06-02 Thread Peter Farland
re --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > > Where are you declaring these classes? >  > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson > Sent

RE: [flexcoders] F2 CF FMS AMF encoding problems

2006-06-04 Thread Peter Farland
That's correct Bjorn. In the final release of Flex 2 the individual NetConnection based mx.messaging.Channel implementations that make the connections to AMF or RTMP endpoints for RemoteObject (and, well, the other services too) will protect themselves from the NetConnection.defaultObjectEncodi

RE: [flexcoders] HttpServletRequest on AMF

2006-06-05 Thread Peter Farland
The flashgateway.jar is no longer shipped with Flex. In Flex 2, all services are based on a messaging framework - as such, clients can talk to endpoints on various channels using various protocols, some of which may not be over HTTP. The server side APIs all start with flex.messaging. The clas

RE: [flexcoders] Re: Remoting configuration in flex-services.xml

2006-06-05 Thread Peter Farland
Hi Niladri, Examples/information for the FDS config should be in the /resources/config/ folder that was part of the FDS 2 installation (though these files will contain more complete information in the final release). However, for now here's some extra info on the Flex 2 Beta 3 config to help y

RE: [flexcoders] Re: Instantiation and setting problems - Example included

2006-06-05 Thread Peter Farland
ull object reference.   at TestA/generateXML()[C:\flex\TestA.as:25]   at sampleBug/sampleBug::setValue()[C:\flex\sampleBug.mxml:8]   at sampleBug/___Button1_click()[C:\flex\sampleBug.mxml:12] --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: &g

RE: [flexcoders] Webservices not working.

2006-06-05 Thread Peter Farland
  Change   GetFileNumMod.fileNumQry.result   to   GetFileNumMod.fileNumQry.lastResult From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy RottmanSent: Monday, June 05, 2006 6:03 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Webservices not working. I a

RE: [flexcoders] Net.Connection debugger - Is there something like it in Flex2?

2006-06-06 Thread Peter Farland
If you're using a raw NetConnection, then... no, not natively from the client. There are third party tools out there that sniffing AMF over HTTP traffic.   However, I'd first try using some of the utilities that Flex has to dumping an object graph to a string:   import mx.utils.ObjectUtil;

RE: [flexcoders] Flex 2.0b3 & WebServices

2006-06-06 Thread Peter Farland
Do you have a fully qualified URL for the wsdl attribute on the tag?   Flex 2 should support WSDL imports.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Tuesday, June 06, 2006 10:52 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders]

RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.

2006-06-07 Thread Peter Farland
Title: RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors. Bjorn, As is true for any service, destinations must be declared as children of the element. Also, if you don't have default channels defined for the service, you'll have to define at leas

RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.

2006-06-07 Thread Peter Farland
If you're using Producers and Consumers to contact the messaging service then you'll need to ensure the channel can broadcast messages to clients - i.e. the client would need to either be statefully connected with a real time channel such as RTMPChannel or a polling channel such as the AMF

RE: [flexcoders] Re: Namespace hell

2006-06-09 Thread Peter Farland
XML namespaceDeclarations does return the default namespace for me, but perhaps you have to get this information from the root XML "node"? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben ClinkinbeardSent: Wednesday, June 07, 2006 11:43 PMTo: flexcoders@yahoog

RE: [flexcoders] Re: Namespace hell

2006-06-09 Thread Peter Farland
Ben,   I'm not an expert on the XML type, nor label functions or UI components,  but some things to consider in your investigation:   1. You can get a list of all of the namespaces from an XML instance using:       var namespaces:Array = myXML.namespaceDeclarations();var ns:Namespace;

RE: [flexcoders] Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread Peter Farland
Aejaz,   This is expected.   You can't assign the result of a remote object call immediately to a value. The Flash Player needs to make calls asynchronously so that the movie does not stall while waiting for a response from the network. Instead you're returned a token to help you track resu

RE: [flexcoders] Re: Using PUT with HTTPService

2006-06-12 Thread Peter Farland
Note that this is already logged as 128061. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Monday, June 12, 2006 12:58 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Using PUT with HTTPService It would

RE: [flexcoders] Debugging Flex to ASP.Net Web Services.

2006-06-13 Thread Peter Farland
Try adding an to your MXML and then check your flashlog.txt file.   Settings in the mm.cfg file are for the Flash Player only. Flex is unrelated to this - it is an ActionScript framework built on top of ActionScript... essentially it's on its own when it comes to this sort of thing :) so

RE: [flexcoders] Re: loadWSDL Webservice result?

2006-06-13 Thread Peter Farland
You're both correct, but you're talking about different things.   If you're accesing the ResultEvent, the the property is definitely event.result. Check the ASDoc for mx.rpc.events.ResultEvent.   If you're using data binding as Ben suggests, then you're accessing the last result returned f

RE: [flexcoders] SSL & Flex

2005-06-17 Thread Peter Farland
I believe you need to do the latter: "https://localhost/server.php"; The protocol attribute is used to decide which proxy URL to use (http or https). If you're not using the proxy you should get a compile time warning that the protocol attribute is only for when useProxy="true" (the default).

RE: [flexcoders] All potential Properties and Methods of ASObject ??

2005-06-24 Thread Peter Farland
FlashGateway.IO.ASObject subclasses System.Collections.Hashtable. It adds only one extra property ASType which is used to map AMF TypedObjects between the client and server as per the information registered using Object.registerClass(). Said simply, it's just the server side representation of an

RE: [flexcoders] All potential Properties and Methods of ASObject ??

2005-06-24 Thread Peter Farland
myASO = ds.Tables[0]; (if it only accepts a Table); return myASO; } Can I do something similar to the above? If not, then I may as well keep using my native DataSets and/or DataTables. Can you all clarify this for me? Thanks in advance, Mike -Original Message--

RE: [flexcoders] RE: Font question

2005-06-27 Thread Peter Farland
Flex compiles applications to a SWF file. SWF files are decoded and rendered by the Flash Player. The Flash Player can anti-alias fonts if the font glyph (i.e. the shape outline of each individual character) information is embedded in the SWF. You must embed each face of a font family in order to

RE: [flexcoders] Newbie can't find selectedItem in comboBox when dataProvider is remoteObject

2005-07-01 Thread Peter Farland
Additional note for Daman's option 2.) After turning on remote-objects-debug in flex-config.xml, you'd either: a) Use the NetConnection Debugger.swf from the extras folder that ships with Flex to watch AMF traffic as you did in Flash MX. b) Turn on the gateway "Debug" level logging in /WEB-INF/f

RE: [flexcoders] Re: setUsernamePassword on RemoteObject

2005-07-05 Thread Peter Farland
Credentials sent in custom manner are never sent using HTTP Headers. The information is contained within the AMF/HTTP POST body. The Flex-only API, setUsernamePassword, works on a per request basis and sends credential information inside a special Flex Envelope type which can have per-request hea

RE: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault

2005-07-12 Thread Peter Farland
, details, etc)? -Original Message- From: Jaime Bermudez [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 12:34 PM To: flexcoders@yahoogroups.com Cc: Peter Farland Subject: Re: [flexcoders] RemoteObject : Convert Java Exception to ActionScript Fault Hey Peter, Do you have an

RE: [flexcoders] Object.registerClass different name ?

2005-07-13 Thread Peter Farland
Yep, you can use different packages/classnames with Object.registerClass() -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of r0main Sent: Wednesday, July 13, 2005 4:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Object.registerClass di

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 Beh

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_Documentation&file=2247.htm Once you have the requ

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 mehere_stra

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 N

RE: [flexcoders] Calls to CFCs

2005-09-29 Thread Peter Farland
variable I am sending, but 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 i

RE: [flexcoders] Calls to CFCs

2005-09-29 Thread Peter Farland
n the variable I am sending, but 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 serv

RE: [flexcoders] Calls to CFCs

2005-09-29 Thread Peter Farland
]; 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 a

RE: [flexcoders] Calls to CFCs

2005-09-29 Thread Peter Farland
Er, that would require the "Debug" level log too...   flashgateway.log.DefaultLogger   And I should have also mentioned that you need to restart JRun if you change any config files.   -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Searc

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 Fl

RE: [flexcoders] Messaging and serialization

2006-11-29 Thread Peter Farland
Hi Allen, Before going this far, can you try turning on "Debug" level logging in /WEB-INF/flex/services-config.xml and ensure that only the Endpoint.* pattern is enabled for the logging target filters? I'd then clear out the logs, re-run the test, and examine the AMF representation of the Objec

RE: [flexcoders] HTTPService GET request headers

2006-12-03 Thread Peter Farland
You literally create an Object, with header names as the property names and header values as property values. var headers:Object = new Object(); headers["CustomHeaderA"] = "SomeValue"; headers["CustomHeaderB"] = "SomeValue"; Note that if you're not using the FDS Proxy (i.e. the default state fo

RE: [flexcoders] Simple Question - Array to ArrayCollection - Best Practice/CFusion

2006-12-04 Thread Peter Farland
It depends on what Java type ColdFusion returns to FDS for serialization. By default, FDS returns java.util.Collection implementations as mx.collections.ArrayCollection, and native Java Arrays (i.e Object[]) as ActionScript Arrays. So, if your seeing that event.result can be successfully coerced in

RE: [flexcoders] FDS on the desktop?

2006-12-04 Thread Peter Farland
SWFs by default can either choose to access the file system or the remote network (e.g. requests made for data via HTTP), but not both. Flex compilers produce swfs that elect to use the network by default. Apart from that, there's no reason why you can't run a SWF from the desktop (the .mxml -> .

<    1   2   3   4   5   6   7   >