Jobe:
Great, this is helpful. I'll make sure the crossdomain policy is in
effect. Also, since it's just image smoothing I am doing and not any
bitmap effects. I can turn off the smoothing for flashplayers <9.
I'll try the other solution actually.. if I shove off all loading to the
tiny.swf passing a bitmap object from a child swf should be possible?
Thanks,
patrick
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