Continued......
3. Adding Action Script and Tweens
Now we are nearly finish the first page of our site. All we need to do is add our navigation. This is quite simple. If we repeat the same process as creating a text box and this time place this in the top right of the movie clip but leaving enough space to add other navigation buttons. We call this "Home" and then we convert this to a button when we right click and convert to symbol. We will call this button "btn_home". Double click on the "Home" symbol. You will notice that the layers look completely different and you have "Up","Down","Over","Hit".
This is because a button is not a animation. If you press "F6" or "Insert/Timeline/Keyframe" on "Over" and then change then copy and paste the "Up" text and paste this into the "Down" frame and change the colour and repeat this for "Over" and "Hit" but using different colours.
Then if you select the new button you have created and then go to the "Window/Actions" in the Actions window in line one and type the following:
on (release){
getURL("http://www.yourdomain.co.uk",_blank);
}
Then close the "Action" window and then run the movie. and click on the new button the website will open the website you entered
Copy the Home button and change them to your requirements.
We have nearly completed the basic site. We just need to publish the site.
To publish your site you need to go to "File/Publish settings". Once the window opens make sure the .SWF and HTML are ticked. Then click on the HTML tab. Click on the Publish button.


Your site now is ready to publish to your website.
When you FTP/upload your pages make sure you upload both the ".swf" and "html" file.
Your site now is ready to go!
