Does flipping camera modes cause hair-loss & bugs ?


i'm having fun air camera support - fun until start flipping between front & cameras. goes poo in punnet. use cameras on init...

 

  (var i:uint = 0; < camera.names.length; ++i)

                                {

                                        var camtemp:camera = camera.getcamera(string(i));

                                        camlist.push(camtemp);

                                }

 

and based on mode want use attach them video..

 

vid.attachcamera(mymobilehelper.camlist[mymobilehelper.camint]);

 

 

so works fine first 2 times.

 

front camera - fine ! hits flip mode button...

back camera - fine ! hits flip mode...

nothing ! - hits flip mode...

back camera - fine ! .hits flip mode

nothing .....etc etc..

 

this continue 20 more cycles , reason front camera start working , 1 never comes back.  (if start camera rather front opposite happens btw)

 

any clues on folks ? i'm dead in water on it.



More discussions in AIR Development


adobe

Comments

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support