Re: [Flashcoders] Projector positioning (centering)
Use AIR and u can do that Eric On Apr 17, 2014, at 5:21 PM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Hi all, I need to center a Flash projector on both MAC and PC. Not center the stage, but literally, when you double click the app or exe, it opens in the center of the monitor. Any suggestions? They would be greatly appreciated. Thanks, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Apr 10, 2014, at 10:56 AM, tom rhodes tom.rho...@gmail.com wrote: make some batch files that launch the files you want from the same dir. or make a little command line prog that takes the name of the file you want to launch as a command line argument... ___ 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] AS3 Noise (Audio) Filter?
I'm looking for something to attempt to remove noise (or hum/hiss) from a playing audio file in real-time. Thanks for any pointers. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki Imagineric http://imagineric.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Projectors...
Has anyone been able to generate a more current AS3 file as a projector? I'm not talking about AIR or captive runtime, talking about the old-fashioned projector for Mac? It's just gone from the IDE and the later players have this greyed out. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki Imagineric http://imagineric.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Nested clip mouse over
clip.clip.addEventListener( ... Eric On May 21, 2013, at 5:17 PM, [ p e r c e p t i c o n ] percepti...@gmail.com wrote: Anyone know how to get the mouse over of a nested clip ___ 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] sound.extract as visualizer?
I've cracked Flash open again for some simulations and I am looking for some code that will allow me to provide a visualizer per audio file as it plays. computeSpectrum is out obviously. Anyone have any code that can provide super-simple (say scaling a clip) based on extracted values while the audio is played? Thanks! Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 read serial data over USB on Mac
Is there an AIR native extension that can somehow directly allow me to socket connect to a device over USB? That would be fantastic... would one be required to use Flex to generate the AIR, or can it be a standard AS3 app? Eric On Wed, Aug 29, 2012 at 4:53 AM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki skriver: I have some hardware that sends serial data over USB. Any good proxy app to use with Sockets to read that data in an AS3 app? Have you tried an AIR native extension? ___ 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] AS3 read serial data over USB on Mac
I have some hardware that sends serial data over USB. Any good proxy app to use with Sockets to read that data in an AS3 app? Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] simple 3d scene - move camera?
Hey all - I am looking for some starter code. Imagine stacks of sprites vertically. You select a number and the camera moves up to that stack. This is 3d. Does anyone have any quick code to get me rolling? I haven't done much 3d in Flash and I'm not sure where to start quickly. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Tween
http://www.greensock.com/as/docs/tween/com/greensock/TweenMax.html On Mon, Nov 7, 2011 at 12:25 PM, Paul Andrews p...@ipauland.com wrote: I'm just thinking about the best way to do this (OK, the laziest way to do this). I have a MC at point A and want to tween it to point B. OK, no problem. But really, I don't want my MC to move in a straight line, I want it to oscillate - I guess as a damped (attenuated at both ends) sine curve along the path between A and B. Before I start hurting my brain, any ready made solutions out there? Paul __**_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Best AS3 face detection (recognition a plus)
I am looking for the best AS3 face detection/recognition available source currently around. Anyone have pointers? Googling shows a lot of older stuff. Thanks! Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Question about SWC elements for use in Flex
Apologies but I haven't done any Flex in a few years and I am getting back into it. I created a FLA and then created some visual assets in the Library, with Linkage names. I then published a SWC of these. In my Flex app project I linked the SWC with my project. Then I try to call the stuff up and place I get an error: fx:Script ![CDATA[ private function init():void { var s:Sphere = new Sphere(); this.addElement(s); } ]] /fx:Script TypeError: Error #1034: Type Coercion failed: cannot convert Sphere@46b0179to mx.core.IVisualElement. ? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about SWC elements for use in Flex
*implicit coercion of a value of type mx.core.IVisualElement to unrelated type Sphere.* :/ 2011/9/21 Cédric Muller flashco...@benga.li what if you do 'var s:Sphere = new Sphere() as IVisualElement' ?` Apologies but I haven't done any Flex in a few years and I am getting back into it. I created a FLA and then created some visual assets in the Library, with Linkage names. I then published a SWC of these. In my Flex app project I linked the SWC with my project. Then I try to call the stuff up and place I get an error: fx:Script ![CDATA[ private function init():void { var s:Sphere = new Sphere(); this.addElement(s); } ]] /fx:Script TypeError: Error #1034: Type Coercion failed: cannot convert Sphere@46b0179to mx.core.IVisualElement. ? __**_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders __**_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about SWC elements for use in Flex
If I make an ActionScript Project - things work fine. I link the SWC, import the asset's stub class I can use it. However I can't figure how to do the same for a Flex Project or Flex Mobile Project yet. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Wed, Sep 21, 2011 at 10:51 AM, Eric E. Dolecki edole...@gmail.comwrote: *implicit coercion of a value of type mx.core.IVisualElement to unrelated type Sphere.* :/ 2011/9/21 Cédric Muller flashco...@benga.li what if you do 'var s:Sphere = new Sphere() as IVisualElement' ?` Apologies but I haven't done any Flex in a few years and I am getting back into it. I created a FLA and then created some visual assets in the Library, with Linkage names. I then published a SWC of these. In my Flex app project I linked the SWC with my project. Then I try to call the stuff up and place I get an error: fx:Script ![CDATA[ private function init():void { var s:Sphere = new Sphere(); this.addElement(s); } ]] /fx:Script TypeError: Error #1034: Type Coercion failed: cannot convert Sphere@46b0179to mx.core.IVisualElement. ? __**_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders __**_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about SWC elements for use in Flex
Thanks for your response. I have to weigh whether or not I want to jump through the extra hoop or not (I can create a non-MXML app where I can do things straight away). Thanks again, Eric On Wed, Sep 21, 2011 at 1:11 PM, jchilc...@interactivityunlimited.comwrote: (I hate webmail apps... resent) addElement() is meant for display objects that extend the SpriteVisualElement class, which are a part of the Flex libraries. What you need to do if you want to use Sphere as you have made it, is to create a wrapper display object that extends SpriteVisualElement and have the wrapper add your Sphere object via an addChild(). You would do an addElement() on your wrapper. jord Original Message Subject: Re: [Flashcoders] Question about SWC elements for use in Flex From: Eric E. Dolecki edole...@gmail.com Date: Wed, September 21, 2011 11:04 am To: Flash Coders List flashcoders@chattyfig.figleaf.com If I make an ActionScript Project - things work fine. I link the SWC, import the asset's stub class I can use it. However I can't figure how to do the same for a Flex Project or Flex Mobile Project yet. ___ 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] Spotify AS3 lib?
Is there one out there or one under construction? Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Spotify AS3 lib?
Beyond just the search but playback as well. The search is only mildly interesting. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Aug 11, 2011 at 10:34 AM, Nathan Mynarcik nat...@mynarcik.comwrote: Are you looking to read the Metadata? Or develop a full 3rd party program? I can across this http://developer.spotify.com/en/metadata-api/overview/ Perhaps it could help? Unfortunately it only allows search and lookup... ___ 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] Spotify AS3 lib?
Sure that would be cool :) Thanks. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Aug 11, 2011 at 3:48 PM, Sidney de Koning | Funky Monkey Studio sid...@funky-monkey.nl wrote: Hi Eric, I've had contact with spotify about this; the wont release anything because it exposes their databases and it all comes down to copyright issues. I have also created a Spotify AS3 Wrapper API for the search and lookup, its not done, but usable for (commercial) projects. If you like i can put it up at Github? Let me know, Sidney de Koning -- *Sidney de Koning* - *If you're not prepared to be wrong, you'll never come up with something original* *Who am I? http://about.me/sidneydekoning* *Just Funky Mobile Apps: http://www.justfunky.com/*** Beyond just the search but playback as well. The search is only mildly interesting. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Aug 11, 2011 at 10:34 AM, Nathan Mynarcik nat...@mynarcik.com nat...@mynarcik.comwrote: Are you looking to read the Metadata? Or develop a full 3rd party program? I can across this http://developer.spotify.com/en/metadata-api/overview/ Perhaps it could help? Unfortunately it only allows search and lookup... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing listFlashcoders@chattyfig.figleaf.comhttp:// 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] Origami Photo viewer
I am wondering if anyone has seen source or implementation of a photo viewer like the one on Apple TV (origami)? Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] contract/FT position (Paris/Europe)
I guess it depends if it's Paris or just Europe in general. On Fri, Jul 22, 2011 at 2:06 PM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Hi list... The second line returns an XMLList only if the first line (bug) isn't commented out. If the first line is commented out, the second line returns null. How can it be possible that the second line's result depends on the first line running? Thanks, - Michael M. var bug:XMLList = topic..asset.(hasOwnProperty(@title)); var xmlList:XMLList = topic.descendants(*).(hasOwnProperty(@title) (@title == Presentation)); topic title=my topic menu section type=pubs asset id=i type=doc fileName=doc.pdf//section section type=media asset id=a title=Presentation fileName=pres.pptx/ asset id=b title=animation fileName=flash.swf/ section type=info asset id=c title=questions/ asset id=d title=something/ /section /menu /topic ___ 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] scrolling webpage with flash
I think I know what you want. Have your app calculate how high it needs to be, then call out using javascript to a method which changes the dimensions of a div, where your SWF embed is made at 100%. It can keep calling that method. Just make sure your SWF has noScale, etc. set within it. I've done this to generate charts that are a dynamic height based on data to represent... the page will expand to accommodate the div so your SWF never gets clipped. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Jun 30, 2011 at 3:32 PM, Cor c...@chello.nl wrote: Thanks Matt, Swffit works fine... when resizing the browser, but my issue is that the browser is never resized, but the content in the swf grows dynamically. So I would like to get my swf-dimensions variable. Best regards, Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. Sent: donderdag 30 juni 2011 17:50 To: Flash Coders List Subject: Re: [Flashcoders] scrolling webpage with flash then you should definitely check out SWFFIT, that can do what you're looking for. .m On Thu, Jun 30, 2011 at 11:38 AM, Cor c...@chello.nl wrote: I need loaded content to be able to grow within my SWF to any height. If this overshoots the html-height then the scrollbar of the browser will show. Best regards, Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. Sent: donderdag 30 juni 2011 17:33 To: Flash Coders List Subject: Re: [Flashcoders] scrolling webpage with flash Not sure what you need exactly, but SWFFit is a nice little utility for various flash resizing needs: http://swffit.millermedeiros.com/ ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] scrolling webpage with flash
document.getElementById(divName).style.height = valPassedByFlash Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Jun 30, 2011 at 4:36 PM, Cor c...@chello.nl wrote: Eric, Thank you! That's exactly the problem. I don't know how to do this in javascript, etc. Best regards, Cor van Dooren www.codobyte.com -- There are only 10 types of people in the world: Those who understand binary and those who don’t. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki Sent: donderdag 30 juni 2011 22:32 To: Flash Coders List Subject: Re: [Flashcoders] scrolling webpage with flash I think I know what you want. Have your app calculate how high it needs to be, then call out using javascript to a method which changes the dimensions of a div, where your SWF embed is made at 100%. It can keep calling that method. Just make sure your SWF has noScale, etc. set within it. I've done this to generate charts that are a dynamic height based on data to represent... the page will expand to accommodate the div so your SWF never gets clipped. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Jun 30, 2011 at 3:32 PM, Cor c...@chello.nl wrote: Thanks Matt, Swffit works fine... when resizing the browser, but my issue is that the browser is never resized, but the content in the swf grows dynamically. So I would like to get my swf-dimensions variable. Best regards, Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. Sent: donderdag 30 juni 2011 17:50 To: Flash Coders List Subject: Re: [Flashcoders] scrolling webpage with flash then you should definitely check out SWFFIT, that can do what you're looking for. .m On Thu, Jun 30, 2011 at 11:38 AM, Cor c...@chello.nl wrote: I need loaded content to be able to grow within my SWF to any height. If this overshoots the html-height then the scrollbar of the browser will show. Best regards, Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. Sent: donderdag 30 juni 2011 17:33 To: Flash Coders List Subject: Re: [Flashcoders] scrolling webpage with flash Not sure what you need exactly, but SWFFit is a nice little utility for various flash resizing needs: http://swffit.millermedeiros.com/ ___ 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 ___ 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] Question regarding Bitmap distorting bottom half of Stage elements
This is what I came up with (works in incubator build) http://imagineric.ericd.net/swf/angled.html http://imagineric.ericd.net/2011/06/17/as3-solved-distorting-the-bottom-half-of-the-stage/ Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Mon, Jun 20, 2011 at 5:20 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hi Eric, You could try making a shell MC that is duplicated so you have two MCs with the same content right on top of each other. Then mask one so it shows on the top half and the other to show on the bottom. With the one on the bottom being a lesser z access, and covered by the top (non-distorted view) you then distort just the mc on the bottom. You could even copy the bottom MC into a bitmap image. (hiding the real bottom mc) Then you can put your transformations on that copy and just recreate the bitmap of the bottom mc as you need for updating. Then you only have to update one MCs content and both will populate. Giving you the effect you desire with a little control. Well, something along those lines anyway. HTH, Karl On Jun 20, 2011, at 4:01 AM, allandt bik-elliott (thefieldcomic.com) wrote: sounds like you need to use 2 bitmaps drawn with copypixels and a clipping rectangle to capture the correct half and scale the bottom half with something like the flash and math BitmapTransformer http://www.flashandmath.com/**intermediate/gummy/http://www.flashandmath.com/intermediate/gummy/ hope this helps a On 16 June 2011 20:48, Eric E. Dolecki edole...@gmail.com wrote: Greetings all, I made a quick post about something I'd like to solve and someone out there might be able to help me. http://imagineric.ericd.net/**2011/06/16/question-bitmap-** distorting-the-bottom-half-of-**the-stage/http://imagineric.ericd.net/2011/06/16/question-bitmap-distorting-the-bottom-half-of-the-stage/ Here is a near copy and paste of the post describing the crux of what I am after... What I would like to do is to have a Stage with a DisplayObject or perhaps several DisplayObjects – which can animate around. When these objects pass a boundary (1/2 of the Stage height), I would like to distort all those images by applying a Bitmap transformation… but only to the portion that crosses that boundary. The bottom half of the Stage would need to update itself constantly to properly display the effect in real time. I’ve done some Bitmap things in the past, but I am not quite sure what the correct approach for this might be. I’ve seen plenty of stuff where you can drag the corners of a photograph around ( http://edvardtoth.com/flash/**flashfun/basic-bitmap-** distortion-using-triangles-**and-uvs-source/http://edvardtoth.com/flash/flashfun/basic-bitmap-distortion-using-triangles-and-uvs-source/ ), but I’ve not seen where this could be applied to something like what I am after. Without digging too deeply I think I just need to update the BitmapData for the bottom Bitmap every frame – *but curious about the offset stuff…* I am looking for sage advice or even some code to get this rolling. If it takes a while it might be interesting to see how you landed where you did and how I approached the problem. Thanks for any and all consideration. - Eric __**_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders __**_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com __**_ Flashcoders mailing list Flashcoders@chattyfig.figleaf.**com Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/**mailman/listinfo/flashcodershttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] E4X: reading CDATA
If you're wanting to turn the CDATA into XML, I did a quick search for you which resulted in this link which might be handy... http://www.actionscript.org/forums/showthread.php3?t=196374 The top of the thread may be good for you too. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Mon, Jun 20, 2011 at 10:35 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Hi list... I've searched around looking for a way to elegantly extract CDATA out of an xml node, with no luck. I'm left thinking the only way to do it is to read the whole node and use a RegExp to strip the ![CDATA[ and ]] . Does this sound right? Thanks, - Michael M. ___ 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] AS3 exploding and reassemble bitmap
set it to 2 pixels instead of 1 and see how it fares. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Jun 16, 2011 at 12:49 PM, Glen Pike g...@engineeredarts.co.ukwrote: Probably all that CGI hair ;) On 16/06/2011 17:40, Kevin Newman wrote: I updated the post with a link to the source: http://www.unfocus.com/2010/06/29/the-bunny-video-eplodes-explodes/ http://www.unfocus.com/PixelExploder/PixelExploder02.zip If anyone knows why that runs so sluggishly in the content debugger (including the incubator build), I'd love to know why. :-) Kevin N. On 6/14/11 5:22 PM, Eric E. Dolecki wrote: that would be very nice of you - for me and those lurking too. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Tue, Jun 14, 2011 at 4:43 PM, Kevin Newmancapta...@unfocus.com wrote: Hmm. I don't seem to have the source up for that (thought I did), you can use a slightly older set of files from here: (This one has source) http://www.unfocus.com/2010/06/23/the-pixels-explode-explode/ If you are interested in the newer faster one (fast enough to work with video - and a blur filter), I'd be happy to zip up the source and post it somewhere. Quick note on the video example - it's sloow in content debugger builds. I don't know why. Kevin N. On 6/14/11 4:25 PM, Eric E. Dolecki wrote: Thanks a lot for showing that to me - I managed to get something working which is both quick and relatively cool. I don't ever do a pixel by pixel explosion to save speed, smallest I go is 2px segments, but it's very quick that way and looks nearly as cool. I am working on the explosion physics at the moment (instead of just coming out from the displayObject, working in spirals, etc. for each piece). Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Question regarding Bitmap distorting bottom half of Stage elements
Greetings all, I made a quick post about something I'd like to solve and someone out there might be able to help me. http://imagineric.ericd.net/2011/06/16/question-bitmap-distorting-the-bottom-half-of-the-stage/ Here is a near copy and paste of the post describing the crux of what I am after... What I would like to do is to have a Stage with a DisplayObject or perhaps several DisplayObjects – which can animate around. When these objects pass a boundary (1/2 of the Stage height), I would like to distort all those images by applying a Bitmap transformation… but only to the portion that crosses that boundary. The bottom half of the Stage would need to update itself constantly to properly display the effect in real time. I’ve done some Bitmap things in the past, but I am not quite sure what the correct approach for this might be. I’ve seen plenty of stuff where you can drag the corners of a photograph around ( http://edvardtoth.com/flash/flashfun/basic-bitmap-distortion-using-triangles-and-uvs-source/), but I’ve not seen where this could be applied to something like what I am after. Without digging too deeply I think I just need to update the BitmapData for the bottom Bitmap every frame – *but curious about the offset stuff…* I am looking for sage advice or even some code to get this rolling. If it takes a while it might be interesting to see how you landed where you did and how I approached the problem. Thanks for any and all consideration. - Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 exploding and reassemble bitmap
Thanks a lot for showing that to me - I managed to get something working which is both quick and relatively cool. I don't ever do a pixel by pixel explosion to save speed, smallest I go is 2px segments, but it's very quick that way and looks nearly as cool. I am working on the explosion physics at the moment (instead of just coming out from the displayObject, working in spirals, etc. for each piece). Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Tue, Jun 14, 2011 at 4:16 PM, Kevin Newman capta...@unfocus.com wrote: You might be able to adopt my script to do that: http://www.unfocus.com/2010/06/29/the-bunny-video-eplodes-explodes/ Probably is more manual than you are looking for though. That script draws everything into a bitmap. You could probably transition that to the new location during the explode/implode. Kevin N. On 6/13/11 9:26 AM, Eric E. Dolecki wrote: Hey all - I am looking for a class that basically explodes a bitmap (each pixel) and then reassembles it at another x,y location. I've been googling but have come up empty so far. Any ideas? Thanks, Eric Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ 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] AS3 exploding and reassemble bitmap
that would be very nice of you - for me and those lurking too. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Tue, Jun 14, 2011 at 4:43 PM, Kevin Newman capta...@unfocus.com wrote: Hmm. I don't seem to have the source up for that (thought I did), you can use a slightly older set of files from here: (This one has source) http://www.unfocus.com/2010/06/23/the-pixels-explode-explode/ If you are interested in the newer faster one (fast enough to work with video - and a blur filter), I'd be happy to zip up the source and post it somewhere. Quick note on the video example - it's sloow in content debugger builds. I don't know why. Kevin N. On 6/14/11 4:25 PM, Eric E. Dolecki wrote: Thanks a lot for showing that to me - I managed to get something working which is both quick and relatively cool. I don't ever do a pixel by pixel explosion to save speed, smallest I go is 2px segments, but it's very quick that way and looks nearly as cool. I am working on the explosion physics at the moment (instead of just coming out from the displayObject, working in spirals, etc. for each piece). Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ 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] AS3 exploding and reassemble bitmap
Hey all - I am looking for a class that basically explodes a bitmap (each pixel) and then reassembles it at another x,y location. I've been googling but have come up empty so far. Any ideas? Thanks, Eric Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 exploding and reassemble bitmap
I don't need an animation package, a class that cuts a displayObject up, disassembles it on a pixel-level basis, explodes it out, and then reassembles the pixels of the displayObject in a different location. If I do this myself it's going to take a lot of time, looking for something out there that can do this already. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Mon, Jun 13, 2011 at 9:31 AM, Cor c...@chello.nl wrote: Not sure, but look at: www.greensock.com ___ 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] Quick Q about matrix3D
I saw this AS3 and found it pretty compelling. I am wondering if it's possible to add one more handle on the left and right and update the recalc code to allow for corners and also points on the sides... http://wonderfl.net/c/sxQJ I think I could just hack 2 more handles and add the new code into the solve method, but wondering if someone's done that already and I could just paste it in :) Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] hitTestPoint mc with transparent PNG
I've done this before but it's been ages. I have a MC on the stage and would like to perform hitTestPoint on it. The MC contains a PNG with transparency. I'd like for the transparent regions not to figure into the hit detection. Looking at bitmapData. Whats a good little bit of code to do that detection with in a MouseEvent.MOUSE_MOVE ? Thanks, Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: hitTestPoint mc with transparent PNG
Found this (it's awesome) - just make sure your host clip has it's origin top left or it won't report correctly. http://dougmccune.com/flex/hittest_example/srcview/index.html - Eric On Fri, Mar 11, 2011 at 10:00 AM, Eric E. Dolecki edole...@gmail.comwrote: I've done this before but it's been ages. I have a MC on the stage and would like to perform hitTestPoint on it. The MC contains a PNG with transparency. I'd like for the transparent regions not to figure into the hit detection. Looking at bitmapData. Whats a good little bit of code to do that detection with in a MouseEvent.MOUSE_MOVE ? Thanks, Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Getting Data into my SWF
Perhaps you could send the string data in some coded way that your Flash code can decode and use properly. Nothing is going to be fool proof however. Come up with your own little scheme... a 1 = A, 2 = B, etc. (probably want something tougher than that though :)) How are you going to handle time zone, etc? Or is this going to be on computers whose location is known? Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Fri, Mar 11, 2011 at 10:56 AM, John R. Sweeney Jr jr.swee...@comcast.net wrote: I couldn't agree more. John on 3/11/11 9:02 AM, Merrill, Jason at jason.merrill@bankofamerica.comwrote: And he's clearly new to this stuff as he said is his original post, so lay off play nice. There's no reason to respond to people like that. The whole reason for these forums is so people can ask questions about things they don't know about, and they shouldn't have to feel intimidated. John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive Inc 945 Washington Blvd. Hoffman Estates, IL 60169 Office/Fax: 847.310.5959 Cellular: 847.651.4469 www.ondemandinteractive.com ___ 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] PS3 Move and AS3?
The Kinect camera is quite cool and useful for certain things. After playing with it for a while I am wondering if the PS3 Move system may be a more accurate and useful system for certain things. I did a quick Googling for PS3 and AS3 hacking, but I haven't found anything of substance yet. Has anyone seen anything in the community in this regard? Thanks. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Distribute some audio classes as SWC?
Yup - just add the SWC to your FLA or project and the classes should be immediately available for your use. On Tue, Feb 1, 2011 at 8:42 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Hi Eric... I've been wanting to do that forever with some fonts and a movie clip that I use in everything, maybe even a package I wrote too. What's the workflow? I saw export to swc also. But I'm wondering, what to do after that? Just load it and it's available? I've never made a swc before. - Michael M. My bad - I didn't see the Export SWC in Publish Settings :) ___ 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] Re: Distribute some audio classes as SWC?
You won't see it in your Library, but it will be linked so when you compile, it's all available to you. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Tue, Feb 1, 2011 at 9:12 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Wait -- not so fast. How do you import it? Is it advanced AS3 settings|Library Path, then bring it in there? Clicking OK to that doesn't have the swc appear in the library. Should it be merged into code? - MM ___ 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] Re: Distribute some audio classes as SWC?
I think only the classes you actually implement from a SWC get compiled into your SWF - but all would be available for use. Just link the SWC up for the projects you'd need it. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Tue, Feb 1, 2011 at 9:32 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Thanks Tom. So, am I correct in assuming that bringing in that swc via the IDE preferences bakes the swc into every swf I compile? And if I want to do it on a per project basis, just use publish settings, correct? Thanks again Tom and Eric! - MM ___ 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] Distribute some audio classes as SWC?
I have about 5 pieces of original music in the form of MP3s that I use a ton. Normally I would import them into my Library, give them a class name and call them up in my document class. However I'd rather be able to stuff them into a SWC and access them. I'm googling now, but how can I do this? I haven't made a swc in about 4 years. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Distribute some audio classes as SWC?
My bad - I didn't see the Export SWC in Publish Settings :) On Tue, Jan 25, 2011 at 9:46 AM, Eric E. Dolecki edole...@gmail.com wrote: I have about 5 pieces of original music in the form of MP3s that I use a ton. Normally I would import them into my Library, give them a class name and call them up in my document class. However I'd rather be able to stuff them into a SWC and access them. I'm googling now, but how can I do this? I haven't made a swc in about 4 years. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AS3 and business card reader/scanner
Look into AIR? Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Jan 20, 2011 at 5:32 PM, John R. Sweeney Jr jr.swee...@comcast.netwrote: Hi all, My client wants to use a business card scanner/reader for a registration station. I'll be running a Flash app that uses a virtual keyboard for entry or their scanned card info to be sent to our database. I've search around and not had a lot of success in possible approaches. Has anyone done this before or has a suggestion of where to look for assistance/suggestions. We will be using Flash, either Access or a mySQL database and the database programmer does Visual Basic and ASP. So we are trying to find a usable solution betweens these two. Any help or direction is greatly appreciated. Thank you in advance, John John R. Sweeney Jr. Interactive Multimedia Developer OnDemand Interactive Inc 945 Washington Blvd. Hoffman Estates, IL 60169 Office/Fax: 847.310.5959 Cellular: 847.651.4469 www.ondemandinteractive.com ___ 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] test
Indeed it is :-) Hello. Hello. Hello. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Tue, Jan 11, 2011 at 11:11 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com wrote: Test: is the list alive? - MM ___ 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] CS5 where to put tween engines etc?
Keep one spot someplace where you keep all your packages (yours and 3rd party). Then link to them there. If you want to use SVN, use that same spot. Keeps things uncluttered. For project work where you have lesser-importance or lesser-reusable code, slap those in your project directory to keep your main location solid. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Sep 30, 2010 at 2:09 PM, David Hunter davehunte...@hotmail.comwrote: Hi all, just upgraded from CS3 to CS5. Where do I put external classes and libraries like TweenLite? In CS3 they were in: Adobe Flash CS3 Configuration Actionscript 3.0 Classes ... but that path doesn't exist in CS5. Anyone upgraded and can help? Cheers. ___ 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] access a mc in stage from a class
Amazon.com is your friend. Reviews are helpful. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Fri, Sep 10, 2010 at 10:23 AM, Rodrigo Augusto Guerra rodr...@alumni.org.br wrote: thanks jason. I'll do that. any good (easy to understand) oop book out there? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Apple changes their guidelines
Some magic voodoo turns it all into an executable for the iPhone. No SWF. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Thu, Sep 9, 2010 at 9:59 AM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: how does cs5 generate files for iphone? Does it create a swf and then use a cocoa framework to make it work or does it transcode the file directly into objective c? suddenly looks very interesting again a On 9 September 2010 14:46, Henrik Andersson he...@henke37.cjb.net wrote: http://www.apple.com/pr/library/2010/09/09statement.html ___ 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] Accessing .fla var
Why wouldn't you increment countF when you instantiate your mc? Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Mon, Aug 30, 2010 at 1:14 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: In my .fla I have: var countF:int=0; then in the library I have a mc with linkage to an .as file In that .as file, I want to be able to: countF++; hope that makes sense. From: flashcoders-boun...@chattyfig.figleaf.com [ flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki [ edole...@gmail.com] Sent: Monday, August 30, 2010 1:11 PM To: Flash Coders List Subject: Re: [Flashcoders] Accessing .fla var I think you may need to reword your question with more detail. What exactly is your setup? Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Mon, Aug 30, 2010 at 12:58 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: How would I access a variable in my .fla from a .as? I just want to do something like: var++; from the .as where the var lives in the .fla.. ___ 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] Help with addChild
I lost the thread to this, but he is adding it to the document class if I remember correctly. I think we'd need to see a little code again J.C. On Fri, Jul 16, 2010 at 3:07 PM, J.C. Berry jcharlesbe...@gmail.com wrote: You are right. But do you know what it could be, Henrik? Do you need to see some more code? On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson he...@henke37.cjb.net wrote: Deepanjan Das wrote: Hi, I think the stage has not yet been initiated, hence the addChild is not working. Try to get hold of the stage first and then so an addChild. While that is indeed a common problem, it is not the current problem. He is adding to the main timeline, not the stage. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- J.C. Berry, M.A. UI Developer 619.306.1712(m) jcharlesbe...@gmail.com portfolio: http://Client:maz...@www.mindarc.com This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Help with addChild
I don't think this is enough code... myPopout extends Sprite or MovieClip or something? What if in your other class you did this: var myPopout:myPopout = new myPopout(e.target,this.btnNum,this.cityList); addChild(myPopout); ? I don't think we know enough about what you are doing... On Fri, Jul 16, 2010 at 3:40 PM, J.C. Berry jcharlesbe...@gmail.com wrote: From separate class: var myPopout:myPopout = new myPopout(e.target,this.btnNum,this.cityList); //Calls below From other class: public function myPopout(stageBtn,btnNum,cityList){//constructor this.btnNum = btnNum; this.cityList = cityList; this.stageBtn = stageBtn; initPopout(stageBtn,btnNum,cityList); } public function initPopout(stageBtn,btnNum,cityList){ if(btnNum 25){ trace(this); var popInstance:Tba = new Tba(); popInstance.x = 10; popInstance.y = 10; popInstance.name = 'cityPopout'+btnNum+'_mc'; popInstance.alpha = 1; addChild(popInstance);//no error or result So here it only works if I use stageBtn.addChild(popInstance) On Fri, Jul 16, 2010 at 12:33 PM, Mattheis, Erik (MIN-WSW) ematth...@webershandwick.com wrote: Yes, more code please. _ _ _ Erik Mattheis Senior Web Developer Minneapolis T 952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global Agency Report Card 2009 - Gold Medal Winner The Holmes Report Global Agency of the Year PR News Agency of the Year -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry Sent: Friday, July 16, 2010 2:08 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild You are right. But do you know what it could be, Henrik? Do you need to see some more code? On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson he...@henke37.cjb.net wrote: Deepanjan Das wrote: Hi, I think the stage has not yet been initiated, hence the addChild is not working. Try to get hold of the stage first and then so an addChild. While that is indeed a common problem, it is not the current problem. He is adding to the main timeline, not the stage. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- J.C. Berry, M.A. UI Developer 619.306.1712(m) jcharlesbe...@gmail.com portfolio: http://Client:maz...@www.mindarc.com This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. ___ 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 -- J.C. Berry, M.A. UI Developer 619.306.1712(m) jcharlesbe...@gmail.com portfolio: http://Client:maz...@www.mindarc.com This E-mail is covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521 and is legally privileged. This information is confidential information and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
[Flashcoders] AIR - the About Box
I am curious about the default About Box that comes up in OS X... can this be customized in any way? Right now it's app icon, title, version copyright information. One could always make their own native window and use that from a control within the application, but if someone uses the Application Menu to do the about - you get that default About Box. Can this be customized - or can the About app be hijacked to provide a custom native window somehow? Thanks for your time, Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] setChildIndex
if you addChild to an item already on the list, it will pop it to the top of the list if it's not already there. On Fri, Jul 2, 2010 at 2:59 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: It is - I just thought addChild would be for mc created in script - I can add child with stuff already on the stage? From: flashcoders-boun...@chattyfig.figleaf.com [ flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason [ jason.merr...@bankofamerica.com] Sent: Friday, July 02, 2010 1:52 PM To: Flash Coders List Subject: RE: [Flashcoders] setChildIndex Doesn't matter - you can still modify the layering with Actionscript. Isn't that what you asked about? Jason Merrill Instructional Technology Architect Bank of America Global Learning Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (Note: these resources are only available for Bank of America associates) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore Sent: Friday, July 02, 2010 9:02 AM To: Flash Coders List Subject: RE: [Flashcoders] setChildIndex These mc are added in the IDE - not code Anyway I can change their layering... ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] setChildIndex
They would be a child of the DisplayList, no? ie. stage (this) potentially. On Wed, Jun 30, 2010 at 4:04 PM, Lehr, Theodore ted_l...@federal.dell.comwrote: How can I change depths of a movie - I found setChildIndex - but they are not children of anything... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AIR tooltips (outside app container)
Forgive the noobness of this request... I haven't seen anything in Google and I thought I had seen this before. I am authoring an AIR 2 app using the Flash CS5 IDE. How can I generate OS-level tooltips from stuff in my AIR app (so they can appear at an OS-level outside the AIR container). I could use regular tooltips or make my app window larger than it would seem, but looking for OS-level hooks. E ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Question about AIR2 and wireless network detection
I am running a little AIR2 application, and I am trying to get additional information about networks... Channel, PHY Mode (ie. 802.11n), or Security (ie. WPA2 Personal). I don't see these properties listed anywhere. Is there a way to get at these properties, or is this a feature request? Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Question about AIR2 and wireless network detection
Also some notion of network strength... On Wed, Jun 23, 2010 at 1:36 PM, Eric E. Dolecki edole...@gmail.com wrote: I am running a little AIR2 application, and I am trying to get additional information about networks... Channel, PHY Mode (ie. 802.11n), or Security (ie. WPA2 Personal). I don't see these properties listed anywhere. Is there a way to get at these properties, or is this a feature request? Eric -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Realaxy ActionScript Editor public beta
It took 10 minutes to set up my 1st project and then was super slow allowing text entry. Not sure why. On Wed, Jun 9, 2010 at 1:01 PM, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: interesting - thanks On 9 June 2010 16:42, Piers Cowburn m...@pierscowburn.com wrote: wow. On 9 Jun 2010, at 16:16, Ivan Dembicki wrote: Hello flashCoders, Realaxy ActionScript Editor public beta released. http://realaxy.com -- iv http://www.bezier.ru http://bezier.googlecode.com ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: Passing Var value to loaded swf
When in doubt, look at timing. I think Gerry is on to something :) On Mon, Jun 7, 2010 at 10:03 AM, Gerry Beauregard gerry.beaureg...@sonoport.com wrote: I don't have a whole lot of experience with the Loader class, but I suspect that rather than calling addChild() immediately after calling load(), you'd need to listen for a load complete event (Event.COMPLETE), and call addChild() in the handler for that event. -Gerry ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: Passing Var value to loaded swf
One could have the parent fire an init method to a loaded SWF. Then the loaded movie would know that the parent was present. I believe. On Mon, Jun 7, 2010 at 10:28 AM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: When in doubt, look at timing. I think Gerry is on to something :) Yeah, but he is looking in the wrong direction. It is the loaded movie that tries to use the parent when it doesn't have any yet. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: Passing Var value to loaded swf
yup On Mon, Jun 7, 2010 at 10:47 AM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: One could have the parent fire an init method to a loaded SWF. Then the loaded movie would know that the parent was present. I believe. Or you could just wait for the ADDED event. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
I've started implementing some code this morning in the hopes to match the vowel a this morning. Of course there are several intonations for this depending on the word it's located in, but if I can get a match on a naked a I may be on to something. Like you said, I have a higher chance of success since the voice is software generated and not from random people's speech patterns. If I don't get something today I'm going to bail on the engine in the hopes of finding something useful some other time. This isn't a critical feature for me as I have the jaw moving with precision and the effect comes across. Mouth shapes would be the icing on the cake. Eric On Fri, Jun 4, 2010 at 8:34 AM, Karim Beyrouti ka...@kurst.co.uk wrote: Yeh - not sure this will help however - a (very talented) colleague of mine worked on a simple speech recognition software for mobile - it was built to recognise about 20 commands with 90% success rate. His approach (in my simplistic terms) was: 1) get recordings / audio samples of the commands (in your case vowels - it should be easier as it's generated so you wont have to compare against too many/different intonations ) - 2) create / store a graph of the audio commands ( this used FFT (s) - to abstract and simplify, the pattern of the commands - the result was a square voice print graph ) 3) The stored patterns/voiceprints were then compared against the users voice recording. The trickiest part of this whole business were the Fast Fourier Transforms - these things get very complicated, and confuse the life out of me. Anyway, hopefully this will help you - seems like it might be the best approach. if you do crack it - you will end up with a simple voice recognition system. Which would be a brilliant and useful thing bit of code to have... hope this was of any use.. - karim On 4 Jun 2010, at 01:23, Karl DeSaulniers wrote: I would try using that to figure out a way of maping the sounds and then translate that to your project. You are able to see the wave forms in soundbooth? Haven't used it. If so, can you run your cursor over it at any point to get the readings? Might be a little trivial, but may yeild a pattern that you can utilize. JAT Karl Sent from losPhone On Jun 3, 2010, at 6:18 PM, Eric E. Dolecki edole...@gmail.com wrote: SoundBooth On Thu, Jun 3, 2010 at 6:39 PM, Karl DeSaulniers k...@designdrumm.com wrote: Do you have SoundEdit? Or the like? Karl On Jun 3, 2010, at 5:09 PM, Eric E. Dolecki wrote: I think I might make waveform bitmaps and then try and compare against the current waveform (block EQ) - and if it's a close match, then fire off specific vowel events. If that works, I could do consonants too. If this works, I'll do jumping jacks and shots of Jack. So how would I compare two bitmaps to see if a waveform ( On Thu, Jun 3, 2010 at 5:18 PM, Karl DeSaulniers k...@designdrumm.com wrote: If you need any of these files or can't find them, lmk and I can send off list. Best, Karl On Jun 3, 2010, at 3:37 PM, Karl DeSaulniers wrote: Don't know if this will help, but have you looked into WaveAnalyzer.as or Flash MX - Audio: Sound completion event (The source files for this can be found in the Flash MX/Samples folder.) They both let you control the sound. I am thinking this will point you in a good direction. Its AS2 though. HTH, Karl On Jun 3, 2010, at 2:42 PM, Eric E. Dolecki wrote: Ya - I have the data for both things, but they extend over time and are difficult to compare. It's the boiling down the signatures into something simple and being able to read the playing audio looking for the match (or near match). I thought about using bitmap data and trying to match up waveforms, etc. but I don't know enough about it to pull that off. It seems like a hack in a way, but if it worked, who cares I suppose. On Thu, Jun 3, 2010 at 3:31 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: I'm not Henrik, but I've done some lip-synch stuff for Disney. We did it pretty much the way Eric described--we just used amplitude. It's not as accurate as Disney would demand on a film, but it's ok in the kids' game market. I see, amplitudes could be just good enough for some stuff. Although the speed and the intensitiy of the speech could give misleading results, I think. I'm under the impression that you should somehow try to compare the shape of the waves (somehow simplifiy your input to some value of sets of values that are easier to compare, possibly in a time window) and compare it in some meaningful way to precalculated samples to find a matching pattern. That's the part I have no clue about! Cheers Juan Pablo Califano 2010/6/3 Kerry Thompson al...@cyberiantiger.biz Juan Pablo Califano wrote: Wow. That was really
Re: [Flashcoders] Question about approximate vowel detection in AS3
I can get waveforms... but say a takes 1 second to speak. I get different waveforms over that 1 second... so I'm not matching against a single waveform, but many waveforms in succession. This seems like a tricky thing to match against. What might be a good approach to matching values over a certain amount of time? Is AS3 fast enough to sync quick enough? I imagine it would need to check for all vowels every frame matching values in waveforms over a certain amount of time. Eric On Fri, Jun 4, 2010 at 8:56 AM, Eric E. Dolecki edole...@gmail.com wrote: I've started implementing some code this morning in the hopes to match the vowel a this morning. Of course there are several intonations for this depending on the word it's located in, but if I can get a match on a naked a I may be on to something. Like you said, I have a higher chance of success since the voice is software generated and not from random people's speech patterns. If I don't get something today I'm going to bail on the engine in the hopes of finding something useful some other time. This isn't a critical feature for me as I have the jaw moving with precision and the effect comes across. Mouth shapes would be the icing on the cake. Eric On Fri, Jun 4, 2010 at 8:34 AM, Karim Beyrouti ka...@kurst.co.uk wrote: Yeh - not sure this will help however - a (very talented) colleague of mine worked on a simple speech recognition software for mobile - it was built to recognise about 20 commands with 90% success rate. His approach (in my simplistic terms) was: 1) get recordings / audio samples of the commands (in your case vowels - it should be easier as it's generated so you wont have to compare against too many/different intonations ) - 2) create / store a graph of the audio commands ( this used FFT (s) - to abstract and simplify, the pattern of the commands - the result was a square voice print graph ) 3) The stored patterns/voiceprints were then compared against the users voice recording. The trickiest part of this whole business were the Fast Fourier Transforms - these things get very complicated, and confuse the life out of me. Anyway, hopefully this will help you - seems like it might be the best approach. if you do crack it - you will end up with a simple voice recognition system. Which would be a brilliant and useful thing bit of code to have... hope this was of any use.. - karim On 4 Jun 2010, at 01:23, Karl DeSaulniers wrote: I would try using that to figure out a way of maping the sounds and then translate that to your project. You are able to see the wave forms in soundbooth? Haven't used it. If so, can you run your cursor over it at any point to get the readings? Might be a little trivial, but may yeild a pattern that you can utilize. JAT Karl Sent from losPhone On Jun 3, 2010, at 6:18 PM, Eric E. Dolecki edole...@gmail.com wrote: SoundBooth On Thu, Jun 3, 2010 at 6:39 PM, Karl DeSaulniers k...@designdrumm.com wrote: Do you have SoundEdit? Or the like? Karl On Jun 3, 2010, at 5:09 PM, Eric E. Dolecki wrote: I think I might make waveform bitmaps and then try and compare against the current waveform (block EQ) - and if it's a close match, then fire off specific vowel events. If that works, I could do consonants too. If this works, I'll do jumping jacks and shots of Jack. So how would I compare two bitmaps to see if a waveform ( On Thu, Jun 3, 2010 at 5:18 PM, Karl DeSaulniers k...@designdrumm.com wrote: If you need any of these files or can't find them, lmk and I can send off list. Best, Karl On Jun 3, 2010, at 3:37 PM, Karl DeSaulniers wrote: Don't know if this will help, but have you looked into WaveAnalyzer.as or Flash MX - Audio: Sound completion event (The source files for this can be found in the Flash MX/Samples folder.) They both let you control the sound. I am thinking this will point you in a good direction. Its AS2 though. HTH, Karl On Jun 3, 2010, at 2:42 PM, Eric E. Dolecki wrote: Ya - I have the data for both things, but they extend over time and are difficult to compare. It's the boiling down the signatures into something simple and being able to read the playing audio looking for the match (or near match). I thought about using bitmap data and trying to match up waveforms, etc. but I don't know enough about it to pull that off. It seems like a hack in a way, but if it worked, who cares I suppose. On Thu, Jun 3, 2010 at 3:31 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: I'm not Henrik, but I've done some lip-synch stuff for Disney. We did it pretty much the way Eric described--we just used amplitude. It's not as accurate as Disney would demand on a film, but it's ok in the kids' game market. I see, amplitudes could be just good enough for some stuff. Although the speed
Re: [Flashcoders] Question about approximate vowel detection in AS3
I was able to match a single a - although even with a straight a there can be some subtle variation. So I mapped variations that come close and I don't need to match every value in the complete waveform over time... every couple together or even the first value with buffer comes pretty close. this is with a known, unchanging vocal waveform. So I doubt this would be very useful outside of this current system, which is a bummer. I think it's time for me to retire this code and move on. Oh well... Eric On Fri, Jun 4, 2010 at 9:28 AM, Eric E. Dolecki edole...@gmail.com wrote: I can get waveforms... but say a takes 1 second to speak. I get different waveforms over that 1 second... so I'm not matching against a single waveform, but many waveforms in succession. This seems like a tricky thing to match against. What might be a good approach to matching values over a certain amount of time? Is AS3 fast enough to sync quick enough? I imagine it would need to check for all vowels every frame matching values in waveforms over a certain amount of time. Eric On Fri, Jun 4, 2010 at 8:56 AM, Eric E. Dolecki edole...@gmail.comwrote: I've started implementing some code this morning in the hopes to match the vowel a this morning. Of course there are several intonations for this depending on the word it's located in, but if I can get a match on a naked a I may be on to something. Like you said, I have a higher chance of success since the voice is software generated and not from random people's speech patterns. If I don't get something today I'm going to bail on the engine in the hopes of finding something useful some other time. This isn't a critical feature for me as I have the jaw moving with precision and the effect comes across. Mouth shapes would be the icing on the cake. Eric On Fri, Jun 4, 2010 at 8:34 AM, Karim Beyrouti ka...@kurst.co.uk wrote: Yeh - not sure this will help however - a (very talented) colleague of mine worked on a simple speech recognition software for mobile - it was built to recognise about 20 commands with 90% success rate. His approach (in my simplistic terms) was: 1) get recordings / audio samples of the commands (in your case vowels - it should be easier as it's generated so you wont have to compare against too many/different intonations ) - 2) create / store a graph of the audio commands ( this used FFT (s) - to abstract and simplify, the pattern of the commands - the result was a square voice print graph ) 3) The stored patterns/voiceprints were then compared against the users voice recording. The trickiest part of this whole business were the Fast Fourier Transforms - these things get very complicated, and confuse the life out of me. Anyway, hopefully this will help you - seems like it might be the best approach. if you do crack it - you will end up with a simple voice recognition system. Which would be a brilliant and useful thing bit of code to have... hope this was of any use.. - karim On 4 Jun 2010, at 01:23, Karl DeSaulniers wrote: I would try using that to figure out a way of maping the sounds and then translate that to your project. You are able to see the wave forms in soundbooth? Haven't used it. If so, can you run your cursor over it at any point to get the readings? Might be a little trivial, but may yeild a pattern that you can utilize. JAT Karl Sent from losPhone On Jun 3, 2010, at 6:18 PM, Eric E. Dolecki edole...@gmail.com wrote: SoundBooth On Thu, Jun 3, 2010 at 6:39 PM, Karl DeSaulniers k...@designdrumm.comwrote: Do you have SoundEdit? Or the like? Karl On Jun 3, 2010, at 5:09 PM, Eric E. Dolecki wrote: I think I might make waveform bitmaps and then try and compare against the current waveform (block EQ) - and if it's a close match, then fire off specific vowel events. If that works, I could do consonants too. If this works, I'll do jumping jacks and shots of Jack. So how would I compare two bitmaps to see if a waveform ( On Thu, Jun 3, 2010 at 5:18 PM, Karl DeSaulniers k...@designdrumm.com wrote: If you need any of these files or can't find them, lmk and I can send off list. Best, Karl On Jun 3, 2010, at 3:37 PM, Karl DeSaulniers wrote: Don't know if this will help, but have you looked into WaveAnalyzer.as or Flash MX - Audio: Sound completion event (The source files for this can be found in the Flash MX/Samples folder.) They both let you control the sound. I am thinking this will point you in a good direction. Its AS2 though. HTH, Karl On Jun 3, 2010, at 2:42 PM, Eric E. Dolecki wrote: Ya - I have the data for both things, but they extend over time and are difficult to compare. It's the boiling down the signatures into something simple and being able to read the playing audio looking for the match (or near match). I thought about using bitmap data
Re: [Flashcoders] flash game source code
found this in 0.25 seconds, but didn't download to check it: http://www.lemlinh.com/flash-source-as3-space-invaders/ On Fri, Jun 4, 2010 at 11:20 PM, Michael Stocke mikesto...@hotmail.comwrote: Good evening everyone. I would like to make a space invaders clone using AS3. I don't have alot of time, so developing from scratch isn't really an option. Does anyone have any suggestions for places to find source code? Flashkit is too old, and I haven't been able to find anything at kirupa.com. I've seen a number of emulators, but I want something that I can customize with my own assets and animations if possible. Any suggestions anyone can give would be appreciated. Thanks. Foundry Designs Inc. Professional Website Design and Online Marketing Mike Stocke msto...@foundrydesigns.com 248.787.1306 _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
It's using dynamic text to speech, so I wouldn't be able to use cue points reliably. On Thu, Jun 3, 2010 at 4:09 AM, Glen Pike g...@engineeredarts.co.uk wrote: If your mp3's are pre-recorded rather than people recording them dynamically, could you use cue points? On 02/06/2010 20:57, Eric E. Dolecki wrote: I have a face that uses computeSpectrum in order to sync a mouth with dynamic vocal-only MP3s... it works, but works much like a robot mouth. The jaw animates by certain amounts based on volume. I am trying to somehow get vowel approximations so that I can fire off some events to update the mouth UI. Does anyone have any kind of algo that can somehow get close enough readings from audio to detect vowels? Anything I can do besides random to adjust the mouth shape will go miles in making my face look more realistic. Thanks for any insights. Eric ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
I don't think that's enough. Has anyone seen pitch detection in AS3 yet (no microphone source)? That might be enough but I'm not sure. On Thu, Jun 3, 2010 at 5:55 AM, Karl DeSaulniers k...@designdrumm.comwrote: You could try matching say a lowered jaw with low octaves and a cheeky jaw with high octaves. JAT Karl On Jun 2, 2010, at 3:20 PM, Eric E. Dolecki wrote: This is a software voice, so nailing down vowels should be easier. However you mention matching recordings with the live data. What is being matched? Some kind of pattern I suppose. What form would the pattern take? How long of a sample should be checked continuously, etc.? It's a big topic. I understand your concept of how to do it, but I don't have the technical expertise or foundation to implement the idea yet. Eric On Wed, Jun 2, 2010 at 4:13 PM, Henrik Andersson he...@henke37.cjb.net wrote: Eric E. Dolecki wrote: I have a face that uses computeSpectrum in order to sync a mouth with dynamic vocal-only MP3s... it works, but works much like a robot mouth. The jaw animates by certain amounts based on volume. I am trying to somehow get vowel approximations so that I can fire off some events to update the mouth UI. Does anyone have any kind of algo that can somehow get close enough readings from audio to detect vowels? Anything I can do besides random to adjust the mouth shape will go miles in making my face look more realistic. You really just need to collect profiles to match against. Record people saying stuff and match the recordings with the live data. When they match, you know what the vocal is saying. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
I've tried running software voice vowels through the system and I am able to create signatures for the vowels that's somewhat accurate (depending on how it's influenced in a word or if it's standalone). I've run them several times and my values always seem to match (which is good). I end up with a very long stream of numbers for a signature because of the enter frame. I am wondering what the best way to compare the currents to over a period of time to match known values might be. What's a fast/best lookup means to check against? For instance, a spoken A for me looks like this: speech loaded 0.16304096207022667 0.16304096207022667 0.16304096207022667 0.16304096207022667 0.4167095571756363 1.840158924460411 1.840158924460411 2.3130274564027786 2.7141911536455154 2.7141911536455154 5.49285389482975 8.781380131840706 9.142853170633316 9.142853170633316 ... TONS more data... On Thu, Jun 3, 2010 at 8:23 AM, Eric E. Dolecki edole...@gmail.com wrote: I don't think that's enough. Has anyone seen pitch detection in AS3 yet (no microphone source)? That might be enough but I'm not sure. On Thu, Jun 3, 2010 at 5:55 AM, Karl DeSaulniers k...@designdrumm.comwrote: You could try matching say a lowered jaw with low octaves and a cheeky jaw with high octaves. JAT Karl On Jun 2, 2010, at 3:20 PM, Eric E. Dolecki wrote: This is a software voice, so nailing down vowels should be easier. However you mention matching recordings with the live data. What is being matched? Some kind of pattern I suppose. What form would the pattern take? How long of a sample should be checked continuously, etc.? It's a big topic. I understand your concept of how to do it, but I don't have the technical expertise or foundation to implement the idea yet. Eric On Wed, Jun 2, 2010 at 4:13 PM, Henrik Andersson he...@henke37.cjb.net wrote: Eric E. Dolecki wrote: I have a face that uses computeSpectrum in order to sync a mouth with dynamic vocal-only MP3s... it works, but works much like a robot mouth. The jaw animates by certain amounts based on volume. I am trying to somehow get vowel approximations so that I can fire off some events to update the mouth UI. Does anyone have any kind of algo that can somehow get close enough readings from audio to detect vowels? Anything I can do besides random to adjust the mouth shape will go miles in making my face look more realistic. You really just need to collect profiles to match against. Record people saying stuff and match the recordings with the live data. When they match, you know what the vocal is saying. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ 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 -- http://ericd.net Interactive design and development -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
My most humble apologies go out to Henrik and anyone else who felt that I was complaining about something. Which I wasn't. On Thu, Jun 3, 2010 at 10:02 AM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: It's using dynamic text to speech, so I wouldn't be able to use cue points reliably. Use dynamic cuepoints and stop complaining. If it can generate voice, it can tell you what kinds of voice it put where. It is far more exact than trying to reverse the incredibly lossy transformation that the synthesis is. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
I'm abandoning the whole vowel recognition unless I can find something someone else has done to base my implementation on. I've burnt too much time on it for something that won't give a whole lot of bang for the buck. It's a very complex problem (for me anyway). Eric On Thu, Jun 3, 2010 at 2:37 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: Wow. That was really uncalled for. Anyway, if you can pre-generate samples for all vowels for all samples, I can't see why comparing them to the speech generated by the same system would be any harder than comparing it to a number of collected profiles. You really just need to collect profiles to match against. Record people saying stuff and match the recordings with the live data. When they match, you know what the vocal is saying. For me, the hard part, which you seem to imply is rather simple here, is *matching+ the input audio against said profiles. Admitedly, I don't know anything about digital signal processing and audio programming in general, but matching sounds a bit vague. Perhaps you could enlighten us, I you feel like. Cheers Juan Pablo Califano 2010/6/3 Henrik Andersson he...@henke37.cjb.net Eric E. Dolecki wrote: It's using dynamic text to speech, so I wouldn't be able to use cue points reliably. Use dynamic cuepoints and stop complaining. If it can generate voice, it can tell you what kinds of voice it put where. It is far more exact than trying to reverse the incredibly lossy transformation that the synthesis is. ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
Ya - I have the data for both things, but they extend over time and are difficult to compare. It's the boiling down the signatures into something simple and being able to read the playing audio looking for the match (or near match). I thought about using bitmap data and trying to match up waveforms, etc. but I don't know enough about it to pull that off. It seems like a hack in a way, but if it worked, who cares I suppose. On Thu, Jun 3, 2010 at 3:31 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: I'm not Henrik, but I've done some lip-synch stuff for Disney. We did it pretty much the way Eric described--we just used amplitude. It's not as accurate as Disney would demand on a film, but it's ok in the kids' game market. I see, amplitudes could be just good enough for some stuff. Although the speed and the intensitiy of the speech could give misleading results, I think. I'm under the impression that you should somehow try to compare the shape of the waves (somehow simplifiy your input to some value of sets of values that are easier to compare, possibly in a time window) and compare it in some meaningful way to precalculated samples to find a matching pattern. That's the part I have no clue about! Cheers Juan Pablo Califano 2010/6/3 Kerry Thompson al...@cyberiantiger.biz Juan Pablo Califano wrote: Wow. That was really uncalled for. That was my reaction, too. I didn't see Eric as complaining--just asking. Maybe Henrik was just having a bad day. For me, the hard part, which you seem to imply is rather simple here, is *matching+ the input audio against said profiles. Admitedly, I don't know anything about digital signal processing and audio programming in general, but matching sounds a bit vague. Perhaps you could enlighten us, I you feel like. I'm not Henrik, but I've done some lip-synch stuff for Disney. We did it pretty much the way Eric described--we just used amplitude. It's not as accurate as Disney would demand on a film, but it's ok in the kids' game market. Doing something more accurate would probably involve at least 6 mouth positions, and if you're doing it in real time, you'd have to do a reverse FFT. It can be done--there was a really good commercial lip-synch program that generated Action Script to control mouth positions. I don't know if it's still around--that was 5 years ago, and it was pretty expensive (about $2,500 for one seat, I think). It may even have been a Director Xtra that worked with a Flash Sprite, but let's not talk about Director :-P Cordially, Kerry Thompson ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
I think I might make waveform bitmaps and then try and compare against the current waveform (block EQ) - and if it's a close match, then fire off specific vowel events. If that works, I could do consonants too. If this works, I'll do jumping jacks and shots of Jack. So how would I compare two bitmaps to see if a waveform ( On Thu, Jun 3, 2010 at 5:18 PM, Karl DeSaulniers k...@designdrumm.comwrote: If you need any of these files or can't find them, lmk and I can send off list. Best, Karl On Jun 3, 2010, at 3:37 PM, Karl DeSaulniers wrote: Don't know if this will help, but have you looked into WaveAnalyzer.as or Flash MX - Audio: Sound completion event (The source files for this can be found in the Flash MX/Samples folder.) They both let you control the sound. I am thinking this will point you in a good direction. Its AS2 though. HTH, Karl On Jun 3, 2010, at 2:42 PM, Eric E. Dolecki wrote: Ya - I have the data for both things, but they extend over time and are difficult to compare. It's the boiling down the signatures into something simple and being able to read the playing audio looking for the match (or near match). I thought about using bitmap data and trying to match up waveforms, etc. but I don't know enough about it to pull that off. It seems like a hack in a way, but if it worked, who cares I suppose. On Thu, Jun 3, 2010 at 3:31 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: I'm not Henrik, but I've done some lip-synch stuff for Disney. We did it pretty much the way Eric described--we just used amplitude. It's not as accurate as Disney would demand on a film, but it's ok in the kids' game market. I see, amplitudes could be just good enough for some stuff. Although the speed and the intensitiy of the speech could give misleading results, I think. I'm under the impression that you should somehow try to compare the shape of the waves (somehow simplifiy your input to some value of sets of values that are easier to compare, possibly in a time window) and compare it in some meaningful way to precalculated samples to find a matching pattern. That's the part I have no clue about! Cheers Juan Pablo Califano 2010/6/3 Kerry Thompson al...@cyberiantiger.biz Juan Pablo Califano wrote: Wow. That was really uncalled for. That was my reaction, too. I didn't see Eric as complaining--just asking. Maybe Henrik was just having a bad day. For me, the hard part, which you seem to imply is rather simple here, is *matching+ the input audio against said profiles. Admitedly, I don't know anything about digital signal processing and audio programming in general, but matching sounds a bit vague. Perhaps you could enlighten us, I you feel like. I'm not Henrik, but I've done some lip-synch stuff for Disney. We did it pretty much the way Eric described--we just used amplitude. It's not as accurate as Disney would demand on a film, but it's ok in the kids' game market. Doing something more accurate would probably involve at least 6 mouth positions, and if you're doing it in real time, you'd have to do a reverse FFT. It can be done--there was a really good commercial lip-synch program that generated Action Script to control mouth positions. I don't know if it's still around--that was 5 years ago, and it was pretty expensive (about $2,500 for one seat, I think). It may even have been a Director Xtra that worked with a Flash Sprite, but let's not talk about Director :-P Cordially, Kerry Thompson ___ 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 -- http://ericd.net Interactive design and development ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
SoundBooth On Thu, Jun 3, 2010 at 6:39 PM, Karl DeSaulniers k...@designdrumm.comwrote: Do you have SoundEdit? Or the like? Karl On Jun 3, 2010, at 5:09 PM, Eric E. Dolecki wrote: I think I might make waveform bitmaps and then try and compare against the current waveform (block EQ) - and if it's a close match, then fire off specific vowel events. If that works, I could do consonants too. If this works, I'll do jumping jacks and shots of Jack. So how would I compare two bitmaps to see if a waveform ( On Thu, Jun 3, 2010 at 5:18 PM, Karl DeSaulniers k...@designdrumm.com wrote: If you need any of these files or can't find them, lmk and I can send off list. Best, Karl On Jun 3, 2010, at 3:37 PM, Karl DeSaulniers wrote: Don't know if this will help, but have you looked into WaveAnalyzer.as or Flash MX - Audio: Sound completion event (The source files for this can be found in the Flash MX/Samples folder.) They both let you control the sound. I am thinking this will point you in a good direction. Its AS2 though. HTH, Karl On Jun 3, 2010, at 2:42 PM, Eric E. Dolecki wrote: Ya - I have the data for both things, but they extend over time and are difficult to compare. It's the boiling down the signatures into something simple and being able to read the playing audio looking for the match (or near match). I thought about using bitmap data and trying to match up waveforms, etc. but I don't know enough about it to pull that off. It seems like a hack in a way, but if it worked, who cares I suppose. On Thu, Jun 3, 2010 at 3:31 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: I'm not Henrik, but I've done some lip-synch stuff for Disney. We did it pretty much the way Eric described--we just used amplitude. It's not as accurate as Disney would demand on a film, but it's ok in the kids' game market. I see, amplitudes could be just good enough for some stuff. Although the speed and the intensitiy of the speech could give misleading results, I think. I'm under the impression that you should somehow try to compare the shape of the waves (somehow simplifiy your input to some value of sets of values that are easier to compare, possibly in a time window) and compare it in some meaningful way to precalculated samples to find a matching pattern. That's the part I have no clue about! Cheers Juan Pablo Califano 2010/6/3 Kerry Thompson al...@cyberiantiger.biz Juan Pablo Califano wrote: Wow. That was really uncalled for. That was my reaction, too. I didn't see Eric as complaining--just asking. Maybe Henrik was just having a bad day. For me, the hard part, which you seem to imply is rather simple here, is *matching+ the input audio against said profiles. Admitedly, I don't know anything about digital signal processing and audio programming in general, but matching sounds a bit vague. Perhaps you could enlighten us, I you feel like. I'm not Henrik, but I've done some lip-synch stuff for Disney. We did it pretty much the way Eric described--we just used amplitude. It's not as accurate as Disney would demand on a film, but it's ok in the kids' game market. Doing something more accurate would probably involve at least 6 mouth positions, and if you're doing it in real time, you'd have to do a reverse FFT. It can be done--there was a really good commercial lip-synch program that generated Action Script to control mouth positions. I don't know if it's still around--that was 5 years ago, and it was pretty expensive (about $2,500 for one seat, I think). It may even have been a Director Xtra that worked with a Flash Sprite, but let's not talk about Director :-P Cordially, Kerry Thompson ___ 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 -- http://ericd.net Interactive design and development ___ 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 Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http
Re: [Flashcoders] Question about approximate vowel detection in AS3
Dude, whether you know it or not, you come off being pretty arrogant with your comments. Don't worry, I won't be ending up on the dailywtf anytime soon. On Thu, Jun 3, 2010 at 6:36 PM, Henrik Andersson he...@henke37.cjb.netwrote: Before you start reinvesting the squarewheel, at least do some research on how people are doing it. I did not learn enough from it personally, but I can tell that it is a good book: http://www.dspguide.com/pdfbook.htm Read it and then do the matching algorithm. This way you will avoid making a solution that deserves to end up on thedailwtf.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] problem with import mx.controls.Alert
I used Google and found this that seems decent enough: http://developer.yahoo.com/flash/astra-flash/alertmanager/ I am assuming that you like the fact that the Flex background is blurred while the alert is being displayed. Is this true? If you rolled your own, the stage is a MovieClip, so you could apply a blur filter to it, or take a bitmap snap of it and blur that place your own alert sprite on top, or whatever. Eric On Wed, Jun 2, 2010 at 10:46 AM, Dave Watts dwa...@figleaf.com wrote: Thanks, Eric. So I guess none of the mx.controls are for Flash but, rather, are all for Flex? Yes, they are part of the Flex class libraries. You may be able to use them in Flash directly, but that's not their design intent. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Question about approximate vowel detection in AS3
I have a face that uses computeSpectrum in order to sync a mouth with dynamic vocal-only MP3s... it works, but works much like a robot mouth. The jaw animates by certain amounts based on volume. I am trying to somehow get vowel approximations so that I can fire off some events to update the mouth UI. Does anyone have any kind of algo that can somehow get close enough readings from audio to detect vowels? Anything I can do besides random to adjust the mouth shape will go miles in making my face look more realistic. Thanks for any insights. Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about approximate vowel detection in AS3
This is a software voice, so nailing down vowels should be easier. However you mention matching recordings with the live data. What is being matched? Some kind of pattern I suppose. What form would the pattern take? How long of a sample should be checked continuously, etc.? It's a big topic. I understand your concept of how to do it, but I don't have the technical expertise or foundation to implement the idea yet. Eric On Wed, Jun 2, 2010 at 4:13 PM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: I have a face that uses computeSpectrum in order to sync a mouth with dynamic vocal-only MP3s... it works, but works much like a robot mouth. The jaw animates by certain amounts based on volume. I am trying to somehow get vowel approximations so that I can fire off some events to update the mouth UI. Does anyone have any kind of algo that can somehow get close enough readings from audio to detect vowels? Anything I can do besides random to adjust the mouth shape will go miles in making my face look more realistic. You really just need to collect profiles to match against. Record people saying stuff and match the recordings with the live data. When they match, you know what the vocal is saying. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] problem with import mx.controls.Alert
Make a Flex app - Alert is for Flex. Or make your own Alert class. I'm not sure if linking the Flex SWCs would work for an Alert or not. On Tue, Jun 1, 2010 at 10:34 PM, Jim Andrews j...@vispo.com wrote: Am I on the right list for a question like this? I get an error, in Flash Builder 4, with the following line, which is part of an ActionScript project. import mx.controls.Alert; The error is 1172: Definition mx.controls:Alert could not be found. How do I fix this? ja? http://vispo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Time To Notify Adobe Of a Bug? Please Comment...
Like Paul said, I'm not going to read all that code - but do you have different file permissions on the files? Are your PNGs encoded in an odd way? Are they corrupt? Etc. On Sat, May 29, 2010 at 9:41 AM, Paul Andrews p...@ipauland.com wrote: On 29/05/2010 14:30, John Singleton wrote: Hi; I sent the following email to this list a couple days ago and nobody commented, which makes me think that nobody saw a problem/solution, which makes me think that Adobe's latest Flash CS5 has a bug. So, please consider reviewing the below and, if necessary, informing me how to inform Adobe of their failure. TIA, John Ok, I've nailed down where the problem is as to why my silly little *.as file that worked so well before won't work with minor changes in my latest *.as file. The problem appears to be that Flash freaks out over different image files! Here's the code, simplified: If you are going to provide a simplified example, you can simplify it a LOT more than you have done. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flash cs5 any good for coding? if not is it any good at all?
It's better than CS4 for sure. Depends on how you like to work on whether or not it's for you. On Wed, May 19, 2010 at 1:44 AM, Henrik Andersson he...@henke37.cjb.netwrote: Better than cs 4. The improved code assist is one of those features you never knew that you where missing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FDT4 or Flash Builder 4
It pairs nicely with Flash CS5... do your UI stuff in the IDE and have the project live in FB4. It's a workflow with document class that I've been banging on for a while and I personally like it a lot. The Flex stuff is a bonus. Eric On Wed, May 19, 2010 at 11:05 AM, Tom Gooding t...@quickthinkmedia.co.ukwrote: Thanks - not sure I can justify buying both though - is the only unique feature to Flash Builder the ability to do Wysiwyg layouts on Flex forms? On 19 May 2010, at 14:22, John McCormack wrote: Hi Tom, Has anyone used both in conjunction? This setup of FDT with FB looks promising - I will be trying it next week: http://blog.hexagonstar.com/setting-up-the-ultimate-flash-development-environment/ John On 19/05/2010 10:52, Tom Gooding wrote: I am about to invest in a few desks worth of AS3 IDEs (we have both straight Flash projects and future requirements for Flex applications). I currently use FDT and am pretty happy with it (though not used it for MXML) - my main gripe being the absence of the Flash Builder profiling features - I see FDT is introducing this and has a Beta available which looks good (possibly better than FlashBuilder). Has anyone been through any kind of evaluation/comparison? Has anyone used both in conjunction? Any steer would be appreciated... What say the masses? Cheers, Tom ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Player integrated with Chrome
Here you go, Keith Peters addressed this not too long ago: http://www.bit-101.com/blog/?p=2615 On Mon, May 17, 2010 at 9:10 PM, Leandro Ferreira dur...@gmail.com wrote: type about:plugins and disable Shockwave Flash Leandro Ferreira On Mon, May 17, 2010 at 21:26, Steve Mathews happy...@gmail.com wrote: It makes me feel like there isn't a way to have the debug player installed on Chrome. I'm sure I am wrong, but I haven't found how to change it yet. On Mon, May 17, 2010 at 2:05 PM, Ktu ktu_fl...@cataclysmicrewind.com wrote: How did I miss this? I searched the list and saw no posts about it. Is that true? Bringing improved support for Adobe Flash Player to Google Chrome http://blog.chromium.org/2010/03/bringing-improved-support-for-adobe.html How does this make you feel? - It makes me feel a bit funny inside. Ktu ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Two computers talking using AS3 Socket on same network
ServerSocket is sweet - I just whipped up a nice AIR 2 socket server app and then have a regular socket app talking back and forth with it. Rockin'! Eric On Wed, May 12, 2010 at 11:07 PM, Eric E. Dolecki edole...@gmail.comwrote: Has anyone tried this ServerSocket yet? On Wed, May 12, 2010 at 8:28 PM, eric dolecki GMail edole...@gmail.comwrote: Ah okay, that's good stuff to know. I was very wrong, my apologies. Easy enough to deploy as AIR, I'll have a look at that link and re-write some code. Not having to use a socket server will be super nice. Sent from my iPad On May 12, 2010, at 7:46 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: With non-Air players, you can use a Socket to connect to a server. But you can't create a server itself; i.e. you can't write code to bind to a given port and listen for connections. So, in that scenario you cannot connect both swfs directly (you have to use a socket server). Appartently with Air you can have your app bind to a port and listen for connections, so you can have 2 swfs talk to each other without the need of an extra party. (I say apparently because I've just found out about the ServerSocket class following the link that Henrik posted). Cheers Juan Pablo Califano 2010/5/12 Eric E. Dolecki edole...@gmail.com Huh? http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html all I need is readUTFBytes and writeUTFBytes... On Wed, May 12, 2010 at 6:31 PM, Henrik Andersson he...@henke37.cjb.net wrote: Eric E. Dolecki wrote: AIR because of the application security sandbox? Would standalone projectors work as well? They would not, as they lack the needed API. Have a look at the recent additions in the flash.net package, all the useful socket features are AIR exclusive. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ 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 -- http://ericd.net Interactive design and development -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Stop flashdevelop exploding xml in AS3
Why not post a question to the FlashDevelop forum? I've even fetched the link for you. http://www.flashdevelop.org/community/index.php - Eric On Wed, May 12, 2010 at 9:30 AM, Glen Pike g...@engineeredarts.co.ukwrote: Hi, I am having problems with my hardcoded XML when typing in FlashDevelop in AS3 code. Does anyone know how I stop FD exploding my XML when I press return. If I type this: var tmp:XML = eventformathex/formattime{event.time}/timeoutput{event.output}/outputvalue{event.value}/value /event FD then changes the formatting to this: var tmp:XML = event format hex /formattime{event.time}/time output {event.output} /outputvalue{event.value}/value /event e.g. adds extraneous whitespace to the XML which breaks it as far as the compiler is concerned... Glen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Two computers talking using AS3 Socket on same network
I would like to have two computers running two different SWFs talk to one another over a LAN (say both plugged into the same router). Is it as simple as this? Computer A --- SWF makes a socket, uses B's IP address and an open port - reads and writes from this socket Computer B --- SWF makes a socket, uses A's IP address and an open port - reads and writes from this socket Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Two computers talking using AS3 Socket on same network
AIR because of the application security sandbox? Would standalone projectors work as well? On Wed, May 12, 2010 at 3:25 PM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: I would like to have two computers running two different SWFs talk to one another over a LAN (say both plugged into the same router). Is it as simple as this? For connectionless protocols, yes. Btw, you need AIR for this. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Two computers talking using AS3 Socket on same network
I have my socket class written which dispatches custom events two main SWFs with their own document class implemented. Is it possible to spoof another machine on a single Mac to get around setting up another box and using a flash drive to push files around for testing? Eric On Wed, May 12, 2010 at 4:11 PM, Eric E. Dolecki edole...@gmail.com wrote: AIR because of the application security sandbox? Would standalone projectors work as well? On Wed, May 12, 2010 at 3:25 PM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: I would like to have two computers running two different SWFs talk to one another over a LAN (say both plugged into the same router). Is it as simple as this? For connectionless protocols, yes. Btw, you need AIR for this. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Two computers talking using AS3 Socket on same network
Huh? http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html all I need is readUTFBytes and writeUTFBytes... On Wed, May 12, 2010 at 6:31 PM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: AIR because of the application security sandbox? Would standalone projectors work as well? They would not, as they lack the needed API. Have a look at the recent additions in the flash.net package, all the useful socket features are AIR exclusive. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Two computers talking using AS3 Socket on same network
Has anyone tried this ServerSocket yet? On Wed, May 12, 2010 at 8:28 PM, eric dolecki GMail edole...@gmail.comwrote: Ah okay, that's good stuff to know. I was very wrong, my apologies. Easy enough to deploy as AIR, I'll have a look at that link and re-write some code. Not having to use a socket server will be super nice. Sent from my iPad On May 12, 2010, at 7:46 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: With non-Air players, you can use a Socket to connect to a server. But you can't create a server itself; i.e. you can't write code to bind to a given port and listen for connections. So, in that scenario you cannot connect both swfs directly (you have to use a socket server). Appartently with Air you can have your app bind to a port and listen for connections, so you can have 2 swfs talk to each other without the need of an extra party. (I say apparently because I've just found out about the ServerSocket class following the link that Henrik posted). Cheers Juan Pablo Califano 2010/5/12 Eric E. Dolecki edole...@gmail.com Huh? http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/Socket.html all I need is readUTFBytes and writeUTFBytes... On Wed, May 12, 2010 at 6:31 PM, Henrik Andersson he...@henke37.cjb.net wrote: Eric E. Dolecki wrote: AIR because of the application security sandbox? Would standalone projectors work as well? They would not, as they lack the needed API. Have a look at the recent additions in the flash.net package, all the useful socket features are AIR exclusive. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] RE: PDFs, HTML5 and iPads
I have seen developers push a PDF document into a UIWebView (super easy and it does work), but a better way of getting PDFs to display on an iPhone/Touch/iPad is pretty simple too in your own application (if you're up to it). http://www.random-ideas.net/posts/42 I thought I read something long ago where the actual display technology for OS X (and perhaps iPhone) is PDF - but I cannot find any links to that at the moment. Just some random tidbits, Eric On Tue, May 11, 2010 at 11:03 AM, Mattheis, Erik (MIN - WSW) ematth...@webershandwick.com wrote: I hear this new technology, CSS-P is going to make using tables for layout obsolete. Ha ha. And Mac's Preview app is the default PDF reader. _ _ _ Erik Mattheis Senior Web Developer Minneapolis T 952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global Agency Report Card 2009 - Gold Medal Winner The Holmes Report Global Agency of the Year PR News Agency of the Year -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, Michael Sent: Tuesday, May 11, 2010 7:49 AM To: Flash Coders List Subject: [Flashcoders] OT: PDFs, HTML5 and iPads Hi list... It seems to me that Flash might not be the tool most threatened by HTML5, but rather the PDF format. HTML5 obviously can't replace all of Flash's capabilities. But, it has all of these new tags that enhance the accuracy of describing documents. So, should the Adobe Reader plugin feel more afraid? On a side note, is the iPad supporting the Reader plugin? Just wondering, - Michael M. ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: PDFs, HTML5 and iPads
Wouldn't the mere fact that iTunes as a sync conduit is a pretty decent... conduit? Makes things pretty simple and even flexible to a certain degree. On Tue, May 11, 2010 at 11:10 AM, Dave Watts dwa...@figleaf.com wrote: The real problem is not market share but mind share. That is, even if the proportion of users viewing your site via an iPad is small, the reaction from clients when they realize their content isnt viewable on the magical device will be disproportionally large. It becomes stickier still when you consider that a big percentage of the people who will use iPads are in the ad/creative/communications world, eg the same people making decisions and recommendations for whether or not to use Flash. If you're sitting in a conference room in which 90% of the people have iPhones and there are a few iPads sitting on the table, arguing that the percentage of non-Flash users is negligible becomes tougher. That's definitely how Apple views this, anyway. That's the bet they're making. As a Flash developer, though, you are obviously going to bet the other way, right? Fortunately for us, I don't think that's going to happen. While 90% of the people in the conference room may have iPhones, I haven't seen any indicator that leads me to expect that sort of buy-in for iPads. I was just chatting with a creative director I know - a real Apple zealot - and he told me he didn't see any value in the iPad. The people in the conference room will already have MacBooks, etc, and Flash will work fine on those (once they release a version of Flash Player that uses the new hardware APIs that Apple just released - and that have been around in Windows for ages). And, you know, once people see that Flash can work well on other devices, maybe the iPhone won't be as popular as it is. I'm seeing a few people switch from iPhone to Android (mostly from frustration with ATT, actually). Aside from the breadth of the App Store, there really isn't any advantage that iPhone has over the Android 2.1 phones. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] OT: PDFs, HTML5 and iPads
You said, Aside from the breadth of the App Store, there really isn't any advantage that iPhone has over the Android 2.1 phones. My point was that iTunes is a pretty compelling conduit for the iPhone. Do Android phones have such a thing? On Tue, May 11, 2010 at 11:33 AM, Dave Watts dwa...@figleaf.com wrote: Wouldn't the mere fact that iTunes as a sync conduit is a pretty decent... conduit? Makes things pretty simple and even flexible to a certain degree. I'm not sure I understand your question. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 URL existence validation
Hey all, I am trying to validate whether or not a file exists on a server. Normally this is easy peasy. urlLoader = new Loader(); urlLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, urlLoaded ); urlLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onUrlLoadError ); urlLoader.load( new URLRequest( xml.projects.project[nwhichprojec...@url )); However, I have URLs that appear like so: http://www.somelocation.com/foo/ The index exists but of course* I can't test for that* since one isn't actually supplied in the URL. Is there any way to test for this, or do I need to push on the XML supplier to specify the actual index file in that attribute? Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: AS3 URL existence validation
Oops - I used Loader instead of URLLoader - sorry for the noise ;) On Fri, May 7, 2010 at 1:59 PM, Eric E. Dolecki edole...@gmail.com wrote: Hey all, I am trying to validate whether or not a file exists on a server. Normally this is easy peasy. urlLoader = new Loader(); urlLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, urlLoaded ); urlLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onUrlLoadError ); urlLoader.load( new URLRequest( xml.projects.project[nwhichprojec...@url )); However, I have URLs that appear like so: http://www.somelocation.com/foo/ The index exists but of course* I can't test for that* since one isn't actually supplied in the URL. Is there any way to test for this, or do I need to push on the XML supplier to specify the actual index file in that attribute? Eric -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Writing to text file
import flash.net.FileReference; var s:XML = categorynode id=testHello/node/category; var file:FileReference = new FileReference(); file.save( s, testing.xml ); On Thu, May 6, 2010 at 8:13 AM, ekameleon ekamel...@gmail.com wrote: Hello :) in the FP10 see the FileReference.save() method http://blog.everythingflex.com/2008/10/01/filereferencesave-in-flash-player-10/ EKA+ :) 2010/5/6 Lehr, Theodore ted_l...@federal.dell.com Is it possible to use flash to write to a text file (maybe an xml file)? ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Writing to text file
Use PHP or something like that as middleware. However can more than one app instance run at the same time? On Thu, May 6, 2010 at 8:24 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: Perhaps my methodology is wrong - here is what I want to do: Say I have 100 links... I want to track which ones get clicked the most and have something like Top 10 links and have those be the ones that get clicked the most. My thought was to have a text file on the server that I can add to whenever a link gets clicked - so I would need to open and edit the text file when something is linked... This would all be easier with a database but that is not an option so I am trying to mimick on with a text file. any thoughts on how I could do this? From: flashcoders-boun...@chattyfig.figleaf.com [ flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ekameleon [ ekamel...@gmail.com] Sent: Thursday, May 06, 2010 8:13 AM To: Flash Coders List Subject: Re: [Flashcoders] Writing to text file Hello :) in the FP10 see the FileReference.save() method http://blog.everythingflex.com/2008/10/01/filereferencesave-in-flash-player-10/ EKA+ :) 2010/5/6 Lehr, Theodore ted_l...@federal.dell.com Is it possible to use flash to write to a text file (maybe an xml file)? ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Question about Flash Builder 4
Quick question... my document class is in FB4 and it's linked with my FLA in Flash CS5. Every time I save the document class, it publishes the FLA in the IDE. Is there a way to turn that off (even temporarily)? Eric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about Flash Builder 4
Ok, I'll bite - where is that setting? Poking around in prefs right now. On Wed, May 5, 2010 at 3:16 PM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: Quick question... my document class is in FB4 and it's linked with my FLA in Flash CS5. Every time I save the document class, it publishes the FLA in the IDE. Is there a way to turn that off (even temporarily)? Eric Turn off automatic building. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question about Flash Builder 4
Found it Under Build - sorry for the noise :) On Wed, May 5, 2010 at 3:35 PM, Eric E. Dolecki edole...@gmail.com wrote: Ok, I'll bite - where is that setting? Poking around in prefs right now. On Wed, May 5, 2010 at 3:16 PM, Henrik Andersson he...@henke37.cjb.netwrote: Eric E. Dolecki wrote: Quick question... my document class is in FB4 and it's linked with my FLA in Flash CS5. Every time I save the document class, it publishes the FLA in the IDE. Is there a way to turn that off (even temporarily)? Eric Turn off automatic building. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Timer object created twice in class
Before I can go any further, I saw this in your code: if (1 == 1) { ... ?!?! On Tue, May 4, 2010 at 2:58 PM, Mattheis, Erik (MIN - WSW) ematth...@webershandwick.com wrote: Here's a snippit and a timeline version of it - when I run it on the timeline, it works as expected, but when I run it within my class it acts as though there are two instances of the _timer object. On the timeline, it works as expected, tracing, 1 1 True But when I have it inside my class, it traces, 1 0 false 1 1 True What am I not seeing or understanding here? Thanks.. // Version on timeline: var _timer:Timer; function init() { _timer = new Timer(250, 0); _timer.addEventListener(TimerEvent.TIMER, checkPlaying); _timer.start(); } function checkPlaying(e:TimerEvent) : void { if (1 == 1) { e.target.stop(); trace(e.target.currentCount, _timer.currentCount); trace(e.target == _timer); } } init(); // Version in class: public function Tracker(video) { _video = video; } public function init() { _timer = new Timer(250, 0); _timer.addEventListener(TimerEvent.TIMER, checkPlaying); _timer.start(); } function checkPlaying(e:TimerEvent) : void if (1 == 1) { e.target.stop(); trace(e.target.currentCount, _timer.currentCount); trace(e.target == _timer); } } I'm instantiating it from another class like this: if (_tracker == null) { _tracker = new Tracker(_videoScreen); } _tracker.init(); _ _ _ Erik Mattheis Senior Web Developer Minneapolis T 952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global Agency Report Card 2009 - Gold Medal Winner The Holmes Report Global Agency of the Year PR News Agency of the Year ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Quick question about dynamic groupings
Yup - using VOs now - and I have produced documentation with VisDoc that include them as well. Thanks everyone. Eric On Thu, Apr 29, 2010 at 8:23 AM, Merrill, Jason jason.merr...@bankofamerica.com wrote: A generic object has no meaning, you lose typecasting and all the benefits of using a custom class, like for example, code completion. Remember anonymous functions in AS1/2 and why they were bad? It's not quite as bad to use generic objects, but still not good practice IMO. With VOs, you know what properties it contains, and that's very useful in situations, like for example, when you attach data to an event and want to use it on the other end. Believe me, VOs are worth the slight extra effort they are to create. Jason Merrill Bank of America Global Learning Learning Performance Solutions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor Sent: Monday, April 26, 2010 4:23 PM To: 'Flash Coders List' Subject: RE: [Flashcoders] Quick question about dynamic groupings Hi Jason, Thank you. So the personVO.as should look like this: package { class PersonVO { public var firstName:String; public var lastName:String; public var phoneNumber:Number; public var indicatorColor:uint; } } Now I think I understand what you are doing, but I lost to see the benefit of the VO over doing it with a generic Object. Because it is now in a public array I can address everything. Like this: var personVO:PersonVO = new Object(); personVO.firstName = personnodex...@firstname; etc.. Or maybe I don't understand the VO concept??? Regards Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: maandag 26 april 2010 15:52 To: Flash Coders List Subject: RE: [Flashcoders] Quick question about dynamic groupings Could you extend this with an example on the part of: I typically do is load in XML data and create VOs from that (in my Model class) to use in my app. Sure. Here is an example of what the parsing might look like inside your model class. If your XML looked like this: xml people person firstName=Hank lastName=Aaron phoneNumber=7043237564 indicatorColor=0xe39132 / person firstName=Fred lastName=Astaire phoneNumber=9082321214 indicatorColor=0xe73721 / person firstName=Judy lastName=Garland phoneNumber=3107382234 indicatorColor=0xd4e355 / person firstName=Marilyn lastName=Monroe phoneNumber=3107673721 indicatorColor=0xbab5ab / /people /xml Then inside your model class, you may have some code like this (which of course would run after the XML is loaded): public var personVOs:Array = []; //array of PersonVOs private function createPersonVOs():void { for each (var personNodeXML:XML in myXML.people.person) { var personVO:PersonVO = new PersonVO(); personVO.firstName = personnodex...@firstname; personVO.lastName = personnodex...@lastname; personVO.phoneNumber = Number(personnodex...@phonenumber); personVO.indicatorColor = uint(personnodex...@indicatorcolor); personVOs.push(personVO); } } So now, you have personVOs as a public property in your model you can call and get the people information from their VO class. Does that help? Jason Merrill Bank of America Global Learning Learning Performance Solutions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor Sent: Saturday, April 24, 2010 6:53 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] Quick question about dynamic groupings Hi Jason, Nice explaination! Thanks! Could you extend this with an example on the part of: I typically do is load in XML data and create VOs from that (in my Model class) to use in my app. Kind regards Cor van Dooren The Netherlands ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Geen virus gevonden in het binnenkomende-bericht. Gecontroleerd door AVG - www.avg.com Versie: 9.0.814 / Virusdatabase: 271.1.1/2833 - datum van uitgifte: 04/24/10 20:31:00 ___ Flashcoders mailing list
Re: [Flashcoders] letter from Steve Jobs on Flash
I think that's a new-fangled fishing lure used for freshwater carp or something. On Thu, Apr 29, 2010 at 10:57 AM, Glen Pike g...@engineeredarts.co.ukwrote: What's Silverlight? On 29/04/2010 15:51, Merrill, Jason wrote: Funny, Jobs makes no mention of Silverlight anywhere in that article. :) Jason Merrill Bank of America Global Learning Learning Performance Solutions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David Hunter Sent: Thursday, April 29, 2010 10:19 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] letter from Steve Jobs on Flash i know there has already been a lot of talk about flash and iphones/ipads and developer agreements on this list and i don't wish to add unnecessarily or stoke up the fire again but i thought this might be a worthwhile read for all from the man at the centre of it all: http://www.apple.com/hotnews/thoughts-on-flash/ _ http://clk.atdmt.com/UKM/go/195013117/direct/01/ ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] passing obj name
function shakeBtn(e:Event):void { e.target.main.rotation+=Math.random()*8-4; I think that should work On Wed, Apr 28, 2010 at 8:36 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: so I have: flower.addEventListener(MouseEvent.ROLL_OVER,jiggle); function jiggle(e:Event):void { var timer:Timer=new Timer(2,100); timer.addEventListener(TimerEvent.TIMER,shakeBtn); timer.start(); } function shakeBtn(e:Event) { flower.main.rotation+=Math.random()*8-4; flower.main.x+=Math.random()*8-4; flower.main.y+=Math.random()*8-4; } How can I pass mc name (flower) down to shakeBtn so that I can reuse the function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] passing obj name
Oops - I didn't truly read the email - my apologies. Storing the target is probably a decent way to go. On Wed, Apr 28, 2010 at 9:33 AM, Nathan Mynarcik nat...@mynarcik.comwrote: Create a variable to store the item to shake: var itemToShake:MovieClip; flower.addEventListener(MouseEvent.ROLL_OVER,jiggle); function jiggle(e:Event):void { var timer:Timer=new Timer(2,100); timer.addEventListener(TimerEvent.TIMER,shakeBtn); timer.start(); itemToShake = e.currentTarget; } function shakeBtn(e:Event) { itemToShake.main.rotation+=Math.random()*8-4; itemToShake.main.x+=Math.random()*8-4; itemToShake.main.y+=Math.random()*8-4; } -Original Message- From: Lehr, Theodore ted_l...@federal.dell.com Date: Wed, 28 Apr 2010 08:59:05 To: Flash Coders Listflashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] passing obj name no - I think because the e at that point is for the timer From: flashcoders-boun...@chattyfig.figleaf.com [ flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Eric E. Dolecki [ edole...@gmail.com] Sent: Wednesday, April 28, 2010 8:49 AM To: Flash Coders List Subject: Re: [Flashcoders] passing obj name function shakeBtn(e:Event):void { e.target.main.rotation+=Math.random()*8-4; I think that should work On Wed, Apr 28, 2010 at 8:36 AM, Lehr, Theodore ted_l...@federal.dell.comwrote: so I have: flower.addEventListener(MouseEvent.ROLL_OVER,jiggle); function jiggle(e:Event):void { var timer:Timer=new Timer(2,100); timer.addEventListener(TimerEvent.TIMER,shakeBtn); timer.start(); } function shakeBtn(e:Event) { flower.main.rotation+=Math.random()*8-4; flower.main.x+=Math.random()*8-4; flower.main.y+=Math.random()*8-4; } How can I pass mc name (flower) down to shakeBtn so that I can reuse the function ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- http://ericd.net Interactive design and development ___ 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 -- http://ericd.net Interactive design and development ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders