Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sound: Need old method turning up to date to ActioScript 3.0 1

Status
Not open for further replies.

aph

Technical User
Jul 8, 2000
134
0
0
GB
Hi I used this method to allow playing of music in the back ground of a swf file.


So this worked

Sound on loadMovieNum("sound.swf" ,1);

Sound off on (press) {
unloadMovieNum (1);
}

I've tried this in ActionScript 3.0 (as the above no longer works).

Sound on MovieClip.loadMovieNum("sound.swf" ,1);

But with no luck? Any one could give me some help? These drop down menus get really confusing when trying to find something :-(

Cheers
 
Hi oldnewbie,
So I can just use

public function Loader("sound.swf");

so long as sound.swf is also ActionScript 3.0?
 
cheers for the information :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top