-
2009-06-04
SWFKit UTF8支持 - [SWFKit]
function toUTF8(string)
{
var i;
var stream = new StringStream;
for (i = 0; i < string.length; i++)
{
var code = string.charCodeAt(i);
if (code < (1 << 7))
{
stream.put(code);
}... -
2009-06-03
使用Base64 给 SWFKit 传递ByteArray - [SWFKit]
AS端只需要上网找一个Base64的类,而SWFKit 则需要对应转换一下 SWFKit 代码如下
function Base64()
{
this.keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
function readByte(input)
{
&nbs...
共1页 1







