|
-
SoundTransform with the upper case 'S' is the class.
With the 'new' keyword you create a new instance of the class that is assigned to the soundTransform property of the mediaplayer component.
The easiest way to use the GUI slider is like this
slider1.onScroll = function(){
mediaplayer1.soundTransform = new SoundTransform(this.scrollPosition / 100);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|