Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

flashÌØЧԭÀí£ºÂÝÐýЧ¹û £¨3£©

    ×î½ü¶Ô¸ßÊýÆðÁ˺ܴóµÄÐËȤ£¬ÌÍÇ®ÂòÁËÒ»±¾¸ßµÈÊýѧ¡£·¢ÏÖÀïÃæµÄÕæÊÇÒ»·Ý±¦Î×î½ü¿´ÁËÒ»¸öÈ˵IJ©¿Í¡£¹ØÓڸߵÈÊýѧµÄ֪ʶ£¬¶ÔÂÝÐýÏßµÄÐÎ̬ԭÀ´²»½ö½öÊÇÒ»ÖÖ¡£¹ýÈ¥³¢ÊÔÖÆ×÷µÄͼÐÎÒ²ÊÇÒ»Öֵķ½Ê½£¬ÏÖÔÚÌá¼°ÕâÖÖÂÝÐýÏß²»ÊÇΧÈÆ×ÅÔ²ÖùÐÎ×´Ðýת£¬¶øÊÇԲ׶¡£¶ÔÎÞ´í£¬Ô²×¶Ìå¡£ÓÖÊÇÈÃÈ˾õµÃ²»Ë¬µÄÊýѧ£¬²»¹ýϸÐÄ·¢¾õ£¬ÕâÖÖÐÎ̬¿´ÆðÀ´¸ü¼ÓÏñ×ÔÈ»½çµÄÁú¾í·ç¡£¿´ÆðÀ´£¬ºÜÃÀ¡£
ÎÒÃÇ֮ǰËù×öµÄ×ö·¨Î§ÈÆ×ÅÔ²ÖùµÄÐÎʽÐýת£¬Òò´ËÂÝÐýµã·Ö²¼¶¼ÊÇÂäÔÚÔ²µÄ¹ì¼£ÉÏ¡£¶øԲ׶µÄÂÝÐýÐÎʽ£¬Í¬ÑùÊÇÂäÔÚÔ²µÄ¹ì¼£ÉÏ£¬²»¹ýÕâ¸öÊÇÔ²ÊÇËæ×ÅËûµÄÔ²µÄ°ë¾¶±ä»¯¶ø±ä»¯¡£ ´ÓÕâÕÅͼ˵Ã÷£¬ÂÝÐýµãµÄ·Ö²¼»áËæן߶ȶøÊÕËõ¡£×îºóÂäÔÚ¶¥¶ËÉÏ¡£
ºÃ°É£¬ÄãÒ»¶¨ÊǸßÐËÀ´²»¼°³¢ÊÔдһÏÂÕâÖÖµÄʵÏÖ·½Ê½£¬¶øÏà¶ÔÉÏÒ»´ÎµÄ´úÂ룬½ö½ö¸Ä¶¯µÄµØ·½ºÜÉÙ¡£
¿´¿´ÏÂÃæµÄЧ¹ûÈçºÎ£º
image.x=Math.cos(anglePer*i)*(R-i*R/num);//¸Ä±ä°ë¾¶µÄ±ä»¯
image.z=Math.sin(anglePer*i)*(R-i*R/num);//¸Ä±ä°ë¾¶
¶øÎÒÃÇËùÐèÒª¸Ä±ä½ö½öÊÇËûÊǰ뾶¡£°ë¾¶Ç÷ÏòÓ¦¸ÃÊÇÏòԲ׶¶¥µã¼õÉÙ£¬ÏòËüµÄµ×Ôö¼Ó£¬Òò´ËʹÓÃÕâÖֵݼõµÄ·½Ê½½øÐÐÄ£Äâ³öÕâÖÖЧ¹û¡£
image.x=Math.cos(anglePer*i)*(i*R/num);//¸Ä±ä°ë¾¶µÄ±ä»¯
image.z=Math.sin(anglePer*i)*(i*R/num);//¸Ä±ä°ë¾¶
ÎÒÃǶ¨ÒåÒ»¸öR£¬×÷Ϊ°ë¾¶×÷ΪԲ׶ÌåµÄµ×Ô²¡£¶øÕâ¸öÊǹ̶¨µÄ´óСµÄ¡£Ëæ×ÅËû£¨i*R/num£©±äÁ¿±ä»¯£¬»áÇ÷ÏòÓÚR.½Ó½üR¡£»òÕߣ¨i*R/(num-1)£©
¶øÕâÖÖ·½Ê½Ò²»áÈÃЧ¹û·¢Éú¸Ä±ä£¬´ÓͼÖпÉÒÔ¿´³ö£¬ÂÝÐýµã·Ö²¼»áËæ×Ű뾶µÄÔö´ó¶øÀ©Õ¹·Ö²¼¡£
 package
{
import flash.display.MovieClip;
import flash.events.*;
import flash.geom.PerspectiveProjection;
import flash.geom.Matrix3D;
import flash.geom.Vector3D;
import flash.display.DisplayObject;
public class Main extends MovieClip
{
private var num:int=50;//Ò»¹²ÓжàÉÙ¸öÂÝÐýµã
private var numOfRotations:int=3;//ȦÊý
private var anglePer:Number = ((Math.PI*2) *numOfRotations) / num;
private var R:int=400;//°ë¾¶
private var h:int=0;//¸ß¶È
private var contain:MovieClip=new MovieClip();//ÈÝÆ÷
private var list:Array=new Array();
public function Main()
{
init();
creat3D();
}
private function init():void
{
root.transform.perspectiveProjection.fieldOfView=100;//³õʼ»¯Í¸ÊÓ


Ïà¹ØÎĵµ£º

ÿÌìѧһµãflash£¨66£© flashÖÐArrayÊý×éµÄɾ³ý

   ÏÖÔÚÊÇÍíÉϵÄ7µã£¬¶Ô×ŵçÄÔ£¬ÒÀ¾ÉµÄ´úÂ룬¿´ÁËһЩ±à³Ì£¬ÓкܶàºÜÓÐȤµÄÊÂÇé¡£°Ñ½ñÌì¼Ç¼µÄÊÂÇé¼Ç¼һÏ£¬¿´ÁËһЩ»æͼAPIµÄ×ö·¨£¬ÕæµÄÓеã±äµÃ·è¿ñÁË¡£½ñÌì¶ÔflashÊý×éµÄɾ³ý·¢ÏÖÓеãÒâ˼£¬Ô­±¾ÒÔΪ²ÉÓÃsplice ɾ³ýÊý×éÒ»¸öÊý×Ö¿ÉÒÔŪ³ö¸ö°ì·¨À´£¬½á¹û·¢ÏÖɾ³ý¶à¸öÖ¸¶¨Î»ÖÃÊý¾ÍÓöµ½Ò»Ð©ÎÊÌ⣬¿ÉÄÜ»¹Ã»Óз¢ÏÖ¸ ......

FLASH°²È«É³Ïä·þÎñÆ÷¶Ë³ÌÐò´úÂë(¿çƽ̨,C++/JAVA)

Main.cpp  (Win/*nix)
#include "FlexSecurityBox.h"
int main(int argc, char ** argv) {

char * address;
short port;
if (argc == 2)
{
address = "0.0.0.0";
port = atoi(argv[1]);
} else if (argc == 3)
{
address = argv[1];
port = atoi(argv[2]);
} else
{
printf("Y ......

FlashÓëÊýѧ£ºÇòÌåÇúÃæ

   ¶ÔÊýѧÕâÒ»²¿·Ö£¬ÎÒÔ½À´Ô½Ï²»¶¹ØÓÚflash ºÍÊýѧµÄ½áºÏ¡£¸ßÖеÄÊýѧ£¬´óѧµÄÊýѧ¶¼ºÜÏëºÜÏë½Ó´¥£¬µ«ÊÇÓÉÓڸߵÈÊýѧ²¢Ã»Ñ§µÃºÜºÃ£¬ËùÒÔÕⲿ·ÖµÄ֪ʶȱÉÙÁË¡£½ñÌìÎÞÒâÖ®ÖУ¬¿´µ½ÇòÌåµÄ²ÎÊýµÄ·½³ÌµÄʱºò£¬ÈÃÎÒ ÐËȤ´óÔöÁË¡£×Ðϸ¹Û¿´ÄǸö²ÎÊý·½³Ì£¬Ô½·¢¾õËûµÄ÷ÈÁ¦¡£
ÇòÃæµÄ¹«Ê½£ºx*x+y*y+z*z=a*a£»
ËûµÄ²ÎÊý·½³ÌÊ ......

ROM¡¢RAM¡¢DRAM¡¢SRAM¡¢FLASHµÄÇø±ð?

ROM¡¢RAM¡¢DRAM¡¢SRAM¡¢FLASHµÄÇø±ð?
ROMºÍRAMÖ¸µÄ¶¼ÊÇ°ëµ¼Ìå´æ´¢Æ÷£¬ROMÊÇRead Only MemoryµÄËõд£¬RAMÊÇRandom Access MemoryµÄËõд¡£
ROMÔÚϵͳֹͣ¹©µçµÄʱºòÈÔÈ»¿ÉÒÔ±£³ÖÊý¾Ý£¬¶øRAMͨ³£¶¼ÊÇÔÚµôµçÖ®ºó¾Í¶ªÊ§Êý¾Ý£¬µäÐ͵ÄRAM¾ÍÊǼÆËã»úµÄÄÚ´æ¡£
RAMÓÐÁ½´óÀà:Ò»ÖÖ³ÆΪ¾²Ì¬RAM£¨Static RAM/SRAM£©£¬SRAMËٶȷdz£¿ì£¬ ......

flash¼òµ¥»­»­actionscript3.0

as3.0
../drawingapplication.fla
                     document classÉèÖÃΪch6.drawingApplication
../ch6/drawingApplication.as
package ch6 {
    import flash.display.Sprite;
 & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ