这里有个例子
www.waldosmeets.com/demos/flex2_9slice_scale/_9Scale_SWF.html
原文在:
www.waldosmeets.com/index.cfm?entryID=604
这里也有一篇:
weblogs.macromedia.com/khoyt/archives/2006/02/programmatic_sk.cfm
这里是关键:
In Adobe Flex 2, there is going to be a new way of creating skins the visual way. This time creating the MovieClips in Adobe Flash Professional 8 is going to be much easier than before. Why? Because the new skinning framework now allows you to simply assign, using MXML attributes, MovieClips from SWFs to act as a skin in a specific state of a component. Even better; each component state can now be rendered with one library item with 9-Scale specified, instead of one library item build out of 3 MovieClips or more.
可以直接读取swf中的元件,当然也可以完全用API来画
www.waldosmeets.com/demos/flex2_9slice_scale/_9Scale_SWF.html
原文在:
www.waldosmeets.com/index.cfm?entryID=604
这里也有一篇:
weblogs.macromedia.com/khoyt/archives/2006/02/programmatic_sk.cfm
这里是关键:
In Adobe Flex 2, there is going to be a new way of creating skins the visual way. This time creating the MovieClips in Adobe Flash Professional 8 is going to be much easier than before. Why? Because the new skinning framework now allows you to simply assign, using MXML attributes, MovieClips from SWFs to act as a skin in a specific state of a component. Even better; each component state can now be rendered with one library item with 9-Scale specified, instead of one library item build out of 3 MovieClips or more.
可以直接读取swf中的元件,当然也可以完全用API来画
回复Comments
{commenttime}{commentauthor}
{CommentUrl}
{commentcontent}