⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 morph.cgi

📁 flash swf file player
💻 CGI
字号:
#!/usr/bin/perluse strict;use SWF qw(:ALL);SWF::setScale(1.0);print "Content-type: application/x-shockwave-flash\n\n";my $p = new SWF::Morph();my $s = $p->getShape1();$s->setLine();$s->setLeftFill(0xff, 0, 0);$s->movePenTo(-1000,-1000);$s->drawLine(2000,0);$s->drawLine(0,2000);$s->drawLine(-2000,0);$s->drawLine(0,-2000);my $s1 = $p->getShape2();$s1->setLine(60,0,0,0);$s1->setLeftFill(0, 0, 0xff);$s1->movePenTo(0,-1000);$s1->drawLine(1000,1000);$s1->drawLine(-1000,1000);$s1->drawLine(-1000,-1000);$s1->drawLine(1000,-1000);my $m = new SWF::Movie();$m->setDimension(3000,2000);$m->setBackground(0xff, 0xff, 0xff);my $i = $m->add($p);$i->moveTo(1500,1000);for(my $r=0; $r<=10; ++$r){    $i->setRatio($r/10);    $m->nextFrame();}$m->nextFrame();$m->output();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -