PDA

View Full Version : attachSound and preloaders - another solution


Billy T
03-02-2003, 05:26 AM
ok I'm sure most of you are aware of the round about ways of getting your preloaders to work with movies that have attached sounds (ie load the sound movies into another level and target that with your preloader)

well here's another round about solution :D

make a normal preloader on frame 1

in your library set your sound to export for actionscript BUT turn off export in first frame

in frame 2 of your movie drag the sound on to a frame - this will initialise it (for lack of a better word). Edit the sound (click on edit in the property inspector) and set its volume to 0 and its length to very short

that's it! now you can use the sound with an attachSound or whatever and your preloader won't be stuffed up

most of you are probably going "well duh!" right now but anyway...

you can download an example here - http://www.tableau.com.au/tutorials/no_export_in_first_frame2.f.zip

cheers

farafiro
03-02-2003, 07:34 AM
thx for sharing mate

spazmaster
03-04-2003, 08:38 AM
cheers! - uhm your link doesnt work

Billy T
03-04-2003, 08:46 AM
no prob

btw the link is now - http://www.tableau.com.au/tutorials/attachMovie_preloader/no_export_in_first_frame2.f.zip