Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 4th, 2012  |  syntax: None  |  size: 0.38 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. referencing existing sound objects on the timeline via actionscript 3
  2. var m:MovieClip = stage.getChildByName("SomeMovieClipClass");
  3. var n:MovieClip = stage.getChildByIndex(1);
  4.        
  5. var s:SoundClip1 = new SoundClip1(); // exported in first frame via properties
  6. s.play();
  7.        
  8. // Imaginary Code
  9. sc = timeline.getSoundClipByName("SoundClip1");
  10. sc.extract(waveform,sc.length/1000 * bitrate);