Embedded graphics in stack?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Embedded graphics in stack?
If I want to send someone a stack that i am programing... do I have to include all the separate image files or are these already embedded into the stack ones it is imported?
Thanks for the help!
Thanks for the help!
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Embedded graphics in stack?
All objects are embedded in a stack. Only external files and other gadgetry not part of the stack file itself are, er, not part of the stack file.
I think I have this right. But it is simple to try it. Er, try it.
Craig Newman
I think I have this right. But it is simple to try it. Er, try it.
Craig Newman
Re: Embedded graphics in stack?
Its a good idea to create an extra card in your stack that is used only for imported images, think of it as a library card.
This makes it very easy to see at a glance images you are using, and if working in a team easy for others to contribute an image without having it imported to a displayed section of your stacks gui.
This makes it very easy to see at a glance images you are using, and if working in a team easy for others to contribute an image without having it imported to a displayed section of your stacks gui.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search
Re: Embedded graphics in stack?
Hi Xacto,
if you have used menu: File -> Import As Control -> Image file (or whatever)
then the graphics (or whatever) are embedded in the stack!
Best
Klaus
if you have used menu: File -> Import As Control -> Image file (or whatever)
then the graphics (or whatever) are embedded in the stack!
Best
Klaus
Re: Embedded graphics in stack?
What is the difference from Import As Control and New Reference Control?
Both still embedded files?
Both still embedded files?
Re: Embedded graphics in stack?
Hi Xacto,
"Import as Control" will embed a copy of the file in the stack.
"New referenced control" will only save the reference = PATHNAME to the external file and
cannot display the graphic if you remove the external file or do not add it as external file
to your standalone!
Hope that clarifies things.
Best
Klaus
Nope!Xacto wrote:What is the difference from Import As Control and New Reference Control?
Both still embedded files?
"Import as Control" will embed a copy of the file in the stack.
"New referenced control" will only save the reference = PATHNAME to the external file and
cannot display the graphic if you remove the external file or do not add it as external file
to your standalone!
Hope that clarifies things.
Best
Klaus
Re: Embedded graphics in stack?
Ah... ok make total sense. So, is there a way to convert a "reference control" to just a control or do I have to delete and re-import?
Thanks everyone for all the help!
Thanks everyone for all the help!
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Embedded graphics in stack?
You do not need to delete the reference, but if you actually import the image, you probably will no longer have any use for it. These are two different, mainly mutually exclusive ways of doing this sort of thing.
Craig
Craig