Henry Minsky wrote:
Max,
How would I implement the following behavior; I have a movieclip which I
want to "speak" some text when I move the mouse over it. I need to put
this on "movieclip" rather than
on LzView, because I'm implementing the "alt" text feature for the <img>
tag inside of htmlText of a TextField (in an LzText view). I have
access to the actual MovieClip object that is being displayed, and I
tried adding a _accProps object to it, but it
doesn't seem to speak when I move the mouse over it.
For that matter, if I have an LzView that has an image resource, how do
I attach alternate text to it? I tried some variants of this as:
<view id="foo"
resource="horse2"
aadescription="nice horsey"
aaname="pretty horsey"
width="200" height="140" bgcolor="yellow"/>
but it never gets read by the screen reader program when I mouse over
it. Is there
something explicit I need to do?
You need to call LzBrowser.updateAccessibility() to refresh the
metadata. This is best done after a delay, as seen in the test case.
-Max
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev