04 2012 档案

摘要:在IE浏览器中尝试拖动一下图片,你会发现鼠标会成为禁止操作的样式,图片是被禁止拖动的.在Firefox中拖动是加入图片收藏原因是因为执行了浏览器的默认事件,解决方法如下:Firefox在mousedown中 加入 return false;即可IEie中只要在mousemove中加入return false;即可在这里记录一下,以免下次在遇到这个问题 阅读全文
posted @ 2012-04-28 17:08 lx_ 阅读(1104) 评论(0) 推荐(0)
摘要:flash的坐标轴和数学当中的坐标轴不一样,如下图今天项目中用到了时时动态曲线图的功能,因为平时项目很少用到as3.0。所以比较生疏,只能霸王硬上弓了。结果一开始就让我遇到一些低级错误。记录下来,留作以后参考。刚开始时,想画一个简单的曲线。代码如下:package { import flash.display.MovieClip; import flash.display.Sprite; import flash.events.MouseEvent; public class Main extends MovieClip{ public var Width:int=550; p... 阅读全文
posted @ 2012-04-27 17:25 lx_ 阅读(685) 评论(0) 推荐(0)
摘要:第7章高级概念The Code First modeling functionality that you have seen so far should be enough to get you up and running with most applications. However, Code First also includes some more advanced functionality that you may require as your needs advance. Throughout this book you’ve seen Code First’s conve 阅读全文
posted @ 2012-04-23 16:36 lx_ 阅读(6985) 评论(0) 推荐(0)