Calera..

Estou capturando a imagem a traves da camera do note... mas não estou
conseguindo obter qualidade... ajguem saberia me passar um exemplo.
Pois no SKYPE e no MSN a imagem da CAM fica muito boa. Mas no flash
player fica como se estivesse com baixa resolução.

OBS: Eu estou usando FLEX 4.

Grato pela atenção galera.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           minWidth="955" minHeight="600"
creationComplete="application1_creationCompleteHandler(event)">
        <fx:Script>
                <![CDATA[
                        import mx.events.FlexEvent;
                        import mx.utils.ObjectUtil;

                        protected function
application1_creationCompleteHandler(event:FlexEvent):void
                        {
                                // TODO Auto-generated method stub

                                var video:Video = new Video();
                                var camera:Camera = Camera.getCamera();
                                video.attachCamera(camera);
                                TADados.text = ObjectUtil.toString(camera);
                                VD.addChild(video);
                        }

                ]]>
        </fx:Script>
        <fx:Declarations>
                <!-- Place non-visual elements (e.g., services, value objects) 
here
-->
        </fx:Declarations>
        <s:VideoDisplay id="VD" >

        </s:VideoDisplay>
        <s:TextArea id="TADados">

        </s:TextArea>

</s:Application>

-- 
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para [email protected]
Para sair da lista, envie um email em branco para 
[email protected]
Mais opções estão disponíveis em http://groups.google.com/group/flexdev

Responder a