I'm here to answer your beginner to intermediate questions relating to Actionscript 3.
[size=]
AS3 TUTS[/size]
- Lesson 1: Buttons - http://anipedia.thebackalleys.com/index.ph...l:Buttons_(AS3) (http://anipedia.thebackalleys.com/index.php?title=Tutorial:Buttons_(AS3))
- Lesson 2: Graphics - http://anipedia.thebackalleys.com/index.ph...:Graphics_(AS3) (http://anipedia.thebackalleys.com/index.php/Tutorial:Graphics_(AS3))
- Lesson 3: Filters - http://anipedia.thebackalleys.com/index.ph...:Filters_(AS3)) (http://anipedia.thebackalleys.com/index.php/Tutorial:Filters_(AS3))
- Lesson 4: Preloaders - http://anipedia.thebackalleys.com/index.ph...reloaders_(AS3) (http://anipedia.thebackalleys.com/index.php/Tutorial:Preloaders_(AS3))
how do i make video games
how do i make a forum
hey how do i do that option where you can save as a .xbox360 file or any other console? cause i saw tomfulp doing it
onrelease press dot hold goto frame variables what what
away?
Quote from: Jigglypuffaway?
wut?
Quote from: Flashonrelease press dot hold goto frame variables what what
var button:Shape = new Shape();
button.graphics.beginFill(0xCCCCCC);
button.graphics.drawRect(0, 0, 200, 100);
button.grahpics.endFill();
button.addEventListener(MouseEvent.CLICK, buttonClick);
function buttonClick(evt:MouseEvent):void{
gotoAndPlay(frame# or label);
}Quote from: Wasimhey how do i do that option where you can save as a .xbox360 file or any other console? cause i saw tomfulp doing it
What, an sol file?
If I knew it off hand, I probably would be making flash games.
Here's just some code to make a quick button with rollovers.
//BUTTON CODE
var button:Sprite = new Sprite();
button.graphics.beginFill(0xCCCCCC);
button.graphics.drawRect(0, 0, 200, 100);
button.graphics.endFill();
button.alpha = .5;
addChild(button);
button.addEventListener(MouseEvent.ROLL_OVER, buttonOver);
function buttonOver(evt:MouseEvent):void{
button.alpha = 1;
}
button.addEventListener(MouseEvent.ROLL_OUT, buttonOut);
function buttonOut(evt:MouseEvent):void{
button.alpha = .5;
}
would you be opposed to writing for anipedia (http://anipedia.thebackalleys.com/)? most of us animators have been left in the dark about making simple menus and preloaders in AS3
Not at all.
I'm still a little shady on preloaders, but I'm money on most things.
Yeah, would you mind getting on aim as well?
woah thanks! =]
So here's the button code in action.
And lyke I made a tut on it too.
http://anipedia.thebackalleys.com/index.php/Buttons_AS3 (http://anipedia.thebackalleys.com/index.php/Buttons_AS3)
youare a kind n gentle soul.,
looking great so far. start your pages with the title "Tutorial:" and put AS3 in parenthesis
try to write in a less personal tone too
other than that thank you very much for your help with the actionscript side of the encyclopedia. i don't know anywhere near enough to write about it, much less version 3
Lesson 2: http://anipedia.thebackalleys.com/index.ph...:Graphics_(AS3) (http://anipedia.thebackalleys.com/index.php/Tutorial:Graphics_(AS3))
I'll add more examples late tonight or tomorrow.
very cool. thanks a lot for these
in case you didn't know, you can have SWF's in your tutorials.
they are uploadable on anipedia (Special:Upload (http://anipedia.thebackalleys.com/index.php/Special:Upload) page when you are logged in only), and to embed them you use <player align="center|left|right">file.swf</player>
i believe you can specify width and height as well. it's been a while since i've used it
thx.
You can actually format that text (font, bold, etc) just like css if you make a TextFormat variable and add some shit to it.
Quote from: rtilin case you didn't know, you can have SWF's in your tutorials.
they are uploadable on anipedia (Special:Upload (http://anipedia.thebackalleys.com/index.php/Special:Upload) page when you are logged in only), and to embed them you use <player align="center|left|right">file.swf</player>
i believe you can specify width and height as well. it's been a while since i've used it
Alright. Both pages have been updated.
Lesson 3: Filters in AS3: http://anipedia.thebackalleys.com/index.ph...l:Filters_(AS3) (http://anipedia.thebackalleys.com/index.php/Tutorial:Filters_(AS3))
cool i'll stick to as2 tho
I'm planning on doing a preloader tut soon.
Quote from: Rob HalfordI\\\'m planning on doing a preloader tut soon.
that would be good, but make it big big, like include some other methods in AS1 and AS2
I mean theres a slew of them, but decompiling the NG preloaders is still confusing as hell
or someone else make some accompanying shit
I don't know AS1/2.
does anyone still use as1?
sort of
When are you going to cover the fundamentals of AS3 coding such as display lists, OOP and garbage collection? AS3 isn't just about sticking all your code onto a frame
Quote from: JoelasticotWhen are you going to cover the fundamentals of AS3 coding such as display lists, OOP and garbage collection? AS3 isn't just about sticking all your code onto a frame
I'm in my second year of flash at college.
Like I posted in another thread, my head exploded when my teacher tried to explain a for loop to me.
I'm going to do a few preloader tuts.
One is in the books already.
I'd have another done if scaleX and scaleY weren't being total pains in the ass.
http://www.thebackalleys.com/ok/public/mattspreloader.swf (http://www.thebackalleys.com/ok/public/mattspreloader.swf)
I'll do the write-up in a bit.
the secrets revealed
http://anipedia.thebackalleys.com/index.ph...reloaders_(AS3) (http://anipedia.thebackalleys.com/index.php/Tutorial:Preloaders_(AS3))
There...
you should add in a bit about how to swap the progress bars made with AS with symbols the user has made. i think more people are used to that method
Quote from: rtildoes anyone still use as1?
No Flash MX through 8, Link AS 1.0 & 2.0 together. It is hard to tell, but I am no expert on this subject.
QuoteWhen are you going to cover the fundamentals of AS3 coding such as display lists, OOP and garbage collection? AS3 isn't just about sticking all your code onto a frame
This Joelasticot, obviously has an idea of what he is talking about. Are people using anipedia anymore?
Like I posted earlier, OOP is way over my head. I've been looking into display lists recently, but there's nothing I can teach.
Quote from: Rob HalfordLike I posted earlier, OOP is way over my head. I've been looking into display lists recently, but there's nothing I can teach.
Declaring variables at the beginning of scripts is a form of garbage collection.
You did this in your preloader tutorial (http://anipedia.thebackalleys.com/index.php/Tutorial:Preloaders_%28AS3%29) Rob
Quote from: Nuac_Quote from: Rob HalfordLike I posted earlier, OOP is way over my head. I've been looking into display lists recently, but there's nothing I can teach.
Declaring variables at the beginning of scripts is a form of garbage collection.
You did this in your preloader tutorial (http://anipedia.thebackalleys.com/index.php/Tutorial:Preloaders_%28AS3%29) Rob
Yeah but that shit's essential. I had like 30 vars going for my first game.
If you want to learn AS3 seriously, I recommend that you read this book
http://oreilly.com/catalog/9780596526948/ (http://oreilly.com/catalog/9780596526948/)
Seriously, a few hours reading it will probably teach you more than everything you've seen in class so far...
Plus, you can easily find it for free
Quote from: JoelasticotIf you want to learn AS3 seriously, I recommend that you read this book
http://oreilly.com/catalog/9780596526948/ (http://oreilly.com/catalog/9780596526948/)
Seriously, a few hours reading it will probably teach you more than everything you've seen in class so far...
Plus, you can easily find it for free
I have it...
Quote from: Rob HalfordI have it...
Well... read it?
Quote from: JoelasticotQuote from: Rob HalfordI have it...
Well... read it?
Work in progress.