FlashÓëÊýѧ£ºÇòÌåÇúÃæ £¨2£©
²Î¿¼ÁËÒ»¸öÔ´Â룬´ó¸ÅÁ˽â3dÇòÌåµÄ×ö·¨£¬½èÓÃÁËÇòÌåÇúÃæµÄ²ÎÊý·½³Ìʽ£¬ÎÒÃÇ¿ÉÒÔ×ö³öÕâÖÖÇòÃæµÄͼƬ·Ö²¼Ð§¹û³öÀ´¡£Á˽âÕâÖÖÇòÃæ·Ö²¼Á˽⵽ÿһÕÅͼƬÇãбµÄ½Ç¶ÈÊǶàÉÙ¡£µ±³õ¿´µ½Õâ¸öÔ´Â룬ҲÈÃÈ˾õµÃÐË·Ü£¬ÒòΪËûµÄÔÀíÆäʵ²»ÄÑ¡£Á˽âÁËÊýѧģÐͱ³ºóµÄÒâÒåʱºò£¬´ó¸Å»áÃ÷°×µ½ÕâÖÖͼƬЧ¹ûÊÇÈçºÎÖÆ×÷¡£Ö÷ÒªÉæ¼°µ½½Ç¶ÈµÄ·Ö²¼£¬ºÍͼƬÊýÁ¿µÄ·Ö²¼¡£µ±ÖÐһЩÇÏÃÅÖ®´¦¶¼ÔÚ´¦ÀíͼƬ½Ç¶ÈÇãб£¬Ö»ÒªÖªµÀÔõÑùÇãб¡£´ó¸Å¾Í»áÃ÷°×¡£
ÏÂÃæÊÇһЩ¼ò»¯°æµÄÇåµ¥£¬³õ²½Äܹ»Ä£Äâ²»´íµÄ3DÇòЧ¹û¡£ÖÁÓÚÕâ¸öÇòÌåÓ¦ÓÃһЩÎÊÌ⣬»á¼ÌÐø¸ú×ÙÏÂÈ¥¡£
ÆäÖÐphoto ÊÇ¿âÁ´½Ó³öÀ´µÄÔª¼þ¡£Ö»ÊÇÒ»¸öͼƬ¡£
package
{
import flash.display.Sprite;
import flash.events.*;
import flash.geom.*;
import flash.display.DisplayObject;
public class Main extends Sprite
{
private var R:int=240;//ÇòÌå°ë¾¶
private var centerX:Number=stage.stageWidth/2;
private var centerY:Number=stage.stageHeight/2;
private var contain:Sprite=new Sprite();//´´½¨ÈÝÆ÷
private var angle:Number=30*Math.PI/180;
private var list:Array=new Array();
private var photoCount:Array=[1,6,10,12,10,6,1];//ͼƬÊýÄ¿
private var angleX:Array=[90,60,30,0,-30,-60,-90];//ÇãбµÄxÖµ
private var angleY:Array=[0,60,36,30,36,60,0];//ÇãбµÄyÖµ
private var speedx:Number=0;
private var speedy:Number=0;
public function Main()
{
addChild(contain);
contain.x=centerX;
contain.y=centerY;
contain.z=300;
createSphere();//´´½¨ÇòÌå·Ö²¼
addEventListener(Event.ENTER_FRAME,Run);
stage.addEventListener(MouseEvent.MOUSE_MOVE,onMove);
}
private function createSphere():void
{
for (var i:int=0; i<7; i++)
{
for (var j:int=0; j<photoCount[i]; j++)
{
var ball:Photo=new Photo();
contain.addChild(ball);
list.push(ball);
ball.x=R*Math.sin(i*angle)*Math.cos(j*angleY[i]*Math.PI/180);//ÇòÌ幫ʽ±íÏÖ
ball.z=R*Math.sin(i*angle)*Math.sin(j*angleY[i]*Math.PI/180);
ball.y=R*Math.cos(i*angle);
ball.rotationX= angleX[i];//Æ«ÒƽǶȼÆËã
Ïà¹ØÎĵµ£º
Õ⼸Ì죬¶¼ÔÚÎÞËùÊÂÊ£¬Î¨Ò»¼ÄÍоÍÊÇÔÚÕâÀï¼Ç¼һÏÂ×Ô¼ºÑо¿³öÀ´µÄ¶«Î÷¡£³ÃÏÖÔÚÓеãʱ¼ä£¬¾Í°Ñ×î½ü¿´¹ýµÄÒ»ÖÖ³£ÓõÄflashÌØЧ¼Ç¼һÏ£¬flash ×öÌØЧ²»ÊÇΪ×öÌØЧ¶ø×ö£¬ÔÚmake thing move ÊéÀï½²ÁËÐí¶àµÄÊýѧºÍÎïÀíÔÀí£¬Í¨¹ýÕâЩÔÀí£¬ÎÒ·¢ÏÖ×öÌØЧ¾ÍÐèÒª¶®ÔÀí¡£¶®ÁËÕâЩÔÀíºó£¬ÌØЧ¾Í»á±äµÃÇáËÉÈÝÒס£
ÏÖ ......
֮ǰÔÚWindowsÏÂÓùýFirefoxµÄ64λ°æ±¾£Shiretoko£¬µ«ÊÇÓÉÓÚ64λµÄflash player pluginÒ»Ö±°²×°²»ÉÏ£¬µ¼ÖºܶàÓ¦Óö¼Óò»ÁË£¬¾Ý˵¿ÉÒÔʹÓÃNSPlugin Wrapper°üºÍ32λµÄÀà¿âÀ´Ê¹ÓÃ32λµÄflash player£¬ÎÒûÓг¢ÊÔ¡£×î½ü°²×°ÁË64λµÄGentoo£¬operaºÍshiretoko»¹ÊÇÎÞ·¨×Ô¶¯°²×°64λµÄflash player plugin¡£ ......
×î½ü¶Ô¸ßÊýÆðÁ˺ܴóµÄÐËȤ£¬ÌÍÇ®ÂòÁËÒ»±¾¸ßµÈÊýѧ¡£·¢ÏÖÀïÃæµÄÕæÊÇÒ»·Ý±¦Î×î½ü¿´ÁËÒ»¸öÈ˵IJ©¿Í¡£¹ØÓڸߵÈÊýѧµÄ֪ʶ£¬¶ÔÂÝÐýÏßµÄÐÎ̬ÔÀ´²»½ö½öÊÇÒ»ÖÖ¡£¹ýÈ¥³¢ÊÔÖÆ×÷µÄͼÐÎÒ²ÊÇÒ»Öֵķ½Ê½£¬ÏÖÔÚÌá¼°ÕâÖÖÂÝÐýÏß²»ÊÇΧÈÆ×ÅÔ²ÖùÐÎ×´Ðýת£¬¶øÊÇԲ׶¡£¶ÔÎÞ´í£¬Ô²×¶Ìå¡£ÓÖÊÇÈÃÈ˾õµÃ²»Ë¬µÄÊýѧ£¬²»¹ýϸÐÄ· ......
×òÌì¿´ÁËIBMÍøÕ¾ÉÏдµ½rcpÖÐÔËÐÐopen flash chart¾õµÃ²»´í×Ô¼º¾ÍÊÔ×ÅдÁËһϡ£
package com.chart.test;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.ole.win32.OLE;
import org.eclipse.swt.ole.win32.OleAutomation; ......
ÔÚÕâÀïÏÂÔØÒ»¸ö64λϵͳÏ嵀 flash ²å¼þ
http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz
½âѹ ££tar -xzf libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz
¿½±´libfla ......