Load images at proportional size
Mark Schonewille
m.schonewille at economy-x-talk.com
Sun Jul 5 20:53:05 EDT 2009
Hi Josep,
My "idea" is what I posted a few minutes ago. Apart from that, if you
have any repeat loops or wait commands with messages running (or
waiting), this might also cause a crash if you drag from the desktop
at the same time. If you could avoid running repeat loops and wait
command simultaneously with dragging-and-dropping, you might
experience less crashes.
I suspect that Revolution doesn't respond correctly to a few requests
from the Finder, after which the operating system decides that
Revolution has crashed, but this is sheer speculation as I don't know
any technical details regarding this.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
Snapper Screen Recorder 2.1 http://snapper.economy-x-talk.com
If you sent me an e-mail before 21 June and haven't got a reply yet,
please send me a reminder.
On 6 jul 2009, at 02:40, Josep wrote:
>
> Hi Mark,
>
> Before test your new code I restart Rev and begin again checking all.
> If I drag from the website all is fine while (of course) the image
> have the
> correct path to get from the URL.
> Mant images are referenced by CSS or others and doesn't work, so I
> drag into
> the desktop. Until here all fine. In the desktop I can see the size
> of the
> draged image, open it, etc...
> But if try to drag these image from the desktop to the stack or open
> it via:
>
> on mouseUp
> answer file "Choose image file"
> put it into tfile
> put URL tfile into img img_card
> end mouseUp
>
> Doesn't work. The formattedWidth and formattedHeight are 0, so one
> divide by
> zero is raising and crash Rev.
>
> Any idea? :(
> --
> View this message in context: http://www.nabble.com/Load-images-at-proportional-size-tp24340945p24348270.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list