### [Flashcoders] Searching all ActionScript in an FLA

I have FLA files from a client with numerous MovieClips and buttons containing ActionScript all over the place. I am not used to this, I only started using Flash with AS3 and have always used a Document Class and placed my ActionScript in external .as files. I am trying to search through the

### Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

Here's a very good article about how mouse events propagate. http://www.adobe.com/devnet/actionscript/articles/event_handling_as3.html You should be able to have more than one MC capture a single event, although I haven't tried it. A On Fri, Aug 29, 2008 at 8:03 PM, Matthias Dittgen [EMAIL

### Re: [Flashcoders] pythagoras question

I think this is what you need. --- angle = Math.atan2( endY - startY, endX - startX ); trainX = vectorLength * Math.cos( angle ); trainY = vectorLength * Math.sin( angle ); --- Notes: 1. I'm using atan2(), not atan(). 2. The function atan2() takes (endY - startY) as its

### Re: [Flashcoders] Function = String

I'm pretty sure there is no reflection-type functionality in AS3 to return a method name. Maybe you can define a bunch of string constants (perhaps even as static members in a class you create for this purpose, to hold them in one place) and use them as parms to addCallback(). Then you would

### Re: [Flashcoders] pythagoras question

Let's call the position of the mouse click on the stage (clickedX, clickedY) The starting coordinates are (startX, startY) The ending coordinates are (endX , endY) The general equation of your line, for any variables X and Y, is: Y == (X - startX) * (endY - startY) / (endX - startX) So when the

### Re: [Flashcoders] Plssss help me: perspective illusion

Can you please describe the problem in terms of something in Flash or ActionScript (like variables, symbols, classes, functions) not working as you thought it should. Or at least which specific part of that code you posted, doesn't work as expected. A On Sat, Aug 30, 2008 at 9:36 PM, Rajiv