Online Success Secrets for Webmasters

Freebies Small Business & Marketing Blog Weekly Newsletter Advertising for all Budgets


 
Mom Tycoons Index > Tutorials > Flash Tutorials

Building Easy Text or Images Scrolling with Flash MX 2004 - Part 2

7. Select the "Mask and Content" layer and with the "Rectangle Tool" draw a white rectangle within the black shape. Convert shape into the movie.
Screenshot

8. Type in the movie instance name to "text"
Screenshot

9. Above the "Buttons" layer create a new blank layer, call it "Control".
Screenshot

10. Press "Ctrl+F8" to create a new symbol. Call it "control". You will see the blank screen appear but do not worry. We will need this movie to hold an action script coding which will be used to calculate up and down the movement of our text layer.
Screenshot

11. Now create 2 blank layers in the "control" movie. Call them "Up" and "Down".
Screenshot

12. Create 3 blank keyframes in the "Up" layer. Add the following action script code to the first frame of the "Up" layer:
stop();
Screenshot

13. Select the second frame and add action script code:
y = getProperty("_root.text.content", _y);
if (y>100) {
gotoAndStop(1);
} else {
setProperty("_root.text.content", _y, y+6);
}
Screenshot

14. Select the third frame and add the action script code:
gotoAndPlay(2);

15. Select the fourth frame of the "Down" layer and create a blank keyframe. Add the following action script code:
stop();
Screenshot

>> Continued on Next Page
 

 


About Us | Contact Us | Advertise With Us | Links

All Rights Reserved © Mom Tycoons Policies | Disclaimer