Re: [Flashcoders] flash.media.Camera.setMode Freeze SWF
Hi Luciano, It sets the pixel width, pixel height and framerate for the camera it's called on. ie. What the data is grabbed at. How you choose to preset it is something else. For example: var cam:Camera = Camera.get(); cam.setMode(320, 240, 20); But it's a bit more complicated than that because the camera generally has preset modes so Flash attempts to find the one closest to your request, giving preference to the framerate. Does it freeze your machine? What are your specs? Anthony ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flash.media.Camera.setMode Freeze SWF
Hey Luciano, Actually the .names only returns an array with cam's.. flash makes that array at the start of the swf. But like Anthony Lee said.. setMode is a method to give the preffered size and framerate you want to grab the video. Although the result might differ a bit because it will be compared with the native modes the cam offers. Only add is: When given another argument of true you will prefer searching the right size over framerate. For info check : http://www.flash-communications.net/technotes/setMode/index.html This shouldn't give any troubles.. you first have to do a Camera.get(); though... just for is the plug in question :-D Tested with different browsers, computers, cams? Best regards, Dennis Isioux - Original Message - From: l u c h y x [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com; red5@osflash.org Sent: Tuesday, March 13, 2007 8:08 PM Subject: [Flashcoders] flash.media.Camera.setMode Freeze SWF Hi list!. Does anybody here know why calling Camera.setMode freeze the movie ? I know that calling Camera.names will trigger a new scan for camera devices on the machine but what Camera.setMode really do ? Any idea to make this action run smoothly ??. Thank's -- Luciano Bustos - Luchyx r i a e v o l u t i o n (r) [EMAIL PROTECTED] http://www.riaevolution.com Phone: +54 (11) 4931-7006 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flash.media.Camera.setMode Freeze SWF
Hi guy's. I´m doing a component CameraDisplay. and other componente CameraSettings, wich enable you to change few settings of the camera. (in beta) With this component I test the capabilities and limitations of me webcam, and under the test process I noticed the freeze behavior. I know that change size and aspect ratio settings will force the camera to display in non-native size. But I just wondering if exist any technique to do it smoother Here is the component : http://www.riaevolution.com/development/red5samples/main.swf Feedback are welcome.! ;) Luciano Bustos - Luchyx r i a e v o l u t i o n (r) [EMAIL PROTECTED] http://www.riaevolution.com Phone: +54 (11) 4931-7006 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] flash.media.Camera.setMode Freeze SWF
Hi list!. Does anybody here know why calling Camera.setMode freeze the movie ? I know that calling Camera.names will trigger a new scan for camera devices on the machine but what Camera.setMode really do ? Any idea to make this action run smoothly ??. Thank's -- Luciano Bustos - Luchyx r i a e v o l u t i o n (r) [EMAIL PROTECTED] http://www.riaevolution.com Phone: +54 (11) 4931-7006 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com