文件名称:scale9_demo
介绍说明--下载内容均来自于网络,请自行研究使用
我们都知道矢量图放大不失真,而位图放大会失真,这个和它们在电脑底层的计算方法有关。为了放大一个矩形或者圆角矩形,我们可以用矢量图来绘制这个矩形,这没有问题,但是假如这个矩形同时要移动或者变形,势必给CPU带来较大的压力,因为矢量图的每一次变化都要CPU重新计算,假如你的作品本身耗费CPU较高的话,那么这种方式就差强人意了,为了最优地放大位图,Flash中引入了9宫格的方法,也叫9切片,本节详细讲述一下9宫格。-We all know Vector amplification without distortion, and will magnify bitmaps distortion, the bottom of the computer and their calculation methods. To enlarge a rectangle or rounded rectangle, we can use vector graphics to draw the rectangle, this is no problem, but if you want to move this rectangle or deformation while bound to the CPU to bring greater pressure, because every change vector CPU must be recalculated, if your CPU-intensive work itself higher, then this way is unsatisfactory, in order to optimally enlarge the bitmap, Flash was introduced in nine grids method, also known as 9-slice, this section detailed talk about nine grids.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Scale9ASDemo
............\.actionScriptProperties
............\.project
............\.settings
............\.........\org.eclipse.core.resources.prefs
............\bin-debug
............\.........\assets
............\.........\......\btn.png
............\.........\EmbedDemo.html
............\.........\EmbedDemo.swf
............\.........\generated
............\.........\.........\EmbedDemo_imgClass.as
............\.........\history
............\.........\.......\history.css
............\.........\.......\history.js
............\.........\.......\historyFrame.html
............\.........\playerProductInstall.swf
............\.........\RectTest.html
............\.........\RectTest.swf
............\.........\Scale9ASDemo.html
............\.........\Scale9ASDemo.swf
............\.........\srcview
............\.........\.......\index.html
............\.........\.......\playerProductInstall.swf
............\.........\.......\Scale9ASDemo.zip
............\.........\.......\source
............\.........\.......\......\assets
............\.........\.......\......\......\btn.png
............\.........\.......\......\......\btn.png.html
............\.........\.......\......\EmbedDemo.as.html
............\.........\.......\......\html-template
............\.........\.......\......\.............\history
............\.........\.......\......\.............\.......\history.css.html
............\.........\.......\......\.............\.......\history.js.txt
............\.........\.......\......\.............\.......\historyFrame.html
............\.........\.......\......\.............\index.template.html
............\.........\.......\......\.............\playerProductInstall.swf
............\.........\.......\......\.............\swfobject.js.txt
............\.........\.......\......\RectTest.as.html
............\.........\.......\......\Scale9ASDemo.as.html
............\.........\.......\SourceIndex.xml
............\.........\.......\SourceStyles.css
............\.........\.......\SourceTree.html
............\.........\.......\SourceTree.swf
............\.........\.......\swfobject.js
............\.........\swfobject.js
............\bin-release
............\...........\assets
............\...........\......\btn.png
............\...........\history
............\...........\.......\history.css
............\...........\.......\history.js
............\...........\.......\historyFrame.html
............\...........\playerProductInstall.swf
............\...........\Scale9ASDemo.html
............\...........\Scale9ASDemo.swf
............\...........\srcview
............\...........\.......\index.html
............\...........\.......\playerProductInstall.swf
............\...........\.......\Scale9ASDemo.zip
............\...........\.......\source
............\...........\.......\......\assets
............\...........\.......\......\......\btn.png
............\...........\.......\......\......\btn.png.html
............\...........\.......\......\EmbedDemo.as.html
............\...........\.......\......\html-template
............\...........\.......\......\.............\history
............\...........\.......\......\.............\.......\history.css.html
............\...........\.......\......\.............\.......\history.js.txt
............\...........\.......\......\.............\.......\historyFrame.html
............\...........\.......\......\.............\index.template.html
............\...........\.......\......\.............\playerProductInstall.swf
............\...........\.......\......\.............\swfobject.js.txt
............\...........\.......\......\RectTest.as.html
............\...........\.......\......\Scale9ASDemo.as.html
............\...........\.......\SourceIndex.xml
............\...........\.......\SourceStyles.css
............\...........\.......\SourceTree.html
............\...........\.......\SourceTree.swf
............\...........\.......\swfobject.js
............\...........\swfobject.js
............\html-template
............\.............\history
............\.............\.......\history.css
............\.....