Flashadvisor logo
:: Desktop Shortcut
:: Flash Help
Advices from Experts

 Submit Here! · Link to Us · Newsletter · Tell a Friend ·

      Add Tutorial |

 

Advertise here


Create Speaking Characters for your website and Flash movies. 15 Day Free Trial






 

Google

Search WWW   
FlashAdvisor.com

 Home > Tutorials  > Beginners

Building Easy Text or Images Scrolling with Flash MX 2004

Author: Oleg Lazarenko | Email
Website : www.metamorphozis.com


Advertisement


16. Create the fifth blank keyframe in the "Down" frame. Add the action script code:

y = getProperty("_root.text.content", _y);
if (y<-1600) {
gotoAndPlay(4);
} else {
setProperty("_root.text.content", _y, y-6);
}




17. Create 6th blank keyframe in the "Down" layer. Add the action script code:

gotoAndPlay(5);




18. Click the "Scene 1" label to return to the root scene of your movie. Select the blank keyframe in the "Control" layer and drag the "control" movie to the working area from the "Library" panel. Set the "control" movie instance name to "control"(pic.2)


Pic.2



19. Convert the up arrow in the "Buttons" layer to the button symbol. Do not forget the set up the "Hit" area! Add the following action script code to the new button in the "Action" panel:

on (rollOver) {
tellTarget ("control") {
gotoAndPlay(2);
}
}
on (rollOut, dragOut) {
tellTarget ("control") {
gotoAndStop(1);
}
}




20. Convert the down arrow to the button symbol and add the action script code:

on (rollOver) {
tellTarget ("control") {
gotoAndPlay(5);
}
}
on (rollOut, dragOut) {
tellTarget ("control") {
gotoAndStop(4);
}
}




Download Source File

| 1 | 2 | 3 | 4 | 5 |

Rate This Tutorial :
We hope the information helped you. If you have any questions or comments, please don't hesitate to post them on the Forums section
Submit your Tutorial at Click Here
  

Home | About Us | Contact Us | Feedback | Advertise with us

Best viewed in 800x600 resolution with Internet Explorer.

Site Developed and Hosted by  ethicsolutions.com
All rights reserved with FlashAdvisor

Flash is a registered trademark of Adobe Systems, Inc.

26 users online