The Laszlo docs try to keep the platform (Flash) -specific stuff separate from the portable (cross-platform) pieces. We should have a platform-specific part of the docs, or at least a Wiki page for these things.
On 9/27/06, Pasqualino 'Titto' Assini <[EMAIL PROTECTED]> wrote: > Fantastic! That's exactly what I was after. > > I am surprised that it is not mentioned in the Laszlo documentation. > > Thank you so much, > > titto > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:laszlo-user- > > [EMAIL PROTECTED] On Behalf Of Not Zippy > > Sent: 27 September 2006 15:42 > > To: [email protected] > > Subject: Re: [Laszlo-user] linking from text to arbitrary operations (or > > <aonclick='' /> in laszlo> > > > > Hows this grab ya ? (I didnt know about this either but found it in > > the lzxdebug class... > > > > > > <canvas height="300" debug="true"> > > <script> > > function test() { > > Debug.write('Lets open that zippy window ') > > > > } > > </script> > > <text> > > And now <a href='asfunction:_root.test'>click here</a> to open that > > zippy window. > > </text> > > </canvas> > > > > Documentation for asfunction is at > > http://livedocs.macromedia.com/flash/8/main/00001719.html > > > > > > On 9/27/06, Pasqualino 'Titto' Assini <[EMAIL PROTECTED]> wrote: > > > Thanks for that but I was looking more at a way of specifying a link > > inside > > > a text, rather than having it to break down in <text/> elements. > > > > > > Something like: > > > > > > <text> > > > And now <a onclick='openWindow()'>click here</a> to open that zippy > > window. > > > </text> > > > > > > Is it at all possible? > > > > > > Or is it deemed unnecessary because you can get the same effect using > > > multiple <text/> elements? > > > > > > Thanks, > > > > > > titto > > > > > > > > > > -----Original Message----- > > > > From: Not Zippy [mailto:[EMAIL PROTECTED] > > > > Sent: 27 September 2006 14:48 > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: [Laszlo-user] linking from text to arbitrary operations > > (or > > > > <a onclick='' /> in laszlo> > > > > > > > > You mean like > > > > > > > > <text clickable="true" text="Click me" onclick="doSomething()"/> > > > > > > > > > > > > On 9/27/06, Pasqualino Assini <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > > > > > > > I am writing the Help for my Laszlo application and I would like to > > > > embed in > > > > > the text links to operations so that I could, for example, write > > "See > > > > the > > > > > Properties View" and when the user clicks on it the application > > would > > > > > display the correct view. > > > > > > > > > > > > > > > > > > > > Is it possible at all? > > > > > > > > > > > > > > > > > > > > In HTML you would write something like: > > > > > > > > > > > > > > > > > > > > <a onclick="do-whatever(..)" /> > > > > > > > > > > > > > > > > > > > > but Laszlo's <a/> seems only to support external hrefs. > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > > > > > titto > > > > > > > > > > _______________________________________________ > > > > > Laszlo-user mailing list > > > > > [email protected] > > > > > http://www.openlaszlo.org/mailman/listinfo/laszlo-user > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Laszlo-user mailing list > > [email protected] > > http://www.openlaszlo.org/mailman/listinfo/laszlo-user > > > _______________________________________________ > Laszlo-user mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-user > -- Henry Minsky Software Architect [EMAIL PROTECTED] _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
