I am facing an issue implementing two different sizes to user default camera. What I need is two camera instance on the canvas with different size.
var cam:Camera = Camera.getCamera()
and then later in application on some click,
var cam2:Camera = Camera.getCamera()
cam2.setMode(800, 600, 15);
How can I do that.. before both camera is showing one size.. the cam instance increase its size when cam2.setMode is called.
Any help would be great. let me know if you have any confusion or question about this.
Because Camera class is a Singleton, your var cam has the same reference as
I know this dear, thats why looking for the right solution, what if we need to defined two different size to camera like one for streaming (small size) and big size for snapshot.
Looking forward for the solution.
Any body, who can suggest a better plan. ....