Πέμπτη, 6 Αυγούστου 2009

Last Tutorial

It’s my last tutorial (for) Flash, cause I don’t have many time to continuing write tutorials nether my friends have too much time to do my tutorials. So I will give some perfect links to find tutorials if you want in as2 but my opinion is to start learn as3. It is not more difficult than the as2 but you need more time to write the most of your actions. It has many advantages but you will see them in progress of time.

So the links are:

http://flashexplained.com/ perfect tutorials, perfect comments in as2 & as3 not only ActionScript but and Design

http://www.NoR3N.eu I have some links for many nice Flash tutorials

http://www.free-webmaster-resource.com/tutorials/flash/basics/tutorial001/index.php?tutorial_id=460 full flash template tutorial with many Actions

http://www.tutorialized.com/tutorials/Flash/1 It has too much tutorials for this life and most of them are great

Τετάρτη, 3 Ιουνίου 2009

Drag tutorial or Hide Mouse tutorial







Create a new document in action script 2

Drag a rectangle with these values:


Convert it to a movie clip with (f8) and give it the name InMovie_mc. Go to the properties panel and write an instance name InMovie_mc.

Now make your new cursor (for this tutorial will be just do a rectangle, but you can also insert a bitmap or whatever you want). So insert a new layer and Drag a rectangle with these values:

Convert it to a movie clip and name it Drag_mc. Go again to the properties panel to give an instance name Drag_mc.

So now create a new layer, name it actions and write the bellow code:

Drag_mc._visible = false;

InMovie_mc.onRollOver = function() {

Mouse.hide();

startDrag(Drag_mc,true);

Drag_mc._visible = true;

}

InMovie_mc.onRollOut = function() {

Drag_mc._visible = false;

Mouse.show()

}

Press CTRL+Enter to see your movie.

You can also download the fla source from here

So what the code means:

Drag_mc._visible = false; - this is mean that our yellow rectangle it will hide

InMovie_mc.onRollOver = function() { - this is mean that when we go over from our movie clip (InMovie_mc) flash will do the bellow action:

Mouse.hide(); - our mouse will be hide

startDrag(Drag_mc,true); -We will drag our rectangle

Drag_mc._visible = true; -Our rectangle it will be visible from now

InMovie_mc.onRollOut = function() { - this is mean that when we go out from our movie clip the flash will do these actions:

Drag_mc._visible = false; - Our yellow rectangle will be invisible again

Mouse.show() - Our mouse will visible again


So it's a simple code to make your own cursor or to make many effects with your flash bg...


Σάββατο, 23 Μαΐου 2009

Preloader Tutorial

Now u will learn how to create a nice preloader. In flash you have to use them a lot thats why I'll give you two links with two deferent tutorials. First link is much easier and faster but it is not explain the code. The other it's more difficult but It's very very neatly written