[flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-26 Thread bhaq1972
yeh sure. here you go.

http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmapdata_tricks_and

its a Flex2 example but still works with flex 3 /4



--- In flexcoders@yahoogroups.com, Nick Middleweek  wrote:
>
> Do you have a link to this blog though please? I'm still interested in
> reading through it...
> 
> I've just googled "Andrew Trice BitMapData blog getUIComponentBitmapData"
> but can't find what you've mentioned.
> 
> 
> Cheers,
> Nick
> 
> 
> 
> On 25 March 2010 10:43, bhaq1972  wrote:
> 
> >
> >
> > I think i'm barking up the wrong tree. I misread your question.
> >
> > thanks
> > Bod
> >
> >
>




Re: [flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-26 Thread Nick Middleweek
Do you have a link to this blog though please? I'm still interested in
reading through it...

I've just googled "Andrew Trice BitMapData blog getUIComponentBitmapData"
but can't find what you've mentioned.


Cheers,
Nick



On 25 March 2010 10:43, bhaq1972  wrote:

>
>
> I think i'm barking up the wrong tree. I misread your question.
>
> thanks
> Bod
>
>


[flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-25 Thread bhaq1972
I think i'm barking up the wrong tree. I misread your question. 

thanks
Bod

--- In flexcoders@yahoogroups.com, Nick Middleweek  wrote:
>
> Hi,
> 
> I think that is only for grabbing the bitmap of a Flex or Air app container.
> 
> I want the ability for the user to paste any image into the image container.
> I check out the blog just incase there is some other magic there...
> 
> 
> Cheers,
> Nick
> 
> 
> 
> On 25 March 2010 09:31, bhaq1972  wrote:
> 
> >
> >
> > > But, pressing Print Screen and then pasting it into an image container
> > would
> > > be much nicer and more consistant.
> >
> > Have you checked out Andrew Trice's BitMapData blog. Very clever stuff.
> > Just an idea. When someone presses the PrintScreen button, call
> > his function getUIComponentBitmapData() to copy your screen into an image
> > container.
> >
>




Re: [flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-25 Thread Nick Middleweek
Hi,

I think that is only for grabbing the bitmap of a Flex or Air app container.

I want the ability for the user to paste any image into the image container.
I check out the blog just incase there is some other magic there...


Cheers,
Nick



On 25 March 2010 09:31, bhaq1972  wrote:

>
>
> > But, pressing Print Screen and then pasting it into an image container
> would
> > be much nicer and more consistant.
>
> Have you checked out Andrew Trice's BitMapData blog. Very clever stuff.
> Just an idea. When someone presses the PrintScreen button, call
> his function getUIComponentBitmapData() to copy your screen into an image
> container.
>


[flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-25 Thread bhaq1972
> But, pressing Print Screen and then pasting it into an image container would
> be much nicer and more consistant.

Have you checked out Andrew Trice's BitMapData blog. Very clever stuff. 
Just an idea. When someone presses the PrintScreen button, call 
his function getUIComponentBitmapData() to copy your screen into an image 
container.




--- In flexcoders@yahoogroups.com, Nick Middleweek  wrote:
>
> Hi,
> 
> I really wanted the user to be able to just paste into Flex and then click
> send. It's for a tech support system and when ever there are screen errors,
> they get logged. At the moment they're either pasted in word and word is
> uploaded or those that know how, paste into MS Paint, save as a JPEG and
> upload that.
> 
> But, pressing Print Screen and then pasting it into an image container would
> be much nicer and more consistant.
> 
> 
> Thanks,
> Nick
> 
> 
> 
> On 24 March 2010 16:19, valdhor  wrote:
> 
> >
> >
> > I don't think so.
> >
> > Why not just ask them to open the file on their system and then you could
> > upload it to the server. I don't do this with images but I do with MS Excel
> > files. There are many Flex File Upload examples.
> >
> >
>




Re: [flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-24 Thread Nick Middleweek
Hi,

I really wanted the user to be able to just paste into Flex and then click
send. It's for a tech support system and when ever there are screen errors,
they get logged. At the moment they're either pasted in word and word is
uploaded or those that know how, paste into MS Paint, save as a JPEG and
upload that.

But, pressing Print Screen and then pasting it into an image container would
be much nicer and more consistant.


Thanks,
Nick



On 24 March 2010 16:19, valdhor  wrote:

>
>
> I don't think so.
>
> Why not just ask them to open the file on their system and then you could
> upload it to the server. I don't do this with images but I do with MS Excel
> files. There are many Flex File Upload examples.
>
>


[flexcoders] Re: Pasting an image into an image or bitmap container?

2010-03-24 Thread valdhor
I don't think so.

Why not just ask them to open the file on their system and then you could 
upload it to the server. I don't do this with images but I do with MS Excel 
files. There are many Flex File Upload examples.

--- In flexcoders@yahoogroups.com, Nick Middleweek  wrote:
>
> Hi,
> 
> Using Flex 3.x, I've done a bit of research and understand that through
> code, for security reasons I can't access the Clipboard - makes perfect
> sense.
> 
> Is there though, a way to allow the user to manually paste an bitmap into an
> on screen Object so that I can access it as a bitmap or something, which I
> can send to the server and save as an image, server side?
> 
> 
> Thanks,
> Nick
>