Flash ÓëÊýѧ£ºÐÇÐÎÏß
½ñÍíÎÒÃÇÀ´ÍæÍæÕâÖÖÏß»æÖÆ£¬ÐÇÐÎÏß¡£ ÔÚ´óѧµÄÀïÃæ½âÎö¼¸ºÎµ±ÖУ¬°ÑÕâÖÖÇúÏß½Ð×öËļâµãÐÇÐÎÏß¡£ÓÉÓÚËüµÄÐÎ×´ÈçÐÇÐÇ ³ÆÉÏÕâ¸öÃû³ÆÒ²²»ÎÞµÀÀí£¬¿´µ½ÕâÖÖÏßµÄʱºò£¬ÄãÊÇ·ñ»áÐí¸öÔ¸ÍûÄØ£¿Ò»ÆðÀ´°É
ÐÇÐÎÏß¹«Ê½£º
x=a*cos3A
y=a*sin3A
¹«Ê½ºÜ¼òµ¥£¬AµÄ½Ç¶È¿ÉÒÔÊÇÕýÎÞÇî ºÍ¸ºÎÞÇîÖ®¼ä£¬£¨a¿ÉÒÔÀí½âΪ°ë¾¶£© µ«ÊÇÎÒµÄ×ö·¨£¬Àí½âËûΪ0-360ÒѾ×ã¹»ÁË¡£Ò²¾ÍÊÇ˵ËûÐýתһȦ¡£Í¨¹ý»æÖÆÕâÌõÏߣ¬Í¬ÑùÎÒÃǼÓÈëһЩÏߵĶ¯»£¬ÕâÑù×öµÄºÃ´¦ÊÇÔö¼ÓһЩ¶¯¸ÐÐÔ¡£
³ÌÐòµÄ˼·ºÜ¼òµ¥,ÎÒÃǾͰ´ËûµÄÌṩµÄ¹«Ê½Éè¼ÆÒ»¸ö»æͼ³ÌÐò£¬Ëü»á°´Ë³Ê±ÕëÀ´½øÐлæÖÆ£¬ÕâÊÇÒòΪflash µÄ×ø±êϵºÍÎÒÃÇ´«Í³µÄÊýѧ×ø±êϵÓÐÇø±ð£¬Ë³Ê±ÕëËùת»»µÄ½Ç¶ÈÊÇÕýµÄ£¬¶ø´«Í³µÄÔòÊǸºµÄ¡£¿ÉÒÔÈ¥Á˽âһЩÕâÁ½ÖÖ×ø±êϵÇø±ð¡£
ÎÒÃÇʹÓÃÃèµãµÄ·½Ê½À´½øÐлæÖÆÏߣ¬ÊÇÔÚflash ÀïÃæÒ»¸öºÜ³£ÓõÄÊÖ·¨¡£¶øÄã¿´µ½µÄͼÏñ£¬ÎÒÃÇ¿ÉÒÔ¼ÙÉèÈÏΪÊÇ360¶ÈÃèµãËùµÃµÄ½á¹û£¬ÓÐÐËȤ¿ÉÒÔ¼ÌÐøÉîÈë¡£
ÏÂÃæÊÇ´úÂ룺
package
{
//ÐÇÐÎÏ߶¯»
// x=a*cos3A
// y=a*sin3A
// дÓÚ2010Äê4ÔÂ11ÈÕ
import flash.display.Sprite;
import flash.events.*;
public class Main extends Sprite
{
private var pen:Sprite=new Sprite();
private var lineMc:Sprite=new Sprite();
private var angle:int=-1;//½Ç¶È
private var centerX:Number=stage.stageWidth/2;//ÖÐÐĵãxλÖÃ
private var centerY:Number=stage.stageHeight/2;//ÖÐÐĵãyλÖÃ
public function Main()
{
init();
}
private function init():void
{
addChild(pen);
addChild(lineMc);
//Ãè»æÊ®×Ö×ø±ê
pen.graphics.lineStyle(1);
pen.graphics.moveTo(centerX,centerY);
pen.graphics.lineTo(centerX,0);
pen.graphics.moveTo(centerX,centerY);
pen.graphics.lineTo(centerX*2,centerY);
pen.graphics.moveTo(centerX,centerY);
pen.graphics.lineTo(centerX,centerY*2);
pen.graphics.moveTo(centerX,centerY);
pen.graphics.lineTo(0,centerY);
addEventListener(Event.ENTER_FRAME,Run);
}
private function Run(event:Event):void
{
lineMc.graphics.clear();
if (angle==-1)
{
var px:Number=centerX+200*Math.pow(Math.cos(angl
Ïà¹ØÎĵµ£º
ROMÊÇRead Only MemoryµÄËõд¡£
RAMÊÇRandom Access MemoryµÄËõд¡£µäÐ͵ÄRAM¾ÍÊǼÆËã»úµÄÄÚ´æ¡£
RAMÓÐÁ½´óÀ࣬һÖÖ³ÆΪ¾²Ì¬RAM£¨Static RAM/SRAM£©£¬SRAMËٶȷdz£¿ì£¬ÊÇÄ¿Ç°¶Áд×î¿ìµÄ´æ´¢É豸ÁË£¬µ«ÊÇËüÒ²·Ç³£°º¹ó£¬ËùÒÔÖ»ÔÚÒªÇóºÜ¿Á¿ÌµÄµØ·½Ê¹Óã¬Æ©ÈçCPUµÄÒ»¼¶»º³å£¬¶þ¼¶»º³å¡£ÁíÒ»ÖÖ³ÆΪ¶¯Ì¬RAM£¨Dynamic RAM/DRAM£ ......
FlashÏîÄ¿¿ª·¢ÖжÔÃÀÊõËزĺͳÌÐòµÄ½áºÏʱһ¸ö½Ï·±ËöµÄÎÊÌâ¡£flaÖи÷Ôª¼þ¡¢¶ÔÏóµÄÃüÃû¡¢²ã´Î¡¢×ø±ê¶¼ÓнÏÑϸñµÄÒªÇó¡£Õâ¾ÍʹµÃÓкܶิÔÓ¡¢Öظ´ÐÔ¡¢·±ËöµÄ¹¤×÷£¬±ÈÈç˵ÉèÖÃÃû×Ö¡¢ÉèÖÃÀàÐÍ¡¢¸üÐÂÎļþµÈµÈ¡£
¶Ô½â¾öÕâ¸öÎÊÌ⣬Adobe¹Ù·½Ôç¾ÍÏëµ½Á˲¢ÇÒÌṩÁËÍêÕûµÄ½â¾ö·½°¸£¬ÄǾÍÊÇJSFL£¬flash jsµÄ½Å±¾ÓïÑÔ¡£¶ÔÕâ¸öÓïÑԵĽ ......
¹¤³§Ä£Ê½ÔÚÉè¼ÆģʽÖпÉÒÔ˵ÊÇ×î¼òµ¥µÄÒ»¸öģʽÁË£¡ÎÒÃÇƽ³£Ð´³ÌÐòµÄʱºò¹¤³§Ä£Ê½Óõķdz£µÄ¹ã·º!ÕâÀïÎÒÃǾÍÀ´ÏêϸµÄ̽ÌÖһϹ¤³§Ä£Ê½¡£
¹¤³§Ä£Ê½ÊÇÔõÑùµ®ÉúµÄÄØ£¿ÔÚʵ¼ÊµÄ±à³Ì¹ý³Ìµ±ÖÐÎÒÃǾ³£ÒªÅöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÀàµÄ·â×°£¬Ò²¿ÉÒÔ˵ÊÇÒþ²Ø²úÆ·À࣡ÕâÑùÎÒÃǾͳöÏÖÁ˹¤³§Ä£Ê½£¡Õâ¸öģʽ¾ÍÊÇרÃÅ ......
´Ó½ñÌìÆð,ÎÒÃÇÀ´Ñ§Ï°Ò»Ï Flash Media Server£¬¼ò³ÆFMS£¬´ÓÃû×ÖÉÏÎÒÃÇ¿ÉÒÔ¿´³öÕâÊÇÒ»¸öýÌå·þÎñÆ÷£¬ÆäËü¼òµ¥µãÀí½â¾ÍÊÇÒ»¸ö½»»¥·þÎñÆ÷£¬¶øÇÒ¿ÉÒÔʵÏÖýÌå·½ÃæµÄ½»»¥£¬ÎÒÃÇ¿ÉÒÔÀûÓÃËüÀ´Íê³ÉһЩÍøÂç°æµÄFLASH³ÌÐò£¬±ÈÈçÁÄÌìÊÒ£¬ÍøÂç°æµÄ²»ÊǺܸ´ÔÓµÄÓÎÏ·£¬µÈµÈ¡£
´ó¼Ò¿ÉÒÔµ½ÈçϵØÖ·ÏÂÔØ×îеÄ3.0°æ±¾:
http://w ......
³õѧÕß¹ØÓÚÕÚÕֵĻ°ÌâÎʵĽ϶࣬ÏÂÃæÎÒ½«ÕÚÕÖµÄһЩ³£¼ûÎÊÌâ½øÐÐһϹéÄÉ¡£
1¡¢ÇëÎÊÕÚÕÖµÄÔÀíÊÇʲô£¿
[Ч¹û]
1.swf (3.97 KB)
ÕÚÕÖ²ãºÃ±ÈºÚÒ¹ÖеÄÒ»Ö§ÊÖµçͲ£¬ÕÕÔÚÄĶù£¨Ö¸±»ÕÚÕֲ㣩ÄĶù¾ÍÏÔÏÖ¡£
µÚÒ»²½£º´´½¨Á½¸öͼ²ã£¬ÃüÃû£¬Ò»¸öÊÇÕÚÕֲ㣬һ¸öÊDZ»ÕÚÕֲ㣻
µÚ¶þ²½£ºÔÚ±»ÕÚÕÖ²ãͼ²ãÊäÈëÎÄ×Ö“ÉÁ°É£¬Î ......