自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 资源 (7)
  • 收藏
  • 关注

转载 屏蔽默认的事件功能

原文:http://www.darronschall.com/weblog/archives/000276.cfm 这种情况一般适用于自定义的组件。作者举了个例子,比如标签式的导航,在点击标签上的关闭按钮时,该标签页就关了。而如果想要在点击以后,先弹出提示框提示一下呢?在as3里面,屏蔽默认的事件功能需四步:1. 创建一个Event时,将cancelable设置为true,也就是第三个参数。2.

2008-01-30 15:45:00 644

转载 跨域的图片平滑处理

http://www.airtightinteractive.com/news/?p=100 大致说的是,flashplayer9以前的player,会自动为形变过的图片做平滑处理。在9里,动态图片默认是不做平滑处理的,一般可以用BitmapData画下来时,设置平滑处理。但由于跨域问题,如果没有crossdomain.xml这个文件,就只能残念了......最后作者还很善良的提出了两个意见,不过

2008-01-28 11:27:00 606

原创 挺唬人的3d视频演示

http://adn.blam.be/papervision/ 这个是我目前看到的papervision3d中最有震撼力的一个demo。我也照着他上面的说法,赶紧过了一把瘾。瘾虽然过好了,回头想想,真要用到的话,机会还是比较少的。别的不说,光拍摄这种特定视频需要的摄像机,打我从娘胎出来还是头一次见......如果从制作角度说,还真没我什么事。主要的工作是用那神奇的摄像机拍摄神奇的视频然后由“三弟马

2008-01-16 22:15:00 716

Writing.An.Interpreter.In.Go.B01N2T1VD2.pdf

In this book we will create a programming language together. We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey* programming language. Step by step. From tokens to output. All code shown and included. Fully tested.

2020-11-16

Head.First.iPhone.Development

Let's say you have an idea for a killer iPhone app. Where do you begin? Head First iPhone Development will help you get your first application up and running in no time. You'll quickly learn to use iPhone SDK tools, including Interface Builder and Xcode, and master Objective-C programming principles that will make your app stand out. It's a complete learning experience for creating eye-catching, top-selling iPhone applications. Put Objective-C core concepts to work, including message passing, protocols, properties, and memory management Take advantage of iPhone patterns such as datasources and delegates Preview your applications in the iPhone Simulator Build complicated interactions that utilize multiple views, data entry/editing, and iPhone rotation Work with iPhone's camera, GPS, and accelerometer Optimize, test, and distribute your application We think your time is too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First iPhone Development provides a visually-rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep.

2011-03-05

Head.First.Physics.part4

Wouldn't it be great if there were a physics book that showed you how things work instead of telling you how? Finally, with Head First Physics, there is. This comprehensive book takes the stress out of learning mechanics and practical physics by providing a fun and engaging experience, especially for students who "just don't get it." Head First Physics offers a format that's rich in visuals and full of activities, including pictures, illustrations, puzzles, stories, and quizzes -- a mixed-media style proven to stimulate learning and retention. One look will convince you: This isn't mere theory, this is physics brought to life through real-world scenarios, simple experiments, and hypothetical projects. Head First Physics is perfect for anyone who's intrigued by how things work in the natural world. You'll quickly discover that physics isn't a dry subject. It's all about the world we live in, encompassing everything from falling objects and speeding cars, to conservation of energy and gravity and weightlessness, and orbital behavior. This book: Helps you think like a physicist so you can understand why things really work the way they do Gives you relevant examples so you can fully grasp the principles before moving on to more complex concepts Designed to be used as a supplement study guide for the College Board's Advanced Placement Physics B Exam Introduces principles for the purpose of solving real-world problems, not memorization Teaches you how to measure, observe, calculate -- and yes -- how to do the math Covers scientific notation, SI units, vectors, motion, momentum conservation, Newton's Laws, energy conservation, weight and mass, gravitation and orbits, circular motion and simple harmonic motion, and much more If "Myth Busters" and other TV programs make you curious about our physical world -- or if you're a student forced to take a physics course -- now you can pursue the subject without the dread of boredom or the fear that it will be over your head. Head First Physics comes to rescue with an innovative, engaging, and inspirational way to learn physics!

2010-08-23

Head.First.Physics.part3

Wouldn't it be great if there were a physics book that showed you how things work instead of telling you how? Finally, with Head First Physics, there is. This comprehensive book takes the stress out of learning mechanics and practical physics by providing a fun and engaging experience, especially for students who "just don't get it." Head First Physics offers a format that's rich in visuals and full of activities, including pictures, illustrations, puzzles, stories, and quizzes -- a mixed-media style proven to stimulate learning and retention. One look will convince you: This isn't mere theory, this is physics brought to life through real-world scenarios, simple experiments, and hypothetical projects. Head First Physics is perfect for anyone who's intrigued by how things work in the natural world. You'll quickly discover that physics isn't a dry subject. It's all about the world we live in, encompassing everything from falling objects and speeding cars, to conservation of energy and gravity and weightlessness, and orbital behavior. This book: Helps you think like a physicist so you can understand why things really work the way they do Gives you relevant examples so you can fully grasp the principles before moving on to more complex concepts Designed to be used as a supplement study guide for the College Board's Advanced Placement Physics B Exam Introduces principles for the purpose of solving real-world problems, not memorization Teaches you how to measure, observe, calculate -- and yes -- how to do the math Covers scientific notation, SI units, vectors, motion, momentum conservation, Newton's Laws, energy conservation, weight and mass, gravitation and orbits, circular motion and simple harmonic motion, and much more If "Myth Busters" and other TV programs make you curious about our physical world -- or if you're a student forced to take a physics course -- now you can pursue the subject without the dread of boredom or the fear that it will be over your head. Head First Physics comes to rescue with an innovative, engaging, and inspirational way to learn physics!

2010-08-23

Head.First.Physics.part2

Wouldn't it be great if there were a physics book that showed you how things work instead of telling you how? Finally, with Head First Physics, there is. This comprehensive book takes the stress out of learning mechanics and practical physics by providing a fun and engaging experience, especially for students who "just don't get it." Head First Physics offers a format that's rich in visuals and full of activities, including pictures, illustrations, puzzles, stories, and quizzes -- a mixed-media style proven to stimulate learning and retention. One look will convince you: This isn't mere theory, this is physics brought to life through real-world scenarios, simple experiments, and hypothetical projects. Head First Physics is perfect for anyone who's intrigued by how things work in the natural world. You'll quickly discover that physics isn't a dry subject. It's all about the world we live in, encompassing everything from falling objects and speeding cars, to conservation of energy and gravity and weightlessness, and orbital behavior. This book: Helps you think like a physicist so you can understand why things really work the way they do Gives you relevant examples so you can fully grasp the principles before moving on to more complex concepts Designed to be used as a supplement study guide for the College Board's Advanced Placement Physics B Exam Introduces principles for the purpose of solving real-world problems, not memorization Teaches you how to measure, observe, calculate -- and yes -- how to do the math Covers scientific notation, SI units, vectors, motion, momentum conservation, Newton's Laws, energy conservation, weight and mass, gravitation and orbits, circular motion and simple harmonic motion, and much more If "Myth Busters" and other TV programs make you curious about our physical world -- or if you're a student forced to take a physics course -- now you can pursue the subject without the dread of boredom or the fear that it will be over your head. Head First Physics comes to rescue with an innovative, engaging, and inspirational way to learn physics!

2010-08-22

Head.First.Physics part1

Wouldn't it be great if there were a physics book that showed you how things work instead of telling you how? Finally, with Head First Physics, there is. This comprehensive book takes the stress out of learning mechanics and practical physics by providing a fun and engaging experience, especially for students who "just don't get it." Head First Physics offers a format that's rich in visuals and full of activities, including pictures, illustrations, puzzles, stories, and quizzes -- a mixed-media style proven to stimulate learning and retention. One look will convince you: This isn't mere theory, this is physics brought to life through real-world scenarios, simple experiments, and hypothetical projects. Head First Physics is perfect for anyone who's intrigued by how things work in the natural world. You'll quickly discover that physics isn't a dry subject. It's all about the world we live in, encompassing everything from falling objects and speeding cars, to conservation of energy and gravity and weightlessness, and orbital behavior. This book: Helps you think like a physicist so you can understand why things really work the way they do Gives you relevant examples so you can fully grasp the principles before moving on to more complex concepts Designed to be used as a supplement study guide for the College Board's Advanced Placement Physics B Exam Introduces principles for the purpose of solving real-world problems, not memorization Teaches you how to measure, observe, calculate -- and yes -- how to do the math Covers scientific notation, SI units, vectors, motion, momentum conservation, Newton's Laws, energy conservation, weight and mass, gravitation and orbits, circular motion and simple harmonic motion, and much more If "Myth Busters" and other TV programs make you curious about our physical world -- or if you're a student forced to take a physics course -- now you can pursue the subject without the dread of boredom or the fear that it will be over your head. Head First Physics comes to rescue with an innovative, engaging, and inspirational way to learn physics!

2010-08-22

AdvancED ActionScript Animation

AdvancED ActionScript Animation

2009-06-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除