owh! Movieclips can be easily controlled using Flash actionscript and the instance name of the Movieclip symbol is used to control it using Actionscript commands.
- Create a Movieclip (Refer the Flash Photo Masking tutorial for this example) with some animation and name the instance say, 'mask_mc'.
- Create a Button for Start and Stop action of the movieclip and name them as 'start_btn' and 'stop_btn' respectively.
- Write the following Actionscript code for the 2 Buttons as given below:
Start Button
on(press)
{
mask_mc.play();
}
Stop Button
on(press)
{
mask_mc.stop();
}
- Save your work and test the Movie (Ctrl + Enter). Thats it you have learnt how to control movieclips in Flash using Actionscript.
Related Posts :
McDonald’s Minion Toys Accused Of Cussing
Perhaps it’s because the characters the Minions toys are based on have always worked for bad guys, but the new Minions toys from McDonald… Read More...
1000 Musicians Play Foo Fighters’ ‘Learn To Fly’ at the Same Time
Some friendly YouTubers have translated David’s video into English: Hello Cesena, I’m David. I’m sorry, I don’t speak Italian… just a li… Read More...
University Of Michigan Campus Terrorized By A Wild Turkey
There’s a really wild turkey on the University of Michigan’s North campus. It’s busy ruffling its feathers at people, chasing after pedes… Read More...
Game Of Thrones Star Makes A Terrible, But Hilarious Joke, While Fans Rejoice In Talks Of Prequel
Although Game of Thrones was harsh this season with a number of shocking events, as one would expect from the popular show, one of the mo… Read More...
How to Easily Charge balance free Payoneer $300 $1000 per week
Many of us have signed up Payoneer many months but the balance is still 0, because do not know how to use it to find dollars, my own use Pa… Read More...