<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- <!DOCTYPE Movie SYSTEM "dtd/RVML.dtd"> --> <Movie version='6' width='600' height='500' rate='12' backgroundColor='white' compressed='Yes' xmlns="http://www.kineticfusion.org/RVML/2.0"> <Title> Text Segments Example </Title> <Desc> Illustrate the options for creating static text symbols composed of text segments. The first line shows the automatic spacing and alignment options for text segments. The second shows a segment with all spacing and alignment explicitly specified. The overlapping text uses a segment with built in rotation superimposed with a Text symbol that is rotated on the main timeline. </Desc> <Repository repositoryType='File' repositoryBase='/temp' repositoryName='exampleResources'> <Font id='Arial' fontName='Arial' codeClass='Latin' resourceLocation='Arial.swf' fontRange='defined' /> </Repository> <Definitions> <Text id='text' bounds='auto'> <Segment text='This is a some text' fontID='Arial' fontSize='20.0' y='21.0' color='blue' advances='auto' /> <Segment text=' showing run on' advances='auto' /> <Segment text=' from previous segments' advances='auto' /> </Text> <Text id='text2' bounds='auto'> <Transform scaleX="2" scaleY="1" rotateX="45" rotateY="30"/> <Segment text='This is a some text' fontID='Arial' fontSize='20.0' y='21.0' color='blue' advances='auto' /> <Segment text='RotateX=45 rotateY=30' x="0" y="50" advances='auto' /> <Segment text='and scaleX=2 and y = 1.' x="0" y="80" advances='auto' /> </Text> <!-- this is what it would look like were all advances and bounds known in advance --> <Text id='text3' bounds='bounds(0.0, 3.0, 272.0, 84.25)'> <Transform scaleX='2' scaleY='1'/> <Segment text='This is a some text' fontID='Arial' fontSize='20.0' y='21.0' color='red' advances='(12.0, 11.0, 4.0, 10.0, 6.0, 4.0, 10.0, 6.0, 11.0, 6.0, 10.0, 11.0, 17.0, 11.0, 6.0, 6.0, 11.0, 10.0, 6.0)' /> <Segment text='RotateX=0 rotateY=0' x='0.0' y='50.0' advances='(14.0, 11.0, 6.0, 11.0, 6.0, 11.0, 13.0, 12.0, 11.0, 6.0, 7.0, 11.0, 6.0, 11.0, 6.0, 11.0, 13.0, 12.0, 11.0)' /> <Segment text='and scaleX=2 and y = 1.' x='0.0' y='80.0' advances='(11.0, 11.0, 11.0, 6.0, 10.0, 10.0, 11.0, 4.0, 11.0, 13.0, 12.0, 11.0, 6.0, 11.0, 11.0, 11.0, 6.0, 10.0, 6.0, 12.0, 6.0, 11.0, 6.0)' /> </Text> <Text id='text4' bounds='auto'> <Transform scaleX="2" scaleY="1"/> <Segment text='This is a some text' fontID='Arial' fontSize='20.0' y='21.0' color='red' advances='auto' /> <!-- Keep the text the same though transform is done in timeline now --> <Segment text='RotateX=45 rotateY=30' x="0" y="50" advances='auto' /> <Segment text='and scaleX=2 and y = 1.' x="0" y="80" advances='auto' /> </Text> </Definitions> <Timeline> <Frame frameNo='1'> <Place name='text' depth='2' x='20' y='100' /> <Place name='text2' depth='3' x="100" y='150' /> <Place name='text3' depth='4' x="100" y='150' /> <Place name='text4' depth='5'> <Transform translateX='102' translateY='152' rotateX="45" rotateY="30" /> </Place> </Frame> </Timeline> </Movie>