# BitmapData Stuff Doesn't Work When Uploaded

**URL:** <https://forum.kirupa.com/t/bitmapdata-stuff-doesnt-work-when-uploaded/231253>\
**Category:** flash\
**Created:** [July 3, 2007, 8:13am UTC](https://forum.kirupa.com/t/bitmapdata-stuff-doesnt-work-when-uploaded/231253 "2007-07-03T08:13:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TastyLamp](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@TastyLamp](https://forum.kirupa.com/u/TastyLamp)\
**Post date:** [July 3, 2007, 8:13am UTC](https://forum.kirupa.com/t/bitmapdata-stuff-doesnt-work-when-uploaded/231253/1 "2007-07-03T08:13:54Z")

</div>

This is a pretty weird problem that I’ve been having with a Flash game I’m making.

For some of the menus and stuff, I have it grayscale the screen with BitmapData.draw and ColorTransform. It works perfectly when played through Flash and Flash Player, and even when played locally through a browser.

However when I upload it to a server and try and play it online, the BitmapData stuff apparently clunks out. It displays a white screen, suggesting that BitmapData.draw isn’t working for some reason.

As it only doesn’t work when on a server, you’d think it was some form of security violation. But I cannot think of anything that would cause this to breach Flash’s security. I’m only drawing the \_root of the movie clip, nothing located on another domain.

Even weirder, the exact same code worked a while ago when uploaded. It only stopped working a short time ago after I was adding some menus and such - and as much as I’ve been trying to pinpoint it to an exact moment in time when it stopped working, I can’t.

It’s really starting to get to me. Has anyone ever experienced a similar problem? Or more importantly, does anyone know how to fix such a problem?
