Results 1 to 2 of 2
  1. #1

    Member Since
    Jan 16, 2012
    Flash bitmap rendering problem in FireFox

    I've been working on a flash web application and ran into some problems with the Flash Player for Mac running in FireFox. Was wondering if anyone might help me with some suggestions on how to solve it.

    So I have a Sprite object in which I have 10 to 20 MovieClip children. Each child has other 2 to 6 MovieClip children and each child has set blending options (NORMAL, MULTIPLY or LIGHTEN), alpha (most of them are 1) and cacheAsBitmap = true.

    Then from this container I create a bitmap which I add to the stage. The result has some rendering bugs as you can see in the image

    This is the function I use to create the bitmap

    private function getBitmap(scale:Number = 0.2):Bitmap
    	var image:Bitmap;
    	var scaleMatrix:Matrix = new Matrix();
    	var transformMatrix:Matrix = new Matrix();
    	var _bounds:Rectangle = this.getBounds(this);
    	var bitmapData:BitmapData = new BitmapData(_bounds.width, _bounds.height, true, 0x00000000);
    	transformMatrix.translate( -_bounds.x, -_bounds.y);
    	scaleMatrix.scale(scale, scale);
    	bitmapData.draw(this, transformMatrix, null, null, null, true);
    	image = new Bitmap(bitmapData);
    	image.pixelSnapping = PixelSnapping.NEVER;
    	image.smoothing = true;
    	image.x = _bounds.x * scale;
    	image.y = _bounds.y * scale;
    	return image;
    I must mention that this happens only on Mac computers if ran in the latest FireFox and if the Flash Player was updated (older versions render it correctly).

    Any suggestions will be gratefully appreciated.
    Attached Images Attached Images

  2. #2

    Groovetube's Avatar
    Member Since
    Nov 15, 2011
    Retina MBP 2.7 768ssd/16gig ram /30" dell 3008. and bunch of other mac/apple stuff
    That's bizarre. I use the bitmap class for many projects but haven't seen this behaviour in firefox.

    edit: just noticed in this: new BitmapData(_bounds.width, _bounds.height, true, 0x00000000);

    the hex value has more 0s than I generally enter. Probably nothing (or something I don't know heh) but I just put: 0x000000

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Flash Player in Firefox Problem
    By movieman in forum OS X - Operating System
    Replies: 5
    Last Post: 06-13-2012, 11:12 PM
  2. network rendering problem
    By jones2000u in forum Internet, Networking, and Wireless
    Replies: 0
    Last Post: 10-15-2008, 07:34 AM
  3. Text rendering problem
    By Biofobico in forum Switcher Hangout
    Replies: 6
    Last Post: 06-24-2008, 12:53 AM
  4. Is there a Flash problem with Firefox?
    By kman79 in forum OS X - Apps and Games
    Replies: 1
    Last Post: 07-14-2007, 12:27 PM
  5. Firefox/Flash player problem...
    By smurfy in forum OS X - Apps and Games
    Replies: 0
    Last Post: 06-16-2007, 07:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts