Continuous feedback buttons work on the same ActionScript logic looping principal as the draggable scroll feature. When a button is pressed, we want to set an ActionScript loop that doesn't stop updating information until the button is released. Like I said before I added Mick's double-click feature to this tutorial at the last second, so let's first examine what the code would look like WITHOUT the double-click actions:
The Object Actions displayed above were the only actions attached to the top scroll button before I decided to include Mick's jump double click jump feature. The difference between this code and the code attached to the bottom button is that the bottom button triggers its own logic loop, cfb_logic_down, not cfb_logic_up. Both buttons however trigger the logic loop we used for the drag scroll feature.
|» Level Intermediate|
Rating: 8 Votes: 94
|Me Like Flash 5. Flash 4 good. Flash 5 better.|
|Download the files used in this tutorial.|
|Download (229 kb)|
|More help? Search our boards for quick answers!|