Referenced images crashing device, not simulator
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Referenced images crashing device, not simulator
Hello, everyone.
I have posted this on the developer's list, but thought I would field it here, as well.
I am encountering issues with using referenced images in a stack.
I have used this method before (LC 4.6.4?), but am having issues loading referenced images with LC 5.5.
There is a sample stack link below, if anyone can verify.
Many thanks!
:Todd
File available at: https://files.me.com/ctflatt/6a79dt
I have posted this on the developer's list, but thought I would field it here, as well.
I am encountering issues with using referenced images in a stack.
I have used this method before (LC 4.6.4?), but am having issues loading referenced images with LC 5.5.
There is a sample stack link below, if anyone can verify.
Many thanks!
:Todd
File available at: https://files.me.com/ctflatt/6a79dt
Re: Referenced images crashing device, not simulator
Todd..
this works...
be well
Dixie
this works...
Code: Select all
set the filename of image "image" to specialFolderPath("engine") & slash & "links" & slash & "images" & slash & "13848-1.jpg"
Dixie
Re: Referenced images crashing device, not simulator
Hi Todd,
yep, as Dixie says
And putting "binfile:" into the filename is not the best idea
Best
Klaus
yep, as Dixie says

And putting "binfile:" into the filename is not the best idea

Best
Klaus
Re: Referenced images crashing device, not simulator
Thanks all!
I love chalking those up to human error!
When should "binfile:" or "file:" be specified?
I love chalking those up to human error!
When should "binfile:" or "file:" be specified?
Re: Referenced images crashing device, not simulator
Hi Todd,
Text files = file
All other (binary) files = binfile
Example:
...
put url("file:test.TXT") into fld 1
...
put url("binfile" & specialfolderpath("desktop") & "/my_image.jpg") into image 2
...
Best
Klaus
when you are dealing with FILES!ctflatt wrote:When should "binfile:" or "file:" be specified?
Text files = file
All other (binary) files = binfile
Example:
...
put url("file:test.TXT") into fld 1
...
put url("binfile" & specialfolderpath("desktop") & "/my_image.jpg") into image 2
...
Best
Klaus
Re: Referenced images crashing device, not simulator
Thanks, Klaus.
I thought I was dealing with files...
Setting the filename of an image to a file seems like dealing with files to me?
I was working with images, and chose the "binfile:" type correctly.
I guess you mean the distinction may be when you're loading the contents of a file for manipulation.
Thanks, again.
I really do appreciate it.
:Todd
ps... it's been awhile since I've posted... I missed everyone
I thought I was dealing with files...
Setting the filename of an image to a file seems like dealing with files to me?
I was working with images, and chose the "binfile:" type correctly.
I guess you mean the distinction may be when you're loading the contents of a file for manipulation.
Thanks, again.
I really do appreciate it.
:Todd
ps... it's been awhile since I've posted... I missed everyone

Re: Referenced images crashing device, not simulator
Hi Todd,
well, although "the filename" of an image IS of course a file, "the filename" is officially a PROPERTY of an image
Best
Klaus
well, although "the filename" of an image IS of course a file, "the filename" is officially a PROPERTY of an image

Best
Klaus