Help with use of ACTION SCRIPT

Hi all…

I have this action script: www24.zippyshare.com/v/11580259/file.html

I need to use it in my FLA project… But i am new into FLASH and i dont know how to use this package… I create now project, get there this Ean2.as file, then Make FLA file and get into project too and mark FLA file as DEFAULT …

Then i put VIDEO from library and called it VIDEO and make instance of video in scene and called it VIDEO too… ( i can see in action script video.attachCamera(cam); so thats why i called it video )

I know OOP under PHPO and JAVASCRIPT … But this is something new for me… There is a package without name … I tried var videoobj = new ean2(); i tried ean2::ean2(); ean2.ean2(); … I still dont know how can i use this AS file in my project…

This AS is about to read EAN code from WEBCAM… And i need to make it work… So any ideas ??? Can someone try to use it and send me FLASH PROJECT or FLA file with working webcam ???

This script work that he read EAN code from WEBCAM, and then SWF file on web call JAVASCRIPT function… But i need to set this ACTION script to open WEBCAM in higher resolution, thats why i need to get this AS into any FLA and make it work…

ANY IDEA ??? I am out od ideas now… I tried whatever i was able to think about.