Learn Actionscript 3.0
Hey,
I want to learn Actionscript 3.0 because I have discovered
that you can't do really nice flash stuff without knowing it. I
have Flash CS3. I have no programming or language experience, I
just know a little bit of HTML. What's the best way for me to go
about learning actionscript?
Thanks,
eagledrc,
> I want to learn Actionscript 3.0 because I have
discovered
> that you can't do really nice flash stuff without
knowing it.
AS3 is a tremendous, significant re-thinking and
re-organization of the
language. It's an improvement in terms of clarity,
cohesiveness, and
performace. In fact, at the risk of sounding like one of
those late night
plus-if-you-act-now commericials, I can honestly say that the
more I use
AS3, the more I appreciate it.
That said, it's only fair -- to ActionScript and you! -- to
mention that
TONS of cool stuff can be done without ActionScript 3.0. For
years now,
people have been using pre-AS3 Flash to develop MP3 players,
video players,
scrolling platform games (like Mario Bros), multi-user games,
particle
effects, ebooks, interactive multimedia presentations,
slideshows, and the
list goes on. In many ways, the structure of AS3 makes it
easier to work
with, but in terms of actual features, I'll venture to say
that only
complex, advanced projects are likely to benefit from the
speed increases.
So ultimately, you have a choice. Many ad agencies and
development
houses are still publishing to Flash Player 7, just because
the probability
is a tad higher that a consumer has Flash Player 7 over 9. If
you can
publish for Flash Player 9, I'd say take the plunge and go
with ActionScript
3.0. I really think it makes more sense to newcomers than
ActionScript 2.0
as a new language. But all the same, keep a back burner open
for AS2,
because you're likely to run into files written in that
version of the
language for years to come.
> I have Flash CS3. I have no programming or language
experience,
> I just know a little bit of HTML. What's the best way
for me to go
> about learning actionscript?
If it's any encouragement, I didn't have any programming
experience when
I started out either. I came to Flash because I loved (and
still love)
multimedia. I've been fortunate enough to make a career out
of (mostly)
Flash, and the ability to program has certainly made that
easier, as well as
more creatively rewarding. If I could go back to an earlier
me and give
myself advice, I would steer me toward something called
object-oriented
programming (OOP). Even if that younger me didn't want to
become a
caffeine-addicted hardcore programmer, I would insist to
myself that
*thinking in terms of OOP* can help a developer make sense of
the gargantuan
document called the ActionScript 3.0 Language and Components
Reference that
lurks behind the F1 key.
In the tiniest of nutshells, it can be put like this: the
building
blocks of ActionScript -- all the things you deal with, like
movie clips,
text fields, sounds, buttons, and so on -- are called
objects. Objects are
defined by something called classes, which are essentially
blueprints for
the objects they describe. Generally speaking, classes
feature one or more
of the following categories: properties (characteristics of
the object),
methods (things the object can do), and events (things the
object can react
to). Look for those headings when you flip through the
documentation. If
you're dealing with a movie clip, for example, look up the
MovieClip class
and see what features are available to you. Bear in mind that
classes are
organized into family trees -- they inherit functionality
from ancestors --
so make sure to click the "Show Inherited Public
Properties/Methods/Events"
hyperlink you'll find in each class entry. Without that, you
won't get the
full picture.
Even if you don't write your own custom classes, you'll find
that
thinking in terms of a programmer -- thinking in terms of OOP
-- will help
you navigate the documentation.
As far as books, I tend to like "Object-Oriented
ActionScript 3.0"
(friends of ED), by Todd Yard, Peter Elst, and Sas Jacobs.
This one is
geared toward programming and doesn't focus much on the Flash
drawing tools.
http://www.amazon.com/Object-Oriented-ActionScript-3-0-Todd-Yard/dp/1590598458/
You may also get something out of "Foundation Flash CS3 for
Designers"
(friends of ED), which I wrote with my friend Tom Green.
http://www.amazon.com/Foundation-Flash-CS3-Designers/dp/159059861X/
Ours aims at striking a balance between programming and
non-programming
concepts. That doesn't make it better or worse reading
material -- just
gives it a different focus.
I'm also a fan of Colin Moock's work (usually O'Reilly
books), which
tends to be extremely thorough, so take a gander at all of
the above and
read the reviews to see which one(s) may speak to your
personal taste. Good
luck with it!
David Stiller
Contributor, How to Cheat in Flash CS3
http://tinyurl.com/2cp6na
"Luck is the residue of good design."
Similar Messages
-
FAQ: How do I go about learning ActionScript 3.0?
Here are a few hand-picked resources for getting started with AS3 that hopefully will give new users confidence to try ActionScript and to know that they are looking at some of the best resources for learning it. These are all video tutorials.
Code Snippets and AS3 enhancements – Code snippets were introduced in Flash Pro CS5 and provide pre-written code that you can apply as a way to get a lot of basic functionality implemented without learning really any code. They are also a great way to begin learning ActionScript 3.0 because they are very small in most cases and reading them will quickly begin to shed some light on the conventions that are used.
ActionScript 3.0 101 – Flash Downunder – In this one, Paul Burnett gives a nice long intro lesson covering a lot of the basics. He’s a really good instructor with a good pace.
Building an application – This is a quick lesson by Todd Perkins that gives a basic intro to some must-have concepts, including event listeners and stop() actions.
ActionScript 101 with Doug Winnie – This is Doug’s show on Adobe TV. There are many, many episodes that go from the basic to more specific topics. Most of the episodes are 5-7 minutes long. A great free resource from a very good teacher with a manageable pace. Note that the episodes are listed in reverse chronological order (newest first) on the Adobe TV page.
In this set of tutorials, Ryan Hodson takes an interesting and interactive apporach to teaching AS3. This will get you typing ActionScript in Flash right away:
Introduction to AS3Srami... welcome to the forum...
your question is MASSIVELY broad and depends on your requirements and delivery expectations.
Basically... 'best' for what?
It's helpful if you provide some details for people to assist you. -
Should I bother learning Actionscript 2 since there's actionscript 3?
I've been toying around with flash for years, making animations mostly. I want to start making games though, because I'm majoring in videogame animation and I know I'm going to have actionscripting classes. I just wanted to know if learning actionscript 2 would do more harm than good since there's actionscript 3 now. And what are the differences?
Well, I use AS2 because I feel it is easier to make games with. With AS2 you can add actions to ANY object. For instance, if you want to make a simple button, you just use the actions panel ON THAT OBJECT and type a simple code:
on(release){
_root.goToAndPlay(2);
If you were using AS3, you HAVE to use the actions panel at the top. You can't have any actions in an object.
It all depends on what you feel, I would recomend learning both, it is always best! -
Hi all,
I'm after some advice on books about learning actionscript 3. The best book I ever bought for learning anything was a project sourcebook for Cinema 4D. It literally held your hand through projects, telling you exactly what to do, as you completed mini projects. This gave me a great understanding of every element of the programme.
Is there any such book for actionscript 3? I'm looking at this from a web design approach. Games would be fun but I think the web side is more for me.I have found the following books to be good:
OReilly - Essential ActionScript 3.0 by Colin Moock
Foundation ActionScript 3.0 Animation, Making Things Move by Keith Peters
Also the following sites helpful.
http://www.senocular.com/flash/tutorials/as3withflashcs3/
http://www.tutvid.com/tutorials/flash/index.php
http://www.republicofcode.com/tutorials/flash/
http://www.kirupa.com/
http://www.wonderhowto.com/software/flash-animation-actionscript-video/ -
Learning ActionScript for developing FLASH Games
Hi ,
I dont whether i can post this question here or there is any other Forum for ActionScript , if so sorry for that .
Now to the question , I know some what ActionScript like Events , custom UI Components , and classes as required for simple FLEX development .
To what extent we need to learn ActionScript to develop Flash Games ??
Can anybody suggest me as where to start with , what is the correct approach and is there any IDE avialable for that .
Please share your ideas on thishi,
Depends on what sort of games you want to write, firstly you will definitely need to become familiar with actionscript, most gaming and 3d engines for flash games are done in pure actionscript. You can developer your games in flex even if you don't uses mxml basically the real power of games is in the code which means actionscript.
http://pushbuttonengine.com/ a gaming engine for flex/ flash
http://away3d.com/ 3d engine for flex/flash
http://www.flashrealtime.com/flash-game-library-engine-list/ a site that will have you reading lots of interesting stuff.
David. -
Training videos for learning actionscript 3
Does anyone know of any good video training series that
teaches, in depth and is very thorough on learning everything there
is to know about Actionscript 3?I can't say this site has everything, but it has a good share
of things you can start with.
http://www.gotoandlearn.com/ -
Wanna learn Actionscript.3.0 along with game development?
hi guys, i am sharing some best books to learn AS.3.0 along with game development including box2d.
best books ever.....(over 7 large pdf books)
you can build complete games from these pdf books.
you need flash professional CS4 or above. you can still use it with CS3...
see this video for links and book covers:
http://www.youtube.com/watch?v=fHzVBud3ah4Dave,
> OK, so that sort of helps. I downloaded and installed it
> but when I went to create components like I have in my
> Flash 8.0 application I am writing, there are none
available.
Those are the v2 UI Components, which means they're written
in
ActionScript 2.0 and are therefore incompatible with AS3.
Using that
special version of Flash, you may still publish in AS2 if you
like (see
Publish Settings), in which case those Components will
reappear.
> Is this a watered down version so you can't do anything
> with forms.
What you have is not a watered down version at all. Rather,
it's a
souped up version of Flash 8, which is otherwise not capable
of publishing
for Flash Player 9 (in other words, ActionScript 3.0). The
title is a
mouthful, but Flash Professional 9 ActionScript 3.0 Preview
is a *preview
release* of Flash 9, which gives every indication that the
next full release
of Flash will support ActionScript 3.0, and presumably new
AS3-based
Components to match.
> Does this force me to have to get Flex2? I hope not.
Of course not! ;) If you want to develop with AS3 now
already, then
you'll have to do it with something that can compile Flash 9
SWFs. Flex
Builder 2 is an IDE and costs money, but the compiler (Flex 2
SDK) itself is
freeware.
http://www.adobe.com/products/flex/sdk/
If you can wait for Flash 9, then that could be yet another
choice --
presumably improved upon the preview release in your hands.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Hi,
i got quite familiar with Flex regarding its mxml part. I would like now to add some actionscript code to enhance my apps. So i would like to learn actionscipt for flex. But in adobe documentation there is guidance only for actionscript projects (using packages and classes). Where can i find documentation for actionscript targeting specificly at mxml projects??
Thanks in advance.Essential ActionScript 3.0 by Colin Moock is a great way to boost your AS:
http://www.amazon.com/Essential-ActionScript-3-0-Colin-Moock/dp/0596526946
If this post answers your question or helps, please mark it as such.
Greg Lafrance
www.ChikaraDev.com
Flex Development and Support Services -
If you want to learn ActionScript in L.A.
A workshop worth checking out....
Releasing the ActionScripter Within with Phillip Kerman
Dates: Fri +
Sat, July 14 + 15
Location: The flash Factory
in Venice, California
Price:
$490
A lot of people know about the cool stuff that's possible in
Flash, but they don't
know how to do it. In fact, they may have a very clear idea
what they want
but they don't know how to sort out the problem and execute
it. The
"programming" side of things can get tricky but usually it's
the planning
and design that's the most challenging.
Kerman will show common programming topics (variables,
arrays, functions,
ActionScript objects, class files) but I'll present it using
easy-to-understand analogies and with practical use-cases
where the students
will actually use this stuff. He will also spend a lot of
time on seeing the
consistencies in syntax so that you just learn the general
form instead of
learning the nitty gritty details of every variation. That
is, if you learn
the common syntaxes you can apply that knowledge to
additional topics that
you encounter.
Students will walk away feeling comfortable how to approach
and execute a
programming task. They'll be able to sort out a problem,
identify the
needed pieces, break down the programming into pieces, and
then--if not
build the whole thing--"stub" it in a way that parts work and
the remaining
tasks are clearly identified. Of course, it's best if a
student could
really build a huge application after this two-day course,
but even the most
advanced programmers build things in pieces and a big goal of
this class is
that they can see how to break things down.
Also, they'll get exposed to using code to control animation,
sound, and
video as well as the new BitmapData class and filters
package.
Visit the link below to sign up.
http://www.richmediainstitute.com/training/kerman/index.php
If you have any questions, email me, Jonathan Menendez,
[email protected]It warps an object based on the light or dark values of another file, or map. If you need to make a objects shadow conform to an irregular surface, the displace filter is perfect. It's useful to creating glass effects as well. Check through the previous posts in this thread for some links such as this fine tutorial.
http://www.thegoldenmean.com/technique/displace1.html -
Hi guys. At this point in time i have a brief understanding
of actionscript and have the ability to make easy games without the
aid of a tutorial. i am extremely interested in hopefully becoming
a professional and i need somewhere to start. can any of you pros
recommend a book or something that helped you guys get to where you
are now.
That would be really helpful.
Thanks
SterockicyHi Sterockicy;
It sounds like you are already beyond my level of ability in
AS but the books that I am using to get started are "Foundation
Actionscript for Flash 8" by Kristian Besley, Sham Bhangal and Davd
Powers (pub. Friends of Ed); and "Flash 8 Actionscript: Training
From The Source", by Jobe Makar and Danny Patterson (pub. by Adobe
Press in association with Peachpit).
I'd say check them out in a real bookstore where you can flip
through them and gauge whether they are too basic for you -- my
guess is that the Adobe one will be more up your street; as a
non-coding designer I find it a bit clinical and impenetrable at
the moment, so it might be about right for you.
Hope this helps;
Rick -
Help! I am trying to learn actionscripting in Flash Professional CS6
I've recently purchased the Adobe Press Classroom in a Book for Adobe Flash Professional CS6. I am stuck in Chapter 6: Creating Interactive Navigation. I input coding EXACTLY as the book told me too and the program is coming up with errors and the animation won't stop at the first screen to allow the navigation to take place. What am I doing wrong?
Look at the Compiler Errors panel. It shows you four identical errors. You have misspelled "gotoAndPlay".
Good luck with your studies! -
I want to learn how to use ActionScript
Where Am I With Flash?
I have adobe Flash CS3 Professional.
I have looked at the tutorials from the 'getting started'
section of the Video Workshop DVD and understood them.
I can do simple things like shape tweening, adding butons
ect...
I would like to be able to start adding script to my projects
(ActionScript 3)
I have almoast never programed before and certanly never
programed with ActionScript
I have an ambition to become a good ActionScript Programer so
I can add interactive flash into websitess
What Do I Want?
To start with, I need to know how everything is set up within
ActionScript 3 (what are variables and constants? How do you
constuct an If statment? What imported events do what? ect...)
I want to learn the above from a book (so I do not have to be
at my computer to learn). It would be nice if the book came with a
tutorial disk but this is not essential.
I have looked at the book from the following URL -
http://www.amazon.co.uk/Flash-ActionScript-Dummies-Doug-Sahlin/dp/0764508318/ref=pd_bbs_6? ie=UTF8&s=books&qid=1204548401&sr=8-6
However, I'm not sure if this book is for programing in
ActionScipt version 3 or another version (or for that matter
weather the fact that it is for version 1,2 or 3 matters at all).
One More Thing
Also I would like to know some usefull websites that could
help me besides the video workshop (which I have looked at).
Thank You
ZiggyHi Ziggy,
I suggest you take a look at "Learning ActionScript 3.0: A
Beginner's
Guide", by Rich Shupe and Zevan Rosser.
It will give you great foundation and can help you build your
skills
from ground up.
I have just barely read a few pages, so I'm basing myself on
reviews
from friends who are beginning into AS3.
Furthermore, once you've got a good grasp on the basics, I
think one of
the most important part will be improving your skills on
object oriented
programming. There's no better way for that than learning it
with your
favorite language (and AS3 is perfect for that).
I strongly suggest at that point, that you acquire Colin
Moock's
"Essential Actionscript 3" from O'Reilly's. It's a difficult
book but
don't get discouraged, and keep on reading and re-reading the
chapters
and studying the examples until you finally get it.
It will help get your feet into OOP, necessary if you are
serious in
AS3, and I can guarantee you although you might feel
disturbed for not
understanding everything right away, it is only because it
covers the
topics very thoroughly, and you'll end up understanding many
important
concepts by re-reading it over the months/years of your
practice.
That book is a bible (like all previous from the author)...
once you get
to an intermediate level, you'll most likely rarely read any
other
(except for very specific topics it doesn't cover), and you
will often
refer to the AS help to know all of the classes and functions
you'll
come to need, since you'll be fully able to understand them.
Good luck! -
ActionScript Newbie: Learn AS2 or AS3?
I'm wanting to get into Flash development, and I'm trying to
work out which language to learn. Do I take this opportunity to
skip straight to the newer ActionScript 3? Or do I learn the
"simpler" AS2, and migrate once I've mastered it?
I'm hoping to use my development skills mainly for animation
(not fully blown Flex apps).
Any help appreciated. Thanks very much.There is definitely a much much higher learning curve for AS3
and learning
resources (as mentioned) are limited. You may want to
consider your own
skills as a programmer before deciding to jump into AS3.
Starting small
with AS1 or even AS2 basics might be easier until you get
familiar enough
with AS to get into AS3 (which is still fairly new and not
yet widely used).
"David Stiller" <[email protected]> wrote in
message
news:[email protected]...
> mambo_06,
>
>> Excellent, thanks. I'll probably invest in a copy of
Flash
>> CS3 (I've got version 8 at the moment).
>> Any recommendations on books for learning
ActionScript
>> 3.0, then?
>
> The only tough part about making recommendations at this
point (May,
> 2007) is that many of the ActionScript 3.0 books are
still being written.
> I should clarify that: they're still being written
specific to Flash (as
> opposed to Flex). Flex Builder was the first official
IDE to support AS3,
> so you'll find Flex books out there, but those may end
up frustrating you
> if you're more a Flash dev at heart.
>
> I recommended the Moock book to Rothrock specifically
because we've
> been friends (Rothrock and I) for some time, and I
imagine it will be well
> suited to his comfort level with ActionScript. Moock is
a gifted
> communicator, able to explain programming concepts
clearly. Even so, his
> books tend to appeal more to intermediate/advanced
readers, as Rothrock
> suggested.
>
> The Peters book is great for -- as the title implies --
making things
> move. It's an animation-via-programming book, and
belongs within an arm's
> reach of anyone interested in game development or
programmatic visual art.
>
> For an all-purpose approach to object-oriented
programming in general,
> I've been recommending Object-Oriented Programming for
Flash 8, by Peter
> Elst and Todd Yard, for a while now. Of course, that
relates only to
> ActionScript 2.0. I really don't know if they have a
second edition in
> the works, but if so, I would probably recommend it
without even reading
> it, as Elst and Yard are top notch developers, and their
first edition is
> great.
>
> There's a forthcoming Foundation ActionScript 3.0 with
Flash CS3 and
> Flex 2, by Steve Webster and Sean McSharry (should be
ready in June).
> I've read a handful of early-draft chapters and can say
it looks
> promising. That one is geared toward newcomers.
>
>
> David Stiller
> Adobe Community Expert
> Dev blog,
http://www.quip.net/blog/
> "Luck is the residue of good design."
> -
How to adjust the path of a tween using actionscript
I'm a novice at Actionscript3 and would greatly appreciate an answer to what seems like a simple question:
Here's my project:
http://home.comcast.net/~samiri/director/mortals/amadoFlashPortrait/index.htm
Click on the gray scale frame images. A larger version of that image tweens out along the z axis. However it comes from 'somewhere else' not from 'within the frame.' How do I get the each larger gray scale frame image to look like it comes directly from the place where the user clicks (not to one side or the other)?
So I guess what I'm asking is how to adjust the path of the tween along the x and y axis using the actionscript code (below).
My method:
I'm using this line of code in my script:
var myTween:Tween = new Tween(mdImg, "z", Strong.easeOut, 300, 0, 1, true);
"mdImg" is the variable that holds the name of the hotspot clicked upon by the user.
I have the larger (faded edge) image positioned directly on top of the frame image and just kept invisible until the User clicks on the hotspot over the frame image.
Thanks much.Thanks moccamaximum,
By "do your tweens manually" you mean to use the timeline to do frame-based tweening? That is an option but I'm wondering (as a newbie): Isn't it better to use actionscript to do animation since you have more control and it's time based rather than frame-rate based (and works better on low performance machines)? Just curious if I should be spending the time to learn actionscript or do it in the traditional way.
Thanks -
Newbie Q: What do movie clips need to allow Actionscript?
Hello. Thanks for taking time out for this question.
Basically, I started an exercise in a book and it asked me to
add code to a movieclip. I created a basic circle, converted it to
a movie clip and tried to press F9 for actionscript, but Flash told
me "Current selection cannot have actions added to it".
When I looked at the example file that came with the book, I
couldn't see anything special about the movieclip that was used.
What am I missing?However, the techniques of adding code directly to movie
clips is an old and outdated way of coding. And I would advise that
if you are serious about learning Actionscript that you don't go
down that road.
AS 2 is perfectly useful and good so learn that or learn AS3
(or both!), but here is a link to an article about the issue:
http://www.quip.net/blog/2006/flash/museum-pieces-on-and-onclipevent
David Stiller (that is his blog) posts here often and is a
great source of information. You might want to check out more of
his articles.
It could be that your book is just showing one way before
moving on to a more sensible approach, but check the examples
toward the end. If they are full of on() and onClipEvent() I woudl
recommend getting a different book.
Maybe you are looking for
-
I have an iPhone 4 and have been trying to download/update it to iOS 5 via iTunes. I can get 798.2 of 798.3 MB downloaded before the download fails. I have updated iTunes to the latest version, but it doesn't seem to help. This is driving me nuts.
-
Call ABAP-progam (or Transaction Code) out of WEB-Template
Hi freaks, I want to call an ABAP-Program out of a web-template, preferably e.g. by clicking on a Push-Button. For my scenario here no parameters need to be passed (the ABAP-program simply fills a table). Cheers Georg
-
I just purchased a new Windows 8.1 pc and can't figure out which download (s) I need to download. I own Acrobat Version 10. Please advise. Thank you
-
Hi While raising sales order and saving it i am not getting any problem but, while doing pgi or saving invoice an error is occuring stating that field not assigned to condition access what might be the reason for this.... regards, ram
-
HI, I am developing Flash web site from template. I am changing it's look. Problem i have is turning xml actionscript drop down menu into simple jpg button (connection stays the same - in this case it builds a new page with many thumbnails). This is