Re: [Flashcoders] RS-232 triggered by Actionscript

2010-09-28 Thread Henrik Andersson
The flash player has no such feature. In fact, most modern OSes doesn't even let applications bitbang hardware ports directly. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] RS-232 triggered by Actionscript

2010-09-28 Thread Pierrick Pluchon
Hi guys, You can do it with a simple Processing proxy. Here is a how-to (sorry, in french) : http://ressources.mediabox.fr/tutoriaux/flashplatform/realisations/arduino. 2010/9/28 Henrik Andersson he...@henke37.cjb.net The flash player has no such feature. In fact, most modern OSes doesn't

[Flashcoders] correct path

2010-09-28 Thread Lehr, Theodore
So I have a mc that has another mc inside of it... I have: var holder:Sprite = new Sprite(); holder.name = holderMC; addChild(holder); var childOne:childMC = new childMC(); childOne.name = childOneMC; holder.addChild(childOne); now childOne has a mc inside of it (let's call it

Re: [Flashcoders] correct path

2010-09-28 Thread Matt S.
Did you try: childOneMC.getChildByName(grandchild) ? You're already defining the variable childOneMC at the top level, so there's no reason to reach down into holder to get it. Just my 2ยข, hth... .m On Tue, Sep 28, 2010 at 10:48 AM, Lehr, Theodore ted_l...@federal.dell.com wrote:

Re: [Flashcoders] correct path

2010-09-28 Thread Matt S.
Woops, that should be: childOne.getChildByName(grandchild) On Tue, Sep 28, 2010 at 11:20 AM, Matt S. mattsp...@gmail.com wrote: Did you try: childOneMC.getChildByName(grandchild) ? You're already defining the variable childOneMC at the top level, so there's no reason to reach down into

Re: [Flashcoders] correct path

2010-09-28 Thread Henrik Andersson
Misconception correction time! Read my article: http://www.actionscript.org/resources/articles/943/1/Actionscript-and-timelines/Page1.html ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] correct path

2010-09-28 Thread Matt S.
Actually I just realized that might not work, since it looks like the variable is declared locally within the function, not at the top of your class (although its hard to tell, is this on a timeline, or in a class?). So you'd probably have to do:

[Flashcoders] Re: RS-232 triggered by Actionscript

2010-09-28 Thread Randy Tinfow
You can do it with a simple Processing proxy. Here is a how-to (sorry, in french) : http://ressources.mediabox.fr/tutoriaux/flashplatform/realisations/arduino About time I used ces six ans de francaise. Thanks! RT ___ Flashcoders mailing

[Flashcoders] bounce object off tilted wall

2010-09-28 Thread Kevin Newman
Hi, I'm looking for information to help me learn how to bounce an object off another rotated object (or irregularly shaped object). I've already got basic collision detection working, and can bounce off straight horizontal and vertical shapes easily enough (blocks). I'm looking for info on

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Carl Welch
I'd look in this direction: http://www.google.com/search?q=actionscript+3+physics+library Hope this helps. Cheers. -- Carl Welch http://www.carlwelch.com On Tue, Sep 28, 2010 at 10:40 AM, Kevin Newman capta...@unfocus.com wrote: Hi, I'm looking for information to help me learn how to

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Kevin Newman
I'd thought of that, but was hoping to something with less weight - I think it's Matrix/Vector math I need to learn about. Just to continue down this path - anyone have a recommendation for the most appropriate engine for mobile? Is there a physics engine that operates on non-screen objects

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Glen Pike
Hi, You should be able to work out your angle of reflection in a similar way as you do for horizontal collision. 2 billiard balls - collision detection is easy - if the distance between the centre's is less than 2 x the radius you have a collision. I think there is some

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Kevin Newman
On 9/28/10 2:25 PM, Glen Pike wrote: Keith Peter's Making Things Move book is really good. Jobe Makar's Flash MX Game Programming Demystified explained the basic concepts nicely too. I'm reading Keith Peter's book now. So far, very relevant - thanks! There are lots of tutorials online, so I