ray at linkit.com
Fri Oct 1 11:52:24 EDT 2010
Ah - Very interesting regarding the defaultFolder. The defaultFolder when
I open LiveCode on my machine is:
I didn't realize I was doing anything with the defaultFolder when issuing
set the htmlText of fld 1 to myHtml
Should I set this beforehand to a known folder the user can write to?
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Andre Garzia
Sent: Friday, October 01, 2010 11:43 AM
To: How to use Revolution
Subject: Re: HTML Text
On Fri, Oct 1, 2010 at 12:34 PM, Jeff Massung <massung at gmail.com> wrote:
> On Fri, Oct 1, 2010 at 9:37 AM, Andre Garzia <andre at andregarzia.com>
> > Hello there Ray,
> > How do you set the image? Is it an ID reference like:
> > <image src="1091">
> Holy crap does that work? I was doing it the hard way. And don't ask
> me what that was, cause I'll feel really stupid if I post it. ;-)
Basically the src attribute of the img node is used as the value for the
imagesource property. The imagesource property can be a value like image ID,
image Name, image URL or empty.
If using an image URL which is what Ray is using, one thing to keep in mind
is the defaultfolder. He uses a relative folder in the assignment, if the
application run as an administrator or as a common user has a different
defaultfolder, then the relative path will break.
> Jeff M.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
http://www.andregarzia.com All We Do Is Code.
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
More information about the Use-livecode