Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
Now on to the buttons. To start, select the actions for the up button. Then type the code:
on (press) {
tellTarget(_root.scrollUP) {
play();
}
}
on (release) {
tellTarget(_root.scrollUP) {
stop();
}
}
For the down button, these are the actions:
on (press) {
tellTarget(_root.scrollDN) {
play();
}
}
on (release) {
tellTarget(_root.scrollDN) {
stop();
}
}
Explanation of Code
This code, for both of the buttons, basically calls the movie clips on the stage, by the names that you have given them, to play, and stop, on the commands of the user. When the user clicks on the button, the code tells whichever movie clip to begin to play. That is where the code for the scroll property is stored, making the text move.
Matt is just starting out in the internet world. He operates a website for his paintball team, and has plans to become a computer engineer in the future.