-
Sound Objects
The sound element property, position, can be used to get the position of the track or song playing. But how would I set the position of the song/track? Would I just set this property to something or what? How can I accomplish this? It's been done before in flash, can 3dfa just not do it or something?
Thanks for reading my post. All help is appreciated.
-
Well, it should be this easy:
element(music).start(wanted_position_in_seconds);
But at least in my case it starts it in preview always from 0, no matter what and music.position just shows random number from about 0-9999 ?!?!
Then in Flash player music.position seem to work ok but I cant get my Button to work to test music.start(123),.. wtf..
edit; It works ok in flash player when using button to call function to set things happen:
function setMusicPosition(n){
music.stop();
music.start(n);
}
Last edited by Finjogi; 01-05-2007 at 06:50 AM.
-
Thanks man. The position property works fine for me.
Good luck with the button thing though. I'm new
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
|