anygo / onyx-vj

Automatically exported from code.google.com/p/onyx-vj
1 stars 0 forks source link

drag and drop of capture card fails #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start onyx
2. select cameras as source
3. drag and drop hauppage pvr to one of the slots

What is the expected output? What do you see instead?
I would expect to get real time video.
I get an error:
ArgumentError: Error #1063: Argument count mismatch on
onyx.content::ContentCamera$iinit(). Expected 4, got 3.
    at onyx.layer::Layer/::_onContentStatus()
    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
    at flash.events::EventDispatcher/dispatchEvent()
    at onyx.content::ContentLoader/::_dispatchContent()
    at onyx.content::ContentLoader/load()
    at onyx.layer::Layer/load()
    at ui.layer::UILayer/load()
    at ui.window::Browser/::_onDragDrop()
    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
    at flash.events::EventDispatcher/dispatchEvent()
    at ui.core::DragManager$/::_onObjectUp()

What version of the product are you using? On what operating system?
Onyx 3.0.25, on  WinXP sp2, flash player 9 

Please provide any additional information below.
Same happens with a Creative WebCAM
ArgumentError: Error #1063: Argument count mismatch on
onyx.content::ContentCamera$iinit(). Expected 4, got 3.
    at onyx.layer::Layer/::_onContentStatus()
    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
    at flash.events::EventDispatcher/dispatchEvent()
    at onyx.content::ContentLoader/::_dispatchContent()
    at onyx.content::ContentLoader/load()
    at onyx.layer::Layer/load()
    at ui.layer::UILayer/load()
    at ui.window::Browser/::_onDragDrop()
    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
    at flash.events::EventDispatcher/dispatchEvent()
    at ui.core::DragManager$/::_onObjectUp()

I'm an onyx newbie, don't know much about actionscript and am marvelled by
the design and look&feel of your software.

Original issue reported on code.google.com by smac...@gmail.com on 29 Apr 2007 at 12:02

GoogleCodeExporter commented 9 years ago
I don't get it... sorry.

On layer.as:
// create the new content object based on the type              
var loadedContent:Content = new contentEvent.contentType(this, 
contentEvent.path,
contentEvent.reference);

On Content.as:
/**
*   @constructor
*/      
public function Content(layer:Layer, path:String, content:IBitmapDrawable):void 
{

and 

ContentCamera.as
public function ContentCamera(layer:Layer, path:String, camera:Camera):void {

which all seem fine...

Where does the 4 args needed  in the error comes from?
Does Camera support the IBitmapDrawable interface?
Thanks

Original comment by smac...@gmail.com on 29 Apr 2007 at 12:34

GoogleCodeExporter commented 9 years ago
will be fixed in 3.0.3

Original comment by soul...@gmail.com on 29 Apr 2007 at 9:00