<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>text appearence of RR 2.0
scripts</title></head><body>
<div>Hi Tuviah</div>
<div><br></div>
<div><font face="Courier" size="+3" color="#000000">The workaround
is:<br>
<br>
on mousedown<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set the
dragdata[&quot;text&quot;] to base64encode(the text of me)<br>
--base64encode binary data as text<br>
end mousedown<br>
<br>
target image:<br>
<br>
on dragenter</font></div>
<div><font face="Courier" size="+3"
color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if
&quot;text&quot; is among the items of the keys(the dragdata) then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp; set the acceptdrops to true<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end if<br>
end dragenter<br>
<br>
on dragdrop<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if &quot;text&quot;
is among the items of the keys(the dragdata) then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp; put base64decode(the
dragdata[&quot;image&quot;]) into me<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end if<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pass dragdrop<br>
end dragdrop</font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000">I work on Mac OS X
2.6 and Rev 2.0</font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000">I get a compile
error in the dragenter script :</font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000">if &quot;text&quot;
is among the items of the keys(the dragdata) then</font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000">and&nbsp;
&quot;the keys(the dragdata)&quot; is highlighted...</font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000"><br></font></div>
<div><font face="Courier" size="+3" color="#000000">what happens
????</font></div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div>Greetings.<br>
<br>
Yves COPPE<br>
<br>
Email : yvescoppe@skynet.be</div>
</body>
</html>