Re: [Flashcoders] Java servlets and receiving XML fr om Flash’s xml.sendAndLoad() function
Dave, I've posted this all on a variety of forums, including StackOverflow.com, and I haven't really gotten much of an explanation. Here's a link to the technote I was referring to: http://kb2.adobe.com/cps/159/tn_15908.html The strange thing is that, according to the Actionscript documentation, xml.sendAndLoad unambiguously uses POST. However, according to the Java Servlet team (who I don't doubt), the data is sent to them as a GET. I don't know how to explain this, and since the Java team insists that the data be sent using POST, I'm stuck. Any insight or advice would be greatly appreciated. Cheers, Matt On Wed, Dec 16, 2009 at 3:52 PM, Dave Watts dwa...@figleaf.com wrote: That's when I discovered the Adobe Technote that clarifies that Flash sends the data in a GET/POST 'hybrid' format, whatever that means. Flash is apparently doing something a little unorthodox. Can you point me to that technote? Because there's simply NO SUCH THING as a hybrid format. An HTTP request uses one of the standard HTTP verbs (GET, POST, HEAD, etc). If you want to provide an HTTP request body, you use HTTP POST. I'm more of a Flex guy, so I don't really use sendAndLoad, but if I recall correctly you specify whether it's a GET or a POST as an optional argument if you're using loadVars, and it's always POST if you use XML.sendAndLoad. Perhaps their Java app has some sort of HTTP redirect in front of it? I don't know what happens when you get a redirect in a case like this. A traffic sniffer like Wireshark is your friend for things like this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Dynamically set Sound's length..?
Thank you. :) -- Andrew Murphy Interactive Media Developer amur...@delvinia.com Email_logo 370 King Street West, 5th Floor, Box 4 Toronto Canada M5V 1J9 P (416) 364-1455 ext. 233 F (416) 364-9830 W www.delvinia.com -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Pablo Califano Sent: Wednesday, December 16, 2009 6:39 PM To: Flash Coders List Subject: Re: [Flashcoders] Dynamically set Sound's length..? Just a minor correction. It's 44100 samples per second. Cheers Juan Pablo Califano 2009/12/16 Henrik Andersson he...@henke37.cjb.net It is called the samplerate, flash uses 44200 sample pairs per second. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Java servlets a nd receiving XML from Flash’s xml.sendAnd Load() function
Bring out a http debuging proxy (I use MS Fiddler) and see what the issued request really is. My hunch is that it is POST, but using the variable encoding usually attached with GET requests. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why is my HTML file so huge
Which version of Flash and what publish settings are you using? But in any case I would not use Flash IDE for generating HTML. Do it manually using SWFObject (which will be used if you publish from Flash CS5 :) -- Kenneth Kawamoto http://www.materiaprima.co.uk/ 2009/12/17 Alan Neilsen aneil...@gotafe.vic.edu.au: Hi List I don't recall changing any publish settings for my HTML file, but when I publish my SWF its HTML file ends up 2,582 KB instead of the expected 10 or 12 KB. When I open the HTML file I find it is the same as earlier back-up versions that were 10 KB, but for some reason when these later versions get to, !--text used in the movie-- they now list all the text in the SWF many, many, many times with lines like: p align=leftfont face=Futura LtCn BT size=16 color=#ff letterSpacing=0.00 kerning=1General data about timber framing products to go here./font/p The HTML code then goes on like that for more than 14,000 lines with, as I said, many repetitions of all the text used in the SWF. I have seen this sort of thing before, but have no idea what is causing it. Can anybody shed light on this for me? Alan Neilsen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] can I get some recommendations for development tools?
FDT is a well-liked dev tool. Not cheap. But worth it On Dec 17, 2009, at 12:21 AM, Cor c...@chello.nl wrote: Flash CS4 FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Lafser Sent: donderdag 17 december 2009 6:27 To: Flash Coders Subject: [Flashcoders] can I get some recommendations for development tools? I'm trying to figure out what are some good tools to use for developing flash apps and could use some recommendations. Thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.716 / Virus Database: 270.14.111/2569 - Release Date: 12/16/09 20:52:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] can I get some recommendations for development tools?
flashdevelop + flash cs3 / flex 3 sdk On Thu, Dec 17, 2009 at 1:56 PM, Steven loe stevenloe5...@yahoo.com wrote: FDT is a well-liked dev tool. Not cheap. But worth it On Dec 17, 2009, at 12:21 AM, Cor c...@chello.nl wrote: Flash CS4 FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Lafser Sent: donderdag 17 december 2009 6:27 To: Flash Coders Subject: [Flashcoders] can I get some recommendations for development tools? I'm trying to figure out what are some good tools to use for developing flash apps and could use some recommendations. Thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.716 / Virus Database: 270.14.111/2569 - Release Date: 12/16/09 20:52:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] can I get some recommendations for development tools?
A lot of people like Flex Builder and Flash Develop. I prefer a language-agnostic editor than something specific to Flash so I use jEdit. http://jedit.org Compiling with the Flex SDK in jEdit on mac is easy with fcshtl: http://hasseg.org/blog/?p=194 http://ubergeek.tv/article.php?pid=146 Of course it is not as easy to set up as Flash builder but has the added benefit of working consistently. On Thu, Dec 17, 2009 at 7:12 AM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: flashdevelop + flash cs3 / flex 3 sdk On Thu, Dec 17, 2009 at 1:56 PM, Steven loe stevenloe5...@yahoo.com wrote: FDT is a well-liked dev tool. Not cheap. But worth it On Dec 17, 2009, at 12:21 AM, Cor c...@chello.nl wrote: Flash CS4 FlashDevelop -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Lafser Sent: donderdag 17 december 2009 6:27 To: Flash Coders Subject: [Flashcoders] can I get some recommendations for development tools? I'm trying to figure out what are some good tools to use for developing flash apps and could use some recommendations. Thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.716 / Virus Database: 270.14.111/2569 - Release Date: 12/16/09 20:52:00 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Why is my HTML file so huge
http://code.google.com/p/swfobject/wiki/generator might be helpfull kennethkawam...@gmail.com wrote: Which version of Flash and what publish settings are you using? But in any case I would not use Flash IDE for generating HTML. Do it manually using SWFObject (which will be used if you publish from Flash CS5 :) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders