安全沙箱问题#2123
第一份安全沙箱的笔记。 因为安全沙箱困扰了不少人,所以是老生常谈的问题。 今天下午我遇到了2123错误。 案发现场某个列表flash页面需要支持gravatar的头像 (gravatar的跨域策略文件位于http://www.gravatar.com/avatar/crossdomain.xml) 在加载他们提供的图片头像时我遇到了安全沙箱冲突,错误信息是: SecurityError: Error #2123: 安全沙箱冲突:
第一份安全沙箱的笔记。 因为安全沙箱困扰了不少人,所以是老生常谈的问题。 今天下午我遇到了2123错误。 案发现场某个列表flash页面需要支持gravatar的头像 (gravatar的跨域策略文件位于http://www.gravatar.com/avatar/crossdomain.xml) 在加载他们提供的图片头像时我遇到了安全沙箱冲突,错误信息是: SecurityError: Error #2123: 安全沙箱冲突:
上次遇到Flash在IE下的NavigateToURL被屏蔽的问题,解决方法可以用wmode的设置。 昨天夜里又遇到wmode的另外一个问题: flash里的输入文本框(CS4里纯正的TextField,type=’input’),放到网页后在火狐测试无法正确输入中文,输入法可以使用,但打进去都变乱码。
这篇文章为我们介绍了一些Flash CS5的小道消息。文中有几处错别字,像我这样E文不咋样的,看得泪流满面。 几个我关注的点: 普及率当前的Flash平台情况,其中FlashPlayer10的安装数量还在不断上升,新的数字预计将在短期内达到90%以上的覆盖率。 Flash CS5特点对开发者来说最大的新闻就是Flash创作终于和FlashBuilder整合了。 如果你在用Flash CS5,就能通过一个新的导出对话框导出一个新FlashBuilder项目。
问题描述:下午遇到个麻烦:IE7和IE8会拦截flash中navigateToURL(‘xxx’,’_blank’); as2下的getURL一样被拦截。 貌似曾经遇到过这情况,但并不是经常出现,所以一直没去研究被拦截的条件。今天又出现了,正好找找原因。 搜索一番,发现很多去年的讨论。 有人指出: IE7和Firefox(我使用的版本是2.0.0.11)会阻止用navigateToURL方法打开新窗口,而AS2中的getURL方法则不会,让人很不爽。既然项目选择了AS3开发,就只能想办法来解决。 首先当然想到的是ExternalInterface了,测试发现还是会被blocked。后来想添加wmode会不会有所帮助,于是在页面中添加wmode属性为opaque,果然OK了。
需要 Flash Player 10 代码:
ActionScript for Multiplayer Games and Virtual Worlds图书概述 The demand for multiplayer games and virtual worlds has exploded over the last few years. Not only do companies want them for site stickiness through social networking, but developers have tremendous interest in exploring this niche area. While developing multiplayer content is challenging, it isn’t as difficult as you might think, and it is fun and highly rewarding! ActionScript for Multiplayer Games and Virtual Worlds explains fundamental multiplayer concepts from connecting to a server to real-time latency hiding techniques. In this book you’ll learn: How to connect users to achieve real-time interaction When to make decisions on the server versus the game client Time synchronization techniques How to use dead reckoning smoothing to hide network latency About tile-based games the isometric view Techniques for customizing and rendering avatars in a virtual world In addition, you’ll learn everything that goes into building: A real-time multiplayer tank battle game A real-time multilayer cooperative game A virtual world
根据设计来的界面,发现flash cs4的Slider组件太细了,得加粗。也就是修改Slider的高度。 查了一下API文档,没有设置SliderTrackSkin高度方面的。 看来得操刀UI组件了。 探索… 结果: Flash cs4中的UI组件文件目录在[X:\**]\Adobe Flash CS4\Common\Configuration\Components下 源文件在[X:\**]\Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\User Interface下
下文内容转自http://www.eoocy.com/article.asp?id=3 下面是非常有用的类库,找到他们的时候我兴奋的不得了 APIs、Libs、Components 1、as3ebaylib http://code.google.com/p/as3ebaylib/ 2、as3youtubelib http://code.google.com/p/as3youtubelib/
StandingWave is an AS3 code library designed for high level control of Flash Player 10’s SampleDataEvent API for streaming audio output. It is based on a subset of the audio engine used by the Noteflight Score Editor. The goal of StandingWave is to encapsulate the following kinds of objects, permitting them to be easily chained together and combined to produce complex, dynamic audio output:
近日,adobe公开了RTMP协议规范: 官方页面:http://www.adobe.com/devnet/rtmp/ 下载地址:http://www.adobe.com/devnet/rtmp/pdf/rtmp_specification_1.0.pdf