jalam
04-30-2004, 02:07 PM
I am trying to fade the text using the following
<canvas height="50" >
<view>
<text name="myText" bgcolor="#CCCCCC">The Invisible Man</text>
<simplelayout axis="y" spacing="10" />
<animate attribute="opacity" from="1" to="0" duration="1000"/>
</view>
</canvas>
The text does not fade and I get the following error
Compilation Warnings
test.lzx:6:67: element "animate" not allowed in this context. Check whether it is spelled correctly, and whether a class with this name exists.
test.lzx:6:67: found an unknown attribute named "attribute" on element "animate", check the spelling of this attribute name
test.lzx:6:67: found an unknown attribute named "from" on element "animate", check the spelling of this attribute name
test.lzx:6:67: found an unknown attribute named "to" on element "animate", check the spelling of this attribute name
test.lzx:6:67: found an unknown attribute named "duration" on element "animate", check the spelling of this attribute name
I am not sure what I am doing wrong. I really want to create a timeline where a sequence of the text appears for a short duration probably for few minutes and disppears synchronised with a set of sound files or may be just one long sound file.
Any help is highly appreciated.
Thanks
Javed
<canvas height="50" >
<view>
<text name="myText" bgcolor="#CCCCCC">The Invisible Man</text>
<simplelayout axis="y" spacing="10" />
<animate attribute="opacity" from="1" to="0" duration="1000"/>
</view>
</canvas>
The text does not fade and I get the following error
Compilation Warnings
test.lzx:6:67: element "animate" not allowed in this context. Check whether it is spelled correctly, and whether a class with this name exists.
test.lzx:6:67: found an unknown attribute named "attribute" on element "animate", check the spelling of this attribute name
test.lzx:6:67: found an unknown attribute named "from" on element "animate", check the spelling of this attribute name
test.lzx:6:67: found an unknown attribute named "to" on element "animate", check the spelling of this attribute name
test.lzx:6:67: found an unknown attribute named "duration" on element "animate", check the spelling of this attribute name
I am not sure what I am doing wrong. I really want to create a timeline where a sequence of the text appears for a short duration probably for few minutes and disppears synchronised with a set of sound files or may be just one long sound file.
Any help is highly appreciated.
Thanks
Javed