Flash Track controller
Flash Track controller
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- spiralstarez0
Totally simple...
There are many ways to accomplish this but just store it in a variable...
So something like this would go on the track buttons:
on (release) {
_path.variableName = this._name;
}you give each of the buttons for each of the songs each a different instanceName and then when it is clicked the variable becomes the instanceName of button 1,2, or 3 depending on which is clicked.
Then later in your timeline you just call the variable with whatever command to get it playing:
play(_path.variableName);
Then if you don't want to put the tracks in a movieclip you can just use the linkage properties from the library