ActionScript 2.0 :: Comments On Moock'sDefinitive Guide
Mar 15, 2004
I know there are a ton of AS masters around, and am wondering if you ever used this book, did it help?I can't wait until I get it... my AS up until now has been half assed and improper.
View 8 Replies
Similar Posts:
Jan 25, 2011
So Colin Moock (author of a bunch of well-known AS books, among other things) posted a long comment on one of Brendan Eich's (original author of JS) blog posts, and then Brendan responded.In short, Colin questions why Harmony (the nebulous "next" version of JS) probably isn't going to support a lot of the things that were originally in ES4 and that are in AS3, like optional strict typing and classes. Brendan responds with his reasons.It's a good read, and probably of interest to many of the people who made the AS1 -> AS2 -> AS3 transition, or people who write code in both AS and JS and like to argue for one direction or the other.
View 1 Replies
Feb 22, 2005
I've seen this tutorial in the Actionscript Forum and it's nice : ) Unlike before, I always use the component scroller that came with Flash MX. Now i'm really learning.I also come across numerous flash web sites in the past few weeks. They also have fetures like news, blog and etc. with customized scroller but their scroller scrolls with an ease? You know, it scrolls smoothly like it's sliding
View 4 Replies
Jan 12, 2010
Has anyone got any alternatives to what Colin Moock has coded to GET VISIBLE WIDTH/HEIGHT OF A DISPLAY OBJECT in ActionScript 3? That esp. in perspective of DisplayObjects that have 3D transforms applied and visible dimensions of which you need to consider for a calculation.
View 2 Replies
Apr 6, 2009
I want to align some text to a path but I want it so that the each letter in the text follows the path and goes around curves and stuff. I don't just want a block of text following the path. This is what I am getting no
View 3 Replies
Nov 16, 2009
Is it possible to use comments in Flash? I don't mean in actionscript using //, but somehow documenting how the app is setup.
View 1 Replies
Aug 4, 2011
I love looking through other people's codes and see how they style their comments, most people use a mix of * and ////, and of course it all depends on the language, but I have definitely seen some good ways to comment and some bad ways. A coded page can really come together with the right commenting structure and make it really easy to read for someone coming into a project without any knowledge.
View 3 Replies
Aug 1, 2009
Im trying to make a object follow the Mouse_x while locked on a Guide line for the Y axis, but in the Test the object doesnt follow the guide.
how to make a object do a Half Circle motion?
View 1 Replies
Jan 31, 2011
I have a simple problem, i have only the basic knowledge of AC3 like making simple tweens and doing some if else.
But as you can see, i have a triangle and a motion path. And lets say i need it to tween with an easeIn to the x location of my mouse, so the y location remains on the path, how would i do that?
View 1 Replies
Dec 8, 2010
Does anybody know if there is an option to make a pen anchor snap to a guide/grid? Kind of like smart guides in illustrator but in flash cs 5?
View 2 Replies
Mar 2, 2011
i am using CS4 on a PC, and I have created my motion guide layers as I normally do, created a path, but when I scrub the playhead, the symbol just goes from point A to point B without follwing my guide. Also they are not snapping to the guide. I have not done a motion guide in a while, what am I missing here. Also where is the pallete to turn on object orienting?
View 1 Replies
Aug 14, 2010
I have a bouncing ball movie clip that is being controlled by a guide layer. As the ball bounces I am rotating both the guide layer movieclip and the ball movieclip.
I need to find out where the ball is in relation to the stage. When I look at the balls x and y values they are in relation to the guide layer movieclip.
Is there a way to relate the location of the ball to stage coordinates as it rotates?
View 0 Replies
Jul 6, 2007
I was wondering if there is a way to dynamically add a guide to a movieclip, and then let another movieclip follow this guide.
Put another way: i want a "highlight" movieclip to follow the bounds of another movieclip as shown here[url]...
View 5 Replies
Feb 16, 2011
You know them flash decompilers - can they read your comments you leave in your code?Also, is there anyway to remove the comments if they can -- and can you somehow remove all whitespace and compact it so the swf runs faster, better, and is a smaller file?
View 1 Replies
Jul 21, 2011
I'm creating a XML with AS3 and save it as file.The problem is, that i can't add this to the beginning of the XML:[code]The problem seems to be the Comments and the definition (<! and <? ).[code]
View 1 Replies
Oct 23, 2006
I'm having a bit of a hard time putting what I want into words, which is probably why programming it has got me a bit stumped.Basically what I want is a nagavatable guestbook where the names of the people who left comments is shown in a list, and clicking on the various names would display their comment in a dynamic text box. This whole thing started as an extention of the XML Guestbook using PHP tutorial.My idea, and the way I've been trying to go at this, is to have the names show as text (not buttons or a movie clip, if I can avoid it) in a text area with a scroll bar to allow for as many entries as possable. Clicking on a name would load the data within the <comment> tag into a dynamic text fieldHere's more or less what my XML file looks like
Code:
<guestbook>
<entry>
[code]....
View 4 Replies
Jan 22, 2011
if someone decompiles my code, do they see my comments?
View 1 Replies
Aug 3, 2010
I'm trying to get a movie clip to follow a guide layer using action script.
one thing that i have to do is "Create a movieclip and put it on a guide layer. Have it go along the path."
View 1 Replies
Nov 17, 2011
[url]...
I received a Flash project from an outside source. In it I found that some library items had these grey, dashed guide lines. It seems like they are used for assigning resize boundaries or something. Anyways, i can't reproduce them in my own library elements nor can I find any information on them.
View 1 Replies
Jan 15, 2009
I'm a beginner in Flash-AS, and I have been spending a lot of time on a (simple?) problem, still I didn't find anything that helps me. Here it is: I would like to place (via ActionScript) an object (let's say a ball) along a curve (free-shaped). The position of the ball is defined by a percentage in relation to the length of the curve : for example, 0% or 100% put the ball at the start or the end of the curve, 50% put the ball exactly at the middle of the curve... I don't need any animation, I just want to place the ball at the initialisation.
View 1 Replies
May 27, 2010
Using actionscript I'm drawing a line. For the record let's assume it's shape is completely random. Can I use the line as a motion guide for another graphic? If so how? Can I convert the line to an array of Points somehow?
View 2 Replies
Aug 3, 2010
I'm trying to get a movie clip to follow a guide layer using action script. One thing that I have to do is "Create a movieclip and put it on a guide layer. Have it go along the path."
View 1 Replies
May 12, 2006
How do I move a graphic symbol along a motion guide dynamically. The guide is on a lyer of an mc residing on the _root. The graphic symbol is just below on another layer. The effect is to have the graphic symbol (a ball) appear to move randomly from the start of the motion guide a random distance along the motion guide and then change directions randomly. So the symbol would move a random number of points in one direction along the path then change direction and move a random number of points in the other direction while never actually leaving the stage.
The motion guide is NOT to be removed or drawn dynamically as it is the exact shape of the landscape in an image I use in the background of the overall animation so either the timeline needs to be manipulated for that mc or the symbol that is moving along the motion guide needs to be directed along the path dynamically.I tried the following code which I placed in the first frame of an action layer of the mc (mc resides _root) just above motion guide layer and it did not solve
_root.dot_ball_main_mc.onEnterFrame = function () {
var myVar:Number = Math.random()*(1-30)+30;
if (_root.dot_ball_main_mc._currentframe == myVar){
[code].....
View 1 Replies
Sep 21, 2006
New to actionscripting, have focused on the graphic end of things until now so apologies for the noobish question...I have a star that runs along a guide layer to draw a shape, I would love to duplicate the movie of the star so that it trails along the guide layer to leave a trail of stars along that path.
View 1 Replies
Aug 3, 2010
I'm trying to get a movie clip to follow a guide layer using action script.one thing that i have to do is "Create a movieclip and put it on a guide layer. Have it go along the path."
View 1 Replies
Sep 6, 2010
So I am dynamically drawing lines. Pretend you run your flash movie, and click your mouse down, and move it around on the screen. It might have a curve, it might do anything, and once you release, the line is completely drawn. That part I can do no problem. I now want say, press a button and to have an MC appear on that dynamic line I drew, just like a motion path or guide, and then follow it until it comes to the end.
View 3 Replies
Jan 11, 2011
how i can make an object move threw a specific path without using guide layers?
View 2 Replies
Aug 12, 2009
I built my first flash site and I wanted to add the ability for visitors to add comments to videos on my site, similar to this site.
View 5 Replies
Jun 19, 2010
i have a question about code comments do they increase the size of the compiled .swf or are they completely ignored by the compliler the reason i ask is i have several lengthy functions written various ways and I have the functions i'm not currently using commented out......is it ok to leave these commented or should I make several class files ?
View 3 Replies
Mar 30, 2011
How do you add sample xml to asdoc function/class comments in Flex? They can obviously be added, but they wont show in the hover asdoc comments in Flash Builder 4. [code]...
View 1 Replies