1.�������꡷������ͧ��� tools ���͡������ͤ����������ͧ��èҡ��� �������͡�� f8 ���͡�� movie clip �����ͧ͢ mc �ç name ��� fire 2.double click ��� mc �ҡ������� between �� ��������价�����10 �� f6 ����ҡ mc ���仴�ҹ���ͻ���ҳ 3.������ͧ���� + ��� action �������á�ͧ layer2 �ѧ��� i = 2; max = 20; setProperty ("/fire", _visible, false); x = getProperty("fire", _x); |
|
|
4.��� action script ������2 �ѧ��� if (Number(i)<=Number(max)) { duplicateMovieClip ("fire", "fire" add i, i); setProperty ("fire", _alpha, 100); setProperty ("fire" add i, _rotation, i*120); setProperty ("fire" add i, _rotation, i*60); i = Number(i)+1; } 5.��� action script ������2 �ѧ��� gotoAndPlay (2); 6.�� ctrl+enter |