HOME | DD

Curzec — Browsing Script Tutorial

Published: 2011-06-25 17:53:29 +0000 UTC; Views: 1448; Favourites: 40; Downloads: 54
Redirect to original
Description There. A basic Flash Browsing tutorial using ActionScript 3.0. This tutorial can be useful for making Flash Comics, Flash Tutorials and whatever comes up to your mind.

Here's the script I used for this tutorial:

stop();

start_but.addEventListener(MouseEvent.CLICK, startShot);
function startShot(e:MouseEvent):void
{
play();
}

next_but.addEventListener(MouseEvent.CLICK, nextShot);
function nextShot(e:MouseEvent):void
{
play();
}

prev_but.addEventListener(MouseEvent.CLICK, prevShot);
function prevShot(e:MouseEvent):void
{
prevFrame();
}

On topic, after having seen yuumei 's flash comic tutorial using ActionScript 2.0, I thought an ActionScript 3.0 tutorial could be useful. I personally find AS 3.0 a lot easier. I used a script like this for my recent project (which should be up soon!), but it was a little bit more advanced than what I showed you here. These are the basics.

Questions? Ask them. I hope I'll be able to answer them. Also try using Google if you have any questions or problems. That's where I get nearly all my information from when it comes to scripting.

Hope it was useful <:

--

Tutorial © me Curzec
Related content
Comments: 10

Ultramif71 [2012-06-18 02:26:01 +0000 UTC]

it works! thanks a lot!

👍: 0 ⏩: 1

Curzec In reply to Ultramif71 [2012-06-18 12:30:51 +0000 UTC]

No problem!

👍: 0 ⏩: 0

WonHitWonder [2012-05-27 05:45:45 +0000 UTC]

THANK YOU SO MUCH!

Seriously, this tutorial freakin' saved my life. Nobody would tell me how to make a button in ActionScript 3.0, I was making my own tutorial (obviuosly not about Flash, since I'm a total n00b) and I thought I'd never understand how to do anything. This was so clear and helpful to a total beginner, I'm even understanding how ActionScript 3.0 works a little bit. I wish I could give you a medal or something... XD

But until then, a favorite and a llama wil have to do. Thanks again!

👍: 0 ⏩: 1

Curzec In reply to WonHitWonder [2012-05-27 23:37:41 +0000 UTC]

I'm glad I could be of help! ^_^

👍: 0 ⏩: 0

ayame18 [2012-05-20 06:45:05 +0000 UTC]

Thanks for the nice tutorial.

This is still really confusing, but hopefully I catch on when I keep studying this and more tutorials.

👍: 0 ⏩: 1

Curzec In reply to ayame18 [2012-05-20 14:42:51 +0000 UTC]

It's not that difficult, really. Good luck with your studies!

👍: 0 ⏩: 1

ayame18 In reply to Curzec [2012-05-21 03:57:34 +0000 UTC]

I guess so. I guess it feels difficult now since I'm beginning to learn about it. Thank you!

👍: 0 ⏩: 1

Curzec In reply to ayame18 [2012-05-21 20:19:34 +0000 UTC]

Yeah, it can be pretty tough in the beginning. Frankly this is one of the two things I know how to properly script, haha. But if you work hard enough, you'll be fine

👍: 0 ⏩: 1

ayame18 In reply to Curzec [2012-05-23 06:37:41 +0000 UTC]

I'll work hard and do my best. Many thanks once more.

👍: 0 ⏩: 0

MidNightMagnificent [2012-02-13 08:00:13 +0000 UTC]

Very useful. I'm quite sure a few of my watchers would appreciate buttons between one part of my Flashes and the next. I always wanted/meant to do some buttons, but could never quite figure out the steps. Really useful, thanks!

👍: 0 ⏩: 0