大约1年前 - 没有评论
若需转载本站原创文章,请注明: 转载自zrong's Blog 本站转载的文章标题会标明[转]。 本文链接地址: 了解Flex4中新的的Skin、CSS、Layout、NameSpace相关资料 Differences between Flex 3 and Flex 4 beta(比较Flex3和Flex4的区别,很全面,值得一看) 了解一下Flex 4里的fx、mx以及s命名空间 Introducing skinning in Flex 4 beta(强烈推荐!简单地介绍了Skin part、state、skinClass的编写方法以及FXG语法,有范例) Overview of custom component changes in Adobe Flex 4 beta(自定义组件在Flex4中的改变) Spark layouts with Flex 4 beta(不了解Flex4新的布局机制的,看看这个吧) Enhanced States Syntax – Functional and Design Specification(新的state使用方法详细介绍) MXML 2009 – Functional and Design Specification(着重介绍了Flex4的Namespace、Declarations、Private、Library标签的用法,以及Flex4与Flex3之间的区别) Flex4:DataGroup
大约1年前 - 4个评论
若需转载本站原创文章,请注明: 转载自zrong's Blog 本站转载的文章标题会标明[转]。 本文链接地址: Flex不支持background-position属性的问题 我在为一个HBox标签添加背景图像的时候碰到了问题。 虽然HBox的CSS属性支持中有background-position这个属性,并且支持top、left等位置,但是当我正确设定并编译swf之后,发现背景图像并不像我设置的那样排列,反而没什么变化。google了一下资料,找到了Flex cookbook上的解决办法: CSS background-position 但是,这个办法在我的程序(Flex SDK 3.4)中并不管用,没办法,我还是只能用degrafa来实现了。degrafa是个优秀的矢量绘图引擎,使用它不仅能支持background-position,还能支持background-repeat(关于背景平铺,还可以看这篇文章)。 使用方法: ?View Code CSSHBox { border-skin: ClassReference("com.degrafa.skins.CSSSkin"); background-image: Embed(source="windowroom/bg2.jpg"); background-position:top; background-repeat:no-repeat; } 引入com.degrafa.skins.CSSSkin包后,编译的swf文件大小会增加51KB。如果对文件大小很在乎的话,还是去仔细研究一下Flex Cookbook中提供的方法好了。
大约1年前 - 没有评论
若需转载本站原创文章,请注明: 转载自zrong's Blog 本站转载的文章标题会标明[转]。 本文链接地址: [转]漫画:混乱的标记语言XHTML2/HTML5(附中文版翻译) 转自:JustinYoung’s Blog W3C最近宣布将于今年年底解散XTHML2工作组。一石激起千层浪,很多误解和谣言四起,江湖一片血雨腥风,搞得网页设计师人人自危,好像世界末日即将到来。其实,这只是个误解,看完下面的这幅漫画,大家就了解了。完全可以放心,然后回家洗洗睡了。 非原创,来源网络:英文版源文地址:漫画英文版源文地址,这里是英文原版漫画
大约1年前 - 没有评论
若需转载本站原创文章,请注明: 转载自zrong's Blog 本站转载的文章标题会标明[转]。 本文链接地址: 如何在Flex中实现图片背景平铺 别找了,Flex自己是没这个功能的。下面这些链接都讲解了怎么自行实现。 转自:http://bbs.airia.cn/FLEX/thread-4095-1-1.aspx Background image repeat in flex 3 – DEGRAFA! http://bjw.co.nz/developer/flex/83-background-image-repeat-in-flex-3 e.g: ?View Code ACTIONSCRIPTApplication { background-image: Embed("assets/images/the_image_goes_here.png"); background-repeat: repeat; background-position: center; background-blend: multiply; borderSkin: ClassReference("com.degrafa.skins.CSSSkin"); } 此外还有: http://frankieloscavio.blogspot.com/2007/08/repeating-and-tiling-css-backgrounds-in.html http://www.websector.de/blog/2007/07/06/pimp-your-flex-app-using-wsbackgroundpixelskin/ http://www.websector.de/blog/2007/07/10/wspatternstylegenerator-for-using-wsbackgroundpixelskin/ http://blog.creacog.co.uk/2007/06/11/tile-or-repeat-an-image-into-a-flex-application-background-ii/ http://blog.creacog.co.uk/2006/11/21/tile-or-repeat-an-image-into-a-flex-application-background/ http://renaun.com/blog/2006/12/08/165/
大约2年前 - 6个评论
若需转载本站原创文章,请注明: 转载自zrong's Blog 本站转载的文章标题会标明[转]。 本文链接地址: [转]30余款HTML工具和教程 本文转自网谈,原文地址 【字符指南】 – Character Reference – HTMLPlayground.com – Special Characters – W3Schools.com – Webmonkey.com 【工具】 – Alleycode.com – Amaya – Aptana – Bluefish – Coffee Cup HTML Editor – HTMLKit.com – PageBreeze.com – Pingdom Tools – Test Everything – TextFixer.com – TheJackolsDen.com 【教程】 – Bare Bones Guide to
大约5年前 - 没有评论
若需转载本站原创文章,请注明: 转载自zrong's Blog 本站转载的文章标题会标明[转]。 本文链接地址: 完全去除滚动条 今天做站的时候客户要求实现网站全屏,使用JavaScript: ?View Code HTML1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <script language="javascript"> <!– function fullscreen(){ window.open("/index.htm","","scrollbars=0,toolbar=0,location=0,fullscreen=1,directories=0,status=0,menubar=0,resizable=0"); } // –> </script> </head> <body> <h3 align="center"><a href="j avascript:fullscreen()">打开</a></h3> </body> </html> 可是,即使scrollbars值为0,在全屏的时候仍然会出现滚动条,后来发现,要完全取消滚动条,还需要在CSS里面加上: ?View Code
大约5年前 - 没有评论
若需转载本站原创文章,请注明: 转载自zrong's Blog 本站转载的文章标题会标明[转]。 本文链接地址: 几个CSS弹出菜单源码 纯CSS菜单 ?View Code HTML< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [ <!ELEMENT a (#PCDATA | table)* > ]> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> <title> Drop Down Menu </title> <style type="text/css"> body {font-size:1%; color:#fff;} /*get rid of the IE bug that prints the the