Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-09-2008, 01:14 PM   #1
jake2891
Registered User
 
Join Date: Jul 2008
Posts: 1
Default VideoDisplay control help

Hi Guys,

Im working on a video conferencing application and all seems to be going well except I have a start / stop camera button which calls the respective functions. When i click the stop camera and this call the stop camera function. I need my VideoDisplay control to clear and I just cant get this working. Any help will be greatly appreciated. Sample code below. I tried using the videoLocal.mx_internal::videoPlayer.clear(); but no luck. I have also used the imports below

import mx.core.mx_internal;
use namespace mx_internal;

<mx:VideoDisplay id="videoLocal" width="160" height="140"/>
<mx:Button id="bStopWebcam" label="Stop" click="stopCamera()" />

private function stopCamera():void
{
videoLocal.attachCamera(null);
videoLocal.mx_internal::videoPlayer.clear();

}
jake2891 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XMLList & searching tree control . . . webgyver Flex 2, 3 & 4 0 04-12-2008 07:31 PM
Wii - Mouse control and/or fake mouse control? pixielex ActionScript 3.0 4 03-31-2008 09:40 AM
adding a branch to drag and drop tree control vzwhaley Flex 2, 3 & 4 0 03-11-2008 02:42 PM
videoDisplay playing flv with sound but no picture... Tony_Almeida Flex 2, 3 & 4 0 06-18-2007 04:10 PM
how to avoid unwanted control points added to custom shapes? titooner Other Flash General Questions 0 12-10-2003 02:56 PM


All times are GMT. The time now is 08:16 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.