this is simple and it should work

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
adventuresofgreg
Posts: 349
Joined: Tue Oct 28, 2008 1:23 am
Contact:

this is simple and it should work

Post by adventuresofgreg » Mon Jan 22, 2024 9:19 pm

Hey: I cannot figure out why this isn't working, as I work with images all of the time. I'm using LC v 5.5.1 for performance reasons. I'm just setting the filename of an imported image to a URL. It works if the URL is a local file, but when it's a http:// image, all I get is a GREY box. I've done this millions of times both in this version and new versions of LC and this is driving me crazy..

put "http://www.time-machine.com/pbaytargets ... 244940.jpg" into SourceFile
set the filename of image "imageA" to SourceFile

note: I removed "http:" because LC 5 doesn't work with secure URL's, but confirmed that the http: does load up into a browser.

Any ideas?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: this is simple and it should work

Post by FourthWorld » Mon Jan 22, 2024 9:47 pm

Works here in 9.6.10.

If staying with such an old version for performance reasons, maybe we can more easily optimize those core routines than to find workarounds for nearly two decades of bug fixes.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Talking LiveCode”