В архиве всего 2 файл NewTextEngine.as и скомпиленный swf
Там только импорты и статичная xml. И чего? А где сам этот мега-чудо новый класс
Код:
package {
import flash.display.MovieClip;
import flash.system.Capabilities;
import vellum_flash;
public class NewTextEngine extends MovieClip {
public var vellum_txt:vellum_flash;
public function NewTextEngine() { configUI(); }
protected function configUI():void {
if(Capabilities.os.slice(0, 7) == "Mac OS ") {
vellum_txt.xmlText =
<XFL xmlns:flow='http://vellum/prerelease'>
<flow:TextFlow columnCount='2'>
<flow:p fontFamily='Helvetica' fontSize='12' color='0xFFFFFF' marginLeft ="10" marginRight="10">
<flow:span>Layout and style text with tables, inline images and multi-column flow by using components that are compatible with both Flex and Flash while getting the benefits of the new text engine.</flow:span>
</flow:p>
<flow:p fontFamily='Helvetica' color='0xFFFFFF' fontSize='12' marginLeft ="10" marginRight="10" marginTop="12">
<flow:span>The text in these two columns is dynamic, selectable, and editable!</flow:span>
</flow:p>
</flow:TextFlow>
</XFL>
} else {
vellum_txt.xmlText =
<XFL xmlns:flow='http://vellum/prerelease'>
<flow:TextFlow columnCount='2'>
<flow:p fontFamily='Arial' fontSize='12' color='0xFFFFFF' marginLeft ="10" marginRight="10">
<flow:span>Layout and style text with tables, inline images and multi-column flow by using components that are compatible with both Flex and Flash while getting the benefits of the new text engine.</flow:span>
</flow:p>
<flow:p fontFamily='Arial' color='0xFFFFFF' fontSize='12' marginLeft ="10" marginRight="10" marginTop="12">
<flow:span>The text in these two columns is dynamic, selectable, and editable!</flow:span>
</flow:p>
</flow:TextFlow>
</XFL>
}
}
}
}
Собственно рендерит все это, как я понамаю vellum_txt, так вот я и хочу его глянуть.
Код:
vellum_txt.xmlText...
|