By which I mean of course, hehe.
Gmail sent an empty message for some reason.
On 2/7/07, Jason Boyd <[EMAIL PROTECTED]> wrote:
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.f
Yeah, cool.
btw if you want one of these let me know... :p
http://www.futurlab.co.uk/tshirt.jpg
J
Jason Boyd wrote:
Well it appears this is the shortest way:
var chromaticNames =
['a','aS','b','c','cS','d','dS','e','f','fS','g','gS'];
var loadedSounds:Array = new Array();
for (var oct=1;
You need to use:
import flash.utils.*;
var myClass:* = getDefinitionByName("com.blah.blash." + noteName + "_" +
octave"); // or something very similar if that's not right...
Jason Boyd wrote:
WHew! Thanks, this relieves some worry. Now I have to figure out how
to dynamically name classes.
Well it appears this is the shortest way:
var chromaticNames = ['a','aS','b','c','cS','d','dS','e','f','fS','g','gS'];
var loadedSounds:Array = new Array();
for (var oct=1; oct<6; oct++) {
for (var n=0; nhttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Softwa
WHew! Thanks, this relieves some worry. Now I have to figure out how
to dynamically name classes...
I could do:
var a1 = new a1();
var aSharp1 = new aSharp1();
var b1 = new b1();
...
But would be nice to keep same looping logic I've been using with an
array of note names and looking up the sou
Hey,
Try giving your library sound a Class linkage name such as 'MySound',
and instantiating with:
var mySound:Sound = new MySound();
// the Sound object will bind to the audio clip in the library, so you
should be able to do:
mySound.play();
We had the same issue today...
J
P.S. thi
I didn't get any repsonses with my earlier post. Here's a shorter version.
Is anyone using embedded event sounds in ActionScript 3?
The published docs do not make clear how one is supposed to replace
attachSound(), as they only give a Flex example, which in itself is
screwy in that it requires a
8 matches
Mail list logo