HOME | DD

Curzec avatar

Curzec — Browsing Script Tutorial


Browsing Script Tutorial
Published: 2011-06-25 17:53:29 +0000 UTC; Views: 2264; 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)