Re: [Flashcoders] Save MC as JPG
Sorry... I have it figured out now. Some of the clips I was given had their registration points at bottom left, instead of top left. Changing them all to top-left cured the issue. Funny how those little things can trip you up for a day! Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Save MC as JPG
Might it be this... public checkPolicyFile : Boolean Specifies whether Flash Player should attempt to download a cross-domain policy file from the loaded object's server before beginning to load the object itself. Set this flag to true when you are loading an image (JPG, GIF, or PNG) from outside the calling SWF file's own domain and you expect to access the content of that image using BitmapData.draw(). If you attempt this operation without having specified checkPolicyFile at loading time, you may encounter a security error because the needed policy file has not been downloaded yet. John - Original Message - From: "Dave Mennenoh" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Sunday, February 03, 2008 3:00 PM Subject: Re: [Flashcoders] Save MC as JPG > OK -it seems to be the BitmapData.draw() method that is failing. On just > certain images (though all are jpeg's imported into Flash and turned into > MC's) draw() is copying an all white image, and on some it works. It doesn't > seem to be a size issue since some rather large images are working. > > > Dave - > Head Developer > http://www.blurredistinction.com > Adobe Community Expert > http://www.adobe.com/communities/experts/ > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Save MC as JPG
Hi, are you loading all images from the same domain? greetz JC On Feb 3, 2008 4:00 PM, Dave Mennenoh <[EMAIL PROTECTED]> wrote: > OK -it seems to be the BitmapData.draw() method that is failing. On just > certain images (though all are jpeg's imported into Flash and turned into > MC's) draw() is copying an all white image, and on some it works. It > doesn't > seem to be a size issue since some rather large images are working. > > > Dave - > Head Developer > http://www.blurredistinction.com > Adobe Community Expert > http://www.adobe.com/communities/experts/ > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Save MC as JPG
Has the frame definitely loaded when you read the pixel? Have you some code to give us a clue? John - Original Message - From: "Dave Mennenoh" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Sunday, February 03, 2008 2:24 PM Subject: Re: [Flashcoders] Save MC as JPG Nobody? I am still not figuring this out. Using getPixel() on certain clips is returning #FF when it's cleary not a white pixel. But it makes no sense. On one clip it works, on another it doesn't. Both are just movie clips containing imported bitmap images. I've searched for problems with getPixel() but haven't found anything regarding returning white when it shouldn't. This is frustrating. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Save MC as JPG
Hi, can u put a test online? With fla that is. greetz JC On Feb 3, 2008 3:24 PM, Dave Mennenoh <[EMAIL PROTECTED]> wrote: > Nobody? > I am still not figuring this out. Using getPixel() on certain clips is > returning #FF when it's cleary not a white pixel. But it makes no > sense. > On one clip it works, on another it doesn't. Both are just movie clips > containing imported bitmap images. I've searched for problems with > getPixel() but haven't found anything regarding returning white when it > shouldn't. This is frustrating. > > Dave - > Head Developer > http://www.blurredistinction.com > Adobe Community Expert > http://www.adobe.com/communities/experts/ > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Save MC as JPG
OK -it seems to be the BitmapData.draw() method that is failing. On just certain images (though all are jpeg's imported into Flash and turned into MC's) draw() is copying an all white image, and on some it works. It doesn't seem to be a size issue since some rather large images are working. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Save MC as JPG
Nobody? I am still not figuring this out. Using getPixel() on certain clips is returning #FF when it's cleary not a white pixel. But it makes no sense. On one clip it works, on another it doesn't. Both are just movie clips containing imported bitmap images. I've searched for problems with getPixel() but haven't found anything regarding returning white when it shouldn't. This is frustrating. Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Save MC as JPG
Does this make sense to anyone - I have a jpeg outputter working for the most part. However, I just swapped out my test clip, for a different image and it seems any other image (MC) I try to use just shows up as solid white - with the correct dimensions though. I tried a couple different ones same thing... drop back in my original test and it works. Anyone seen something like this? Dave - Head Developer http://www.blurredistinction.com Adobe Community Expert http://www.adobe.com/communities/experts/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders