ShopDreamUp AI ArtDreamUp
Deviation Actions
Suggested Deviants
Suggested Collections
You Might Like…
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
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
Image size
1024x576px 1.39 MB
© 2011 - 2024 Curzec
Comments10
Join the community to add your comment. Already a deviant? Log In
it works! thanks a lot!