2 Replies Latest reply: Mar 14, 2012 9:06 AM by kglad RSS

    1 code.. 1 flash... 2 browsers WOOOOOT?

    DanelKirch Community Member

      How the heck is this even possible... ????

       

      1 flash web application... works like a dream in chrome:

      scale2.png

       

      but in Safari... Firefox.... (maybe IE as well)  is messed up....

       

      scale1.png

       

      The code is the exakt same.. . no if-cases doing anything "special"

       

       

       

      camera = Camera.getCamera();
                  camera.setQuality(0,100);
                                    camera.setMode(620,346,30);
                                    camera.addEventListener(StatusEvent.STATUS, statusHandler);
                                    camera.addEventListener(ActivityEvent.ACTIVITY, activity, false,0,true);
                                    if (camera != null) {
                      
                      video = new Video();
                                              video.width = 620;
                                              video.height = 346;
                                              video.y = 0;
        
        
                      video.attachCamera(camera);
                                              videoHolder.scaleX = mirror ? -1 : 1;
                                              videoHolder.x = mirror ? stage.stageWidth : 0;
                                              imageHolder.scaleX = mirror ? -1 : 1;
                                              imageHolder.x = mirror ? stage.stageWidth : 0;
                      videoHolder.addChild(video);
        
                  }
      
      

       

       

      Its not the flash that i scaled since buttons and texts ( not visible in images ) are normal.

      When using MonsterDebugger. im able to see width and height and scales and everything is as supposed on both browsers...

       

      Anyone with ANY idea ???