Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Triggering animation using mic?

$
0
0

Hello people,

I am currently working on an interactive art piece that will be displayed on a tablet(ipad preferably) using the device mic to trigger my work to move(animate). A simple actionscript in Flash(below) has seemed to work for what i want to do.

So my question: Is this interaction possible in Adobe Edge, and if so, can anyone refer me to a script similar to the one below that would work from within Adobe Edge.

 

m = Microphone.get();

attachAudio(m);

m.setUseEchoSuppression(false);

m.onActivity = function(active) {

if (active) {

  gotoAndPlay(17);

}

}

 

Thx much

Brad


Viewing all articles
Browse latest Browse all 9897

Trending Articles