|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I suppose this is an easy one:
I have a layer (layer1) with an animation that loops (frame 10 -> frame5), and another layer (layer2) that has a keyframe on 5 where a sound file starts to play. Now, the sound file loops together with the animation, but I want it to continue playing without looping. How can I do that? I want to add more layers that aren't looping... Thanks! Pieter |
|
#2
|
|||
|
|||
|
Dear Pieter
I guess you have solved your trouble, but if for some reason you still need help you can try this: 1. Open your movie, then choose Import from File menu and select your audio file in the dialog box 2. Open the library with CTRL+L. Right click the imported audio file (i.e. beethoven.mp3) then choose Symbol Linkage. A dialog will appear. 3. Into the Identifier textbox put a simple name for the object (i.e. BEETH) , then check the option "Export for Actionscript" (Flash 6) or 'Export this symbol' (Flash 5). Press OK. 4. Go over the first frame of a new layer in the timeline. Enter its own actionscript clicking the right button and choosing Actions. 5. Paste there the following stuff: mySound = new Sound(this); mySound.attachSound("BEETH"); mySound.start(0, 99); 6. Play the movie and hear the sound :-) I know, it's a bit tricky but works fine anyway. Greetings Jap |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > background sound |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|