Simple Webcam Capture Demo for Flex
http://www.davidortinau.com/blog/simple_webcam_capture_demo_for_flex/
Build Your Own Video Recorder Using Flex
http://nehuln.blogspot.com/2009/12/adobe-flex-video-and-webcam-combo.html
February 25, 2011
Flex, Video & Audio Leave a comment
Simple Webcam Capture Demo for Flex
http://www.davidortinau.com/blog/simple_webcam_capture_demo_for_flex/
Build Your Own Video Recorder Using Flex
http://nehuln.blogspot.com/2009/12/adobe-flex-video-and-webcam-combo.html
November 11, 2010
September 14, 2010
August 19, 2010
August 4, 2010
August 4, 2010
July 22, 2010
June 11, 2010
Flex, JavaScript Leave a comment
From Enterprise Development with Flex by Yakov Fain, Anatole Tartakovsky, Victor Rasputnis
Flex can communicate with JavaScript using an ActionScript class called ExternalInterface. This class allows you to map ActionScript and JavaScript functions and invoke these functions either from ActionScript or from JavaScript. The use of the class ExternalInterface requires coding in both languages.
For example, to allow JavaScript’s function jsIsCalling() to invoke a function asToCall(), you write in ActionScript:
ExternalInterface.addCallback("jsIsCalling", asToCall);
Then, you use the ID of the embedded .swf (e.g., mySwfId set in the HTML object) followed by a JavaScript call like this:
if(navigator.appName.indexOf("Microsoft") != -1){
window["mySwfId"].asToCall();
} else {
document.getElementById("mySwfId").asToCall();
}