RE: [flexcoders] Re: Font Embedding from *.ttc files

2010-03-25 Thread Peter Farland
In the @font-face rule use the full font name in the fontFamily alias to describe the specific face in the TTC file that you're trying to embed. @font-face { fontFamily: "Helvetica Neue Condensed Bold"; ... } Pete -Original Message- From: flexcoders@yahoogroups

RE: [flexcoders] flex 4 and descendant CSS selectors

2009-11-24 Thread Peter Farland
If those nested List components consider the "mySitesList" to be an ancestor in their style chain then it will apply because of the use of a descendant selector. You could prove this by recursively calling .styleParent from the nested List instances to find your "mySitesList" List. Pete -

RE: [flexcoders] HTTPService HTTPChannel 2032 Channel.Ping.Failed trying to do asimple form post

2009-05-29 Thread Peter Farland
If you've setup a crossdomain.xml file correctly then there's no need to set useProxy="true" for your scenario (you could just leave it as the default, which is false). The HTTPService url property does not appear to be marked with [Bindable] metadata. You can programmatically change its in Act

RE: [flexcoders] ColdFusion typed object problem - but not the usual issues

2009-05-12 Thread Peter Farland
You don't have two types mapped to the same alias by any chance do you?

RE: [flexcoders] Re: Eclipse Crashing

2009-04-30 Thread Peter Farland
you mean by the second response. Could you give me an example? --- In flexcoders@yahoogroups.com, Peter Farland wrote: > > > Are you mixing AIR and Flex library projects in the same workspace? > > Have you tried excluding all of the Flex SDK swcs from the proj

RE: [flexcoders] Eclipse Crashing

2009-04-30 Thread Peter Farland
Are you mixing AIR and Flex library projects in the same workspace? Have you tried excluding all of the Flex SDK swcs from the project library path that are not needed by each project? -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] include ".as" file question.

2009-04-08 Thread Peter Farland
This is not possible as #include is a compiler directive. It is possible to load a SWF dynamically at runtime with additional classes, but I don't think you can load a new definition for a class that is already defined in an application domain. The following may be a little low level to jump in

RE: [flexcoders] Re: RemoteObject in AS3 Project

2009-04-01 Thread Peter Farland
If you're comfortable with calling the NetConnection API directly and are fine with having to manage connectivity issues, faults, setting up request/response messages etc... then you could go that route. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoog

RE: [flexcoders] RemoteObject in AS3 Project

2009-04-01 Thread Peter Farland
While there shouldn't be too many dependencies, I know rpc.swc depends on this class from framework.swc: http://opensource.adobe.com/svn/opensource/flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as ... you could try to mimicking this class and see how fa

RE: [flexcoders] Re: Embedding a font with a space in it

2009-03-29 Thread Peter Farland
Try specifying font-weight:bold; in addition to the other properties in the @font-face rule. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Sunday, March 29, 2009 3:26 PM To: flexcoders@yahoogroups.com Subject: [flexc

RE: [flexcoders] Re: AIR has different behaviour in XML.appendChild() vs Flex for String values?

2009-03-23 Thread Peter Farland
, and doesn't seem to be using Operation at all -- and it's in Operation (as you noted) that the xmlSpecialCharsFilter is passed down. Am I missing something? Francis --- In flexcoders@yahoogroups.com, Peter Farland wrote: > > https://bugs.adobe.com/jira/browse/SDK-19598 > > Not

RE: [flexcoders] Re: AIR has different behaviour in XML.appendChild() vs Flex for String values?

2009-03-23 Thread Peter Farland
https://bugs.adobe.com/jira/browse/SDK-19598 Not a perfect solution, but to help out with your issue of modifying generated code - your generated Service stub should have a method called getWebService() which retuns a subclass of mx.rpc.soap.AbstractWebService. You should be able to set the xml

RE: [flexcoders] Embedding/visualizing special characters issue

2009-03-20 Thread Peter Farland
ding two fonts and was able to render all the characters. > > Cheers, chr > > > > 2009/3/20 Peter Farland : >> Hey Christian, >> >> Make sure there are no null chars 0x00 in the String as the display of such >> Strings are truncated at the first null char. >

RE: [flexcoders] Re: Flex app fails when moved to server hosting web services

2009-03-20 Thread Peter Farland
remove the import will that import other client types (C++, Java, etc) negatively? --- In flexcoders@yahoogroups.com, Peter Farland wrote: > > There you go - the schema definition for SOAP 1.1 is implied for our > processing of WSDL, so you could remove that import. > > Pete &

RE: [flexcoders] Re: Flex app fails when moved to server hosting web services

2009-03-20 Thread Peter Farland
@yahoogroups.com Subject: [flexcoders] Re: Flex app fails when moved to server hosting web services There is an import: http://schemas.xmlsoap.org/soap/encoding/"; schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/> --- In flexcoders@yahoogroups.com, Peter Farland

RE: [flexcoders] Re: Flex app fails when moved to server hosting web services

2009-03-20 Thread Peter Farland
= new WebService(); ws.loadWSDL(mywsdlloc); <-- the GET is successful, but it subsequently requests http://schemas.xmlsoap.org/crossdomain.xml, which produces a 404 --- In flexcoders@yahoogroups.com, Peter Farland wrote: > > I'd take a look at the in the WSDL for your > servi

RE: [flexcoders] Flex app fails when moved to server hosting web services

2009-03-20 Thread Peter Farland
I'd take a look at the in the WSDL for your service and port (typically towards the bottom of the WSDL) and note the host that is being contacted. What location is mentioned here? -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of wub

RE: [flexcoders] Embedding/visualizing special characters issue

2009-03-19 Thread Peter Farland
Hey Christian, Make sure there are no null chars 0x00 in the String as the display of such Strings are truncated at the first null char. What version of Flex are you using? Are you using an @font-face to embed your font? If so, can you post a snippet showing the complete @font-face rule? Can

RE: [flexcoders] What are the chances Flex could be causing this?

2009-03-19 Thread Peter Farland
Jonathon had a good point - look out for maximum number of connections, perhaps there is a specific maximum number of connections per host. Pete From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nwebb Sent: Thursday, March 19, 2009 5:34 AM To: flexcoders@yahoogr

RE: [flexcoders] swf file size changes from build to build?

2009-03-19 Thread Peter Farland
I would have to agree with Maciek as on seeing the file size differences I was skeptical it would just be timestamps causing the difference (although the point that the consecutive compiles will not result in the exact same bytes is a valid one). Fotis, I'd be interested if you could investigat

RE: [flexcoders] Re: Where I can examples of how to use ByteArray

2009-03-18 Thread Peter Farland
d starting point, thank you. However, I need more help to be able to "read" the data from the FLV. readByte() returns an int and readBytes expects at least one parameter of type ByteArray which I have no clue what to put in there. And readObject(0 throws an ouf of bounds error. Gilber

RE: [flexcoders] What are the chances Flex could be causing this?

2009-03-18 Thread Peter Farland
I would have thought that if you were hitting the maximum connections per host limitation then your requests would just queue and take longer to respond. Out of curiosity, how many fail and how many return data? Does the number change? Are the 10 SWFs calling back to the same dev server hosting

RE: [flexcoders] Where I can examples of how to use ByteArray

2009-03-18 Thread Peter Farland
You may want to have loader as a member variable so that you can access it in other contexts or make subsequent requests without using init() private var loader:URLLoader; Also, you should set the loader.dataFormat to URLLoaderDataFormat.BINARY before loading binary data. See: http://livedocs.

RE: [flexcoders] OS-dependent mxmlc behavior for fonts?

2009-03-18 Thread Peter Farland
HD and didn't find anything. > > We're so close, I can feel it! :) > > Peldi > --- > Giacomo 'Peldi' Guilizzoni > Founder, Balsamiq Studios, LLC > http://www.balsamiq.com > ph: +1 (415) 367-3531, Skype,

RE: [flexcoders] HttpService headers - age old problem

2009-03-17 Thread Peter Farland
See: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html For POST requests, the confusion probably arises because it was possible to send Authorization headers in the past, but it was added to the list of restricted headers (I don't have the exact version handy, but it might

RE: [flexcoders] HTTPService never returning...

2009-03-17 Thread Peter Farland
Can you try getting an HTTP Sniffer to see what the raw response looks like? Are they HTTPS URLs? Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nathanpdaniel Sent: Tuesday, March 17, 2009 12:32 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] OS-dependent mxmlc behavior for fonts?

2009-03-17 Thread Peter Farland
Peldi, by system font, do you mean device fonts (i.e. not embedded)? What version of Flex? Are you pointing to a .ttf file using an @font-face CSS rule with a url? If so, and if you're using Flex SDK 3, go into your /frameworks/flex-config.xml and comment out the BatikFontManager from the list

RE: [flexcoders] Re: Problems with POST or GET

2009-01-20 Thread Peter Farland
nt bandwidth available > > > > ____ > > > > From: flexcoders@yahoogroups.com > [mailto:flexcod...@yahoogroups.com] On > > Behalf Of Peter Farland > > Sent: Monday, January 19, 2009 4:39 PM > > To: flexcoders@yahoogroups.com > > Subject

RE: [flexcoders] Re: Problems with POST or GET

2009-01-19 Thread Peter Farland
Are you POST'ing to a host on a domain that is not the same as the domain hosting the SWF? Are you using HTTPS? If so, does it work when using HTTP? Does it happen in all browsers, or just a particular one?

RE: [flexcoders] flex application is not loading under HTTPS

2008-10-06 Thread Peter Farland
Note there are several variants of no-cache headers. This is a separate known issue with MSIE listed here: http://support.microsoft.com/kb/323308

RE: [flexcoders] flex application is not loading under HTTPS

2008-10-05 Thread Peter Farland
You may be running into something like this known MSIE issue: http://support.microsoft.com/kb/871205 Pete - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of venkateswarlu na

RE: [flexcoders] flex application is not loading under HTTPS

2008-10-03 Thread Peter Farland
same code is working under DEV env under HTTP. somebody is saying it is bcos of javascript errors, Is javascript errors stop loading the SWF? Please help me on this. Thanks, Venkat. - Original Message From: Peter Farland <[EMAIL PROTECTED]> To: "flexcoders@yahoogroups.com&quo

RE: [flexcoders] flex application is not loading under HTTPS

2008-10-03 Thread Peter Farland
stuck at QA env...big trouble for me :( Aaron, SSL certificate is installed, i think it is from verisign. Thanks for your time, Thanks & Regards, Venkat. - Original Message From: Peter Farland <[EMAIL PROTECTED] com> To: "flexcoders@ yahoogroups. com" <[EMAIL PROTE

RE: [flexcoders] flex application is not loading under HTTPS

2008-10-02 Thread Peter Farland
Does the SWF load but no data is received, or does the SWF itself fail to load? > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of venkateswarlu naidu > Sent: Thursday, October 02, 2008 9:30 PM > To: flexcoders@yahoogroups.com; [EMAIL PROTECTED

RE: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Peter Farland
No problem at all, they're confusingly close APIs and I totally agree they need more docs to explain how to use them. We _could_ create some form of toString()-like method though that could handle UTF-8 bytes (but ByteArray should give you that too with readUTF... I think we'd just need to know

RE: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Peter Farland
Just curious, where'd folks see the decoder docs talk about a toString()? Base64Decoder's primary use is to decode to a ByteArray so it has a toByteArray() method. If you wanted to construct a String from this ByteArray you'd need to know the charset encoding used in the bytes. Pete > -Ori

RE: [flexcoders] Re: Base64Encoder / Base64Decoder

2008-09-25 Thread Peter Farland
What do you want to do with Base64? I might be able to point you at an example. I've also logged a bug for documentation to ask them to provide examples in these classes (note this, and commenting on the live docs, is a better way to get the doc team's attention). https://bugs.adobe.com/jira/bro

RE: [flexcoders] Bizarre XML data transformation

2008-09-17 Thread Peter Farland
How are you loading the XML? HTTPService? If so, have you set resultFormat="e4x"?

RE: [flexcoders] Date issue - need to create date out of string like xxxx-xx-xx from XML

2008-09-16 Thread Peter Farland
Josh, have you logged bugs for specific issues with SOAP date unmarshalling? Pete From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Tuesday, September 16, 2008 2:05 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Date issue - need to create da

RE: [flexcoders] Cannot unmarshall

2008-09-11 Thread Peter Farland
Unfortunately you cut off the most important part - what do the namespaces in the schema map to? They may be declared on the wsdl definitions root tag or the schema tag, but it's not clear from your post what the S2 namespace prefix maps to... I'm guessing that it is (incorrectly) the XML Schema

RE: [flexcoders] Add methods to RemoteObject in AS?

2008-01-11 Thread Peter Farland
It's something like this: import mx.rpc.events.ResultEvent; import mx.rpc.remoting.mxml.RemoteObject; import mx.rpc.remoting.Operation; ... public var srv:RemoteObject; ... private function init():void { srv = new RemoteObject("pojo"); srv.showBusyCursor = true; var op1:Operation

RE: [flexcoders] crossdomain not working with HTTP Request Error

2008-01-08 Thread Peter Farland
You can tell it to load from a specific subdirectory using the loadPolicyFile API, but the default location is to look for it in the webroot of a server (so deploying a war with a default context root of the empty string is one way to achieve that). From: flexcode

RE: [flexcoders] Re: Handling authorization/Authentication info using remoteObject services

2008-01-07 Thread Peter Farland
You make use of the HTTP sessions for RemoteObject too. Just make sure you're communicating with the server over secure HTTP, such as mx.messaging.channels.SecureAMFChannel (which posts binary AMF over HTTPS). Cookies are sent on subsequent requests to maintain your session. You have two options

RE: [flexcoders] Re: Flex SSL over AMF with ColdFusion services-config.xml

2008-01-03 Thread Peter Farland
In /WEB-INF/flex/remoting-config.xml, you can either set the default channel to be just my-secure-cfamf, or explicity configure the channels on the in question. If you set the RO channelSet property it will use that ChannelSet to connect rather than the configuration (in fact, you can stop speci

RE: [flexcoders] Re: Flex SSL over AMF with ColdFusion services-config.xml

2008-01-03 Thread Peter Farland
groups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > > If you're loading your SWF via HTTPS then you should be able to make > secure connections from the Flash Player. As for the right channel > being automatically selected, it depends on whether channel

RE: [flexcoders] Re: Flex SSL over AMF with ColdFusion services-config.xml

2008-01-03 Thread Peter Farland
t;mailto:flexcoders%40yahoogroups.com> , "Peter Farland" <[EMAIL PROTECTED]> wrote: > > > If you're loading your SWF via HTTPS then you should be able to make > secure connections from the Flash Player. As for the right channel being

RE: [flexcoders] Flex SSL over AMF with ColdFusion services-config.xml

2008-01-02 Thread Peter Farland
If you're loading your SWF via HTTPS then you should be able to make secure connections from the Flash Player. As for the right channel being automatically selected, it depends on whether channel failover happens correctly. I didn't see a destination configuration below, but if the snippet repres

RE: [flexcoders] HTTPService call using a private SSL cert PEM

2007-12-27 Thread Peter Farland
What does the AS3 params variable look like, is it of type XML? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of robbarreca Sent: Tuesday, December 25, 2007 6:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTTPService call using a priv

RE: [flexcoders] Re: Looking for component to generate PDF files

2007-12-19 Thread Peter Farland
Note that in Flex 2.0.1 HF2 + LCDS 2.5.1 we added a simple feature that allowed a Flex developer to send XML data to a RemoteObject destination and call a helper Java API that would inject this XML into a XDP or PDF an serve as an XFA dataset. Note that for image capture, you can scale the capture

RE: [flexcoders] BlazeDS and Java 5 Enum Support - works only one way?

2007-12-19 Thread Peter Farland
If you have an Enum argument in a Java method, you need to send it a String. During method invocation, BlazeDS will use Enum.valueOf(desiredClass, yourStringValue) to create an enum on your behalf. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Re: Debugging RemoteClass serialization [SOLVED]

2007-12-19 Thread Peter Farland
> Peter, why should the size of the SWF increase > unnecessarily including all the classes marked > with [RemoteClass] metadata? [Pete] There's 4 usages of [RemoteClass] in framework.swc, 21 usages in rpc.swc, and 15 usages in fds.swc. > I still think that referencing all the classes > by hand

RE: [flexcoders] Re: Debugging RemoteClass serialization [SOLVED]

2007-12-19 Thread Peter Farland
Tom is correct. The compiler starts out from the root class (i.e. typically your subclass of mx.core.Application) and resolves types as needed. Types can be found in source path(s) or library path(s). This is why mxmlc enforces the "one public definition per file" rule and also establishes the conv

RE: [flexcoders] Re: Debugging RemoteClass serialization [SOLVED]

2007-12-18 Thread Peter Farland
Sorry, that is, this will NOT make it into Flex Builder 3 :) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Tuesday, December 18, 2007 11:26 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Debugging

RE: [flexcoders] Re: Debugging RemoteClass serialization [SOLVED]

2007-12-18 Thread Peter Farland
Unfortunately that would involve the compiler scanning all of the classes (source or swcs) in the project to find [RemoteClass] metadata, so this will make it in Flex Builder 3. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cosma Sent: Tuesday

RE: [flexcoders] Remove Object ref

2007-12-18 Thread Peter Farland
delete obj.second; -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Sent: Tuesday, December 18, 2007 9:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remove Object ref In ActionScript if I create: var obj:Object = new Object();

RE: [flexcoders] Re: How to send Arrays in WebService request???

2007-12-17 Thread Peter Farland
01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to send Arrays in WebService request??? On Thu, Dec 13, 2007 at 08:26:17AM -0800, Peter Farland wrote: > note that Beta 3 was just released). Note that very recently (build > 189998) further properties were added to the ISOAPDecod

RE: [flexcoders] Flex 3 Beta 3: Servlet MessageBrokerServlet is not available??

2007-12-17 Thread Peter Farland
Is the URL correct? Can you check your /WEB-INF/web.xml and check it has the servlet and servlet-mapping defined for MessageBrokerServlet? If it is there, can you check your server logs to see if there was an error initializing your web application? Did you try and merge any WAR files togethe

RE: [flexcoders] Array handling from Beta 2 to Beta 3?

2007-12-17 Thread Peter Farland
Based on your syntax, it looks like you're trying to return a .NET DataSet from a WebService? Have you checked the data type of table? Perhaps it's not an Array? If WebService's makeObjectsBindable property is set to true (which it is by default), perhaps you already have an ArrayCollection (in w

RE: [flexcoders] Re: How to send Arrays in WebService request???

2007-12-13 Thread Peter Farland
Hi Peter, Thankyou for logging that bug (although we require a WSDL and any imported XML Schemas to be provided with any WebService bug logged, would you mind adding that too?). We expect Arrays to be marshalled correctly for both requests and responses. However, there's not just one scenario f

RE: [flexcoders] Re: How to send Arrays in WebService request???

2007-12-12 Thread Peter Farland
nolly Sent: Wednesday, December 12, 2007 7:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to send Arrays in WebService request??? --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Did you get a chance to try out the latest

RE: [flexcoders] Re: How to send Arrays in WebService request???

2007-12-12 Thread Peter Farland
Did you get a chance to try out the latest SDK nightly build from Flex 3 on Adobe Labs? http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Connolly Sent: Wednesday, December 12,

RE: [flexcoders] conflict between 2 HTTPService objects

2007-12-12 Thread Peter Farland
There is a browser dependent limit on the number of concurrent HTTP connections that can be made to a given domain. For HTTP 1.1 this is typically set to 2 connections for a given domain. Can you try making your second HTTPService call to another domain to see if it has any effect? Pete -Orig

RE: [flexcoders] How to do equivalent of makeObjectsBindable="false" on

2007-12-12 Thread Peter Farland
Hey Robin, > Tried that out but it didn't seem to have any > effect - the collections were still wrapped. > Isn't that setting more to do with AMF 1/2/3 > - wouldn't the array collection wrapping take > place inside the mx.messaging client code? What client Channel and server Endpoint are you

RE: [flexcoders] How to do equivalent of makeObjectsBindable="false" on

2007-12-11 Thread Peter Farland
You can try setting the following property in your services-config.xml (s): ... true ... Note that properties that are returned as normal Arrays will not detect property change events and will not be bindable or managed. Pete From: flexco

RE: [flexcoders] Re: Web Services and Arrays

2007-12-07 Thread Peter Farland
Can you log a bug here? http://bugs.adobe.com/flex/ Also, can you try out a nighty build of the Flex 3 Pre-release to see if this has been fixed already? http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: Sloooooow Flex Builder

2007-12-06 Thread Peter Farland
Make sure that you're not using a JVM that has IO performance issues... Java 1.5.0_07 is known to have IO problems that seriously slows down compilation, on both PC and Mac. Try to move to Java 1.5.0_13 which has proven to have resolved this issue (note for Mac, Java 1.5.0_13 ships with Leopard OS)

RE: [flexcoders] URL of the loaded swf.

2007-12-04 Thread Peter Farland
Also note that if you're using Modules, you can get the URL used to load each module swf via the Module's loaderInfo.url property. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Maximilian Nyman Sent: Tuesday, December 04, 2007 6:38 PM To: flexc

RE: [flexcoders] Issues with Dynamic vs. Embedded Font Leading

2007-12-01 Thread Peter Farland
Are you using Flex and are you relying on MXMLC to do the embedding? Or are you using Flash to first to do the embedding? If it's Flex, what version of Flex and how are you embedding them? Are you using a CSS @font-face rule? Are you using local() or url() as the source of the font definition? Can

RE: [flexcoders] Registering flashvar variables properly?

2007-11-30 Thread Peter Farland
Right, HTTPService.url isn't marked [Bindable]. Programmatically updating it as needed should work, as Tracy mentioned. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Friday, November 30, 2007 6:13 PM To: flexcoders@yaho

RE: [flexcoders] Web Service & Enumerations...Is this a bug?...need help!

2007-11-30 Thread Peter Farland
"Hotfix" is a misnomer as applied to the WebService feature - Flex 2.0.1 HF2 coincided with LCDS 2.5 and a new stricter, E4X based implementation of WebService was developed during the LCDS 2.5 release. Many more schema situations were supported and more fixes have been made since, but the effort t

RE: [flexcoders] Re: Actionscript: Copy an Object or Dictionary

2007-11-30 Thread Peter Farland
mx.utils.ObjectUtil.copy() won't work for Dictionary or Class as these types are not supported by AMF. (I logged bug SDK-13787 to track this). (Also, I think it doesn't make sense to copy a Class instance in AS3 as there is only one definition per application domain). Pete -Original Message

RE: [flexcoders] JBoss Basic Authentication and Web Services

2007-11-29 Thread Peter Farland
Note setCredentials() is only for when you're contacting LCDS destinations. If you want to avoid the Basic Auth dialog, can you try form based authentication, say using HTTPService? Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of trigg

RE: [flexcoders] Re: 2032 Stream error, only in IE6.

2007-11-29 Thread Peter Farland
Are you using HTTPS by any chance? Richard's suggestion is attempting to get around the known issue of "no-cache" headers which cause problems in MSIE in certain scenarios, particularly when SSL is used. I've also seen issues with this header and when chunked encoding is used along with gzip. ---

RE: [flexcoders] Re: Tracing HTTPService Data?

2007-11-28 Thread Peter Farland
You typically add in your top level application MXML file. While this will show you the body of the request and the responses, which is generally useful, it does not show you things like raw HTTP request or response headers (the latter case is why a sniffer is needed). Pete __

RE: [flexcoders] Tracing HTTPService Data?

2007-11-28 Thread Peter Farland
Please log an enhancement request for tooling to do this inside of Flex Builder. http://bugs.adobe.com/flex/ For now, I'd suggest using an HTTP sniffer. I've found Paros Proxy to work well as a client side proxy, making it possible to debug HTTPS requets too. Pete ___

RE: [flexcoders] Re: Confused by context.root, services-config.xml and remoting-config.xml...

2007-11-19 Thread Peter Farland
But you're still assigning the mService.channelSet property with your programmatically created ChannelSet, right? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of lawriegallardo Sent: Monday, November 19, 2007 3:28 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Confused by context.root, services-config.xml and remoting-config.xml...

2007-11-19 Thread Peter Farland
For the MXML RemoteObject API, it's true there is an endpoint property and what steve writes about it automatically selecting the right channel based on HTTP(S) URLs is correct, but it is not marked bindable and I've not seen it used with MXML binding statements. So, I am suggesting that while you'

RE: [flexcoders] Re: Confused by context.root, services-config.xml and remoting-config.xml...

2007-11-19 Thread Peter Farland
quot;/> false Do I need to change any of this? Cheers, Lawrie --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > > If you host your SWF inside the same WAR that hosts the remoting > service, then you should be able to programmatica

RE: [flexcoders] Confused by context.root, services-config.xml and remoting-config.xml...

2007-11-19 Thread Peter Farland
If you host your SWF inside the same WAR that hosts the remoting service, then you should be able to programmatically create a ChannelSet of Channels that is based on the URL that was used to load the SWF (at runtime you could look at the value of mx.core.Application.application.url). Did you crea

RE: [flexcoders] Re: Streaming bytes through a web service

2007-11-07 Thread Peter Farland
a) I'd use an HTTP sniffer to watch the HTTP traffic and look for the response. A free tool is Paros Proxy which can be easily configured to be used by IE as a proxy to show all HTTP traffic going through the browser. From: flexcoders@yahoogroups.com [mailto:[EMAI

[flexcoders] Re: Q: Issues generating AS proxy classes from WSDL

2007-11-02 Thread Peter Farland
Forgetting about Flex for a moment, I first tried loading your WSDL using Eclipse WTP 1.5.5 (based on Eclipse 3.2.2)'s Web Service Explorer and it reported 100s of errors and warnings. I'd independently try to use Axis's WSDL2Java tool first to see if that can generate Java proxy stubs for this WS

[flexcoders] Re: HotFix 2 breaks web service results of type xsd:anyType

2007-11-01 Thread Peter Farland
The WSDL says that the response part should be in an element called executeReturn not executeResponse, and it should be qualified in the targetNamespace "http://fimsadmro4.fmr.com:12600/bd/suntrust/BPMProdu ctTierWeb/services/BPMXtracService". The following response.xml works: http://schemas.x

RE: [flexcoders] Re: How to use IExternalizable for Web services?

2007-08-29 Thread Peter Farland
Please let me know if you need anything more from my side. Much thanks for all your help. Vikram --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > > Can you show us the XML Schema definition of the relevant complexType > from your WS

RE: [flexcoders] Re: How to use IExternalizable for Web services?

2007-08-29 Thread Peter Farland
oders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Nope, IExternaliable is only for ActionScript serialization via AMF. > > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of vikram > S

RE: [flexcoders] How to use IExternalizable for Web services?

2007-08-29 Thread Peter Farland
Nope, IExternaliable is only for ActionScript serialization via AMF. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vikram Sent: Wednesday, August 29, 2007 11:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to use IExternalizable

RE: [flexcoders] rtmps keystore location

2007-08-29 Thread Peter Farland
Custom tokens like the ones you mentioned are an enhancement we'd like to add in the next version (bug 173161). We're aware of the situation you describe as a reason for such an enhancement (bug 93750). For now, I believe the only options you have are to either use a full path as you are doing...

RE: [flexcoders] Re: Getting the SDK should be much easier...

2007-08-28 Thread Peter Farland
One more thing, it'd be great if you could try out a nightly build of the Flex 2 SDK before logging a WebService bug against Flex 2... these nightly builds represent the latest version of the code, including rpc.swc, which is post HF3. http://labs.adobe.com/technologies/flex/sdk/flex2sdk.html

RE: [flexcoders] Re: Getting the SDK should be much easier...

2007-08-28 Thread Peter Farland
Hi Ben, WebServices in this release represent more than a hotfix - they are LCDS 2.5's reimplementation of this feature to target Basic Profile 1.0 support for WS-I. This will be the WebService implementation going forward for Flex 3 too so we want to iron these bugs out before Flex 3 is final.

RE: [flexcoders] Re: Ignoring a public member during serialization

2007-08-28 Thread Peter Farland
Can you change the XML Schema to omit this element and thus it shouldn't be encoded? Otherwise you could encode the XML yourself... but I'm interested in the use case surrounding wanting to omit a value. Is the WebService including something unexpected? Is there something in the Schema that isn't b

RE: [flexcoders] crossdomain file on an app server

2007-08-28 Thread Peter Farland
Note you can alternatively deploy a crossdomain.xml file in your WAR using a non-default context and then get your SWF to load the policy file from this custom location (instead of relying on the default location of the webroot). http://livedocs.adobe.com/flex/2/langref/flash/system/Security.htm

RE: [flexcoders] Re: WebService Basic Authentication over HTTPS?

2007-08-27 Thread Peter Farland
I'd guess that if you lock down a WebService's soap address location URL to cause an HTTP Basic Authentication challenge then it won't matter what SOAP headers a particular operation is capable of processing as the POST won't get far enough to be able to see the SOAP data. While it is technically

RE: [flexcoders] WebService Basic Authentication over HTTPS?

2007-08-27 Thread Peter Farland
Despite what the ASDoc say, WebService.setCredentials() is only for authenticating with LCDS (nee FDS) itself when making use of a destination registered with the Proxy Service. WebService.setRemoteCredentials() is only for LCDS too, it's what is used by the Proxy Service to handle any HTTP Basic

RE: [flexcoders] Re: Remote Objects - a reflective way to determine class?

2007-08-27 Thread Peter Farland
reflective way to determine class? Yeah, I tried that - it returns "Object". --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > See: flash.utils.getQualifiedClassName() > > http://livedocs.adobe.com/flex/2/langref/flash/utils/package.html#getQ > ua > lifiedClassName()

RE: [flexcoders] Re: DataGrid with labelfunction + POJO

2007-08-27 Thread Peter Farland
Make sure that you have registered a class alias for your ActionScript representation of the Formasi class. You can do so like this: package bkn.pojo { [RemoteClass[(alias="bkn.pojo.Formasi")] public class Formasi { ... } } You also need to make sure you have a reference to the Formasi

RE: [flexcoders] Remote Objects - a reflective way to determine class?

2007-08-27 Thread Peter Farland
See: flash.utils.getQualifiedClassName() http://livedocs.adobe.com/flex/2/langref/flash/utils/package.html#getQua lifiedClassName() -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Monday, August 27, 2007 8:50 AM To: flexcoders@yahoo

RE: [flexcoders] Flex + SOAP + AXIS support?

2007-08-25 Thread Peter Farland
Right, Flex WebServices are focused on SOAP 1.1 support and this will not change in Flex 3. A new implementation of Flex WebServices was introduced in Flex 2.0.1 HF2 to coincide with LCDS 2.5 (though there are a few gaps and will be more complete in Flex 3). This implementation is focused on supp

RE: [flexcoders] Flex Remoting and complex objects

2007-06-15 Thread Peter Farland
AS3 doesn't have the concept of generics, so yes, all collections should be instances of mx.collections.ArrayCollection by default. Types like mx.collections.ArrayCollection can only really be sent and received properly by AMF3, so any remoting endpoint would have to understand this version of the

RE: Dee Copy...Re: [flexcoders] Re: How to clone object?

2007-06-15 Thread Peter Farland
We've addressed this on flexcoders a few times before in the past. You simply use ByteArray to clone an object or array. var array:Array = [1, 2, 3]; var ba:ByteArray = new ByteArray(); ba.writeObject(array); ba.position = 0; var cloned:Array = ba.readObject() as Array; You always use writeOb

RE: [flexcoders] for RemoteObject lastResult return NULL in function

2007-06-14 Thread Peter Farland
The lastResult property won't be populated until a result comes back some time later (and definitely after the onLoad() function exits because remote requests are made by the player in an asynchronous manner after the current frame script execution finishes). Pete ___

RE: [flexcoders] Flex 3 Beta is now available!

2007-06-14 Thread Peter Farland
Gunnar, although I've not tried this yet, I think that you may be able to pre-authenticate with BASIC auth if you set the "Authorization" header on HTTPService. I recently discovered that the "Authorization" header is not one of the request headers disallowed by flash.net.URLRequest (which is ul

  1   2   3   4   5   6   7   >