May 25
on mouseUp me go to frame 20 Navigate(sprite 1,the moviePath&"html/profile.htm") end
go to frame 20 跳到第20帧
暂记录,详细语法回去资料再注释
学习参与网址:
http://www.4oa.com/Article/html/8/50/604/2005/29011.html
on mouseUp me go to frame 20 Navigate(sprite 1,the moviePath&"html/profile.htm") end
go to frame 20 跳到第20帧
暂记录,详细语法回去资料再注释
学习参与网址:
http://www.4oa.com/Article/html/8/50/604/2005/29011.html
ksort(): 函数按照键名对数组排序,为数组值保留原来的键。
krsort(): 函数将数组按照键逆向排序,为数组值保留原来的键。
asort() :函数对数组进行排序并保持索引关系。主要用于对那些单元顺序很重要的结合数组进行排序。
ksort(array,sorttype)
参数 | 描述 |
---|---|
array | 必需。规定要排序的数组 |
sorttype |
可选。规定如何排列数组的值。可能的值:
SORT_REGULAR - 默认。以它们原来的类型进行处理(不改变类型)。
SORT_NUMERIC - 把值作为数字来处理
SORT_STRING - 把值作为字符串来处理
SORT_LOCALE_STRING - 把值作为字符串来处理,基于本地设置*。
|
<?php
$my_array = array("a" => "Dog", "b" => "Cat", "c" => "Horse");
ksort($my_array);
print_r($my_array);
?>
Array ( [a] => Dog [b] => Cat [c] => Horse )
自动方法:打开 Eclipse的
Window -> Preferences -> PHP -> Editor->Templates->new;