Re: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread Steven Sacks
Well, if you're got a working server solution, then all you have to do is send an mp3 file to the server, which that link I sent you should describe how to do. Rock on with your bad self. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com h

Re: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread Taka Kojima
You wouldn't actually do the speech recognition in Flash, but rather have Flash record to a file, have the server process it (using an already developed program of course, as as Steven explains speech to text is not just a simple matter). So essentially the flow would be: Flash Player would recor

Re: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread Steven Sacks
This is how you record sound: http://www.getmicrophone.com/?p=69 If you're asking how to convert sound waves into speech, dude, what? Do you realize how challenging speech recognition is? Wait, why am I asking you this? If you did, you wouldn't be asking people on a Flash list how to do it,

RE: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread Chris Foster
Dunno for sure Juju, but while you wait for any other answers on this list... http://developer.ribbit.com/download Sign up, download the SDK, view the samples, and join the forums... I imagine it wouldn't take more than a couple of hours to find the right people to answer in detail. C: -O

Re: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread juju
Thanks Chris, not even with Ribbit? That's what I really want to know: can Ribbit + Flash provide speech to text capability. Thanks, juju On Thu, Aug 27, 2009 at 12:32 PM, Chris Foster < cfos...@catalystinteractive.com.au> wrote: > Hi Juju, > > You can't currently do speech-to-text in Actionscrip

Re: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread juju
I wonder, if I offered $50 for an answer, how many replies with actual useful information would be posted to answer this question... :) Or $100? On Wed, Aug 26, 2009 at 12:02 PM, juju wrote: > Hi Jonathan, I'm trying to do speech to text. AFAIK Flash API cannot record > the microphone input. It

RE: [Flashcoders] RE: Flash speech-to-text

2009-08-26 Thread Chris Foster
Hi Juju, You can't currently do speech-to-text in Actionscript. It's not that people are choosing not to answer you, there just aren't any useful solutions to your question. C: -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figlea

Re: [Flashcoders] empty XML Attributes..

2009-08-26 Thread Steven Sacks
hasOwnProperty does not tell you whether it has a length, though. It only checks for existence. And for some reason, it looks like you modified my code when quoting me: >> if (node.hasOwnProperty("instance").length() > 0) I didn't write that code, which would error since a Boolean doesn't hav

Re: [Flashcoders] empty XML Attributes..

2009-08-26 Thread Taka Kojima
The Top Level XML class actually has a function, called hasOwnProperty that exists for this purpose. However, to answer your question exactly, it returns a value of undefined. This is not null or "" it is it's own return type, as this relates to XML (which by definition is an object) and objects a

Re: [Flashcoders] empty XML Attributes..

2009-08-26 Thread Steven Sacks
You will get runtime errors when attempting to access an attribute that isn't there. The proper way to check for existence and length of an attribute is to use the .attributes() syntax as such: if (node.attribute("instance").length() > 0) ___ Flashco

[Flashcoders] Flash video playback issues

2009-08-26 Thread Eric Woods
Hi All, I would dearly appreciaty any light anyone could shed on this issue - I have run into a couple of Flash bugs that have stumped me for quite a while, and my deadline is aproaching fast. Essentially, I would like to play back 3 reasonably high res videos (On2 VP6-S) simultaneously in one

Re: [Flashcoders] Job Fair - CIM (Comcast Interactive Media)

2009-08-26 Thread Peter B
> Hi, can I post this ad? Is it too late to say 'no'? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Re: Centering field text vertically

2009-08-26 Thread Hudson Ansley
I realize that if TextLineMetrics had a "y" property as well as the "x", that would do it for me, so I wonder why that was left off... Regards, Hudson On Wed, Aug 26, 2009 at 4:39 PM, Hudson Ansley wrote: > Anyone have a technique for centering a TextField vertically > (accurately)? other than con

[Flashcoders] Centering field text vertically

2009-08-26 Thread Hudson Ansley
Anyone have a technique for centering a TextField vertically (accurately)? other than converting to bitmap... I can get the textHeight, but I don't know how to get the amount of empty space between the top of the TextField and the actual text. This varies with font, style, etc, and of course the ch

[Flashcoders] Job Fair - CIM (Comcast Interactive Media)

2009-08-26 Thread Schumacher, Steven
Hi, can I post this ad? C'MON AND GET CIM. CIM JOB FAIR Comcast Interactive Media (CIM) is a division of Comcast Corporation dedicated to developing online and cross-platform entertainment and media businesses. We're expanding interactive, broadcast and mobile technologies for a global

[Flashcoders] determining whether or not xml has children

2009-08-26 Thread thomas horner
have created a dynamic menu, kind off, with a hell of a lot of help and have positioned it evenly. i am trying to determine when a person clicks on the inital button whether that branch of the xml has children and therefore bring up the corresponding submenu for that section. below is my code;

Re: [Flashcoders] FLV export - size(w, h) vs data rate

2009-08-26 Thread jared stanley
cool. I've heard that scaling up works the processor more, but haven't found any substantative evidence. On Tue, Aug 25, 2009 at 9:36 PM, Peter B wrote: > I did a lot of work around optimising videos about a year and a half > back. For my money, I'd say you get better results by encoding at a >

[Flashcoders] AWS calls with signature... not working

2009-08-26 Thread Eric E. Dolecki
I tried this class out: http://blog.promethe.net/2009/08/24/amazon-web-services-rest-queries-signature-in-actionscript-3/ I compiled a SWC out of FB and hooked up the crypto stuff from as3corelib, and when I provide my key and secret key, I get this returned XML (Error opening URL): http://ecs.

RE: [Flashcoders] help with frame navigation and xml

2009-08-26 Thread Merrill, Jason
Or could be this if your text is in the text node: var destination:String = "intro"; myClip.gotoAndPlay(destination); myClip.myTextField.text = myXML.myNode.(@destination).text(); Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on maki

RE: [Flashcoders] help with frame navigation and xml

2009-08-26 Thread Merrill, Jason
You don't need any code inside the clip, I think you're approaching this the wrong way around. Why have the XML node based on the frame's label? You already know it's going to "intro" since you have to tell the MovieClip to go there. Do something like this instead: var destination:String = "intro

[Flashcoders] help with frame navigation and xml

2009-08-26 Thread Isaac Alves
Hi, I'd like to have a function that tells a MovieClip to go to a specific frame and then in this frame, look for a scpecific tag in an XML file, based on the frame's label, and then take some text (a bunch of actually) that is in the XML node and put it on a TextField. For example, clicking on

Re: [Flashcoders] empty XML Attributes..

2009-08-26 Thread Ian Thomas
On Wed, Aug 26, 2009 at 12:27 PM, Glen Pike wrote: > Aha, I see now - bit of a waste of code too. Yeah, I agree, it's overly verbose. > And who's bright idea was it to use length for Strings and Arrays, but > length() for XML / e4x? It's because in E4X: someNode.length Means get this node:

Re: [Flashcoders] empty XML Attributes..

2009-08-26 Thread Glen Pike
Aha, I see now - bit of a waste of code too. And who's bright idea was it to use length for Strings and Arrays, but length() for XML / e4x? Kenneth Kawamoto wrote: XMLList, and you can check its length(). Kenneth Kawamoto http://www.materiaprima.co.uk/ Glen Pike wrote: Hi, I am having

Re: [Flashcoders] empty XML Attributes..

2009-08-26 Thread Kenneth Kawamoto
XMLList, and you can check its length(). Kenneth Kawamoto http://www.materiaprima.co.uk/ Glen Pike wrote: Hi, I am having problems parsing some XML config files and testing for empty attributes. There is an example xml below. Problem is that I am asking for the following: _co...

RE: [Flashcoders] spacing horizontal dynamic xml menu textfields

2009-08-26 Thread thomas horner
thanks steven but where in this do i populate my textfield in order to calculate the widths? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Steven Sacks Sent: 26 August 2009 09:53 To: Flash Coders List Subj

[Flashcoders] empty XML Attributes..

2009-08-26 Thread Glen Pike
Hi, I am having problems parsing some XML config files and testing for empty attributes. There is an example xml below. Problem is that I am asking for the following: _co...@instance Which is returning a value, but I am not sure what type of value. Should this return null,

Re: [Flashcoders] Reading text from PDF files or show PDF pages into Flash Player.

2009-08-26 Thread Omar Fouad
That is for generating PDFs on the server... On Wed, Aug 26, 2009 at 7:05 AM, juju wrote: > Hi Omar, take a look at AlivePDF. > > http://alivepdf.bytearray.org/ > > HTH, juju > > > On Tue, Aug 25, 2009 at 10:32 PM, Omar Fouad >wrote: > > > So, > > > > I'm creating an e-Library that consents use

RE: [Flashcoders] spacing horizontal dynamic xml menu textfields

2009-08-26 Thread thomas horner
Hi Sid for some reason that still doesn't work, it's not spacing the buttons out, it also seems to be treating all the buttons as just one button, and when i trace out the value of runningX it only gives me one value, any ideas, many thanks again, Thomas siteNav=IXml(assets.siteNav).xml;

Re: [Flashcoders] spacing horizontal dynamic xml menu textfields

2009-08-26 Thread Sidney de Koning
Hi Thomas, In the nav item objects you are creating you can override the width and height functions, like so; override public function get width( ):Number { // The plus 4 makes it look better, change this if you like return _myTextfield.textWidth + 4; } Then it will all have

RE: [Flashcoders] spacing horizontal dynamic xml menu textfields

2009-08-26 Thread thomas horner
thanks steven, again! i had already managed to get the sids version going inside my build, but was just getting problems with adding spacing between them. for some reason now though all my buttons are acting as one when i mouseOver, siteNav=IXml(assets.siteNav).xml;

Re: [Flashcoders] spacing horizontal dynamic xml menu textfields

2009-08-26 Thread Steven Sacks
As I described on my forum post, you have to first put your items in an array. var items:Array = [all, of, your, items]; var len:int= items.length; var i:int; Then, you do the following measurements: // the right of the last item minus the left of the first item var availableWidth:Number = ite

RE: [Flashcoders] spacing horizontal dynamic xml menu textfields

2009-08-26 Thread thomas horner
Hi Sid many thanks for the demo, have managed to incorporate this successfully into what I was doing, and evenly space the items, but am struggling to space the items, as per line; runningX += textheader.textwidth + 20; //20 is the offset or padding between the items, however for some reason

[Flashcoders] RE: Convert webcam image to line drawing

2009-08-26 Thread juju
Hi All, I'm using a Flash app to capture snapshots from a webcam. Question: how do you convert the captured snapshot into a line drawing on the fly? Is this possible with actionscript? Thanks, juju ___ Flashcoders mailing list Flashcoders@chattyfig.figlea