Lingo to RevTalk - what is the on beginSprite equivalent

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dave_syntax
Posts: 4
Joined: Mon May 10, 2010 7:33 pm
Contact:

Lingo to RevTalk - what is the on beginSprite equivalent

Post by dave_syntax » Mon May 10, 2010 10:20 pm

Hi there,

I'm trying to switch from Director to RunRev, but have hit a newbie problem!

I have a text field called EULA, which has HTML text in it.
I right clicked the field, edited script and used:

set the displayedFormat of field "EULA" to "HTML"

This does nothing.
In Director I would have used something like:

on beginSprite
set the displayedFormat of field "EULA" to "HTML"
end

Can anyone tell me where I am going wrong and where I can get a list of all the handlers, on mouseUp, etc

Many thanks
Dave

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Lingo to RevTalk - what is the on beginSprite equivalent

Post by Mark » Mon May 10, 2010 10:50 pm

Hi Dave,

First, read the first part of the manual that is included with the RunRev download as a PDF. Then have a look at the dictionary (Help menu) and try to read as much as you can. For example, if you search for "html" you will find something useful.

You might also want to read about the preOpenCard, openCard, preOpenStack and openStack messages.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply