Air version: 3.1.0.4880
Descriptor XML contains:
<renderMode>direct</renderMode>
(in default place, within initialWindow block)
Compiler arguments: -locale en_US -swf-version=13
Video Card: nVidia GTX 560
Tried both in debugger and standalone with captive runtime. Nadda. (also tried installing via AIR which seams to use 3.3, still nothing)
Detection code is:
public function MainClass()
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
}
private function onAddedToStage(evt:Event) {
stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, onStageVideoReady);
removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
}
private function onStageVideoReady(evt:StageVideoAvailabilityEvent) :void{
trace(evt.availability); //<-- outputs "unavailable"
}
Any idea what I'm missing?!