Copy image from browser to image on stack

William de Smet wdesmet at wanadoo.nl
Fri Dec 8 11:52:36 EST 2006


Ht there Klaus,

I checked the docs and I read your suggestion.
When I put this code into a button it crashes Rev on my Mac.
The docs say it only works with PNG images.
But I want to use GIF's and JPEG's as well!

It keeps crashing (on a PNG image) so I think this doesn't work.
Any suggestions, anyone?

William

2006/12/8, Klaus Major <klaus at major-k.de>:
> Dag William,
>
> > Hi there,
> >
> > Is there a simple way to copy an image from your browser to an
> > image on a stack?
> > For text I simply use:
> > put the clipboardData into field "tekst"
> >
> > I think I have to use clipboardData for an image as well but I
> > don't know how.
> > Who can help me with this?
>
> Try:
> ...
> put the clipboarddata["image"] into image "mooie beeldje"
> ...
>
> See the docs for more info about this syntax for "clipboarddata"
>
> > greetings,
> >
> > William de Smet
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>


-- 
ICT-coördinator
Herman Broerenschool
2612 SP Delft
015-2141066
http://www.hermanbroerenschool-delft.nl



More information about the use-livecode mailing list