Bluepearl Design
Go Back   Bluepearl Design > Misc > Tutorials > Macromedia Flash

Creat A Simple Button

Flash is the industry's most advanced authoring environment for creating interactive websites, digital experiences and mobile content.
    

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 11-05-2006, 06:42 AM   #1 (permalink)
 
Title: Member
Join Date: Nov 2006
Posts: 1
Rep Power: 0 Error is on a distinguished road
Creat A Simple Button

First of all, In this tutorial you will learn how to make even the simplest of buttons and how to add actionscript to it so it can either play your movie,stop your movie or jump to a certain frame.

1. First open your flash program with any size stage you please.
1.1. Select the colours that you want for your button
2. Select either the circle tool or the square tool and drag that shape onto your stage.
2.1. If you have selected the square tool then before you draw your shape onto the stage double click the square tool icon and another box will appear.
2.2. If you enter a number into that box it will round the corner of the square, 100 being the most round,0 being no difference.
3. Highlight all you shape and right click it.
3.1. Click on convert to symbol and make it a movieclip,Make sure that it is centered.
3.2. Now click on you new movieclip and right click it.
3.3. Goto create a symbol again and this time make it a Buton also center it.
4. You know have a button, but it does nothing so you need to addscript. So once again right click your new button and goto action panel, You can also do this by clicking on the action panel window and then clicking the button.
5.Its time to add the script. now you can either type it up or by draggin it over from the menu on the left, For now i suggest to copy and paste the following scipts into the panel and click ok.


GotoandPlay-This will goto the the selected frame,Change the 2 to the Fame you want.

script: gotoAndPlay(2);

Stop-This will Stop the movie on the frame clicked.

Script: Stop()


If you have any problems then please PM me.


(Sorry for no images... My internet is playing up)
Error is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-05-2006, 09:42 AM   #2 (permalink)
 
Fragalot's Avatar
 
Title: Ipood
Join Date: Nov 2004
Location: belgium west-flandres
Age: 19
Posts: 4,442
Images: 1
Rep Power: 9 Fragalot is on a distinguished road
Send a message via ICQ to Fragalot Send a message via MSN to Fragalot Send a message via Yahoo to Fragalot
Re: Creat A Simple Button

thanks for adding

you can always put images on afterwards.
Fragalot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads for: Creat A Simple Button
Thread Thread Starter Forum Replies Last Post
Simple multipurpes template icer Downloads 28 12-13-2005 10:58 AM
Little button I made autumn whispers2me Graphics 27 06-17-2005 02:40 AM
button background in header Sean Darkness 4 05-11-2005 11:50 PM
button Taz Signatures 12 03-14-2004 10:08 PM
Button Magnus Graphics 2 03-10-2004 05:07 PM


  
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Bluepearl Templates

All times are GMT +11. The time now is 03:28 PM.

 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52