As part of a mini task in our Studio Module, we was assigned a one hour lesson time to create a very short and simple animation within Flash. Here is what I came away with:
http://www.swfcabin.com/open/1288903088
(may take a few moments to load)
As you can see the use of Buttons, Movie Clips, Outer Glow Filters, Audio, Tweening and simple Action Script such as gotoAndStop(); have been used.
Here is an example of the Action Script I used:
(click to enlarge)
Thursday, 4 November 2010
Tuesday, 2 November 2010
Fishy Fish.
Here as an update from my 3D Design Module.
As you can see we have covered Unwrap UVW and UV mapping to add a realistic appearance.
And below is an alternate model of a Goldfish.
Flash Homework
For homework this week in our Studio 1 module, I was assigned to create a tutorial and create a very simple Flash based animation on a record player. It must include showing our knowledge of how to work with Buttons, Movie Clips and some basic ActionScript.
Again I am very new to Flash ActionScript, so I did pick up many new skills along the way, such as the very simple way fo making Buttons. Luckily Flash has a feature where you only have to tell it 3 main stages of the button. One is when the button is "Up" and not in use, one is "Over" when a user hovers over the button with a cursor, and the last is "Down" which is for when the user clicks the button. Altering the image in any of these will tell the button how to react. For example you have the option to add sounds when in "Down" properties inspector, which will cause the button to play a sound or music when clicked. You can also slightly alter the position of the button in the Down state, to replicate an appearance of the button being pressed as it will jump back to its "Up" state (before it was clicked).
There is some very simple ActionScript involed, but it is simply copied from the tutorial, and I do not fully understand how it works as of yet, so this is something I must look into in my free time.
Here is the ActionScript I used to make the buttons directly effect when the Vinyl will start and stop rotating:
As you can see I simply changed where the scripts say "Play" to "Stop", and applied "Stop_btn" instead of the original "Play_btn". This is telling Flash which asset to "Speak" to in the scene, in order to give different commands to different objects.
And by clicking on the below link you can see the outcome of my homework task:
http://www.swfcabin.com/open/1288718681
(May require a few moments to load)
By pressing the two bottom left buttons, you can start and stop the music and record. Of course the problem is the music simply resets back to the beginning when stopped. To get around this invovles much more complex ActionScripting which is too much for me to understand at the moment, but I look forward to getting familiar with it in future and one day knowing exactly how it can be done. Just like any other programming language, ActionScripting is my weakest skill and is something I must definitely work on to progress well on my course.
Again I am very new to Flash ActionScript, so I did pick up many new skills along the way, such as the very simple way fo making Buttons. Luckily Flash has a feature where you only have to tell it 3 main stages of the button. One is when the button is "Up" and not in use, one is "Over" when a user hovers over the button with a cursor, and the last is "Down" which is for when the user clicks the button. Altering the image in any of these will tell the button how to react. For example you have the option to add sounds when in "Down" properties inspector, which will cause the button to play a sound or music when clicked. You can also slightly alter the position of the button in the Down state, to replicate an appearance of the button being pressed as it will jump back to its "Up" state (before it was clicked).
There is some very simple ActionScript involed, but it is simply copied from the tutorial, and I do not fully understand how it works as of yet, so this is something I must look into in my free time.
Here is the ActionScript I used to make the buttons directly effect when the Vinyl will start and stop rotating:
(Click to Enlarge)
As you can see I simply changed where the scripts say "Play" to "Stop", and applied "Stop_btn" instead of the original "Play_btn". This is telling Flash which asset to "Speak" to in the scene, in order to give different commands to different objects.
And by clicking on the below link you can see the outcome of my homework task:
http://www.swfcabin.com/open/1288718681
(May require a few moments to load)
By pressing the two bottom left buttons, you can start and stop the music and record. Of course the problem is the music simply resets back to the beginning when stopped. To get around this invovles much more complex ActionScripting which is too much for me to understand at the moment, but I look forward to getting familiar with it in future and one day knowing exactly how it can be done. Just like any other programming language, ActionScripting is my weakest skill and is something I must definitely work on to progress well on my course.
Subscribe to:
Posts (Atom)