>>>>> "ZY" == Zhen Yin <[EMAIL PROTECTED]> writes:

ZY> On Thu, 13 Feb 2003, Thomas E Deweese wrote:
>>  Hi Zhen,
>> 
>> >>>>> "ZY" == Zhen Yin <[EMAIL PROTECTED]> writes:
>> 
ZY> I am dealing with some simple graphics, for example, three lines
ZY> saved in a svg file.
>>
ZY> My objective is to display these three lines sequentially instead
ZY> of displaying all of them at once.
>>  What is the trigger for going from one line to the next?  Time,
>> key click, mouse click...

ZY> Currently, the trigger is the time, i.e, lines will be displayed
ZY> as the sequence they were drawn.

ZY> However, my final objective will support several methods to replay
ZY> how the lines are drawn. Both key click and mouse selection are
ZY> acceptable input.

    Ok, all this is fairly simple to handle in JavaScript (technically
EcmaScript).

>>  It sounds to me like you don't need to mess with the Source very
>> much, you can probably do this easily with JavaScript in the SVG.
>> 
ZY> Any simple example available showing the JAVA Script in side SVG?

    Take a look at everything in:
         xml-batik/samples/tests/spec/scripting.

    In particular look at: 
       visibility.svg, removeOnClick.svg, xAnimOnClick.svg

    These are all fairly simple tests of script manipulation in Batik.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to