RE: [flexcoders] "http://www.adobe.com/2006/mxml" is down!!

2007-06-09 Thread Peter Farland
It's just an arbitrary URI that qualifies the MXML namespace, it does not have to represent a valid URL. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gambit_755 Sent: Friday, June 08, 2007 12:25 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Secure WebService problem with HotFix2

2007-06-08 Thread Peter Farland
excoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > I believe this is a known issue, as a work around, could you try setting > the following before you call your operation: > > anWebService.useProxy = false; > anW

RE: [flexcoders] Secure WebService problem with HotFix2

2007-06-08 Thread Peter Farland
I believe this is a known issue, as a work around, could you try setting the following before you call your operation: anWebService.useProxy = false; anWebService.someOperation(someParam); //... etc... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] O

RE: [flexcoders] AS3 method exist returning the # of bytes a String is?

2007-06-08 Thread Peter Farland
It would depend on the character set encoding. You'd need to know which encoding was used in order to determine the "number of bytes" of a stored String. For example, if you wanted to get the length of a UTF-8 encoded String, you could do something like this: var ba:ByteArray = new ByteArray

RE: [flexcoders]Faking an XMLRPC call

2007-06-08 Thread Peter Farland
s? If you have a blog you should be able to change the url to point to your blog and get the same results. On 6/7/07, Peter Farland <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: I'd check with an HTTP sniffer to see just what exactly is being sent on

RE: [flexcoders] Re: Flex & Java, Where to Start?

2007-06-07 Thread Peter Farland
I would skip EJB for now. You don't need to know about EJB to use FDS (note FDS was recently re-branded as LiveCycle Data Services ES 2.5 which is the latest release available). The concepts behind web apps in .NET are very close to the concepts of J2EE. There should be tons of web postings compa

RE: [flexcoders] Caching issue in HTTPService

2007-06-07 Thread Peter Farland
Can your script also set HTTP response no-cache and expires headers? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guido Sent: Thursday, June 07, 2007 10:22 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Caching issue in HTTP

RE: [flexcoders]Faking an XMLRPC call

2007-06-07 Thread Peter Farland
I'd check with an HTTP sniffer to see just what exactly is being sent on the wire for the body of the request. There are two known issues with the Flash Player XML type that HTTPService does not work around correctly in 2.0. The scenario is that if an XML value is provided as the body of a POST a

RE: [flexcoders] Re: hotfix 2 and webservices

2007-06-06 Thread Peter Farland
x27; . --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > I think this is the same as an issue we're looking at internally. I'll > contact you offlist with details so that we can tes

RE: [flexcoders] Flex 2 Webservices - load wsdl failed

2007-06-05 Thread Peter Farland
I don't see enough information here to diagnose what is going on... If you'd like me to take a look can you email the wsdl and schemas directly to [EMAIL PROTECTED] Thanks, Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thuvu03

RE: [flexcoders] HttpFlexSession Register in web.xml

2007-06-04 Thread Peter Farland
I need more info to help you out. Are you using FDS? What J2EE application server are you using? Have you confirmed that you have flex-messaging.jar in /WEB-INF/lib? How did you install FDS? Did you start with a clean war file or did you try to merge a new one over an older one? __

RE: [flexcoders] hotfix 2 and webservices

2007-06-01 Thread Peter Farland
I think this is the same as an issue we're looking at internally. I'll contact you offlist with details so that we can test a fix - please email me directly at [EMAIL PROTECTED] Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paolo B

RE: [flexcoders] Re: Web Service Problems

2007-05-31 Thread Peter Farland
ce="http://www.ofbiz.org/service/ <http://www.ofbiz.org/service/> " use="literal"/> http://localhost:8080/webtools/control/SOAPService <http://localhost:8080/webtools/control/SOAPService> "/> Thanks, Regards Marina --- In flexcoders@yahoogroups.com

RE: [flexcoders] Web Service Problems

2007-05-31 Thread Peter Farland
Hmm, I've noticed that format="xml" does not support data binding. I'm not sure if that is a bug or just a limitation of mxmlc, but without format="xml" you just have normal MXML processing rules and those tags get converted into plain old ActionScript Objects with child elements becoming propertie

RE: [flexcoders] Re: HotFix 2 for 2.01 and modules and uri's . ( WORKAROUND ? )

2007-05-30 Thread Peter Farland
ders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > I'll optimistically log this as something to be investigated for LCDS > 2.5 Updater 1 where there is a chance we can improve this... the > difference is tha

RE: [flexcoders] Re: Object serialisation + SimpleXMLEncoder

2007-05-30 Thread Peter Farland
JSON has several limitations as it doesn't usually send Strings by reference, it doesn't usually send Object traits (i.e. property names) by reference, and it doesn't usually support strongly typed class information (although I've seen unofficial suggestions as to how this could be achieved in JSON

RE: [flexcoders] Problem with loading xml file using HTTPService or URLLoader

2007-05-30 Thread Peter Farland
If you're accessing a domain that is not the same as that which was used to load your SWF, you will need to setup a crossdomain.xml policy file on the remote domain. This crossdomain.xml file needs to specify that the domain hosting your swfs can access it (the Flash Player will check this policy f

RE: [flexcoders] Re: HotFix 2 for 2.01 and modules and uri's .

2007-05-29 Thread Peter Farland
he application its being loaded into . This is a definate change of behavior in HotFix2 and one that IMHO is not for the better :) .. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > The new implemen

RE: [flexcoders] HotFix 2 for 2.01 and modules and uri's .

2007-05-29 Thread Peter Farland
The new implementation in Hotfix 2 now handles WSDL imports and includes and XSD imports and needs to be able to resolve relative imports/includes to the parent document's location, so the WSDLLoader has to resolve relative urls. By default this is based on what the SystemManager's loaderInfo.url h

RE: [flexcoders] Re: Flex 2.0.1 Hotfix 2 and RPCError on WebService send()

2007-05-29 Thread Peter Farland
A completely new implementation of WebService is in this release - it attempts to follow XML Schema rules much more strictly and provides better support for document/literal including wrapped style. We'd very much like to see your WSDL as a reproducible case (preferably a small amount of AS3/MXM

RE: [flexcoders] Re: Converting the output of ObjectUtil.copy() to custom type

2007-05-29 Thread Peter Farland
You can use this technique for typed objects too, you just need to ensure that you have registered a remote alias for the class. This is because ByteArray serialization is really making use of a player feature that is intended for sending AS3 data to remote agents. import com.something.FooObject;

RE: [flexcoders] Re: compiling java classes for flex data services

2007-05-29 Thread Peter Farland
Did you add flex-messaging.jar and flex-messaging-common.jar to your classpath when compiling? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mayur Bais Sent: Monday, May 28, 2007 1:14 AM To: flexcoders@yahoogroups.com Subject: Re: [flex

RE: [flexcoders] How to access last node atributes with e4x?

2007-05-29 Thread Peter Farland
You can get the length via XMLList.length() so just substract 1 and you'll have the last position. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mocalocamm Sent: Monday, May 28, 2007 8:22 AM To: flexcoders@yahoogroups.com Subject: [flexco

RE: [flexcoders] RemoteClass

2007-05-29 Thread Peter Farland
Can you show us the code where you import com.beans.Sale and show how it is actually referenced in your code so a compile time dependency exists on the class and thus ensures it is linked into the SWF? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] O

RE: [flexcoders] Re: WSDLError Element not resolvable with WebService using creationComplete

2007-05-25 Thread Peter Farland
It will be fixed in Flex 2.0.1 Hotfix 2 which is due out very, very soon. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Connolly Sent: Thursday, May 24, 2007 5:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: WSDLError

RE: [flexcoders] HELPPPP... Whitch one I must use RemoteObject or mxml.RemoteObject ?

2007-05-23 Thread Peter Farland
You can use either one, the mx.rpc.remoting.mxml.RemoteObject subclass is what the MXML tag syntax maps to... the mx.rpc.remoting.RemoteObject superclass is a lighter-weight version which simply exists to avoid dependencies on the rest of the flex framework. Pete

RE: [flexcoders] HTTPService - application/xml - white space added

2007-05-23 Thread Peter Farland
Hmm, have you tried setting the static XML.prettyPrinting property to false before constructing the XML: http://livedocs.adobe.com/flex/2/langref/XML.html#prettyPrinting or played around with the other static properties on XML? From: flexcoders@yahoogroups.c

RE: [flexcoders] star (*) data type vs. Object

2007-05-23 Thread Peter Farland
icit coercion of a value with static type Object to a possibly unrelated type String." The compiler doesn't swing that way! So Object and * are NOT interchangeable. And the difference isn't subtle. Use Object when you want to actually use generic objects and * when you want to

RE: [flexcoders] Re: WebService request serialization : XML attributes

2007-05-22 Thread Peter Farland
Flex SDK 2.0.1 Hotfix 2 contains a new WebService implementation that should handle attributes in addition to elements... this hotfix should be out very soon. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ecpmaz Sent: Tuesday, May 22, 200

RE: [flexcoders] star (*) data type vs. Object

2007-05-18 Thread Peter Farland
See: http://livedocs.adobe.com/flex/2/langref/specialTypes.html#* The type * is just like Object but it can also store values that are undefined. Object can only store null. It's useful to determine whether a dynamic property actually exists on a type and just happens to be null, or whether it

RE: [flexcoders] Re: Number data type rounding/flooring with FDS and Java

2007-05-17 Thread Peter Farland
The as operator is not really the same as a conversion function. If the expression is not of the specified datatype it usually returns null. Number cannot be null, so I'd expect it to result in 0. However, implicit coercion rules were added to the as operator in ECMAScript 4 (and hence AS3)... bu

RE: [flexcoders] finding and removing nodes from xml

2007-05-17 Thread Peter Farland
(var i:int = xmlList.length() - 1; i >= 0; i--) { delete xmlList[i]; } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Wednesday, May 16, 2007 5:26 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] findi

RE: [flexcoders] Re: Date - Timezone with WS

2007-05-17 Thread Peter Farland
other ideas..? Thanks, Paul --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > ActionScript 3 Dates are actually "DateTime" instances and always have a > timezone. Dates are always shown in the local t

RE: [flexcoders] Number data type rounding/flooring with FDS and Java

2007-05-17 Thread Peter Farland
Sorry I missed this post originally, is there any chance that you could email me a small test case directly... [EMAIL PROTECTED] Thanks, Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alteraa Sent: Friday, May 11, 2007 1:46 PM

RE: [flexcoders] rpc fault handler not called

2007-05-17 Thread Peter Farland
Right, can you try instead to use the normal RemoteObject or Operation level "result" event handler mechanism first to see if that works? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, May 10, 2007 2:57 PM To

RE: [flexcoders] Re: rpc fault handler not called

2007-05-17 Thread Peter Farland
If the AsyncToken is null then either an error occurred before the invocation could even be sent to the server... or that the response was not a well formed implementation of mx.messaging.messages.AcknowledgeMessage and thus could not correlate the result or fault with an outstanding request and he

RE: [flexcoders] Re: HELP! How to get a subnode in such a XML data?

2007-05-17 Thread Peter Farland
Correct, just to clarify this a little further... this isn't some quirk of AS3 - this is implemented as specified in the ECMA 357 E4X specification... section 10.1.1 states: "Given an XML object x, the operator ToString converts x to a string s. If a value of type XML has simple content (i.e., cont

RE: [flexcoders] Date - Timezone with WS

2007-05-16 Thread Peter Farland
ActionScript 3 Dates are actually "DateTime" instances and always have a timezone. Dates are always shown in the local timezone in Flash, this isn't Flex specific. You have to use the UTC specific accessors in ActionScript to get the time in UTC / Zulu / GMT time. There is no record of the original

RE: [flexcoders] finding and removing nodes from xml

2007-05-16 Thread Peter Farland
708-983-1577 (F) > [EMAIL PROTECTED] > http://www.bluetube.com/bti <http://www.bluetube.com/bti> ____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Wednesday, May 16, 2007 3:18 PM To: flexcoders@y

RE: [flexcoders] finding and removing nodes from xml

2007-05-16 Thread Peter Farland
http://livedocs.adobe.com/flex/2/langref/operators.html#delete_(XML) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Grant Davies Sent: Wednesday, May 16, 2007 3:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] finding and removin

RE: [flexcoders] Flex or CF bug?

2007-05-16 Thread Peter Farland
Neither, it's a known requirement. CF has the concept of "named arguments" versus ordered arguments. A single Object is seen as a name-value map for named parameters. Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jamie Sent: Wedn

RE: [flexcoders] HashSet to ArrayCollection

2007-05-10 Thread Peter Farland
Anything that implements java.util.Collection will map to mx.collections.ArrayCollection back in the client in ActionScript (by default, you can revert to legacy plain old AS3 Array with a channel endpoint serialization property... but I doubt you're looking for that). __

RE: [flexcoders] is Serializable needed?

2007-05-09 Thread Peter Farland
ks! - Kevin On May 9, 2007, at 10:44 AM, Peter Farland wrote: FDS 2 does not require types to implement Serializable. The value of serialVersionUID really should be generated using the serialver command line tool that ships with the JDK... which is a pain to do

RE: [flexcoders] is Serializable needed?

2007-05-09 Thread Peter Farland
FDS 2 does not require types to implement Serializable. The value of serialVersionUID really should be generated using the serialver command line tool that ships with the JDK... which is a pain to do each time you add a new class. If you don't need them to be Serializable, then I suggest not impl

RE: [flexcoders] Re: Setting ByteArray to a specific string value ?

2007-05-08 Thread Peter Farland
ecoded version does not seem to be a string at all; it's a true binary array. Any ideas ? Jamie. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > The new WebService implementation due out

RE: [flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-04 Thread Peter Farland
y values. Simon --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > is the MXML tag that maps to the > mx.logging.targets.TraceTarget class. This is just one implementation of > the ILoggingTarget

RE: [flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-04 Thread Peter Farland
work if running in debug? Simon --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Just a minor note Simon, for the logging categories, I'd suggest using > either "Endpoint.*" OR "Me

RE: [flexcoders] Can a VO have 2 Remote Classes?

2007-05-04 Thread Peter Farland
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Friday, May 04, 2007 1:22 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Can a VO have 2 Remote Classes? I've personally not tried two [RemoteClass] tags on a VO, but if you're not successful in you

RE: [flexcoders] Can a VO have 2 Remote Classes?

2007-05-04 Thread Peter Farland
I've personally not tried two [RemoteClass] tags on a VO, but if you're not successful in your tests then can you also try the lower level Flash API that mxmlc ends up calling for the [RemoteClass] metadata... http://livedocs.adobe.com/flex/2/langref/flash/net/package.html#register ClassAlias()

RE: [flexcoders] Setting ByteArray to a specific string value ?

2007-05-04 Thread Peter Farland
The new WebService implementation due out soon in Flex 2.0.1 Hotfix 2 (developed during the LCDS 2.5 timeframe) should fix this problem. FWIW, there is a Base64Encoder in rpc.swc that is not yet documented (but will be in the next version of Flex). Here's how you can use it now: import mx.utils

RE: [flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-03 Thread Peter Farland
Just a minor note Simon, for the logging categories, I'd suggest using either "Endpoint.*" OR "Message.*" rather than both at the same time as they give two different views for virtually the same information. The other categories are fine, but these two in particular are some what best treated as m

RE: [flexcoders] Re: WSDLParser Error #1009 when calling a web service

2007-05-03 Thread Peter Farland
The issue might be that your WSDL operation only declares an input message but does not declare an output message. Flex only supports WebService operations that are request/response style.

RE: [flexcoders] WSDLParser Error #1009 when calling a web service

2007-05-03 Thread Peter Farland
Flex SDK 2.0.1 Hotfix 2 will be out soon and will include a new WebService implementation that I hope will solve your issue as it better supports WSDL import and XML Schema import and include. To be sure, can you log a bug with a small test case? http://www.adobe.com/cfusion/mmform/index.cfm?n

RE: [flexcoders] Re: accessing amf3 remote services using netConnection instead of removteObject

2007-04-26 Thread Peter Farland
You can listen at three levels... 1. At the service level... remoteObject.addEventListener(ResultEvent.RESULT, resultHandler); remoteObject.addEventListener(FaultEvent.FAULT, faultHandler); 2. At the operation/method level... remoteMethod.addEventListener(ResultEvent.RESULT, resultHand

RE: [flexcoders] Re: NetConnection.Connect.Failed

2007-04-26 Thread Peter Farland
Can you give me the URL to that specific FMS example? That nc.connect URL looks a little odd. Is your server name really tutorial_hello, or did you just remove this information for the purposes of posting to this forum? Typically, I'd expect an RTMP URL to look more like this: rtmp://myserver:

RE: [flexcoders] Bug: GET/POST determined by XML Contents not method

2007-04-24 Thread Peter Farland
This is a known issue with Flex's HTTPService (and should be fixed in Flex SDK 2.0.1 Hotfix 2). For now, before calling send, convert the content to a String by explicitly calling content.toXMLString(). service.send(content.toXMLString()); Note that XML.toString() and XML.toXMLString() behav

RE: [flexcoders] LiveCycle Data Services & PDF

2007-04-24 Thread Peter Farland
> 1) Can LCDS take XDP files made in LiveCycle Designer > and intelligently merge them with XML to create PDFs? > (I notice in the java code in the LCDS sample, the pdf > is hard coded as a '.pdf' file.) [Pete] You need a valid LCDS license to do PDF generation in general, however, in the final

RE: [flexcoders] Ecplise Out Of Memory Errors

2007-04-24 Thread Peter Farland
I've seen suggestions to also increase the MaxPermSize. I typically run many projects at once and have found the following eclipse.ini settings to work well (machine has 2GB RAM). -vmargs -Xms128m -Xmx784m -XX:MaxPermSize=256m Pete From: flexcoders@yahoogroups

RE: [flexcoders] FDS/LCDS First Time Set Up

2007-04-22 Thread Peter Farland
4) I tried to follow the "Use the Data Management Service" tutorial in the Flex Manual and got hung up in two places. First, I get a compiler error that says: "Unexpected attribute 'url' found in 'endpoint' from file: services-config.xml" (I assume I look in the WEB-INF/flex dir for this file,

RE: [flexcoders] FDS / CF Endpoints

2007-04-20 Thread Peter Farland
Ah yes, Joao is on the right track - I forgot that CF7.0.2 uses an RMI bridge to connect the two. I was thinking of the configuration from a CF8 + LCDS 2.5 integrated installation that is in Beta 2 right now that makes this much simpler (and avoids the need for configuring RMI to get this to

RE: [flexcoders] FDS / CF Endpoints

2007-04-19 Thread Peter Farland
Is there really a servlet mapping in your ColdFusion web application's /WEB-INF/web.xml file on your srv2.mydomain.com site that is /messagebroker/*? I think ColdFusion uses /flex2gateway/* instead of /messagebroker/* for their message broker servlet mapping.

RE: [flexcoders] Re: Socket to Port 80

2007-04-19 Thread Peter Farland
re's any way for me to get the xmlsocket:// connection to communication via HTTP is there? Sorry for the complex requirements, but if I can jump this hurdle this will make for a very nice communications system. Thanks again. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.

RE: [flexcoders] Re: Socket to Port 80

2007-04-18 Thread Peter Farland
07 12:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Socket to Port 80 --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > > > I'll give this a try, but I'm not

RE: [flexcoders] Re: Socket to Port 80

2007-04-18 Thread Peter Farland
> I'll give this a try, but I'm not actually using > XMLSocketbut a straight Socket ... [Pete] I did see that, but was looking around at samples for loading custom policy files over a socket and must have cut and pasted one that included the xmlsocket: in the protocol. But protocols aside, I thin

RE: [flexcoders] XML with local shared object

2007-04-18 Thread Peter Farland
I believe so, but the XML type is intrinsic to AS3 and so I believe you need to use AMF 3 to serialize this type in general. Can you try explicitly setting the objectEncoding to ObjectEncoding.AMF3 on your shared object to see if it makes any difference (it should be AMF 3 by default, but I want to

RE: [flexcoders] Socket to Port 80

2007-04-18 Thread Peter Farland
I am trying to use ActionScript (in Flex) to communicate back to the HTTP server that the SWF was loaded from on port 80 using a Socket. If my server is running from port 8080 everything works fine, but when it's on port 80 I get a sandbox violation. [Pete] For Sockets, I think you need to load a

RE: [flexcoders] Re: How to configure wsdl for WebService at runtime using a configuration file?

2007-04-18 Thread Peter Farland
Right, you could use HTTPService to first load this configuration file and then programmatically set the WSDL to load for each WebService. However, you might need to use the pure ActionScript API as the MXML tag tries to call loadWSDL for you on component initialization... import mx.rpc.soap.

RE: [flexcoders] Looping through sorted ObjectProxy

2007-04-18 Thread Peter Farland
Ah, so obj.stats is an Object and not an Array? You shouldn't rely on iteration order for hashtable types in general, but especially since the ECMAScript specification says iteration order is up to the object and hence implementation specific. (Note that you can define an iteration order for d

RE: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-18 Thread Peter Farland
has to always update it before being released to our testers. It would make his life so much easier if something was built into flexbuilder. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > >

RE: [flexcoders] Re: problem with displaying data in the tree control

2007-04-17 Thread Peter Farland
I think you forgot to set the HTTPService resultFormat property to "e4x". From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of paranoid_santhosh Sent: Tuesday, April 17, 2007 4:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: p

RE: [flexcoders] HTTPService Security Sandbox woes

2007-04-17 Thread Peter Farland
Remember that you must load your SWF via HTTPS if you want to access data via HTTPS, such as HTTPService. Have you tried your SWF in both MSIE and Firefox? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Tuesday, A

RE: [flexcoders] oop constructor

2007-04-17 Thread Peter Farland
A constructor is a special function defined on a class that must have the same name as the class and is called when creating a new instance of that class. Like any old function, a constructor can take zero or more arguments. If present, constructor arguments represent information that is required t

RE: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Peter Farland
> I suppose your CC build script could run sed over the > source or something but that's fairly yuck too. [Pete] Why not just use the AS3 "include" directive to include a snippet of a line of AS3 code that would declare your public static variable for your version inside the class body and overri

RE: [flexcoders] Flex crashes if no sound card present

2007-04-17 Thread Peter Farland
Are you trying to play just sound, or do you have a video that happens to have sound? Have you reported this as an issue to the Flash Player team with a reproducible case? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Danko Kozar Se

RE: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Peter Farland
These seem like general SCM questions to me. Surely you can get cruise control to call a command line statement? There are command line tools to compile MXML or AS3 based applications to SWFs or to create component libraries as SWCs. Couldn't cruise control also call an ant task if you've already

RE: [flexcoders] How to embed Type1 font in CSS?

2007-04-17 Thread Peter Farland
I don't believe this is supported natively in Flex 2, though if you can manage to get Flash Authoring to embed a Type 1 font into a SWF then you can always embed this Flash Authoring published SWF into a Flex application as an asset and then refer to the font families in CSS styles. Other font fi

RE: [flexcoders] Flex accessing ColdFusion Remoting service on a seperate server?

2007-04-16 Thread Peter Farland
By default, the crossdomain.xml file would live in the webroot on the server hosting the ColdFusion remoting service and in this policy file it would allow access from SWFs served from some other server. http://www.mycoldfusionserver.com/crossdomain.xml ...which would contain: Your M

RE: [flexcoders] JSP Tag Library - FDS 2.0.1

2007-04-16 Thread Peter Farland
What JVM are you using? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Kotter Sent: Monday, April 16, 2007 12:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] JSP Tag Library - FDS 2.0.1 I am getting the following er

RE: [flexcoders] Noob Querystring questions

2007-04-13 Thread Peter Farland
A SWF is loaded via a URL inside the HTML OBJECT / EMBED tag... so you'd need to put the parameters on that URL, not the URL that loaded the wrapper SWF? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Friday, April 13, 2007 6

RE: [flexcoders] Default Decoder could not decode result?

2007-04-12 Thread Peter Farland
Have you tried using an HTTP sniffer to capture the traffic of the request and response when submitting to the php URL? Perhaps you're getting back an HTML-formatted error page instead of XML? Do you really need the result of the post to the PHP page decoded into AS3 objects? If not, try changing

RE: [flexcoders] Re: Calling Webservice from disk to http

2007-04-11 Thread Peter Farland
n the bin, it works. Outside or by others it doesn't. If I share my "bin" directory over the network and let others execute the html inside the bin through file sharing, no go either. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farlan

RE: [flexcoders] HTTPService where parameter has hypen or underscore and bypassing automatic form encoding of data with bytearray?

2007-04-11 Thread Peter Farland
If you're using HTTPService, I think you may be able to set the contentType to something else like "text/plain" and prepare the string for the POST yourself manually? It may be simpler to decode the form params on the other end before invoking your API... what technology are you using on the server

RE: [flexcoders] Calling Webservice from disk to http

2007-04-11 Thread Peter Farland
Are you launching the application from Flex Builder? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bnsmeets Sent: Wednesday, April 11, 2007 3:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Calling Webservice from disk to http

RE: [flexcoders] Creating a WebService through ActionScript only

2007-04-11 Thread Peter Farland
In Flex 2 you can use ActionScript APIs to call RPC services like WebService. (Be sure to call loadWSDL() after setting the wsdl property if you're using the pure ActionScript API for WebService, however). There currently isn't (yet) a way to dynamically determine operation parameters from within

RE: [flexcoders] The difference...

2007-04-11 Thread Peter Farland
There should be a ton of articles online discussing this and I see Abdul gave a good summary before. Here's my quick summary here... both Flex and Flash applications are ultimately compiled down to a SWF file and run in the Flash Player. They both use ActionScript to write programmatic logic and th

RE: [flexcoders] proxying via named destinations - coldfusion support?

2007-04-09 Thread Peter Farland
ColdFusion Scorpio will include an installation option that will have LCDS 2.5 (need FDS 2.5) integrated into the same web application so you'll have the 4 services pre-configured in services-config.xml. I think in earlier versions of ColdFusion not all of the required jars shipped to get the pro

RE: [flexcoders] Sending multiple HTTPService requests - how to really cancel all but the last

2007-04-09 Thread Peter Farland
I believe that yes, once one of the previous requests completes (either by a fault or result) the next outstanding request can proceed. Note that you can make use of multiple CNAMEs to increase the number of requests made concurrently per host (e.g. Google Maps uses mt0.google.com through mt3.googl

RE: [flexcoders] Sending multiple HTTPService requests - how to really cancel all but the last

2007-04-09 Thread Peter Farland
The maximum number of concurrent HTTP connections allowed to a web server is controlled by the browser. The HTTP 1.1 specification suggests a limit of 2 connections per host, but this requires further consideration if persistent connections are to be used. Some browsers can be configured to accept

RE: [flexcoders] Flex 2, AMF, Tomcat, and gzip

2007-04-06 Thread Peter Farland
the Tree rendering it all happens in <1/2 sec! DK On 06 Apr 2007 09:15:27 -0700, Peter Farland <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: As discussed but I wanted to record this on the forum, a work around for this MSIE issue (http

RE: [flexcoders] Flex 2, AMF, Tomcat, and gzip

2007-04-06 Thread Peter Farland
As discussed but I wanted to record this on the forum, a work around for this MSIE issue (http://support.microsoft.com/kb/871205) is to set the false property in the appropriate channel-definition in /WEB-INF/flex/services-config.xml. FWIW, we've also found that setting must-revalidate in additio

RE: [flexcoders] Multiple requests from Safari

2007-04-06 Thread Peter Farland
What sort of endpoint are you connecting to? Are you sure there are two of the exact same requests and not a ping-command message followed by a remoting message? If you're using RemoteObject note that all Channels first send a CommandMessage to check that they can successfully communicate with th

RE: [flexcoders] Re: Actionscript based model to HTTPService send call?

2007-04-05 Thread Peter Farland
>> I had that problem too. The issue is that send requires a Basic Object. > Yeah, I figured that. Just thought there might be a way a convert or > cast my object to a generic object. I logged a bug for this (No. 203212). It's because HTTPService is using a for..in loop to read the set of param

RE: [flexcoders] Re: User authentication

2007-04-05 Thread Peter Farland
HTTPService has a url property so if you start your URL with https:// then that tells the Flash Player that you want to use SSL to communicate with the web server. Note that to make an HTTPS connection you must load your SWF via a secure URL too. If you're even asking the question "what are t

RE: [flexcoders] Re: question about string equality

2007-04-05 Thread Peter Farland
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Thursday, April 05, 2007 11:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: question about string equality For AS3, I think it is fine to use the new operator in general - I was clutching-at-straws as to why som

RE: [flexcoders] Re: question about string equality

2007-04-05 Thread Peter Farland
but it is a bit worrying that I need to do the comparison in > this way only in this instance. That says to me that I don't properly > understand something. > > If I want to check equality of the content of two strings should I > always be testing valueOf()? > > What is the ov

RE: [flexcoders] Flex remoting, using a factory for beans

2007-04-05 Thread Peter Farland
I understand exactly what you're asking, but it's technically not possible right now without writing your own adapter for the remoting service. I'd log an enhancement request with the CF team. (For the FDS case with Java POJOs, you can write your own factory instead and rely on the standard java

RE: [flexcoders] Re: User authentication

2007-04-05 Thread Peter Farland
1) Is Base64 secure? [Pete] No. You need to use HTTPS for the actual transmission in order for it to be secure. Base64 is merely a way to obfuscate strings to make them not immediately human readable, i.e. in server logs etc. 2) What's the standard model of authentication in RIA? I mean.. I fig

RE: [flexcoders] Re: question about string equality

2007-04-05 Thread Peter Farland
verhead of using ===? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > What are the type declarations of the properties sc.name and > sc.category? Do they just happen to hold String values or are they ty

RE: [flexcoders] Re: "implements", "include", MX and AS...

2007-04-04 Thread Peter Farland
Can you avoid using include and perhaps use MXML to extend a custom AS base class that implements your interface and still extends Canvas? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, April 04, 2007 4:23 PM

RE: [flexcoders] Re: Serializing Object that contains IExternalizable properties

2007-04-04 Thread Peter Farland
If your object implements IExternalizable, then just pass it to the normal output.writeObject() method. It will detect that it implements this interface and set the correct flags in the AMF3 type header for "object" to denote that it is IExternalizable. From

<    1   2   3   4   5   6   7   >