Category Archives: Adobe Flash
Addding Hyperlink to the MovieClip in Flash
Here is the AS3.0 Script code for adding hyper link to the movie clip in flash: import flash.display.MovieClip; import flash.events.MouseEvent; MySliderMc1.addEventListener(MouseEvent.CLICK, onClickHandler); MySliderMc1.buttonMode = true; MySliderMc1.useHandCursor = true; function onClickHandler(myEvent:MouseEvent) { navigateToURL(new URLRequest(“http://www.thomaswhite.com/”)); } Notes: 1) MySliderMc1 is the movie clip instance name 2) MySliderMc1 should be present from frame 0. Otherwise, 3) Write Action [...]
Flash: Fading In and Fading Out
Make sure that you already have Created Motion Tween for the Symbol that you want to have fade in and fade out effect. So, Select the key frame(along with symbol selected) where you want to start the fade in and go the properties window. In properties window, under COLOR EFFECT catergory, Set the Alpha from [...]