This is driving me absolutely nuts, hats off to the flash engineers who have outdone themselves.. with bitmap security. Not like any image can't be photoshop print screened right off the web and filtered in photoshop, some security risk, eh crap total crap I say.

1. Copying a bitmap from a loaded movieclip leaves me with a big friggin white box 2. Is it an error? did i code it wrong? Is it a security issue? we'll never know because as2.0 is so crappy it silently fails
        3.      Using a proxy server killed our apache server that sucks
        
I don't know if my testing this is working because all i know is that the bitmap data object is not null.
        

Has anybody created a loader class that successfully loads a bitmap into a movie clip and then returned the bitmap data object into a loaded swf from another server? I wish I could use AS3.0 to do this but I have to make this work on our old site temporarily. What's worse, is that this time investment could be spent making something in flash 9.


Attention Adobe:  I am about to quit my job and go deliver pizzas!

Thanks for nothing

        



On Mar 7, 2007, at 8:13 AM, Jobe Makar wrote:

Hi Patrick,

I'm interested to hear what others have to say about this as well. I too have encountered this. If you have the Flash 9 player installed (even though its a Flash 8 app) and you're using a crossdomain file, then it works. However, if you only use the Flash 8 player view this app then it fails.

I had an idea of something else to try, but I didn't attempt it. Here is the idea:
- put a tiny swf on that image server. tiny.swf
- load tiny.swf into app.swf
- tiny.swf does a security.allowDomain call to give its parent access

That alone might do the trick. If not, then take it a step further. Have tiny.swf give app.swf security access, then tiny.swf actually does the bitmap loading and passes the bitmap data to app.swf.

Stuff like this is a pain to test but I bet one of those will work. Please let me know if you try one and it works.

Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-341-8104
----- Original Message ----- From: "{reduxdj}" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 07, 2007 10:29 AM
Subject: [Flashcoders] Bitmaps and Security


Hello,

I have a small problem. We're using some bitmap functions inside flash that scale thumbnails so appear to be smoothed out instead of jagged edges. However, we're changing our back-end systems to be stateless and our flash files and our images will be on different servers. Of course, if you have had any dealings with cross domain image loading and bitmap processing, you probably know what i am up against (images appear white because of security restrictions when trying to apply bitmap processing)

Is it possible by a cross domain policy or other means to load the images from different servers where your flash swf files remain and then apply effects. I know it is possible with a php proxy, but that's computer processor expensive. Since our sub-domains are all the same, there should be a way to bypass this security.

Thanks for your time,
Patrick

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to