Learn Actionscript for flex
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
Similar Messages
-
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. -
I am looking for a good UML plug-in for Flex Builder that is
geared more toward the Flex / Actionscript architecture as apposed
to Java, C#, C++, etc... Does anybody currently use or know of a
good plug-in for this? I realized that I cross-posted, but this
forum see twice as much posting as the Flex Builder forum and this
does related to the language as much as the software. Any ideas
would be greatly appreciated.Was also spotting for such an aid and will try out ea. So far
thx. Poseidon from gentleware which is based on agos looked quite
well but is strong on the jsside and they have a inacceptable try
out offer.
It would be nice to have an adobe tool for modeling which
would include also links to the design and content areas of complex
webbased apps. In that way one could include customers, designers,
programmers, and contenters in a model which would help in many of
my projects. -
Learning Actinscript for kind of a newbie
I've been using Flash for several years, but the only stuff
I've done with Actionscript was basic. I want to start doing some
more advanced things, so I'm wondering if anyone could recommend
some books or other resources.
ThanksBruceCSI2,
> I've been using Flash for several years, but the only
stuff I've
> done with Actionscript was basic. I want to start doing
some
> more advanced things, so I'm wondering if anyone could
> recommend some books or other resources.
This is always a good question, because the answers change
over the
years. Now, in particular, we've got a situation where Flash
CS3 supports
the "old regime" (AS1/AS2) and also the "new kid on the
block" (AS3).
Granted, AS3 is already a year old, but it's new to Flash,
even if Flex
supported it much earlier.
There are plenty of good AS2-related books on the market
(lately, I've
been recommending Peter Elst's and Todd Yard's
"Object-Oriented ActionScript
for Flash 8," and I'm always happy to recommend Colin Moock's
"Essential
ActionScript 2.0"; if you're into programmatic animation, you
may want to
check out Keith Peters' "Foundation ActionScript Animation:
Making Things
Move!"). Flash CS3 lets you configure your publish settings
for
ActionScript 2.0, and you can code along happily using
"yesterday's latest."
I'm noticing that many people seem to be having a hard time
with AS3.
To be honest, that doesn't particularly come as a surprise to
me, but I
personally think the payoff (greater efficiency, if nothing
else) is worth
the higher learning curve. Partly, I suspect the learning
curve *seems*
higher than it actually is because so many developers
continued on with
AS1-style programming even during the AS2 heyday. Sure, the
leap from Flash
4- and Flash 5-era code to Flash CS3-era is staggering ...
but it's not
*so* outrageous from an AS2 standpoint, especially if a
person is already
versed in writing custom classes.
There are a handful of AS3 Flash books entering the market,
but they're
still very new. Again, AS3 itself is a year old, but
AS3-in-Flash is hot
off the press. Consider Joey Lott (I can think of two recent
books of his,
off the top of my head -- co-authorship, in this case) and
Colin Moock's
"Essential ActionScript 3.0," which should be rolling off the
shelves
shortly. Keith Peters also has an AS3 update to his
programmatic animation
book.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
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. -
Does the new AIR SDK support iOS 64-bit for Flex Developers?
I saw that the new AIR SDK(December 18, 2014) has supported iOS 64-bit, but it was only supported in the new compiler. See this:
Please note that support for creating universal IPA binaries will only be available in the new compiler. The legacy compiler is not (and will not be)
compatible with iOS 64-bit. Because of this, it will be removed with version 16 of the AIR SDK. To ensure that Adobe as well as third party tools
are able to work with this AIR SDK, the -useLegacyAOT option will continue to exist, but will be internally mapped to the new compiler.
AFAIK, the Flex uses the old compiler and AIR SDK for Flex Developers doesn't include ActionScript 2.0 Compiler. As a Flex developer, what shall I do?Hi,
I guess, you might be packaging IPA on windows machine. Please try latest beta at http://labs.adobe.com/downloads/air.html which has iOS64 support on Windows machine as well.
Thanks
Govinda Gupta -
Can anyone recommend any good books on leaning actionscript for flash?
Can anyone recommend any good books on leaning actionscript
for flash?
Intermediate level
I have been using flash for about 2 years more as a hobby
than anything else, some websites etc but now I realise I am going
to need to learn more actionscripting to do what I want, I have
come to terms with the simple stuff like goto – basic
variables – load mov – enough to programme up website
navigation.
I ideally want to learn more about the dynamic side of flash,
mostly for designing user interfaces and websites etc
I’m after a book that doesn’t get too heavy too
fast yet I’m a little past the more basic functions
Any thoughts?
CheersYou appear to be stuck on iOS 4.2.1. That means up really have a 2G iPod. A real 3G can go to 5.1.1
.To find compatible apps more app for 4.2.1 see:
Old Apps
VintApps 3.1.3 for iPhone, iPod touch, and iPad on the iTunes App Store
apps for ios 4.2.1: Apple Support Communities
Finding iOS 4.2.1 Apps Compatible with Older Devices - Apple Club
HT4972 Touch Game 4.2.1 Apps: Apple Support Communities
apps for 4.2.1 (also works for 3.1.3)
Tip - Finding 4.2.1 apps that work on an...: Apple Support Communities
4.2.1 iPod 2nd generation unable to use any...: Apple Support Communities -
Air 3.7 for Flex on mac
It sounds so simple and probably should be, but I just spend 3 hours trying to get the most basic setup running and I'm lost in the mess Adobe created. I followed a couple of tutorials and documents but none seem to be working.
All I want is to generate a Flex for mobile project with the latest Air 3.7 SDK.
I tried steps to replace the airsdk that is now deeply hidden in flashbuilders eclipse folders. That only allowed me to create an actionscript for mobile project with 3.7, but not a Flex project.
I tried to download the Air sdk that supposed to be for flex developers (http://airdownload.adobe.com/air/mac/download/latest/AdobeAIRSDK.tbz2). I overlayed these files into an existing Flex 4.6.0 folder. The result was that Flashbuilder didn't recognize the folder as a Flex SDK anymore.
I tried the latter step on a PC and it work so far that I can compile and debug flex for mobile apps on the ipad (with fast mode). Standard mode and export release build end in an never ending packaging process (1.5 hours now for a hello world app and still at 0%)
Any help would be much appreciated. Thank youHi,
The Apache Flex project has a few scripts that will help you on OSX.
This will dowload and check the MD5 hashed of all playerglobal.swcs into a Flex SDK.
http://svn.apache.org/viewvc/flex/sdk/branches/develop/ide/checkAllPlayerGlobals.sh?view=m arkup
This will download and inject any version of the AIR SDK into a Flex SDK.
http://svn.apache.org/viewvc/flex/sdk/branches/develop/ide/addAIRtoSDK.sh?view=markup
The latest versions in the Git develop branch support AIR 3.7 (but harder to provide links to - sorry).
Thanks,
Justin -
Revision: 5067
Author: [email protected]
Date: 2009-02-25 08:21:22 -0800 (Wed, 25 Feb 2009)
Log Message:
In preparation for adding ASDoc version tags for Flex, remove old tags from AIR files
QE Notes: None
Doc Notes: None
Bugs: -
Modified Paths:
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode .as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.a s
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode .as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent .as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBack groundSkin.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin .as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.a s
flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSki n.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSki n.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin .as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as
flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.asI'm also having this problem. I'm using Flash Builder 4.6, AIR 3.4 and I've made a DLL (e.g. ExtensionDll.dll) which needs to call functions in another DLL (e.g. DllUsedByExtensionDll.dll) . I've made sure my ANE is working with the ExtensionDll.dll already, so there are no issues with my actionscript code or my ANE packaging or my DLL compilation. However, once I start calling functions from the other DLL, it starts throwing me Error #3500. Even if I call this function (e.g. abc()) in ExtensionDll.dll, but I never actually use the function from actionscript, and I call another function (e.g. def()) from actionscript, the Error #3500 still appears, so it does not seem to depened on the whether the code is used or not.
It's similar to this problem.
http://stackoverflow.com/questions/9823504/how-to-use-external-dll-in-air-native-extension
Does anyone have a solution or at least a way to debug this? -
Recommend a framework for Flex & CF
Hi,
Can people please give a few opinions on learning a
framework, which one, why, and hopefully what kind of knowledge one
needs before even delving into the recommended (or any)
framework...for a Flex 2/Coldfusion MX7.0.2/MS-My-SQL environment.
Good books specific to the software would also be much
appreciated.
Thanks kindly,
Shawn:)So I decided to change the url="
http://xxxxxx.com/test/cgi-vars-for-flex.cfm"
to url="
http://xxxxxx.com/test/cgi-vars-for-flex.xml"
(xml code below), to see if that works, and everything works fine.
So, I suspect there's something wrong with my cfm code.
Any ideas, anyone ? :)
Thanks,
Ray
---- xml file ----
<?xml version="1.0" encoding="ISO-8859-1"?>
<cgi>
<vars>
<name>CGI.SCRIPT_NAME</name>
<value>/dev/development/rdixon/test/cgi-vars-for-flex.cfm</value>
</vars>
<vars>
<name>CGI.SERVER_NAME</name>
<value>fusionmx-dev1.e-dialog.com</value>
</vars>
</cgi> -
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." -
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,
Is there any Flex plugin for Eclipse which has features like
syntax coloring, auto-suggestion and compilation for
actionscript and mxml. I tried using ASDT but it isn't of much
help. It supports only syntax coloring. Writing action script code
in plain editor is sometimes a very big pain.
Thanks,
Ashish AbrolYou can download the Eclipse plugin for Flex in the Adobe
Website. Then in Eclipse you have to configure the editor's section
and select the mxml and as extensions to be edited with the Flex
plugin, that way you will have syntax coloring and
auto-suggestion -
How to create a plugin for Flex Builder
Does anyone know where the documentation is located for developing plug-ins for Flex Builder? I know you can create plugins for Eclipse, but I haven't seen how you can import them into Flex builder without having it in the Eclilpse Marketplace.
Hi,
There are some plugin examples in osmf source code on sourceforge. You can start from an existing plugin to learn the basics - it will be a little easier than starting from scratch.
What should your plugin do? -
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/
Maybe you are looking for
-
DB buffer cache vs. SQL query & PL/SQL function result cache
Hi all, Started preparing for OCA cert. just myself using McGraw Hill's exam guide. Have a question about memory structures. Actually, DB buffer cache is used to copy e.g. SELECT queries result data blocks, that can be reused by another session (serv
-
Assignment.... j2me and html connection i guesse is about
we don't learn about java in lectures but were ask to develop an application about it. the assingment sound something like this... have to develop an application that will enable us to download pictures/short video clips from the internet what are th
-
Multiple channels from GigE camera
Hello NI Folks, I am using a GigE camera for my Machine Vision application. I have to save data from all three channels coming out of Camera. I am using Example VI from National Instruments 'Grab and Setup attributes.vi' to get attributes and save Im
-
Adding new hard drive to Mac Pro (quad core)
I've just ordered a new Mac Pro quad core (2.66 GHz) with one GB HD. Since Apple is charging £240 for a second drive I decided to get it from somewhere else. I found a 1GB Western Digital Caviar Green but I also noticed 1GB WD Caviar Black. I wonder
-
What's the music of the commercial "introducing iCloud" ?
It seems nobody knows the background music of the commercial "introducing icloud" that is running in apple.com