[SOLVED] Image problems

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

redfield
Posts: 95
Joined: Thu Apr 04, 2019 1:41 pm

Re: Image problems

Post by redfield »

I just realized this, when reading through the "Images and Multimedia" lesson from http://www.hyperactivesw.com/revscriptc ... ences.html, as recommended by Klaus. Thanks for the confirmation of what I've just been reading :D !
SparkOut
Posts: 2989
Joined: Sun Sep 23, 2007 4:58 pm

Re: [SOLVED] Image problems

Post by SparkOut »

There is a script equivalent of import as control, as in my earlier post (#3 in this thread)

Code: Select all

import paint from file <theImageFilePath>
which creates the image object and returns the long id in the it variable, so you can then set the new image's name.
redfield
Posts: 95
Joined: Thu Apr 04, 2019 1:41 pm

Re: [SOLVED] Image problems

Post by redfield »

Okay thanks, will see if I'm able to use that.
SparkOut
Posts: 2989
Joined: Sun Sep 23, 2007 4:58 pm

Re: [SOLVED] Image problems

Post by SparkOut »

You don't have to! It's just that it was mentioned as an alternative image creation method, and the necessity for pre-existence of an image object was discussed. We're just trying to show you some features and expand your knowledge.
Post Reply