Of course we have put the webcam out of the stage with:
video.x = -3000;
For the triggering and letting disappear the images we needed an extra timer in the webcam activity example:
import flash.display.Sprite;
import flash.events.TimerEvent;
import flash.utils.Timer;
var minuteTimer:Timer = new Timer(1000,1);
minuteTimer.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerComplete);
function onTimerComplete(event:TimerEvent):void
{
winkelWagenMovieClip1.removeChildAt(0);
}
//minuteTimer.stop(); //these last lines to be added in the webcamActivityHandler
// minuteTimer.start();
and here you can find this example Flash CS4:
http://www.contrechoc.com/flash/flash-fun.zip
If you have Flash CS3 just put the textfile of this text in a new flash movie, save in a folder and create in this same folder the folders sounds and the folder images. In these last folders you can put your sonds (.mp3 format) and images. Change the names of these sounds and images in the script...
http://www.contrechoc.com/flash/webcamActivity_CS3script.txt
flash movie and folders structure