Showing posts with label adobe flash basic tutorial. Show all posts
Showing posts with label adobe flash basic tutorial. Show all posts

Sunday, 21 April 2013

Adobe Flash - Next Page Button


Adobe Flash – Next Page Button

Open Adobe Flash and choose Action Script 2.0
In your stage draw an arrow key or any arrow that describes to view to next page or preview.
Like this:

So what I used here is line tool (N) and fills it with paint bucket (K) color red.
Lets then press right click on our arrow and select convert to symbol.
Name: next
Type: button
Like this:


Use rectangle tool (R).
Go to its properties then change stroke color with black and fill color with light orange.
Like this:


With our rectangle tool on use, draw a rectangle that would fit the stage you have.
Use selection tool (V) and move the arrow button right down on the stage.
Like this:


Use text tool then create any kind of message just above the arrow button.
Example:


Select your arrow button with selection tool (V) then right click and select action.
For our button to work we need to apply some coding in our arrow button.
Copy this code and paste it on your action script:

on(press){
gotoAndStop(2);
}

Let me explaine the coding its simple.
Here you have on(press{gotoandStop(2);}
The press with simply speaks for its action then go to and stop then you notice a closing parenthesis and the number.
The number is the number of your playhead in your timeline.
Let just say that starting from your 1st playhead going to your 6th playhead when you declared gotoandstop(6) the moment you press the next button it will automatically go and stop to that playhead.


In your timeline layer 1 we need to insert a keyframe in our 2nd playhead or simply just prses F6 for shortcut.
After inserting a keyframe you should be in your 2nd playhead by now and have the same thing as you have in your 1st playhead.
Now, I want you to change the text message and change the pointing direction of your arrow button going left by using transforming tool (Q) just rotate it.
Move the arrow button to your left side.
Like this:


Right click on our new arrow button then select action and change the number in your coding gotoandStop(1).
Like this:


Now try to see your progress by hitting Ctrl+Enter.

As you can see the whole thing is not finish yet cause the animation would only loop from the 1st playhead to the 2nd.
To fix it, we need to add some few codes on your keyframe.
Right on your 1st playhead keyframe then select action and copy this code:


In your 2nd playhead you need to have the same code as your 1st playhead.
After in your timeline layer 1 your 1st and 2nd playhead keyframe should have the same look as this:



Hold Ctrl and press Enter,
After you should be at your 1st playhead go ahead and press your arrow button if it works then after you press the button you should be at the next playhead.
Again press the arrow button and see if you will go back to your 1st playhead.


















Friday, 19 April 2013

Adobe Flash - Lightning Effect


Adobe Flash – Lightning Effect

  • Open adobe flash and select action script 2.0
  • Familiarize the workspace

  • Activate onion skin by clicking its icon
  • Select your rectangle tool (R).

stroke color must be black and there should be no fill.
Like this:


  • Draw a rectangle in your workspace that would fill the stage
  • make a zigzag line in the middle of the stage with line tool or (N) for shortcut.

The line in the middle should be connected to the edges of the rectangle that you made.
Like this:



  • Select the paint bucket tool (K) for shortcut.
  • Above the zigzag lin, fill it with color blue.

It represents the night sky
  • Below the zigzag line, fill it with brown

It represents the ground
Like this:


In our timeline layer 1
  • Right click on the 70th playhead then select insert keyframe (F6)
  • Double click layer 1 then change its name to : Environment

Like this:


  • Insert a new layer
  • Click on the first icon at the bottom left corner of your timeline
  • Change the name of layer 2 to: Lightning

Like this:

In our Lightning layer:
  • ·         Right click on the 35th playhead then select insert keyframe
  • ·         Select line tool (N)

Change the stroke color to sky blue
Like this:


We should be at our 35th playhead or simply select its keyframe.
Let us then create a lightning in our 35th playhead just above the stage or night sky.

Like this:


  • Insert a new layer.
  • Double click the third layer and change its name to Light.




Light layer
  • Right click on the 37th playhead and select insert blank keyframe
  • Right click on the 38th playhead and select insert blank keyframe

Like this:
In your stage
  • select the dark blue sky

you should be able to see that the whole blue color is automatically selected.
  • Right click on the dark blue sky then select copy frame
  • Then we go back to our light layer
  • Right click on the 37th playhead/keyframe then select paste frame
  • Align then new blue sky with its original
  • In its properties: change the fill color to sky blue.

When you done applying the following in your 37th playhead you should have the same stage as this:

That should be all of it, hope you enjoyed this tutorial.
Ctrl+Enter to see your progress.





Monday, 15 April 2013

Adobe Flash – Walking Stickman



 Adobe Flash – Walking Stickman


  • ·         First open your Adobe Flash and select Action Script 2.0
  • ·         Activate the onion skin by clicking on the icon below the timeline
  • ·         Then copy this stickman figure or simply just print screen.


  • ·         In your menu bar and click File then select import to stage.
  • ·         Select the transforming tool
  • ·         Enlarge the stickman image just enough to fill the stage.
Like this:



  • ·         draw all the stickman figure in each position.

Since the onion skin has already been activated, tracing the figures won’t be too difficult
right here:

v  right click on the 2nd playhead then select insert blank keyframe or (F7)
in your 2nd playhead, you should be able to see the stickman image shadow.
v  For the head, use the oval tool or (o) to trace it.
On the oval tool properties found at the right of the screen, make sure that the fill and stroke color is set to black

v  Trace the head first on all the figure
Copy the first stickman head you created then paste it on each figure.

v   For the body, use  the line tool or (n) to draw the parts
On its properties, change the stroke thickness to 4.
You can use the zoom tool or (z) for a clear view of the figures.
Give more emphasis in drawing the feet so you could have a realistic animation of a walking stickman



 ·         Right click on the 3rd playhead then select insert blank keyframe
·         On the 2nd playhead, right click on the whole first figure then select copy
·         On the 3rd playhead, paste the figure in the center of the stage
·         Right click on the figure, then select convert to symbol
Change the name from Symbol 1 to walking stickman
·         Double click on the stickman figure.
You will then be redirected to another timeline and workspace
You should be able to see that the figure is now placed in the 1st playhead
·         While on the same timeline, right click on the 2nd playhead then select insert blank keyframe or (F7)
·         Go back to your 1st timeline by clicking on the arrow or the scene 1 options found in the upper left of your workspace or stage

·         On the 2nd playhead, right click on the whole second figure then select copy
·         On the 3rd playhead double click the figure and be directed to the walking stickman timeline
·         Paste the 2nd figure on the 2nd playhead
·         right click on the 3rd playhead then select insert blank keyframe or (F7)
·         Go back to your 1st timeline
·         On the 2nd playhead, right click on the whole second figure then select copy
·         On the 3rd playhead double click the figure and be directed to the walking stickman timeline
·         Paste the 2nd figure on the 3rd playhead
·         right click on the 4th playhead then select insert blank keyframe or (F7)
·         do the same steps in copying the rest of the figures to the walking stickman timeline.
Make sure you have pasted the figures in the center of the stage
·         After all is done, go back to your first timeline or main workspace
·         Hold shift and select 1st and 2nd playhead
·         Right click on the playheads then select remove frames 

to see your progress press ctrl+enter


Tuesday, 9 April 2013

Adobe Flash - Free transforming tool


In this lesson we are going to learn how to animate using free transforming tool.

  • ·         open your adobe flash and choose action script 2.0
  • ·         activate onion skin by clicking its icon below the timeline
  • ·         select the text tool
  • ·         Type a letter in our stage. It could be any letter.
  • ·         Use free transforming tool on our text.
  • ·         Right click on the 2nd playhead and insert keyframe or (F6) for shortcuts.

You should be able to have the same letter found in the 1st playhead on your 2nd playhead.
  • ·         Next, with our free transforming tool select the letter in the stage then you should be able to see its joint in every edge.
  • ·         Right bottom of its joint, select and drag to increase the size of the letter
  • ·         Insert another keyframe and do the same for the next playhead this should be at the 3rd playhead.
  • ·         Again increase it size by little. Let’s increase it size until we reach on our 5th playhead.
  • ·         Hold shift and select the keyframes that we created from the 1st to the 5th playhead.
  • ·         Right click and select copy frames
  • ·         Right click on the 6th playhead and paste frames
  • ·         Hold shift and select the keyframes from 6th playhead to 10th playhead
  • ·         Right click and select reverse frames
  • ·         Right click on the 11th playhead and paste frames
  • ·         From the 11th playhead to the 15th playhead, rotate the letter clockwise with each frame
  • ·         Hold shift and  select the keyframes from 11th playhead to 15th playhead
  • ·         Right click and select copy frames
  • ·         Right click on the 16th playhead and select paste frames
  • ·         Hold shift and select the keyframes from 16th playhead to 20th playhead
  • ·         Right click and select reverse frames

you can resize your letter or rotate it in any way you like just don't forget that the animation would only work with accurate setting of each frames that you have work on. Example, the more slowly or more frames you put in your timeline the more smooth the animation goes.


Thursday, 28 February 2013

Adobe Flash – Glowing Text


Open your Adobe Flash and select Action Script 2.0
If needed then be familiarize with this workspace:

  • ·         Change the name of your layer 1 to background
  • ·         Next, select your rectangle tool with black fill and black stroke color.
  • ·         Make sure your rectangle is big enough to cover the stage

Example:
  • ·         Create a new layer by clicking on the new layer icon at the bottom left corner of the timeline
  • ·         Change the name of the new layer to Glow text
  • ·         Then select our text tool and change its font size to 50.
  • ·         Change the text color to gray.
  • ·         Change the font family in your favor
  • ·         Move your text in the middle of our black background.

Example:
  • ·         In our Glow Text Layer: right click on the 10th playhead then select insert keyframe
  • ·         Next, we need to select our text with our Selection Tool. (press v for shortcut)

After selecting the text you should be able to see its properties at the right side.
Now, in your text properties we have Position and Size, Character, Paragraph, Options and Filters.


  • ·         Click on our Add filter icon found at the bottom and select Glow, there you can see our Glow Effects.

Remember, we should be in our 10th playhead keyframe.
  • ·         Now, I want you to change your Glow Effects to this just for sample:



Follow the format

Next, still in your Glow Text Layer
  • ·         Right click on the 15th playhead and select insert keyframe (f6)

This is for us to extend the length animation for our glow to be seen.

  • ·         Right click on the 25th playhead and select insert keyframe (f6)
  • ·         Select your text using the selection tool
  • ·         Then go to its properties, under Glow Effects change color red to yellow.
  • ·         Right click on the 30th playhead and select insert keyframe (f6)
  • ·         Right click on the 40th playhead and select insert keyframe (f6)
  • ·         Select your text using the selection tool
  • ·         Then go to its properties, under Glow Effects
  • ·         This time, activate its Inner glow.

Final Step, 1-10, 15-25 and 30-40
  • ·         Right click one by one in between from your 1st keyframe to the 10th keyframe, 15th keyframe to 25th keyframe and 30th keyframe to 40th keyframe.
  • ·         Select create classic tween.

After you should be able to have the same timeline as this:
  • ·         Now, Select your Background Layer
  • ·         Right click on the 40th playhead then select insert keyframe
  • ·         Then Hit Ctrt+Enter to see your progress.










Adobe Flash- Animated Banner


How to Make a Banner
Open your Adobe Flash and choose Action Script 2.0
Please familiarize this workspace:


First, we need to change our stage size.
In the properties tab beside the stage, you should find properties size;


  • Select edit and copy this width and height size below:

  • In our timeline: change the name of the layer from layer 1 to background.

Now, we need to create a background for our banner.
  • Select your Rectangle tool and trace our stage size when using our rectangle tool like this:



  • ·         As you can see I’ve covered the stage with grey rectangle with black stroke.

You can choose any color for your background as long you won’t be having any trouble filling your text inside your banner.

  • ·         Create another layer
  • ·         Change the name of the new layer into text
  • ·         Select your text tool and in your properties change your text size to 50 pt.

You can change your family character in your favor.
Example:

Now, insert any text as long as it fits in your background and select your text and move it at the left side of the stage.
Example:
Then in our timeline, both our layers should be inserted with a keyframe under the 30th playhead.
Example:
Now, select your text layer and go to your 30th playhead keyframe.
There we should select our text and move it to the right side of our stage.
Example:
Final step:
  • ·         In our text layer, right click in between our 1st keyframe and 30th playhead keyframe then select create classic tween

Also please take notice that our text layer should be above our background layer.
  • ·         Just hold select our text layer and drag it above our background layer.
  • ·         In your menu bar go to file; click export then select export movie and chose your designated location for your banner.

I saved mine in my desktop because it’s a lot easier to find.
Open your exported movie banner to see your banner.
Before ending this tutorial, I want you to remember that this tutorial is just an idea on how to create a banner in adobe flash.
After this tutorial you can evaluate your skill in making a better banner.












Adobe Flash - Frame by Frame Animation


Adobe Flash – How to make a simple animation
Open your Adobe Flash and select Action Script 2.0
Before we start, please familiarize with this workspace.

Activate your onion skin to guide in our frame by frame.
  • When you complete this lesson, you will be able to:

Learn how to animate frame by frame.
Learn how to manipulate playhead.
Learn basic explosion effect.
Learn how to use onion skin.
Learn how to animate using different layers.

In your timeline we have our layer 1.
Double click your layer 1 and change the name to Rocket.
Draw a rocket in our stage.
Example:
Now, we need to place our rocket below our stage.
Example:

  • ·         In your 2nd playhead, insert a keyframe hit F6 for shortcut.

Now, that we have our 2nd keyframe
  • ·         Select your rocket and adjust it by dragging it above by little.

Example:

Our goal is to create 10 keyframes from our 1st playhead to the 10th playhead.
We need to move our rocket little by little or on each keyframe that we created.
Remember, that our onion skin will determine the previous location of your rocket so use it as an advantage to adjust from getting above our goal.
In the 10th playhead your rocket should be in the middle
Example:
Next step, we need to insert blank keyframe in our 11th playhead.
Simply press right click and select insert blank keyframe in our 11th playhead or just hit F7 to insert blank keyframe for shortcut.
Now, in our 11th playhead, I want you to draw a small red circle at the tip of our previous rocket.
Use oval tool to create a circle and change stroke and fill color to red.
Example:

For the 12th playhead, we need to insert another blank keyframe and draw another circle.
This time it should be alittle bit bigger than the previous one and you must put it in the same location of the previous circle.
Add some lines in our circle just like this.
Example:
Now for the 13th playhead, I want you to draw a heart.
You can use Brush tool as long as you fill and stroke color is red.
Don’t forget to put your heart in the same position as the previous one.
 Example:

Now, we need to insert a keyframe in our 20th playhead.
In your timeline you should be able to a similar view as this:
(Hit Ctrl+Enter to see your progress)
This is simply a head start basic animation.
Now, let’s try to have another layer.
Right click on your Rocket layer select insert layer.
There you can see in your new layer that it has been inserted with blank keyframe from 1st playhead to the 20th playhead.
Example:
In our Rocker layer or main layer I want you to copy all the keyframes that we have inserted from the 1st playhead to the 20th playhead.
Hold shift then select the 1st playhead to the 20th playhead and press right click and select copy frames.
Go back to your New layer that we have inserted then press right click on our 21th playhead and select paste frames.
After that you should be able to have two rocket animations and that’s how you manipulate frames.
Example:




(HIT ENTER TO TEST)