开发者

Passing the '&' symbol in a flashvar

We are struggling passing the '&' symbol to a swf through the flashvars.

Here's the scenario: we have a swf file that displays some text, the data comes from a web service in .net, and we don't have the code source of the swf file.

The tex开发者_JS百科t that needs to be displayed, in some cases, contains the symbol &. The problem with that symbol is that it's the separator for the parameters of the flashvar.

So, for example, if I need to display 'Dogs&Cats', the swf will only read 'Dogs' (and display 'Dogs'), thinking that 'Cats' is some other parameter of the flashvar.

Would any one know some way to tell the swf that this & symbol is not a separator but it's part of a parameter?

Thanks a lot :)

Regards,

BS_C3


& may need to be url encoded as &

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜