Skip to main content
June 21, 2014
Question

help with a flash movie

  • June 21, 2014
  • 1 reply
  • 280 views

hello! I made a video flash to my site that I'm building with scenes and the scenes conected with actionscript2 how can it be with actionscript3 with buttons play, stop forwerd, back, and how can the noise of the sound not to be loud of all scene more or less (I did not put sound in every scene because it makes noise i want to put in every scene) what to do and is there a guide to know how you can put actionscript3 in sceness? thanks galia.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 21, 2014

you can use the adobe flash help files for as3 info, though the as2 and as3 goto methods are identical.

you should use the as3 sound class to control your sounds instead of adding sounds to frames.

June 21, 2014

hello! i don't learned how to put sound with as3 class i don't know how to use that and were is how to connect scenes with as3? thanks galia

kglad
Community Expert
Community Expert
June 22, 2014

for your sound, use,

var s:Sound = new YourSoundClass;  // assign a class to your sound symbol

var sc:SoundChannel=s.play();

var st:SoundTransform=sc.soundTransform;

st.volume=.5;

sc.soundTransform=st;

for your scene navigation, use:

this.gotoAndPlay("whateverframe","whateverscene");