开发者

Flash reading only certain XML Characters

开发者 https://www.devze.com 2023-02-24 03:49 出处:网络
I have a dynamic textbox in flash called vt. It has attached to it the following in a class file: vt.text = xml.video.@vt[cv];

I have a dynamic textbox in flash called vt. It has attached to it the following in a class file:

vt.text = xml.video.@vt[cv];

and pulls the information from an XML File:

<?xml version="1.0" encoding="utf-8"?>
<playlist>
    <video src='vi开发者_如何学JAVAdeos/video1.flv' vt='abcdefghijklmnopqrstuvwxyz'/>
</playlist>

Now for some reason only the letters a d g i l n o will actually display when tested with all the alphabet above. Any ideas why on earth this odd thing is happening?

UPDATE: Solved - Just needed to change the textbox AA to Use Device Fonts :) (New user cant answer my own question)

Mark


Imho, you don't need to apply [cv] to attribute. If it is video index, you need to apply it to video tag: xml.video[cv].@vt

0

精彩评论

暂无评论...
验证码 换一张
取 消