文件名称:as2.0amlabfire
介绍说明--下载内容均来自于网络,请自行研究使用
as2.0 模拟火焰
import flash.display.*
import flash.filters.*
import flash.geom.*
import de.popforge.bitmap.Shape
Shape.setContainer( this.createEmptyMovieClip( shapes , 10000 ) )
//-- get blue circle as a bitmap
var blueSpotClip: MovieClip = attachMovie( "blueSpot", "blueSpotClip", 0 )
var clipBounds: Object = blueSpotClip.getBounds()
var blueSpot: BitmapData = new BitmapData( clipBounds.xMax, clipBounds.yMax, true, 0 )
blueSpot.draw( blueSpotClip, new Matrix() )
blueSpotClip.removeMovieClip() -as2.0 simulated flame import flash.display .* import flash.filters .* import flash.geom .* import de.popforge.bitmap.Shape Shape.setContainer (this.createEmptyMovieClip (shapes, 10000))// get blue circle as a bitmapvar blueSpotClip: MovieClip = attachMovie (blueSpot, blueSpotClip, 0) var clipBounds: Object = blueSpotClip.getBounds () var blueSpot: BitmapData = new BitmapData (clipBounds.xMax, clipBounds.yMax, true, 0) blueSpot.draw (blueSpotClip, new Matrix ()) blueSpotClip.removeMovieClip ()
import flash.display.*
import flash.filters.*
import flash.geom.*
import de.popforge.bitmap.Shape
Shape.setContainer( this.createEmptyMovieClip( shapes , 10000 ) )
//-- get blue circle as a bitmap
var blueSpotClip: MovieClip = attachMovie( "blueSpot", "blueSpotClip", 0 )
var clipBounds: Object = blueSpotClip.getBounds()
var blueSpot: BitmapData = new BitmapData( clipBounds.xMax, clipBounds.yMax, true, 0 )
blueSpot.draw( blueSpotClip, new Matrix() )
blueSpotClip.removeMovieClip() -as2.0 simulated flame import flash.display .* import flash.filters .* import flash.geom .* import de.popforge.bitmap.Shape Shape.setContainer (this.createEmptyMovieClip (shapes, 10000))// get blue circle as a bitmapvar blueSpotClip: MovieClip = attachMovie (blueSpot, blueSpotClip, 0) var clipBounds: Object = blueSpotClip.getBounds () var blueSpot: BitmapData = new BitmapData (clipBounds.xMax, clipBounds.yMax, true, 0) blueSpot.draw (blueSpotClip, new Matrix ()) blueSpotClip.removeMovieClip ()
相关搜索: BitmapData
(系统自动生成,下载前可以参看下载内容)
下载文件列表
fire.fla
fire.swf
fire.txt
src
...\de
...\..\popforge
...\..\........\bitmap
...\..\........\......\Gradient.as
...\..\........\......\Shape.as
fire.swf
fire.txt
src
...\de
...\..\popforge
...\..\........\bitmap
...\..\........\......\Gradient.as
...\..\........\......\Shape.as