flash AS高手请帮帮忙

来源:百度知道 编辑:UC知道 时间:2024/05/25 10:09:55
function trim(strin)
{
var _l1;
var _l3;
_l1 = 0;
while (_l1 < strin.UL)
{
if (strin.UL(_l1) != NULL)
{
break;
} // end if
_l1++;
} // end while
if (_l1 == strin.UL)
{
return(NULL);
} // end if
_l3 = strin.UL - 1;
while (_l3 >= _l1)
{
if (strin.UL(_l3) != NULL)
{
break;
} // end if
_l3--;
} // end while
return(strin.UL(_l1, _l3 + 1));
} // End of the function
stop();
UL = UL(UL);
getURL(UL, NULL);

if (false)
{
} // end if
if (true)
{
} // end if

这段代码看不太懂 一个FLASH里面就只有这段代码。。汗~

trim(strin)这个函数是把字符串的空格去掉,
stop(); //停止
UL = UL(UL); //这个应该是从UL的影片中获取字符串
getURL(UL, NULL); //获取连接
好象就是这 要是有什么出入 你加我Q 我看吧372953807