Announcement: libXMLText
Monte Goulding
monte.goulding at senet.com.au
Fri Jun 21 20:04:01 EDT 2002
Hi Chipp
I'm not sure what you mean the library is on my website for download??????
www.sweattechnologies.com/rev/
Note to Yves (and others that have had a problem): The files are just native
rev files so if you get a screen full of script then just click the back
button and then use your browsers "save target as" function on the link.
Remember to save the libXMLtext.rev file to your components/save/userscripts
folder that the Script Library Installer created.
Aha! I just realised you meant how to use it. If you use my Script Library
plugin then you will be able to read the documentation stored in custom
properties of the stack for more info.
But here's a mouseUp handler just for a starter:
on mouseUp
set the XMLTree of fld 1 to true
set the XMLText of fld 1 to "<hello handlerName="params"
Icon="300">Hello<world>World!</world></hello>"
end mouseUp
Cheers
> Can you publish scripts for the XMLtree call? thx! (I know to use with
> 1.1.1b1)
> -Chipp
>
> > -----Original Message-----
> > From: use-revolution-admin at lists.runrev.com
> > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte
> > Goulding
> > Sent: Friday, June 21, 2002 3:54 AM
> > To: use-revolution at lists.runrev.com
> > Subject: RE: Announcement: libXMLText
> >
> >
> > Sorry, I forgot to give an example script ;-)
> >
> > Just create a new field and button on a stack and put in the
> button script
> > (watch out for wrapping):
> > on mouseUp
> > set the StyleXMLface of fld 1 "hello","Arial"
> > set the StyleXMLsize of fld 1 "hello",16
> > set the StyleXMLcolor of fld 1 "world","blue"
> > set the StyleXMLbgcolor of fld 1 "world","yellow"
> > set the XMLText of fld 1 to "<hello>Hello</hello> <world>World!"
> > end mouseUp
> >
> > There's other stuff but that'll get ya started ;-)
> >
> > Cheers
> >
> > Monte Goulding
> > B.App.Sc. (Hons.)
> >
> > Executive Director
> > Sweat Technologies
> >
> > email: monte at sweattechnologies.com
> > website: www.sweattechnologies.com
> > mobile: (+61) 0421 138 274
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list