-
Can't access mic.activityLevel from inside movieclip - this is probably simple
Running actionscript inside frames rather than external .AS file.
When I try to access the microphone object (which can be accessed on the main timeline) from inside one of the movieclips, I get an "access undefined property mic" which is odd, even if I point back to the main timeline using root or parent.
I can access the mic.gain, mic.silenceLevel, etc, but only on the main timeline, no matter how I try to point to it.
What I am doing wrong in pointing to my microphone object?
works on main timeline:
if (mic.activityLevel > 0) {
this.play();
When inside a movieclip I get this error...
"1120: Access of undefined property mic."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|