RE: [Flashcoders] can I get some recommendations for development tools?
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
Re: [Flashcoders] can I get some recommendations for development tools?
Jim Lafser wrote: I'm trying to figure out what are some good tools to use for developing flash apps and could use some recommendations. Thanks. If you ask me, Flash cs 5 all the way, it is the closest that you can get to the swf format itself while still being easy to use. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[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
[Flashcoders] Why is my HTML file so huge
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, they now list all the text in the SWF many, many, many times with lines like: General data about timber framing products to go here. 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 This message is for the named persons use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] quick FLV skin question
Just build your own custom one. In AS3 Adobe made it easy to do. --Original Message-- From: sebastian Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] quick FLV skin question Sent: Dec 16, 2009 6:11 PM Hello folks, hoping to get a quick reply, if you know. :) Is there anyway to embed a FLVPlayer skin into the library so that it loads it all from the SAME swf and therefore there is no external second SWF that needs to be loaded? Thanks for any help you can offer! Seb. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] quick FLV skin question
Hello folks, hoping to get a quick reply, if you know. :) Is there anyway to embed a FLVPlayer skin into the library so that it loads it all from the SAME swf and therefore there is no external second SWF that needs to be loaded? Thanks for any help you can offer! Seb. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 > 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
Re: [Flashcoders] Colour Matching
You say it's more noticeable on one Mac than another, which is interesting. Are both displays set to the same colour depth? It's common to see this type of issue when viewing in 16 bit. Do you have a URL we could take a look at? Pete ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Java servlets and receiving XML fr om Flash’s xml.sendAndLoad() function
> 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
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 Henrik Andersson > Sent: Wednesday, December 16, 2009 2:55 PM > To: Flash Coders List > Subject: Re: [Flashcoders] Dynamically set Sound's length..? > > 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
Re: [Flashcoders] Dynamically set Sound's length..?
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] Dynamically set Sound's length..?
Hello. I'm experimenting with playing generated sounds in Flash, and I have a question: What is the duration, in milliseconds, of a sound's playback when I write a pair of Floats to the "data" property of its SampleDataEvent event? For example, here's some sample code from the Adobe LangRef, which plays a continuous tone: import flash.media.Sound; import flash.events.SampleDataEvent; var mySound:Sound = new Sound(); function sineWaveGenerator(event:SampleDataEvent):void { for ( var c:int=0; c<8192; c++ ) { event.data.writeFloat(Math.sin((Number(c+event.position)/Math.PI/2))*0.25); event.data.writeFloat(Math.sin((Number(c+event.position)/Math.PI/2))*0.25); } } mySound.addEventListener(SampleDataEvent.SAMPLE_DATA,sineWaveGenerator); mySound.play(); Exactly how long will each of the 8,192 Float pairs, added every time the SampleDataEvent fires, play for? I've tried checking mySound's "length" property, and it always returns as "0", but I'm pretty sure it only gets set from the ID3 data when loading an MP3 file. Thank you. :) -- Andrew Murphy Interactive Media Developer amur...@delvinia.com 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Java servlets and receiving X ML from Flash’s xml.sendAndLoad() functio n
Maybe this will get you in the right direction. LoadVars.send: http://www.adobe.com/support/flash/action_scripts/ actionscript_dictionary/actionscript_dictionary434.html XMLSocket.send: http://www.adobe.com/support/flash/action_scripts/ actionscript_dictionary/actionscript_dictionary867.html Best, Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Java servlets and receiving X ML from Flash’s xml.sendAndLoad() functio n
I guess I should have clarified as well. My thoughts are to see if the flash ".send(" will send your XML data in just a POST format. I am thinking that because ".sendAndLoad" uses a GET/POST hybrid (this probably because you use sendAndLoad if you want a response to what your submitting), try using ".send(" or find out if ".send(" uses just the POST method (because your not expecting a response, there is no reason for the hybrid?). Sorry, I haven't looked up if this is the case, just more a though to go off of. If it is the case, then you should be able to send your data in a POST method, that which is required by your Java team. HTH Karl On Dec 16, 2009, at 7:11 AM, matt stuehler wrote: Karl, Many thanks for your response! However, I should clarify... I guess what I'm really looking for is some instructions for the Java Servlet team, on how to capture the XML sent by Flash. In other words, here's what I've said: Me: "Team - I will POST an XML document to the URL you've provided" Them: "We're not seeing the XML. In fact, if we check our log, it looks like you're using GET, not POST" Me: "I'm not sure why that's the case. According to the Adobe/Flash documentation xml.sendAndLoad ALWAYS uses POST" 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. So, even though I don't know Java - I'm hoping someone on this forum knows both Flash and something about Java Servlets, and can give me a pointer about catching the XML properly in the servlet. Once the Java team "gets" the XML, they'll be able to parse it and proceed from there. For example, in PHP, here's how you'd catch the XML sent from Flash: $doc = new DomDocument(); $doc->loadXML(file_get_contents("php://input")); Is there an equivalent method for a Java Servlet that account for the somewhat strange way Flash POSTs the XML data? Cheers, Matt On Wed, Dec 16, 2009 at 3:48 AM, Karl DeSaulniers wrote: Maybe try just send. Unless you need a response sent back to your flash file. Karl Sent from losPhone On Dec 16, 2009, at 2:34 AM, matt stuehler wrote: All, I'm working on a Flash application that's supposed to send XML data to a Java Servlet. I'm responsible for the Flash app; another team is responsible for the Java Servlet. The problem we're having is that I'm familiar with Flash but not Java and Servlets; the other team is expert in Java and Servlets, but unfamiliar with Flash. Anyway, I have some AS2 code that uses sendAndLoad() to send XML data to a server. It works great when I send it to PHP, or ASP, or ASP.net (stuff I'm familiar with). However, the Java team is having trouble receiving the information with their servlet. One of the developers sent me a log entry: GET /portal/delegate/ParticipantService? svc=someServiceName&XMLStr=[the encoded xml I sent] As I understand it, xml.sendAndLoad uses POST, not GET, so I don't understand why this shows up in the log as a GET. Any ideas or explanation? Here's what an Adobe Technote says about this: When loadVariables or getURL actions are used to send data to Java servlets it can appear that the data is being sent using a GET request, when the POST method was specified in the Flash movie. This happens because Flash sends the data in a GET/POST hybrid format. If the data were being sent using a GET request, the variables would appear in a query string appended to the end of the URL. Flash uses a GET server request, but the Name/Value pairs containing the variables are sent in a second transmission using POST. Although this causes the servlet to trigger the doGet() method, the variables are still available in the server request. Obviously, it's possible that the issue is with my Actionscript code, but as I said, it works if I send it to a PHP page, where I pick it up with something like this: $doc = new DomDocument(); $doc->loadXML(file_get_contents("php://input")); So, I guess what I need to know is how to tell the Java team to look for and capture the XML that's been sent... Many thanks in advance! Cheers, Matt Stuehler ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Java servlets and receiving XML fr om Flash’s xml.sendAndLoad() function
Karl, Many thanks for your response! However, I should clarify... I guess what I'm really looking for is some instructions for the Java Servlet team, on how to capture the XML sent by Flash. In other words, here's what I've said: Me: "Team - I will POST an XML document to the URL you've provided" Them: "We're not seeing the XML. In fact, if we check our log, it looks like you're using GET, not POST" Me: "I'm not sure why that's the case. According to the Adobe/Flash documentation xml.sendAndLoad ALWAYS uses POST" 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. So, even though I don't know Java - I'm hoping someone on this forum knows both Flash and something about Java Servlets, and can give me a pointer about catching the XML properly in the servlet. Once the Java team "gets" the XML, they'll be able to parse it and proceed from there. For example, in PHP, here's how you'd catch the XML sent from Flash: $doc = new DomDocument(); $doc->loadXML(file_get_contents("php://input")); Is there an equivalent method for a Java Servlet that account for the somewhat strange way Flash POSTs the XML data? Cheers, Matt On Wed, Dec 16, 2009 at 3:48 AM, Karl DeSaulniers wrote: > Maybe try just send. Unless you need a response sent back to your flash > file. > > Karl > > Sent from losPhone > > On Dec 16, 2009, at 2:34 AM, matt stuehler wrote: > >> All, >> >> I'm working on a Flash application that's supposed to send XML data to >> a Java Servlet. >> >> I'm responsible for the Flash app; another team is responsible for the >> Java Servlet. >> >> The problem we're having is that I'm familiar with Flash but not Java >> and Servlets; the other team is expert in Java and Servlets, but >> unfamiliar with Flash. >> >> Anyway, I have some AS2 code that uses sendAndLoad() to send XML data >> to a server. >> >> It works great when I send it to PHP, or ASP, or ASP.net (stuff I'm >> familiar with). >> >> However, the Java team is having trouble receiving the information >> with their servlet. >> >> One of the developers sent me a log entry: >> >> GET /portal/delegate/ParticipantService?svc=someServiceName&XMLStr=[the >> encoded xml I sent] >> >> As I understand it, xml.sendAndLoad uses POST, not GET, so I don't >> understand why this shows up in the log as a GET. Any ideas or >> explanation? >> >> Here's what an Adobe Technote says about this: >> >>> When loadVariables or getURL actions are >>> used to send data to Java servlets it >>> can appear that the data is being sent >>> using a GET request, when the POST >>> method was specified in the Flash >>> movie. >>> >>> This happens because Flash sends the >>> data in a GET/POST hybrid format. If >>> the data were being sent using a GET >>> request, the variables would appear in >>> a query string appended to the end of >>> the URL. Flash uses a GET server >>> request, but the Name/Value pairs >>> containing the variables are sent in a >>> second transmission using POST. >>> Although this causes the servlet to >>> trigger the doGet() method, the >>> variables are still available in the >>> server request. >> >> >> Obviously, it's possible that the issue is with my Actionscript code, >> but as I said, it works if I send it to a PHP page, where I pick it up >> with something like this: >> >> $doc = new DomDocument(); >> $doc->loadXML(file_get_contents("php://input")); >> >> So, I guess what I need to know is how to tell the Java team to look >> for and capture the XML that's been sent... >> >> Many thanks in advance! >> >> Cheers, >> Matt Stuehler >> ___ >> 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 and receiving XML from Flash’s xml.sendAndLoad() function
Maybe try just send. Unless you need a response sent back to your flash file. Karl Sent from losPhone On Dec 16, 2009, at 2:34 AM, matt stuehler wrote: All, I'm working on a Flash application that's supposed to send XML data to a Java Servlet. I'm responsible for the Flash app; another team is responsible for the Java Servlet. The problem we're having is that I'm familiar with Flash but not Java and Servlets; the other team is expert in Java and Servlets, but unfamiliar with Flash. Anyway, I have some AS2 code that uses sendAndLoad() to send XML data to a server. It works great when I send it to PHP, or ASP, or ASP.net (stuff I'm familiar with). However, the Java team is having trouble receiving the information with their servlet. One of the developers sent me a log entry: GET /portal/delegate/ParticipantService? svc=someServiceName&XMLStr=[the encoded xml I sent] As I understand it, xml.sendAndLoad uses POST, not GET, so I don't understand why this shows up in the log as a GET. Any ideas or explanation? Here's what an Adobe Technote says about this: When loadVariables or getURL actions are used to send data to Java servlets it can appear that the data is being sent using a GET request, when the POST method was specified in the Flash movie. This happens because Flash sends the data in a GET/POST hybrid format. If the data were being sent using a GET request, the variables would appear in a query string appended to the end of the URL. Flash uses a GET server request, but the Name/Value pairs containing the variables are sent in a second transmission using POST. Although this causes the servlet to trigger the doGet() method, the variables are still available in the server request. Obviously, it's possible that the issue is with my Actionscript code, but as I said, it works if I send it to a PHP page, where I pick it up with something like this: $doc = new DomDocument(); $doc->loadXML(file_get_contents("php://input")); So, I guess what I need to know is how to tell the Java team to look for and capture the XML that's been sent... Many thanks in advance! Cheers, Matt Stuehler ___ 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] Java servlets and receiving XML f rom Flash’s xml.sendAndLoad() function
All, I'm working on a Flash application that's supposed to send XML data to a Java Servlet. I'm responsible for the Flash app; another team is responsible for the Java Servlet. The problem we're having is that I'm familiar with Flash but not Java and Servlets; the other team is expert in Java and Servlets, but unfamiliar with Flash. Anyway, I have some AS2 code that uses sendAndLoad() to send XML data to a server. It works great when I send it to PHP, or ASP, or ASP.net (stuff I'm familiar with). However, the Java team is having trouble receiving the information with their servlet. One of the developers sent me a log entry: GET /portal/delegate/ParticipantService?svc=someServiceName&XMLStr=[the encoded xml I sent] As I understand it, xml.sendAndLoad uses POST, not GET, so I don't understand why this shows up in the log as a GET. Any ideas or explanation? Here's what an Adobe Technote says about this: > When loadVariables or getURL actions are > used to send data to Java servlets it > can appear that the data is being sent > using a GET request, when the POST > method was specified in the Flash > movie. > > This happens because Flash sends the > data in a GET/POST hybrid format. If > the data were being sent using a GET > request, the variables would appear in > a query string appended to the end of > the URL. Flash uses a GET server > request, but the Name/Value pairs > containing the variables are sent in a > second transmission using POST. > Although this causes the servlet to > trigger the doGet() method, the > variables are still available in the > server request. Obviously, it's possible that the issue is with my Actionscript code, but as I said, it works if I send it to a PHP page, where I pick it up with something like this: $doc = new DomDocument(); $doc->loadXML(file_get_contents("php://input")); So, I guess what I need to know is how to tell the Java team to look for and capture the XML that's been sent... Many thanks in advance! Cheers, Matt Stuehler ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Java servlets and receiving XML from Flash's xml.sendAndLoad() function
All, I'm working on a Flash application that's supposed to send XML data to a Java Servlet. I'm responsible for the Flash app; another team is responsible for the Java Servlet. The problem we're having is that I'm familiar with Flash but not Java and Servlets; the other team is expert in Java and Servlets, but unfamiliar with Flash. Anyway, I have some AS2 code that uses sendAndLoad() to send XML data to a server. It works great when I send it to PHP, or ASP, or ASP.net (stuff I'm familiar with). However, the Java team is having trouble receiving the information with their servlet. One of the developers sent me a log entry: GET /portal/delegate/ParticipantService?svc=someServiceName&XMLStr=[the encoded xml I sent] As I understand it, xml.sendAndLoad uses POST, not GET, so I don't understand why this shows up in the log as a GET. Any ideas or explanation? Here's what an Adobe Technote says about this: > When loadVariables or getURL actions are > used to send data to Java servlets it > can appear that the data is being sent > using a GET request, when the POST > method was specified in the Flash > movie. > > This happens because Flash sends the > data in a GET/POST hybrid format. If > the data were being sent using a GET > request, the variables would appear in > a query string appended to the end of > the URL. Flash uses a GET server > request, but the Name/Value pairs > containing the variables are sent in a > second transmission using POST. > Although this causes the servlet to > trigger the doGet() method, the > variables are still available in the > server request. Obviously, it's possible that the issue is with my Actionscript code, but as I said, it works if I send it to a PHP page, where I pick it up with something like this: $doc = new DomDocument(); $doc->loadXML(file_get_contents("php://input")); So, I guess what I need to know is how to tell the Java team to look for and capture the XML that's been sent... Many thanks in advance! Cheers, Matt Stuehler ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders