<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4104379176786087353</atom:id><lastBuildDate>Thu, 15 Oct 2026 06:27:08 +0000</lastBuildDate><category>flash</category><category>flex</category><category>air</category><category>actionscript</category><category>fanfou</category><category>flash video</category><category>UX</category><category>papervision3d</category><category>javascript</category><category>usability</category><category>交互设计</category><category>笔记</category><category>apollo</category><category>bookmarklets</category><category>douban</category><category>mouse gesture</category><category>navigation</category><category>safari</category><category>seam carving</category><category>spectrum</category><category>textmate</category><category>ECMAScript</category><category>SVN</category><category>UI</category><category>UNIX</category><category>adobe</category><category>api</category><category>ar</category><category>bug</category><category>bundles</category><category>camera</category><category>cover flow</category><category>css</category><category>dataurl</category><category>debug</category><category>dom</category><category>draw</category><category>event</category><category>expert</category><category>filters</category><category>firebug</category><category>flashdevelop</category><category>flickr</category><category>frontend</category><category>gmail</category><category>google map</category><category>graph</category><category>growl</category><category>information architecture</category><category>interface</category><category>iphone</category><category>jash</category><category>newbie</category><category>photo booth</category><category>php</category><category>psychology</category><category>python</category><category>quicksilver</category><category>redesign</category><category>shortcut</category><category>silverback</category><category>simbl</category><category>social</category><category>terminal</category><category>tip</category><category>ubiquity  firefox</category><category>verycd</category><category>webstandards</category><category>zindex</category><category>心理学</category><category>有趣</category><title>stopdesign.cn</title><description>Flash、Web Standards and Interaction Design.</description><link>https://www.stopdesign.cn/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>71</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-4461980733244745060</guid><pubDate>Thu, 26 Mar 2026 07:27:00 +0000</pubDate><atom:updated>2026-03-27T07:46:56.701+08:00</atom:updated><title>使用游戏手柄控制 Mac 苹果电脑</title><description>&lt;p&gt;将你的游戏手柄变成 macOS 生产力工具。通过自定义按键映射、鼠标模拟和即时文本输入，精准控制任何应用。&lt;/p&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://apps.apple.com/us/app/gamecontroller-mapper/id6737088417?l=en-GB&amp;mt=12&quot; style=&quot;display: block; padding: 1em 0; text-align: center; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; width=&quot;180&quot; data-original-height=&quot;62&quot; data-original-width=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc-16MOp0zc8iU1i11XAL9Lp6FNCZGNFzjpNJNkUwoEx41SYo20hceX43jfw416o7wHUQP7VSLZd2qdTwzaYyHLlM3WKPoApeNBKGDOkNGKPv-E9Y_EqxlUPyllbOSruPtIFnRKO08qTZeftI68zUAnUQUiHZ-54Bn6MR7gxOrEZ6Drv5KwUzhhURFzFga/s320/download-2.png&quot;/&gt;&lt;/a&gt;&lt;/div&gt;

&lt;h2&gt;核心功能&lt;/h2&gt;

&lt;h3&gt;1. 智能应用切换&lt;/h3&gt;
&lt;p&gt;模拟 Command + Tab 快捷键，在所有 macOS 应用间快速切换和激活。&lt;/p&gt;

&lt;h3&gt;2. 高级鼠标模拟&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;左右键点击模拟，支持增强拖拽功能&lt;/li&gt;
  &lt;li&gt;长按功能 - 按住左键快进 YouTube 视频，流畅浏览&lt;/li&gt;
  &lt;li&gt;双击支持，快速切换全屏和执行操作&lt;/li&gt;
  &lt;li&gt;摇杆控制鼠标移动，可调节灵敏度&lt;/li&gt;
  &lt;li&gt;流畅拖拽窗口和对象&lt;/li&gt;
  &lt;li&gt;使用手柄完成大部分鼠标/触控板操作&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; width=&#39;640&#39; data-original-height=&quot;2008&quot; data-original-width=&quot;1892&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW0VpSa6AuW1YwOPhOoNmbCoJEPcFwnZIi6YKUetvLVWrbkSgt_UI5f_QINJVzN-2tbHxx4Qh5loqexN_fzqwdT2frZA9TDUMKwsxDB5MTQVBK_v2f0Rv2nOlpqtriBRrvfphusidNsr2Nlq4_bXnRcXV2p-hqpTFJbj0XHnWxAzj9cLBrQ8L1MimRouIt/s1600/joystick_arrow_keys-1.png&quot;/&gt;&lt;/div&gt;

&lt;h3&gt;3. 灵活的摇杆模式&lt;/h3&gt;
&lt;p&gt;每个摇杆可独立配置为三种模式之一：&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;鼠标模式&lt;/strong&gt;：精准光标控制，可调节灵敏度&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;滚动模式&lt;/strong&gt;：流畅滚动文档、网页和媒体时间轴&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;按键模式&lt;/strong&gt;：四个方向映射为任意按键，适合 WASD 移动、方向键导航或自定义快捷键&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;4. 完整的键盘和手柄映射&lt;/h3&gt;
&lt;p&gt;将任何键盘输入映射到手柄按键 — 单个按键、组合键（Command + Shift + J）、功能键和媒体控制。轻触触发即时操作，或长按实现连续输入，如快速调节音量或翻页。键盘能做的，手柄也能做。&lt;/p&gt;

&lt;h3&gt;5. 即时文本输入&lt;/h3&gt;
&lt;p&gt;文本字符串映射 - 为任意手柄按键分配自定义文本。一键输入用户名、密码、邮箱地址或常用短语。完美简化重复输入任务。&lt;/p&gt;

&lt;h3&gt;6. 多配置文件支持&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;单个手柄按键可根据激活的配置文件触发完全不同的按键或快捷键。同一按键可用于快进/快退视频、执行鼠标左键点击或粘贴文档文本&lt;/li&gt;
  &lt;li&gt;创建无限自定义配置文件，适应不同场景&lt;/li&gt;
  &lt;li&gt;跨品牌配置文件设置，在不同手柄间保持肌肉记忆&lt;/li&gt;
  &lt;li&gt;配置文件循环 - 使用专用按键映射即时切换配置文件&lt;/li&gt;
  &lt;li&gt;可视化配置文件通知 - 切换配置文件时获得可自定义的 HUD 反馈（可调节位置或完全禁用）&lt;/li&gt;
  &lt;li&gt;同时支持多个手柄&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;7. 通用应用兼容性&lt;/h3&gt;
&lt;p&gt;在所有应用中享受无缝控制：&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;图书&lt;/strong&gt;：使用方向键翻页，舒适阅读&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Keynote&lt;/strong&gt;：使用摇杆启动演示并导航幻灯片&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;视频播放器&lt;/strong&gt;（IINA、QuickTime）：使用方向键快进视频，完美支持 AirPlay 投屏&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Safari 和预览&lt;/strong&gt;：配合 Homerow，快速浏览和查看 PDF&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;媒体应用&lt;/strong&gt;：完整媒体键支持（播放/暂停、下一首、上一首、音量）&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;8. 专业功能&lt;/h3&gt;
&lt;ul&gt;
  &lt;li&gt;Mission Control 集成，用于窗口管理&lt;/li&gt;
  &lt;li&gt;中文语言支持，自动检测系统语言&lt;/li&gt;
  &lt;li&gt;多配置文件，即时切换&lt;/li&gt;
  &lt;li&gt;每个手柄可调节鼠标灵敏度&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;适用场景&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;内容创作者和视频编辑&lt;/li&gt;
  &lt;li&gt;演示专业人士&lt;/li&gt;
  &lt;li&gt;媒体消费和娱乐&lt;/li&gt;
  &lt;li&gt;无障碍和人体工学计算&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;释放手柄的全部潜力，探索与 macOS 交互的新方式。无论是浏览、演示还是创作内容，Game Controller Mapper 都能将你的游戏手柄转变为强大的生产力工具。&lt;/p&gt;

&lt;p&gt;&lt;em&gt;注：需要 macOS 辅助功能权限以实现键盘和鼠标模拟。&lt;/em&gt;&lt;/p&gt;</description><link>https://www.stopdesign.cn/2026/03/gamecontrollermapperformac.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc-16MOp0zc8iU1i11XAL9Lp6FNCZGNFzjpNJNkUwoEx41SYo20hceX43jfw416o7wHUQP7VSLZd2qdTwzaYyHLlM3WKPoApeNBKGDOkNGKPv-E9Y_EqxlUPyllbOSruPtIFnRKO08qTZeftI68zUAnUQUiHZ-54Bn6MR7gxOrEZ6Drv5KwUzhhURFzFga/s72-c/download-2.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-1136627340940733092</guid><pubDate>Mon, 13 Apr 2009 15:46:00 +0000</pubDate><atom:updated>2009-04-14T00:15:04.905+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">actionscript</category><category domain="http://www.blogger.com/atom/ns#">flash</category><category domain="http://www.blogger.com/atom/ns#">mouse gesture</category><title>一个简单的鼠标手势模拟</title><description>&lt;a href=&quot;http://www.stopdesign.cn/file/gesture.swf&quot; rel=&quot;shadowbox;height=300;width=590&quot;&gt;Demo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;textmate-source blackboard_black&quot;&gt;&lt;span class=&quot;source source_actionscript source_actionscript_3&quot;&gt;&lt;span class=&quot;comment comment_block comment_block_actionscript comment_block_actionscript_3&quot;&gt;/**&lt;br /&gt;     * @author      chenqian&lt;br /&gt;     * @contact     yesterday[at]gmail.com&lt;br /&gt;     * @URI         www.stopdesign.cn&lt;br /&gt;*/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;meta meta_package meta_package_actionscript meta_package_actionscript_3&quot;&gt;&lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;package&lt;/span&gt;  &lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_package meta_package_actionscript meta_package_actionscript_3&quot;&gt;{&lt;br /&gt;    &lt;span class=&quot;storage storage_type storage_type_import storage_type_import_actionscript storage_type_import_actionscript_3&quot;&gt;import &lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;flash.display.*&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_actionscript punctuation_terminator_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;storage storage_type storage_type_import storage_type_import_actionscript storage_type_import_actionscript_3&quot;&gt;import &lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;flash.events.*&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_actionscript punctuation_terminator_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;storage storage_type storage_type_import storage_type_import_actionscript storage_type_import_actionscript_3&quot;&gt;import &lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;flash.geom.Point&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_actionscript punctuation_terminator_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;storage storage_type storage_type_import storage_type_import_actionscript storage_type_import_actionscript_3&quot;&gt;import &lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;flash.text.TextField&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_actionscript punctuation_terminator_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;br /&gt;&lt;span class=&quot;meta meta_class meta_class_actionscript meta_class_actionscript_3&quot;&gt;    &lt;span class=&quot;storage storage_type storage_type_namespace storage_type_namespace_actionscript storage_type_namespace_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_type entity_name_type_class entity_name_type_class_actionscript entity_name_type_class_actionscript_3&quot;&gt;MouseGesture&lt;/span&gt; &lt;span class=&quot;meta meta_definition meta_definition_class meta_definition_class_extends meta_definition_class_extends_actionscript meta_definition_class_extends_actionscript_3&quot;&gt;&lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;extends&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_type entity_name_type_class entity_name_type_class_actionscript entity_name_type_class_actionscript_3&quot;&gt;Sprite&lt;/span&gt;&lt;br /&gt;    {&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;GESTURE_UP&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;string string_quoted string_quoted_double string_quoted_double_actionscript string_quoted_double_actionscript_3&quot;&gt;&quot;GESTURE_UP&quot;&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;GESTURE_RIGHT&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;string string_quoted string_quoted_double string_quoted_double_actionscript string_quoted_double_actionscript_3&quot;&gt;&quot;GESTURE_RIGHT&quot;&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;GESTURE_DOWN&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;string string_quoted string_quoted_double string_quoted_double_actionscript string_quoted_double_actionscript_3&quot;&gt;&quot;GESTURE_DOWN&quot;&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;GESTURE_LEFT&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;string string_quoted string_quoted_double string_quoted_double_actionscript string_quoted_double_actionscript_3&quot;&gt;&quot;GESTURE_LEFT&quot;&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// the color of the drawing line&lt;br /&gt;&lt;/span&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; lineColor&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;Number&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;    &lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// the size of the drawing line         &lt;br /&gt;&lt;/span&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; lineSize&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;Number&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;                                     &lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// where the mouse start drawing&lt;br /&gt;&lt;/span&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_startPoint&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Point&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// where the mouse stop drawing&lt;br /&gt;&lt;/span&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_newPoint&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Point&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// the drawing direction&lt;br /&gt;&lt;/span&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_direction&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// the drawing line&lt;br /&gt;&lt;/span&gt;        &lt;span class=&quot;storage storage_modifier storage_modifier_actionscript storage_modifier_actionscript_3&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_drawLine&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Sprite&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;br /&gt;&lt;span class=&quot;meta meta_definition meta_definition_method meta_definition_method_actionscript meta_definition_method_actionscript_3&quot;&gt;        &lt;span class=&quot;storage storage_type storage_type_namespace storage_type_namespace_actionscript storage_type_namespace_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_actionscript storage_type_function_actionscript_3&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_function entity_name_function_actionscript entity_name_function_actionscript_3&quot;&gt;MouseGesture&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_actionscript punctuation_definition_parameters_begin_actionscript_3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;storage storage_type storage_type_rest storage_type_rest_actionscript storage_type_rest_actionscript_3&quot;&gt;...&lt;/span&gt;rest)&lt;/span&gt;&lt;span class=&quot;meta meta_function meta_function_actionscript meta_function_actionscript_3&quot;&gt;{&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_global support_function_global_actionscript support_function_global_actionscript_3&quot;&gt;trace&lt;/span&gt;(&lt;span class=&quot;string string_quoted string_quoted_double string_quoted_double_actionscript string_quoted_double_actionscript_3&quot;&gt;&quot;mouse gesture init&quot;&lt;/span&gt;)&lt;br /&gt;            &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// default mouse gestrue line color and size&lt;br /&gt;&lt;/span&gt;            lineColor&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0xFF0000&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            lineSize&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;br /&gt;            &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// parse parameters&lt;br /&gt;&lt;/span&gt;            &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;if&lt;/span&gt;(rest&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;constant constant_language constant_language_null constant_language_null_actionscript constant_language_null_actionscript_3&quot;&gt;null&lt;/span&gt;){&lt;span class=&quot;meta meta_scope meta_scope_block meta_scope_block_actionscript meta_scope_block_actionscript_3&quot;&gt;    &lt;br /&gt;                lineColor &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; rest&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;];&lt;/span&gt;&lt;br /&gt;            &lt;br /&gt;            &lt;/span&gt;}&lt;br /&gt;            &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;if&lt;/span&gt;(rest&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;constant constant_language constant_language_null constant_language_null_actionscript constant_language_null_actionscript_3&quot;&gt;null&lt;/span&gt;){&lt;span class=&quot;meta meta_scope meta_scope_block meta_scope_block_actionscript meta_scope_block_actionscript_3&quot;&gt;&lt;br /&gt;                lineSize&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;rest&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;];&lt;/span&gt;   &lt;br /&gt;            &lt;/span&gt;}&lt;br /&gt;            &lt;br /&gt;            &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;//add the shape, used for drawing the gesture&lt;br /&gt;&lt;/span&gt;            &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;support support_function support_function_top-level support_function_top-level_actionscript support_function_top-level_actionscript_3&quot;&gt;child&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Shape&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_actionscript keyword_operator_actionscript_3&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Shape&lt;/span&gt;()&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_top-level support_function_top-level_actionscript support_function_top-level_actionscript_3&quot;&gt;child&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;beginFill&lt;/span&gt;(&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0x000000&lt;/span&gt;)&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_top-level support_function_top-level_actionscript support_function_top-level_actionscript_3&quot;&gt;child&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;lineStyle&lt;/span&gt;(&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0xFFFFFF&lt;/span&gt;)&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_top-level support_function_top-level_actionscript support_function_top-level_actionscript_3&quot;&gt;child&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;drawRect&lt;/span&gt;(&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;1600&lt;/span&gt;, &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;1600&lt;/span&gt;)&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_top-level support_function_top-level_actionscript support_function_top-level_actionscript_3&quot;&gt;child&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;endFill&lt;/span&gt;()&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;addChild&lt;/span&gt;(&lt;span class=&quot;support support_function support_function_top-level support_function_top-level_actionscript support_function_top-level_actionscript_3&quot;&gt;child&lt;/span&gt;)&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_top-level support_function_top-level_actionscript support_function_top-level_actionscript_3&quot;&gt;child&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;alpha&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_drawLine&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_actionscript keyword_operator_actionscript_3&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Sprite&lt;/span&gt;()&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;addChild&lt;/span&gt;( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_drawLine&lt;/span&gt; )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;addEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_DOWN&lt;/span&gt; , mouseDownHandler )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// set the gesture color&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_definition meta_definition_method meta_definition_method_actionscript meta_definition_method_actionscript_3&quot;&gt;        &lt;span class=&quot;storage storage_type storage_type_namespace storage_type_namespace_actionscript storage_type_namespace_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_actionscript storage_type_function_actionscript_3&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_function entity_name_function_actionscript entity_name_function_actionscript_3&quot;&gt;setLineColor&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_actionscript punctuation_definition_parameters_begin_actionscript_3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;variable variable_paramater variable_paramater_method variable_paramater_method_actionscript variable_paramater_method_actionscript_3&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_actionscript punctuation_seperator_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;Number&lt;/span&gt;)&lt;span class=&quot;meta meta_method-return meta_method-return_actionscript meta_method-return_actionscript_3&quot;&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_return-type punctuation_seperator_return-type_actionscript punctuation_seperator_return-type_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;keyword keyword_void keyword_void_actionscript keyword_void_actionscript_3&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_function meta_function_actionscript meta_function_actionscript_3&quot;&gt;{&lt;br /&gt;            lineColor&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;support support_property support_property_fl support_property_fl_actionscript support_property_fl_actionscript_3&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// set the gesture size&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_definition meta_definition_method meta_definition_method_actionscript meta_definition_method_actionscript_3&quot;&gt;        &lt;span class=&quot;storage storage_type storage_type_namespace storage_type_namespace_actionscript storage_type_namespace_actionscript_3&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_actionscript storage_type_function_actionscript_3&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_function entity_name_function_actionscript entity_name_function_actionscript_3&quot;&gt;setLineSize&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_actionscript punctuation_definition_parameters_begin_actionscript_3&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;variable variable_paramater variable_paramater_method variable_paramater_method_actionscript variable_paramater_method_actionscript_3&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_actionscript punctuation_seperator_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;Number&lt;/span&gt;)&lt;span class=&quot;meta meta_method-return meta_method-return_actionscript meta_method-return_actionscript_3&quot;&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_return-type punctuation_seperator_return-type_actionscript punctuation_seperator_return-type_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;keyword keyword_void keyword_void_actionscript keyword_void_actionscript_3&quot;&gt;void&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_function meta_function_actionscript meta_function_actionscript_3&quot;&gt;{&lt;br /&gt;            lineSize&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt;s&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;        &lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// fire when user press mouse down&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_definition meta_definition_method meta_definition_method_actionscript meta_definition_method_actionscript_3&quot;&gt;        &lt;span class=&quot;storage storage_type storage_type_namespace storage_type_namespace_actionscript storage_type_namespace_actionscript_3&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_actionscript storage_type_function_actionscript_3&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_function entity_name_function_actionscript entity_name_function_actionscript_3&quot;&gt;mouseDownHandler&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_actionscript punctuation_definition_parameters_begin_actionscript_3&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;variable variable_paramater variable_paramater_method variable_paramater_method_actionscript variable_paramater_method_actionscript_3&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_actionscript punctuation_seperator_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt; )&lt;span class=&quot;meta meta_method-return meta_method-return_actionscript meta_method-return_actionscript_3&quot;&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_return-type punctuation_seperator_return-type_actionscript punctuation_seperator_return-type_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;keyword keyword_void keyword_void_actionscript keyword_void_actionscript_3&quot;&gt;void&lt;/span&gt;&lt;br /&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_function meta_function_actionscript meta_function_actionscript_3&quot;&gt;{&lt;br /&gt;            &lt;br /&gt;            &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_color&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;Number&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; lineColor&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_size&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;Number&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; lineSize&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_startPoint&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_actionscript keyword_operator_actionscript_3&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Point&lt;/span&gt;( &lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;mouseX&lt;/span&gt; , &lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;mouseY&lt;/span&gt; )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_drawLine&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;lineStyle&lt;/span&gt;( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_size&lt;/span&gt; , &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_color&lt;/span&gt; , &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;1.0&lt;/span&gt; )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_drawLine&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;moveTo&lt;/span&gt;( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_startPoint&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;x&lt;/span&gt; , &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_startPoint&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;y&lt;/span&gt; )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;addEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_MOVE&lt;/span&gt; , mouseMoveHandler )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;addEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_UP&lt;/span&gt; , mouseUpHander )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;        &lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// fire when user move the mouse&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_definition meta_definition_method meta_definition_method_actionscript meta_definition_method_actionscript_3&quot;&gt;        &lt;span class=&quot;storage storage_type storage_type_namespace storage_type_namespace_actionscript storage_type_namespace_actionscript_3&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_actionscript storage_type_function_actionscript_3&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_function entity_name_function_actionscript entity_name_function_actionscript_3&quot;&gt;mouseMoveHandler&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_actionscript punctuation_definition_parameters_begin_actionscript_3&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;variable variable_paramater variable_paramater_method variable_paramater_method_actionscript variable_paramater_method_actionscript_3&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_actionscript punctuation_seperator_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt; )&lt;span class=&quot;meta meta_method-return meta_method-return_actionscript meta_method-return_actionscript_3&quot;&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_return-type punctuation_seperator_return-type_actionscript punctuation_seperator_return-type_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;keyword keyword_void keyword_void_actionscript keyword_void_actionscript_3&quot;&gt;void&lt;/span&gt;&lt;br /&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_function meta_function_actionscript meta_function_actionscript_3&quot;&gt;{&lt;br /&gt;            &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_newPoint&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_actionscript keyword_operator_actionscript_3&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Point&lt;/span&gt;(  &lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;mouseX&lt;/span&gt; , &lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;mouseY&lt;/span&gt; )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_distance&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;Number&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Point&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;distance&lt;/span&gt;( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_startPoint&lt;/span&gt; , &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_newPoint&lt;/span&gt; )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;     &lt;br /&gt;            &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_drawLine&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;lineTo&lt;/span&gt;( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_newPoint&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;x&lt;/span&gt; , &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_newPoint&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;y&lt;/span&gt; )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;        &lt;br /&gt;        &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// fire when user&#39;s mouse is up&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_definition meta_definition_method meta_definition_method_actionscript meta_definition_method_actionscript_3&quot;&gt;        &lt;span class=&quot;storage storage_type storage_type_namespace storage_type_namespace_actionscript storage_type_namespace_actionscript_3&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_actionscript storage_type_function_actionscript_3&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_function entity_name_function_actionscript entity_name_function_actionscript_3&quot;&gt;mouseUpHander&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_actionscript punctuation_definition_parameters_begin_actionscript_3&quot;&gt;(&lt;/span&gt; &lt;span class=&quot;variable variable_paramater variable_paramater_method variable_paramater_method_actionscript variable_paramater_method_actionscript_3&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_actionscript punctuation_seperator_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_class support_class_actionscript support_class_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt; )&lt;span class=&quot;meta meta_method-return meta_method-return_actionscript meta_method-return_actionscript_3&quot;&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_return-type punctuation_seperator_return-type_actionscript punctuation_seperator_return-type_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;keyword keyword_void keyword_void_actionscript keyword_void_actionscript_3&quot;&gt;void&lt;/span&gt;&lt;br /&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_function meta_function_actionscript meta_function_actionscript_3&quot;&gt;{&lt;br /&gt;            detectDir()&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;                        &lt;br /&gt;            &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_drawLine&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;clear&lt;/span&gt;()&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_MOVE&lt;/span&gt; , mouseMoveHandler )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_UP&lt;/span&gt; , mouseUpHander )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;        &lt;br /&gt;        &lt;span class=&quot;comment comment_block comment_block_actionscript comment_block_actionscript_3&quot;&gt;/* detecting the mouse move direction */&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;meta meta_definition meta_definition_method meta_definition_method_actionscript meta_definition_method_actionscript_3&quot;&gt;        &lt;span class=&quot;storage storage_type storage_type_namespace storage_type_namespace_actionscript storage_type_namespace_actionscript_3&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_actionscript storage_type_function_actionscript_3&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_function entity_name_function_actionscript entity_name_function_actionscript_3&quot;&gt;detectDir&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_actionscript punctuation_definition_parameters_begin_actionscript_3&quot;&gt;(&lt;/span&gt;)&lt;span class=&quot;meta meta_method-return meta_method-return_actionscript meta_method-return_actionscript_3&quot;&gt;&lt;span class=&quot;punctuation punctuation_seperator punctuation_seperator_return-type punctuation_seperator_return-type_actionscript punctuation_seperator_return-type_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;keyword keyword_void keyword_void_actionscript keyword_void_actionscript_3&quot;&gt;void&lt;/span&gt; &lt;br /&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_function meta_function_actionscript meta_function_actionscript_3&quot;&gt;{&lt;br /&gt;            &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_vector&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Point&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_newPoint&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_flash support_function_flash_actionscript support_function_flash_actionscript_3&quot;&gt;subtract&lt;/span&gt;( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_startPoint&lt;/span&gt; )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;storage storage_type storage_type_actionscript storage_type_actionscript_3&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;support support_type support_type_function support_type_function_global support_type_function_global_actionscript support_type_function_global_actionscript_3&quot;&gt;Number&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;support support_class support_class_top-level support_class_top-level_actionscript support_class_top-level_actionscript_3&quot;&gt;Math&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_top-level support_function_top-level_actionscript support_function_top-level_actionscript_3&quot;&gt;atan2&lt;/span&gt;( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_vector&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;y&lt;/span&gt; , &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_vector&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_property support_property_mx support_property_mx_actionscript support_property_mx_actionscript_3&quot;&gt;x&lt;/span&gt; )  &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;180&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;support support_class support_class_top-level support_class_top-level_actionscript support_class_top-level_actionscript_3&quot;&gt;Math&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;PI&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// move down&lt;br /&gt;&lt;/span&gt;            &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;if&lt;/span&gt; ( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;gt;=&lt;/span&gt; &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;45&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;125&lt;/span&gt; ){&lt;span class=&quot;meta meta_scope meta_scope_block meta_scope_block_actionscript meta_scope_block_actionscript_3&quot;&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;dispatchEvent&lt;/span&gt;(&lt;span class=&quot;keyword keyword_operator keyword_operator_actionscript keyword_operator_actionscript_3&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Event&lt;/span&gt;(MouseGesture&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;GESTURE_DOWN&lt;/span&gt;,&lt;span class=&quot;constant constant_language constant_language_boolean constant_language_boolean_true constant_language_boolean_true_actionscript constant_language_boolean_true_actionscript_3&quot;&gt;true&lt;/span&gt;))&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_MOVE&lt;/span&gt; , mouseMoveHandler )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_UP&lt;/span&gt; , mouseUpHander )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;             &lt;br /&gt;            &lt;/span&gt;}   &lt;br /&gt;            &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// move left&lt;br /&gt;&lt;/span&gt;            &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;if&lt;/span&gt; ( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;gt;=&lt;/span&gt; &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;125&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;||&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;125&lt;/span&gt; ){&lt;span class=&quot;meta meta_scope meta_scope_block meta_scope_block_actionscript meta_scope_block_actionscript_3&quot;&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;dispatchEvent&lt;/span&gt;(&lt;span class=&quot;keyword keyword_operator keyword_operator_actionscript keyword_operator_actionscript_3&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Event&lt;/span&gt;(MouseGesture&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;GESTURE_LEFT&lt;/span&gt;,&lt;span class=&quot;constant constant_language constant_language_boolean constant_language_boolean_true constant_language_boolean_true_actionscript constant_language_boolean_true_actionscript_3&quot;&gt;true&lt;/span&gt;))        &lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_MOVE&lt;/span&gt; , mouseMoveHandler )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_UP&lt;/span&gt; , mouseUpHander )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;             &lt;br /&gt;                &lt;br /&gt;            &lt;/span&gt;}   &lt;br /&gt;            &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// move right&lt;br /&gt;&lt;/span&gt;            &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;if&lt;/span&gt; ( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;gt;=&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;45&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;45&lt;/span&gt; ){&lt;span class=&quot;meta meta_scope meta_scope_block meta_scope_block_actionscript meta_scope_block_actionscript_3&quot;&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;dispatchEvent&lt;/span&gt;(&lt;span class=&quot;keyword keyword_operator keyword_operator_actionscript keyword_operator_actionscript_3&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Event&lt;/span&gt;(MouseGesture&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;GESTURE_RIGHT&lt;/span&gt;,&lt;span class=&quot;constant constant_language constant_language_boolean constant_language_boolean_true constant_language_boolean_true_actionscript constant_language_boolean_true_actionscript_3&quot;&gt;true&lt;/span&gt;))&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_MOVE&lt;/span&gt; , mouseMoveHandler )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_UP&lt;/span&gt; , mouseUpHander )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;             &lt;br /&gt;                &lt;br /&gt;            &lt;/span&gt;}   &lt;br /&gt;            &lt;span class=&quot;comment comment_line comment_line_double-slash comment_line_double-slash_actionscript comment_line_double-slash_actionscript_3&quot;&gt;// move up&lt;br /&gt;&lt;/span&gt;            &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;keyword keyword_control keyword_control_actionscript keyword_control_actionscript_3&quot;&gt;if&lt;/span&gt; ( &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;gt;=&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;125&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_private variable_language_private_actionscript variable_language_private_actionscript_3&quot;&gt;_angle&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_actionscript constant_numeric_actionscript_3&quot;&gt;45&lt;/span&gt; ){&lt;span class=&quot;meta meta_scope meta_scope_block meta_scope_block_actionscript meta_scope_block_actionscript_3&quot;&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;dispatchEvent&lt;/span&gt;(&lt;span class=&quot;keyword keyword_operator keyword_operator_actionscript keyword_operator_actionscript_3&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;Event&lt;/span&gt;(MouseGesture&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;GESTURE_UP&lt;/span&gt;,&lt;span class=&quot;constant constant_language constant_language_boolean constant_language_boolean_true constant_language_boolean_true_actionscript constant_language_boolean_true_actionscript_3&quot;&gt;true&lt;/span&gt;))&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_MOVE&lt;/span&gt; , mouseMoveHandler )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;&lt;br /&gt;                &lt;span class=&quot;support support_function support_function_mx support_function_mx_actionscript support_function_mx_actionscript_3&quot;&gt;removeEventListener&lt;/span&gt;( &lt;span class=&quot;support support_class support_class_flash support_class_flash_actionscript support_class_flash_actionscript_3&quot;&gt;MouseEvent&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_dot keyword_operator_symbolic_dot_actionscript keyword_operator_symbolic_dot_actionscript_3&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_conventional constant_language_conventional_actionscript constant_language_conventional_actionscript_3&quot;&gt;MOUSE_UP&lt;/span&gt; , mouseUpHander )&lt;span class=&quot;keyword keyword_operator keyword_operator_symbolic keyword_operator_symbolic_actionscript keyword_operator_symbolic_actionscript_3&quot;&gt;;&lt;/span&gt;             &lt;br /&gt;                &lt;br /&gt;            &lt;/span&gt;}   &lt;br /&gt;        }&lt;/span&gt;&lt;br /&gt;    }&lt;/span&gt;&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</description><link>https://www.stopdesign.cn/2009/04/blog-post.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-6942169063810096635</guid><pubDate>Thu, 09 Apr 2009 10:47:00 +0000</pubDate><atom:updated>2009-04-09T18:55:31.218+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ar</category><category domain="http://www.blogger.com/atom/ns#">flash</category><title>简单地玩augmented reality</title><description>&lt;img src=&quot;http://www.stopdesign.cn/file/printme.jpg&quot; alt=&quot;print&quot; /&gt;&lt;br /&gt;&lt;br /&gt;把&lt;a href=&quot;http://www.stopdesign.cn/file/printme.jpg&quot; title&quot;printme&quot;&gt;上面这张图片&lt;/a&gt;发送到你手机中，比如用gmail发给自己，然后在手机中下载打开，接着前往&lt;a href=&quot;http://ge.ecomagination.com/smartgrid/ar/turbine.html?c_id=Huff&quot; title=&quot;ar&quot;&gt;这个网址&lt;/a&gt;，打开摄影头，就有类似的东西出现在你面前了：&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.stopdesign.cn/uploaded_images/ar-752262.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 400px; height: 318px;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/ar-752044.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://ge.ecomagination.com/smartgrid/?c_id=Huff#/augmented_reality&quot; title=&quot;more ar&quot;&gt;更多...&lt;/a&gt;</description><link>https://www.stopdesign.cn/2009/04/augmented-reality.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-1022433563265648640</guid><pubDate>Sat, 27 Dec 2008 07:22:00 +0000</pubDate><atom:updated>2008-12-27T15:34:54.849+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">air</category><category domain="http://www.blogger.com/atom/ns#">simbl</category><title>SIMBL与AIR应用的冲突</title><description>如果你在使用 HTML+JS 的方式构建 AIR 应用，那么在 mac 中可能由 SIMBL (Smart InputManager Bundle Loader) &lt;a href=&quot;http://www.mikechambers.com/blog/2008/12/03/have-you-had-any-issues-with-adobe-air-15/#comment-15162&quot;&gt;引起 crash&lt;/a&gt;，不管应用多简单。解决方法是暂时重命名SIMBL文件夹(或等AIR更新)，比如改为： /Library/Application Support/SIMBL01/</description><link>https://www.stopdesign.cn/2008/12/simblair.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-8279714004616927999</guid><pubDate>Tue, 09 Dec 2008 12:36:00 +0000</pubDate><atom:updated>2008-12-09T20:52:44.729+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">dom</category><category domain="http://www.blogger.com/atom/ns#">event</category><category domain="http://www.blogger.com/atom/ns#">javascript</category><title>常用的DOM操作、事件</title><description>来自:&lt;a href=&quot;http://www.dustindiaz.com/add-remove-elements-reprise/&quot;&gt;Dustin Diaz&lt;/a&gt;，我加上了删除事件。&lt;br /&gt;&lt;pre class=&quot;textmate-source blackboard_black&quot;&gt;&lt;span class=&quot;source source_js&quot;&gt;&lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;var&lt;/span&gt; Dom &lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_function meta_function_json meta_function_json_js&quot;&gt;&lt;span class=&quot;entity entity_name entity_name_function entity_name_function_js&quot;&gt;get&lt;/span&gt;: &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_js&quot;&gt;el&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_end punctuation_definition_parameters_end_js&quot;&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;typeof&lt;/span&gt; el &lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;===&lt;/span&gt; &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_js&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_js&quot;&gt;&#39;&lt;/span&gt;string&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_js&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;support support_class support_class_js&quot;&gt;document&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_dom support_function_dom_js&quot;&gt;getElementById&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;return&lt;/span&gt; el&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_function meta_function_json meta_function_json_js&quot;&gt;&lt;span class=&quot;entity entity_name entity_name_function entity_name_function_js&quot;&gt;add&lt;/span&gt;: &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_js&quot;&gt;el, dest&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_end punctuation_definition_parameters_end_js&quot;&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;var&lt;/span&gt; el &lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_js&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;var&lt;/span&gt; dest &lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_js&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;dest&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    dest&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_dom support_function_dom_js&quot;&gt;appendChild&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_function meta_function_json meta_function_json_js&quot;&gt;&lt;span class=&quot;entity entity_name entity_name_function entity_name_function_js&quot;&gt;remove&lt;/span&gt;: &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_js&quot;&gt;el&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_end punctuation_definition_parameters_end_js&quot;&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;var&lt;/span&gt; el &lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;variable variable_language variable_language_js&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    el&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_constant support_constant_dom support_constant_dom_js&quot;&gt;parentNode&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_dom support_function_dom_js&quot;&gt;removeChild&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;var&lt;/span&gt; Event &lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_function meta_function_json meta_function_json_js&quot;&gt;&lt;span class=&quot;entity entity_name entity_name_function entity_name_function_js&quot;&gt;add&lt;/span&gt;: &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_end punctuation_definition_parameters_end_js&quot;&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;support support_class support_class_js&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;addEventListener&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;type&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;fn&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;        Dom&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;addEventListener&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;type&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;fn&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_boolean constant_language_boolean_false constant_language_boolean_false_js&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;support support_class support_class_js&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;attachEvent&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;type&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;fn&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;meta meta_function meta_function_js&quot;&gt;&lt;span class=&quot;entity entity_name entity_name_function entity_name_function_js&quot;&gt;f&lt;/span&gt; = &lt;span class=&quot;storage storage_type storage_type_function storage_type_function_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_end punctuation_definition_parameters_end_js&quot;&gt;)&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;          fn&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_js&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;Dom&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;support support_class support_class_js&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_class support_class_js&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;        Dom&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_js&quot;&gt;attachEvent&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_js&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_js&quot;&gt;&#39;&lt;/span&gt;on&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_js&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;+&lt;/span&gt; type&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;f&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;meta meta_function meta_function_json meta_function_json_js&quot;&gt;&lt;span class=&quot;entity entity_name entity_name_function entity_name_function_js&quot;&gt;remove&lt;/span&gt;:&lt;span class=&quot;storage storage_type storage_type_function storage_type_function_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_end punctuation_definition_parameters_end_js&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;     &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;support support_class support_class_js&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;removeEventListener&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;type&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;,&lt;/span&gt;fn&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;        Dom&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;removeEventListener&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;type&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;fn&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;constant constant_language constant_language_boolean constant_language_boolean_false constant_language_boolean_false_js&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt; &lt;br /&gt;      &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;support support_class support_class_js&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;detachEvent&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;keyword keyword_control keyword_control_js&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;storage storage_type storage_type_js&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;type&lt;span class=&quot;meta meta_delimiter meta_delimiter_object meta_delimiter_object_comma meta_delimiter_object_comma_js&quot;&gt;, &lt;/span&gt;fn&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;{&lt;/span&gt;&lt;br /&gt;        Dom&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;get&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;el&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;meta meta_delimiter meta_delimiter_method meta_delimiter_method_period meta_delimiter_method_period_js&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;support support_function support_function_js&quot;&gt;detachEvent&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_js&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_js&quot;&gt;&#39;&lt;/span&gt;on&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_js&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;keyword keyword_operator keyword_operator_js&quot;&gt;+&lt;/span&gt; type&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;meta meta_brace meta_brace_round meta_brace_round_js&quot;&gt;()&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;meta meta_brace meta_brace_curly meta_brace_curly_js&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_terminator punctuation_terminator_statement punctuation_terminator_statement_js&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;使用时类似：Event.add(&#39;domId&#39;, &#39;click&#39;,install); &lt;br /&gt;和 &lt;acronym title=&quot;actionscript&quot;&gt;AS&lt;/acronym&gt; 中的 tweener 语法挺像的：&lt;br /&gt;&lt;pre&gt;Tweener.addTween(event.displayObject3D, {&lt;br /&gt;     rotationY:180,&lt;br /&gt;     time:0.5,&lt;br /&gt;     transition:&quot;easeOutQuart&quot;&lt;br /&gt;    } );   &lt;br /&gt;&lt;/pre&gt;</description><link>https://www.stopdesign.cn/2008/12/dom.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-3627207301301122254</guid><pubDate>Thu, 27 Nov 2008 13:21:00 +0000</pubDate><atom:updated>2008-11-27T21:28:04.973+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">bookmarklets</category><category domain="http://www.blogger.com/atom/ns#">frontend</category><category domain="http://www.blogger.com/atom/ns#">jash</category><category domain="http://www.blogger.com/atom/ns#">javascript</category><title>分享2个bookmarklet</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.stopdesign.cn/uploaded_images/jash-739967.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/jash-739962.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;一个是 &lt;a href=&quot;http://karmatics.com/aardvark/&quot; title=&quot;Aardvark&quot;&gt;Aardvark&lt;/a&gt;, 一点不逊于 firebug 的东西，在许多介绍 web 开发用的 firefox 插件的文章都没有提到过。Aardvark 在不太熟悉现有 HTML 结构与已有 CSS 规则时显得特别方便，因为通过它可以方便的查阅整个 HTML DOM 的相关信息，包括实时地删除它们、改变颜色、查看格式化的部分源代码等等。 Aardvark 同时提供了 firefox 插件和 bookmarklet。&lt;br /&gt;另一个是 &lt;a href=&quot;http://www.billyreisinger.com/jash/screenshots.html&quot; title=&quot;jash&quot;&gt;Jash&lt;/a&gt;, 跟 ipython 一样，作为一个好的 console，自动补全自然必不可少，console 本身可以做为很好的学习工具。Jash 同样是基于 bookmarklet, 不用考虑跨浏览器的问题。比如我现在大部分时间都用 safari, 配合 quicksilver 的 safari module，就可以方便地调用。Jash 可以实时地写入 CSS, 这在 &lt;acronym title=&quot;internet explorer&quot;&gt;IE&lt;/acronym&gt; 中就特别有用，比如要测试远程的 CSS 规则，在 Jash 中 ctrl+s 再把样式定义写进去就可以了。Jash 本身也是用 javascript 写成的，所以如果你觉得哪个地方用得不顺手，完全可以自己改写它。&lt;br /&gt;这2个东西都有良好的快捷键支持，好软件都有这个特征。&lt;br /&gt;写完这个就发现：&lt;br /&gt;&lt;a href=&quot;http://www.webresourcesdepot.com/15-must-have-bookmarklets-for-web-designers-and-developers/&quot;&gt;15 Must-Have Bookmarklets For Web Designers And Developers&lt;/a&gt;&lt;br /&gt;另外，这个周末会去 &lt;a href=&quot;http://www.d2forum.org/d2/3/index.html&quot;&gt;D2 论坛&lt;/a&gt;看看，可以看到一些熟悉的 ID。</description><link>https://www.stopdesign.cn/2008/11/2bookmarklet.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-7355926431729021328</guid><pubDate>Wed, 26 Nov 2008 13:20:00 +0000</pubDate><atom:updated>2008-11-27T20:53:41.626+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">graph</category><category domain="http://www.blogger.com/atom/ns#">social</category><title>Social software graph</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.stopdesign.cn/uploaded_images/grap-775115.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/grap-775115.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://arthurkoziel.com/2008/11/23/social-software-graph/&quot;&gt;via&lt;/a&gt;&lt;br /&gt;&lt;pre class=&quot;textmate-source blackboard_black&quot;&gt;&lt;span class=&quot;source source_python&quot;&gt;&lt;span class=&quot;keyword keyword_control keyword_control_import keyword_control_import_from keyword_control_import_from_python&quot;&gt;from&lt;/span&gt; random &lt;span class=&quot;keyword keyword_control keyword_control_import keyword_control_import_python&quot;&gt;import&lt;/span&gt; uniform&lt;br /&gt;graph &lt;span class=&quot;keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_python&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;ximport&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_arguments meta_function-call_arguments_python&quot;&gt;&lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;graph&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;size&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_arguments meta_function-call_arguments_python&quot;&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_integer constant_numeric_integer_decimal constant_numeric_integer_decimal_python&quot;&gt;500&lt;/span&gt;, &lt;span class=&quot;constant constant_numeric constant_numeric_integer constant_numeric_integer_decimal constant_numeric_integer_decimal_python&quot;&gt;300&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;meta meta_function meta_function_python&quot;&gt;&lt;span class=&quot;storage storage_type storage_type_function storage_type_function_python&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;entity entity_name entity_name_function entity_name_function_python&quot;&gt;curly_edge&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_begin punctuation_definition_parameters_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function meta_function_parameters meta_function_parameters_python&quot;&gt;&lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_python&quot;&gt;style&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_separator punctuation_separator_parameters punctuation_separator_parameters_python&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_python&quot;&gt;path&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_separator punctuation_separator_parameters punctuation_separator_parameters_python&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_python&quot;&gt;edge&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_separator punctuation_separator_parameters punctuation_separator_parameters_python&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_python&quot;&gt;alpha&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_python&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_float constant_numeric_float_python&quot;&gt;1.0&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_parameters punctuation_definition_parameters_end punctuation_definition_parameters_end_python&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_section punctuation_section_function punctuation_section_function_begin punctuation_section_function_begin_python&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;path.moveto&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_arguments meta_function-call_arguments_python&quot;&gt;edge.node1.x, edge.node1.y&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;path.curveto&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_arguments meta_function-call_arguments_python&quot;&gt;&lt;br /&gt;        edge.node1.x &lt;span class=&quot;keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_python&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;constant constant_numeric constant_numeric_integer constant_numeric_integer_decimal constant_numeric_integer_decimal_python&quot;&gt;40&lt;/span&gt;,&lt;br /&gt;        edge.node1.y,&lt;br /&gt;        edge.node2.x &lt;span class=&quot;keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_python&quot;&gt;+&lt;/span&gt; &lt;span class=&quot;constant constant_numeric constant_numeric_integer constant_numeric_integer_decimal constant_numeric_integer_decimal_python&quot;&gt;40&lt;/span&gt;,&lt;br /&gt;        edge.node2.y,&lt;br /&gt;        edge.node2.x,&lt;br /&gt;        edge.node2.y,&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;g &lt;span class=&quot;keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_python&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;graph.create&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_arguments meta_function-call_arguments_python&quot;&gt;&lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_python&quot;&gt;distance&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_python&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_float constant_numeric_float_python&quot;&gt;0.4&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;keyword keyword_control keyword_control_flow keyword_control_flow_python&quot;&gt;for&lt;/span&gt; service &lt;span class=&quot;keyword keyword_operator keyword_operator_logical keyword_operator_logical_python&quot;&gt;in&lt;/span&gt; (&lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;VeryCD&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Twitter&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Last.fm&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Douban&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;theFlashBlog&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;,&lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Latest Macromedia News&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;,&lt;br /&gt;                &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Delicious&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Google Reader&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Flickr&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, ):&lt;br /&gt;    &lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;g.add_node&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_arguments meta_function-call_arguments_python&quot;&gt;service, &lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_python&quot;&gt;radius&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_python&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_integer constant_numeric_integer_decimal constant_numeric_integer_decimal_python&quot;&gt;5&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;comment comment_line comment_line_number-sign comment_line_number-sign_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_comment punctuation_definition_comment_python&quot;&gt;#&lt;/span&gt; connect services with FriendFeed&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;keyword keyword_control keyword_control_flow keyword_control_flow_python&quot;&gt;for&lt;/span&gt; service &lt;span class=&quot;keyword keyword_operator keyword_operator_logical keyword_operator_logical_python&quot;&gt;in&lt;/span&gt; (&lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Twitter&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Last.fm&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Delicious&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Google Reader&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;Flickr&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;,&lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;LinkedIn&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;):&lt;br /&gt;    &lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;g.add_edge&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_arguments meta_function-call_arguments_python&quot;&gt;service, &lt;span class=&quot;string string_quoted string_quoted_single string_quoted_single_single-line string_quoted_single_single-line_python&quot;&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_begin punctuation_definition_string_begin_python&quot;&gt;&#39;&lt;/span&gt;FriendFeed&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_string punctuation_definition_string_end punctuation_definition_string_end_python&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;variable variable_parameter variable_parameter_function variable_parameter_function_python&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_python&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;uniform&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_arguments meta_function-call_arguments_python&quot;&gt;&lt;span class=&quot;constant constant_numeric constant_numeric_integer constant_numeric_integer_decimal constant_numeric_integer_decimal_python&quot;&gt;50&lt;/span&gt;,&lt;span class=&quot;constant constant_numeric constant_numeric_integer constant_numeric_integer_decimal constant_numeric_integer_decimal_python&quot;&gt;100&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;g.styles.default.edge &lt;span class=&quot;keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_python&quot;&gt;=&lt;/span&gt; curly_edge&lt;br /&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;g.solve&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;meta meta_function-call meta_function-call_python&quot;&gt;g.draw&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_begin punctuation_definition_arguments_begin_python&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;punctuation punctuation_definition punctuation_definition_arguments punctuation_definition_arguments_end punctuation_definition_arguments_end_python&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</description><link>https://www.stopdesign.cn/2008/11/social-software-graph.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-4907875775351751427</guid><pubDate>Wed, 19 Nov 2008 15:28:00 +0000</pubDate><atom:updated>2009-02-11T11:37:36.674+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">air</category><category domain="http://www.blogger.com/atom/ns#">flex</category><category domain="http://www.blogger.com/atom/ns#">growl</category><category domain="http://www.blogger.com/atom/ns#">photo booth</category><title>Photo Booth AIR 更新</title><description>&lt;a href=&quot;http://www.stopdesign.cn/air/booth/&quot; title=&quot;photo booth&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 270px; height: 61px;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/Picture-5-705951.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;导出成功时加入了 &lt;a href=&quot;http://www.mikechambers.com/blog/2008/11/13/growl-support-for-adobe-air-applications/#more-1604&quot;&gt;Growl&lt;/a&gt; 的提示。由于命名空间会跟 mx.core 包里 Application 起冲突，Growl 的应用程序窗口只能显式地定义为：a = new com.adobe.growl.Application();</description><link>https://www.stopdesign.cn/2008/11/photo-booth-air_19.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-6923398611403542529</guid><pubDate>Mon, 10 Nov 2008 16:40:00 +0000</pubDate><atom:updated>2008-11-11T00:46:19.830+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">air</category><category domain="http://www.blogger.com/atom/ns#">flex</category><title>photo booth air</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.stopdesign.cn/air/booth/&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 400px; height: 295px;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/Picture-3-765921.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.stopdesign.cn/air/booth/&quot;&gt;http://www.stopdesign.cn/air/booth/&lt;/a&gt;&lt;br /&gt;把 photo booth port 到  AIR 上，相比 mac 自带的 photo booth 当然简陋很多…点击生成的照片在桌面，生成成功暂时没有提示。</description><link>https://www.stopdesign.cn/2008/11/photo-booth-air.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-7267799534891634863</guid><pubDate>Mon, 10 Nov 2008 13:23:00 +0000</pubDate><atom:updated>2008-11-10T22:03:18.869+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">bundles</category><category domain="http://www.blogger.com/atom/ns#">textmate</category><title>分享我在用的textmate  bundles</title><description>&lt;a href=&quot;http://tmbundle.googlecode.com/files/frontend.zip&quot;&gt;frontend.zip&lt;/a&gt; 主要来自&lt;a href=&quot;http://minimaldesign.net/&quot;&gt;minimaldesign.net&lt;/a&gt;，我增加了一些常用的东西，比如 reset CSS, toggle display, $(dollar), addEvent 等，使用时，如输入 dollar 再 tab 就会出来 getElementById 的替代函数 $()。更多可以通过 bundle editor 看到。（这些东西太常用了，&lt;acronym title=&quot;don&#39;t repeat yourself&quot;&gt;DRY&lt;/acronym&gt;)。具体使用效果可以参考这个&lt;a href=&quot;http://minimaldesign.net/uploads/screencasts/html_css_textmate_bundles.mov&quot;&gt;视频&lt;/a&gt;。</description><link>https://www.stopdesign.cn/2008/11/textmate-bundles.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-1237064246068395616</guid><pubDate>Thu, 06 Nov 2008 14:31:00 +0000</pubDate><atom:updated>2008-11-06T22:45:38.113+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">interface</category><category domain="http://www.blogger.com/atom/ns#">iphone</category><title>iphone的短信界面</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.stopdesign.cn/ui/iphone/&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;width: 538px; height: 293px;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/Picture-1-725174.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;发现原来 Adium 的聊天窗口&lt;a href=&quot;http://www.adiumxtras.com/index.php?a=xtras&amp;xtra_id=5760&quot;&gt;界面&lt;/a&gt;是用 HTML+CSS 写的，我把其中的内容拿出来做了个&lt;a href=&quot;http://www.stopdesign.cn/ui/iphone/&quot;&gt;演示&lt;/a&gt;，由于 CSS 中没有类似 flash 9-slice 的概念，这种糖果条的设计就要依赖许多额外的标签，许多 Adium 的主题都是这样处理的。</description><link>https://www.stopdesign.cn/2008/11/iphone.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-6888579666560201955</guid><pubDate>Wed, 29 Oct 2008 15:02:00 +0000</pubDate><atom:updated>2008-11-05T13:57:44.861+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">safari</category><title>safari插件</title><description>如果经常使用 safari 会发现一些不友好的地方，比如每个标签页旁边的关闭按钮，不小心就会点到，而又不能打开刚关闭的标签；不能随时把窗口最大化（不是全屏）；标签旁边没有所访问网站的 favicon；进阶点不支持鼠标手势等等。虽然换 firefox 一些问题就可以得到解决，不过 firefox 作为浏览器始终容易变得臃肿（特别在同时开许多标签页、装许多扩展的情况下），更适合当开发工具。&lt;br /&gt;还好，safari 的这些小问题是&lt;a href=&quot;http://d.hatena.ne.jp/tanemori/20081029/SafariPlugins&quot;&gt;可以解决&lt;/a&gt;的。</description><link>https://www.stopdesign.cn/2008/10/safari.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-6458329411604934554</guid><pubDate>Thu, 25 Sep 2008 17:05:00 +0000</pubDate><atom:updated>2008-11-24T20:45:58.808+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">python</category><title>第一个python程序</title><description>&lt;div class=&quot;hlcode&quot;&gt; &lt;div class=&quot;syntax&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c&quot;&gt;# search IMDB TOP 250 in VeryCD&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;c&quot;&gt;# Author: chenqian&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;c&quot;&gt;# URL: www.stopdesign.cn&lt;/span&gt; &lt;br /&gt; &lt;br /&gt;&lt;span class=&quot;kn&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;urllib2&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;kn&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;BeautifulSoup&lt;/span&gt; &lt;span class=&quot;kn&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;BeautifulSoup&lt;/span&gt; &lt;br /&gt; &lt;br /&gt;&lt;span class=&quot;n&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;urllib2&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;urlopen&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;http://www.imdb.com/chart/top&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;n&quot;&gt;soup&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;BeautifulSoup&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;page&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;read&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;())&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;n&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;soup&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;table&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)[&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;n&quot;&gt;vcurl&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;#39;&amp;#39;&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;i&lt;/span&gt; &lt;span class=&quot;ow&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;br /&gt; &lt;span class=&quot;n&quot;&gt;movies&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;contents&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;contents&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;contents&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;contents&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt; &lt;br /&gt; &lt;span class=&quot;c&quot;&gt;#print movies  &lt;/span&gt; &lt;br /&gt; &lt;span class=&quot;n&quot;&gt;vcurl&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+=&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;&amp;lt;a href=&amp;#39;http://www.verycd.com/search/folders/&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;movies&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;&amp;#39;&amp;gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;movies&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\n&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&amp;quot;&lt;/span&gt; &lt;br /&gt; &lt;span class=&quot;c&quot;&gt;# age print i.contents[2].contents[0].contents[1]&lt;/span&gt; &lt;br /&gt;              &lt;br /&gt;&lt;span class=&quot;n&quot;&gt;filename&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;quot;top250.html&amp;quot;&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;nb&quot;&gt;file&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;open&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;filename&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&amp;#39;w&amp;#39;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;nb&quot;&gt;file&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;write&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;vcurl&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;br /&gt;&lt;span class=&quot;nb&quot;&gt;file&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;close&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;/pre&gt;&lt;/div&gt; &lt;br /&gt;&lt;/div&gt; 用到了beautiful soup，结果在：&lt;a href=&quot;http://www.stopdesign.cn/file/top250.html&quot;&gt;top250.html&lt;/a&gt;</description><link>https://www.stopdesign.cn/2008/09/python.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-2881050409949076228</guid><pubDate>Tue, 23 Sep 2008 14:47:00 +0000</pubDate><atom:updated>2008-09-23T23:25:06.412+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">shortcut</category><category domain="http://www.blogger.com/atom/ns#">terminal</category><category domain="http://www.blogger.com/atom/ns#">UNIX</category><title>一些有用的快捷键</title><description>在终端中：&lt;blockquote&gt;CTRL + A — 移动到行首&lt;br /&gt;     CTRL + E — 移动到行末&lt;br /&gt;     CTRL + U — 清除全行&lt;br /&gt;     CTRL + B — 向后移动一字符&lt;br /&gt;     CTRL + F — 向前移动一字符&lt;br /&gt;     CTRL + H — 删除一字符，和delete一样&lt;br /&gt;     CTRL + W — 删除最后输入的单词&lt;br /&gt;     CTRL + C — 撤销运行中命令&lt;br /&gt;     CTRL + D — 退出当前会话&lt;/blockquote&gt;之前还老问&lt;a href=&quot;http://www.nimab.org/&quot;&gt;KFF&lt;/a&gt;怎么移动到行首，被告知可以 fn+shift+左/右，今天看到&lt;a href=&quot;http://nefariousdesigns.co.uk/archive/2008/09/the-joy-of-unix/&quot;&gt;更快捷的方式&lt;/a&gt;，原来 CTRL+C 是有一系列。UNIX 真的很有趣，时不时地 man 会发现许多神奇的东西，包括有时 man man 本身。而当你发现一个东西好用之后，就越发想用它来做更多事情，极致就是&lt;a href=&quot;http://blog.youxu.info/2008/09/16/cli/&quot;&gt;完全用键盘工作&lt;/a&gt;了。&lt;br /&gt;另外：&lt;br /&gt;fn+上/下/左/右—page up/page down/home/end</description><link>https://www.stopdesign.cn/2008/09/blog-post_23.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-3266925984498102370</guid><pubDate>Tue, 16 Sep 2008 14:26:00 +0000</pubDate><atom:updated>2008-09-16T22:56:05.589+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">silverback</category><category domain="http://www.blogger.com/atom/ns#">usability</category><title>一款新出的可用性测试软件</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.silverbackapp.com/&quot; title=&quot;sliverback&quot;&gt;&lt;img style=&quot;float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px;&quot; src=&quot;http://silverback.s3.amazonaws.com/images/gorilla.png&quot; border=&quot;0&quot; alt=&quot;sliverback&quot; /&gt;&lt;/a&gt;来自 clearleft 新推出的 &lt;a href=&quot;http://www.silverbackapp.com/&quot; title=&quot;silverback&quot;&gt;silverback&lt;/a&gt;，除了录制用户的操作，同时会在屏幕中显示用户使用过程的录像，跟我们在一般的用户测试录像中看到的一样。&lt;br /&gt;优点：简洁，捕捉鼠标、键盘操作；&lt;br /&gt;缺点：Mac-only，用户录像窗口不能设置大小，不能针对某个窗口录制，只能导出mov格式。</description><link>https://www.stopdesign.cn/2008/09/blog-post_16.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-2169331393614749180</guid><pubDate>Sun, 14 Sep 2008 07:23:00 +0000</pubDate><atom:updated>2008-09-14T15:31:19.796+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">webstandards</category><title>网站需要在所有的浏览器中看起来都一模一样吗？</title><description>&lt;a href=&quot;http://dowebsitesneedtolookexactlythesameineverybrowser.com/&quot; title=&quot;dowebsitesneedtolookexactlythesameineverybrowser&quot;&gt; do websites need to look exactly the same in every browser? &lt;/a&gt;</description><link>https://www.stopdesign.cn/2008/09/blog-post_14.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-571553920770452669</guid><pubDate>Tue, 09 Sep 2008 17:11:00 +0000</pubDate><atom:updated>2008-09-10T01:14:33.607+08:00</atom:updated><title>一篇很长的演讲稿</title><description>&lt;a href=&quot;http://www.cooper.com/journal/agile2008/&quot;&gt;&lt;img src=&quot;http://www.stopdesign.cn/uploaded_images/Picture-3-710552-710674.png&quot;  border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.cooper.com/journal/agile2008/&quot; target=&quot;_blank&quot;&gt;http://www.cooper.com/journal/agile2008/&lt;/a&gt;</description><link>https://www.stopdesign.cn/2008/09/blog-post_10.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-1359479580253634316</guid><pubDate>Mon, 01 Sep 2008 15:09:00 +0000</pubDate><atom:updated>2008-09-01T23:22:45.114+08:00</atom:updated><title>收到书了</title><description>收到了&lt;a href=&quot;http://www.blueidea.com/articleimg/game/flash/2008/12.html&quot;&gt;蓝色理想&lt;/a&gt;寄过来的 flex 书，书已是伤痕累累…&lt;br /&gt;代码部分:&lt;br /&gt;&lt;div class=&quot;syntax&quot;&gt;&lt;pre&gt;&lt;span class=&quot;k&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;flash.filters.BitmapFilter&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;k&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;flash.filters.BitmapFilterQuality&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;k&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;flash.filters.BitmapFilterType&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;k&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;flash.filters.GradientBevelFilter&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;k&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;flash.text.TextField&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;k&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;flash.text.TextFieldType&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;k&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;flash.display.Sprite&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;stage&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;scaleMode&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;StageScaleMode&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;NO_SCALE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;String&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;sound.mp3&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;URLRequest&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;URLRequest&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Sound&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;Sound&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ProgressEvent&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;PROGRESS&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;progressHandler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;COMPLETE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;completeHandler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;song&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;SoundChannel&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;play&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;song&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;SOUND_COMPLETE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;soundCompleteHandler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ba&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;ByteArray&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;ByteArray&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Sprite&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;Sprite&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;x&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;y&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;addChild&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;/*&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var bgColor:uint     = 0xCCCCCC;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var size:uint        = 80;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var offset:uint      = 50;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var distance:Number  = 5;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var angleInDegrees:Number = 225; // opposite 45 degrees&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var colors:Array     = [0xFF0000, 0xFFFFFF, 0x000000];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var alphas:Array     = [1, 0, 1];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var ratios:Array     = [0, 128, 255];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var blurX:Number     = 8;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var blurY:Number     = 8;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var strength:Number  = 2;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var quality:Number   = BitmapFilterQuality.HIGH&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var type:String      = BitmapFilterType.INNER;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var knockout:Boolean = true;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt; var filter:BitmapFilter=new GradientBevelFilter(distance,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           angleInDegrees,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           colors,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           alphas,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           ratios,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           blurX,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           blurY,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           strength,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           quality,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           type,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;                                           knockout);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;cm&quot;&gt;*/&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;bgColor&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;xCCCCCC&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint&lt;/span&gt;    &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;80&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint&lt;/span&gt;  &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;distance&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;  &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;angleInDegrees&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;45&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;colors&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Array&lt;/span&gt;     &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;xFFFFFF&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;xFF0000&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;xFFFF00&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mh&quot;&gt;0x00&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;CCFF&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;alphas&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Array&lt;/span&gt;     &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ratios&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Array&lt;/span&gt;     &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;63&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;126&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;255&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;];&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;blurX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;     &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;blurY&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;     &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;strength&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;  &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mf&quot;&gt;2.5&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;quality&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;   &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;BitmapFilterQuality&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;HIGH&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;String&lt;/span&gt;      &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;BitmapFilterType&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OUTER&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;knockout&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Boolean&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;BitmapFilter&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;GradientGlowFilter&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;distance&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;angleInDegrees&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;colors&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;alphas&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;ratios&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;blurX&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;blurY&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;strength&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;quality&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                          &lt;span class=&quot;n&quot;&gt;knockout&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;farr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;farr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Timer&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;Timer&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;50&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;addEventListener&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;TimerEvent&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;TIMER&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;timerHandler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;n&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;start&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;function &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;createTextField&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;err&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;err&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;err&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;height&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;TextField&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;TextField&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;TextField&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;TextFormat&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;TextFormat&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;font&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;Verdana&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;color&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;xFF0000&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;size&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;defaultTextFormat&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;format&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;x&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;y&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;width&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;width&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;height&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;height&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;addChild&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;loading&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;TextField&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;createTextField&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;200&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;20&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;loadstr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;function &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;progressHandler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;ProgressEvent&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;loadstr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Math&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;floor&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;bytesLoaded&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;bytesTotal&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;)*&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;));&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;loading&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;loadstr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;nf&quot;&gt;trace&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;loadstr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;c1&quot;&gt;//trace(&amp;quot; bytesLoaded=&amp;quot; + event.bytesLoaded + &amp;quot; bytesTotal=&amp;quot; + event.bytesTotal);&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;function &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;completeHandler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;c1&quot;&gt;//loading.visible=false;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;c1&quot;&gt;//s.removeEventListener(ProgressEvent.PROGRESS, progressHandler);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;target&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;play&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;function &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;soundCompleteHandler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;stop&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;function &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;timerHandler&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;event&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;TimerEvent&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;):&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;SoundMixer&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;computeSpectrum&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ba&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;clear&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;lineStyle&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;xFFFFFF&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;beginFill&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;xFFFFFF&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;moveTo&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;w&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;512&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;w&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;{&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;t&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ba&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;readFloat&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;();&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;Number&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;t&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;graphics&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;drawRect&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;w&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;);&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;n&quot;&gt;gr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;na&quot;&gt;filters&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;farr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt; &lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;o&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;</description><link>https://www.stopdesign.cn/2008/09/blog-post.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-2238838631066374832</guid><pubDate>Sat, 30 Aug 2008 13:46:00 +0000</pubDate><atom:updated>2008-09-01T23:54:16.664+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ubiquity  firefox</category><title>ubiquity</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.stopdesign.cn/uploaded_images/ubiquity-740668.png&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/ubiquity-740665.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_User_Tutorial&quot;&gt;ubiquity&lt;/a&gt; 是 &lt;a href=&quot;http://www.azarask.in/blog/&quot;&gt;Aza Raskin&lt;/a&gt; (Mac 之父的儿子) 新推出的一个 firefox 插件，像是基于浏览器的 quicksilver 。现在要在浏览器中完成一些任务不得不在几个窗口之间切换，比如想在邮件中插入一张地图，就得先打开一个窗口搜索地名，再切换到邮箱中贴上图或者地址，而有了 ubiquity ，这些操作都可以在一个窗口内轻松地实现。许多 web 服务都提供了 API，一般都可以用 javascript 方便地调用，比如花几分钟依样画葫芦地写一个更新饭否的功能。也可以用它来做 js 调试器，未释出前的版本就自带有一个。&lt;br /&gt;&lt;div class=&quot;syntax&quot;&gt;&lt;pre&gt;&lt;br /&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;fanfou_STATUS_MAXLEN&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;140&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;nx&quot;&gt;CmdUtils&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;CreateCommand&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;nx&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;fanfou&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;nx&quot;&gt;takes&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;status&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;noun_arb_text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;nx&quot;&gt;homepage&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;http://www.stopdesign.cn/ubiquity/&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;nx&quot;&gt;author&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;chen qian&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;homepage&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;http://stopdesign.cn/&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;nx&quot;&gt;license&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;MPL&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;nx&quot;&gt;preview&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;previewBlock&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;statusText&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;previewTemplate&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;更新你的饭否: &amp;lt;br/&amp;gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;       &lt;br /&gt;                          &lt;span class=&quot;s2&quot;&gt;&amp;quot;&amp;lt;b&amp;gt;${status}&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; &lt;br /&gt;                          &lt;span class=&quot;s2&quot;&gt;&amp;quot;Characters remaining: &amp;lt;b&amp;gt;${chars}&amp;lt;/b&amp;gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;truncateTemplate&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;&amp;lt;br /&amp;gt;超出的 &amp;lt;b&amp;gt;${truncate}&amp;lt;/b&amp;gt; &amp;quot;&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+&lt;/span&gt; &lt;br /&gt;                           &lt;span class=&quot;s2&quot;&gt;&amp;quot;会被截断!&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;previewData&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;status&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;statusText&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;chars&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;fanfou_STATUS_MAXLEN&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;statusText&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;length&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;previewHTML&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;CmdUtils&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;renderTemplate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;previewTemplate&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                                    &lt;span class=&quot;nx&quot;&gt;previewData&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;previewData&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;chars&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;truncateData&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;nx&quot;&gt;truncate&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;previewData&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;chars&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;previewHTML&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;+=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;CmdUtils&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;renderTemplate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;truncateTemplate&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;                                                   &lt;span class=&quot;nx&quot;&gt;truncateData&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;nx&quot;&gt;previewBlock&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;innerHTML&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;previewHTML&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;nx&quot;&gt;execute&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;statusText&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;statusText&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;length&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;displayMessage&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;fanfou requires a status to be entered&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;updateUrl&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;http://api.fanfou.com/statuses/update.json&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;updateParams&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;ubiquity&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;status&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;statusText&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;text&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;nx&quot;&gt;jQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ajax&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;POST&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;updateUrl&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;updateParams&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;dataType&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&amp;quot;json&amp;quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;error&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;nx&quot;&gt;displayMessage&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;出现错误，更新失败&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;,&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;nx&quot;&gt;success&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;nx&quot;&gt;displayMessage&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;quot;饭否更新成功&amp;quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;</description><link>https://www.stopdesign.cn/2008/08/ubiquity-aza-raskin-mac-firefox.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-9192733903933550247</guid><pubDate>Fri, 15 Aug 2008 14:57:00 +0000</pubDate><atom:updated>2008-08-15T23:47:23.926+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ECMAScript</category><category domain="http://www.blogger.com/atom/ns#">javascript</category><title>发点牢骚</title><description>今天打开 greader，看到一堆在&lt;a href=&quot;http://www.gskinner.com/blog/archives/2008/08/javascript_stal.html&quot;&gt;评论&lt;/a&gt; ECMAScript 4 &lt;a href=&quot;http://ejohn.org/blog/ecmascript-harmony/&quot;&gt;被停滞&lt;/a&gt;的文章，刚好最近一直在做 javascript 方面的工作，相当大一部分时间都是在解决跨浏览器之间的问题，代码中也充斥着判断，如果是 IE 就怎么样，如果不是又怎么样。一个合理的情况这些判断是不应该存在的，包括 &lt;a href=&quot;http://www.quirksmode.org/&quot;&gt;quirksmode.org&lt;/a&gt; 这样的网站都不应该存在(现实情况是 google 会经常把你带到这里去)。这使开发人员不能集中注意于任务，而要分心在实现手段上了。相反，flash 开发中基本都是一次开发，到处分发。特别是基于 ECMAScript 4 的 actionscript3，引入了诸如 namespaces、packages 等概念，让人想着以后 javascript 也能这样写就爽了，可是，现在就这样泡汤了。不过还好 actionscript 会继续按照开发社区的呼声&lt;a href=&quot;http://blogs.adobe.com/open/2008/08/blog_entry_dated_81408_715_pm.html&quot;&gt;走下去&lt;/a&gt;，支持那些合理的东西，毕竟 flash player 独立些，不用屈从于厂商的意愿，或者说它本身就是一厂商。</description><link>https://www.stopdesign.cn/2008/08/blog-post.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-4489021951602850307</guid><pubDate>Sat, 02 Aug 2008 18:23:00 +0000</pubDate><atom:updated>2008-08-03T11:04:23.394+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">flex</category><title>About “Fleximagically Searchable”</title><description>I&#39;m interested in &lt;a href=&quot;http://blog.digitalbackcountry.com/?p=1478&quot;&gt;Ryan &#39;s&lt;/a&gt; flex SEO contest, and here is my simple &lt;a href=&quot;http://www.stopdesign.cn/flex/&quot; title=&quot;fleximagically searchable&quot;&gt;flex application&lt;/a&gt;, the keywords phrase is dynamically generated when you click the tab.</description><link>https://www.stopdesign.cn/2008/08/about-fleximagically-searchable.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-7889401711917929824</guid><pubDate>Wed, 04 Jun 2008 13:04:00 +0000</pubDate><atom:updated>2008-06-04T22:00:42.911+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mouse gesture</category><category domain="http://www.blogger.com/atom/ns#">quicksilver</category><category domain="http://www.blogger.com/atom/ns#">safari</category><title>How to support gesture in safari</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.stopdesign.cn/uploaded_images/gesture-750259.png&quot; rel=&quot;lightbox&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/gesture-750240.png&quot; border=&quot;0&quot; width=&quot;400px&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;There is one useful plugin in firefox called &#39;all in one gesture&#39;, and I use the backward or forward gesture most of the time while surfing online. Unfortunately safari doesn&#39;t support this kind of plugins. These days I happen to find a quicksilver plugin--&lt;a href=&quot;http://marcusvorwaller.com/blog/archives/2006/02/20/quicksilver-abracadabra-gestures/&quot;&gt;abracadabra&lt;/a&gt;, which let you do anything quicksilver can do with mouse gesture.&lt;br /&gt;If you have installed abracadabra in quicksilver, simply drag these two link(&lt;a href=&quot;javascript:history.back();&quot;&gt;back&lt;/a&gt; , &lt;a href=&quot;javascript:history.forward();&quot;&gt;forward&lt;/a&gt;) to your safari&#39;s bookmark bar. Then create the new gesture triggers in quicksilver and locate to safari&gt;bookmarkBar&gt;back(or forward). Now you can custom a gesture which you want the back or forward action to take effect. This is handy and make your safari more friendly.</description><link>https://www.stopdesign.cn/2008/06/how-to-support-gesture-in-safari.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-1089443434071861675</guid><pubDate>Sat, 24 May 2008 16:46:00 +0000</pubDate><atom:updated>2008-05-25T00:57:13.419+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">fanfou</category><category domain="http://www.blogger.com/atom/ns#">flex</category><category domain="http://www.blogger.com/atom/ns#">google map</category><title>flash版的共饭</title><description>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://www.stopdesign.cn/fanfou/map.html&quot;&gt;&lt;img style=&quot;cursor:pointer; cursor:hand;&quot; src=&quot;http://www.stopdesign.cn/uploaded_images/fanmap-716235.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;点击图像打开，&lt;br /&gt;google map API flash 版出来了，不过暂时只能在 flex 中使用，做了一个简单的演示，读取饭否中最新发布的20条消息，等待改善。</description><link>https://www.stopdesign.cn/2008/05/flash.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-7617263064996508759</guid><pubDate>Tue, 22 Apr 2008 13:25:00 +0000</pubDate><atom:updated>2008-04-30T18:00:38.118+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">expert</category><category domain="http://www.blogger.com/atom/ns#">newbie</category><category domain="http://www.blogger.com/atom/ns#">usability</category><category domain="http://www.blogger.com/atom/ns#">UX</category><title>期待与易用</title><description>&lt;p style=&quot;float:right;margin-left:8px;padding:8px 8px;border:1px solid #CCC;font-style:italic;color:#666;width:180px;line-height:160%;font-size:13px;-moz-border-radius: 5px;-webkit-border-radius: 5px;&quot;&gt;当一件东西能够以被期待的方式运行，那它就是易用的。就是这样！这就是关于可用性的一切！像Hillel所说，其它的一切都是解说词。&lt;br /&gt;&lt;a href=&quot;http://local.joelonsoftware.com/mediawiki/index.php/Chinese_%28Simplified%29#.E6.98.93.E7.94.A8.E7.9A.84.E7.95.8C.E9.9D.A2.EF.BC.8C.E7.AE.80.E5.8D.95.E7.9A.84.E4.B8.80.E6.AD.A5&quot; title=&quot;the joel on software&quot; style=&quot;padding-left:24px;font-size:12px; text-shadow: black 0 0 1px;&quot;&gt;The Joel on software&lt;/a&gt;&lt;/p&gt;看到&lt;a href=&quot;http://www.dustindiaz.com/maximize-on-a-mac/&quot;&gt;有人在抱怨&lt;/a&gt; mac 窗口中左上角绿色按钮最大化的问题，在 windows 中，你点最大化按钮，窗口真的就最大化，可是在 mac 中，窗口会根据包含的内容放大到一定程度，多数情况下并不是真正的最大化，有的认为这是为了&lt;a href=&quot;http://forevergeek.com/apple/mac_vs_windows_its_all_about_the_maximize_button.php&quot;&gt;方便进行多任务&lt;/a&gt;工作，可是我点绿色按钮时都是希望窗口最大化的，这样可以专注于当前的任务。这基本又是一则有关“期待”的问题，事实&lt;a href=&quot;http://www.surfchen.org/?p=253&quot;&gt;不止一个人&lt;/a&gt;有这种期待。许多易用性的问题说到底是期待的问题，当你以 windows 的期待来用 mac 时，可能会觉得：这个东西怎么这么难用？反之亦然。类似的例子还有许多，当你希望用 photoshop 的一些快捷键来操作 GIMP 的，可能有时会想杀人（比如当你想取消选择时在 &lt;acronym title=&quot;photoshop&quot;&gt;PS&lt;/acronym&gt; 中是 ctrl+d，而这在 GIMP 中是复制并新建一份当前文档）。当你以这种观点来审视许多日用品或公共设施时，会发许多易用性问题，比如，当你在按完某个按钮觉得空调应该出来冷风它却出来热风时，当你接上插头灯也亮了出去溜达回来发现电饭锅里的饭却还没有开始煮时，但你对着洗衣机的许多按钮开始琢磨洗这几件衣服到底是该按顺序按哪几个按钮时，当你在某个商店莫名其妙突然脚踩空时……等等许多，说明这些日用品的设计没有解决好你的期待。&lt;br /&gt;关于期待还可以引出其它话题，比如人本界面的一个特征：“对新手可用，对专家高效，并且之间的过渡不需要二次培训。” google 的几个产品很好地诠释了这一特征：在你每天使用的 gmail 或 google reader 中输一下&quot;?&quot;，就会出来你使用该产品所需要的&lt;a href=&quot;http://www.stopdesign.cn/images/gshortcut.png&quot; rel=&quot;lightbox&quot;&gt;所有快捷键&lt;/a&gt;。对于一些人可能完全用不到这些快捷键，用鼠标同样可以完成看文章、写邮件的任务；而对一些人，这些快捷键显著提高了他们看文章、回复邮件的效率。另外一个例子就是 &lt;a href=&quot;http://en.wikipedia.org/wiki/Quicksilver_(software)&quot;&gt;quicksilver&lt;/a&gt;，没有它当然也可以完成许多操作，但是有了它，整个 mac 的操作体验上升了一个层次。&lt;br /&gt;人本界面另外一个特征是：所有可以点击的东西都应该做得看起来是可以点击的，比如 youtube 的上传按钮；&lt;br /&gt;&lt;p style=&quot;padding:4px;border:1px solid #CCC;width:410px;-moz-border-radius: 5px;-webkit-border-radius: 5px;&quot;&gt;&lt;a href=&quot;http://www.stopdesign.cn/images/youtubeUpload.png&quot; rel=&quot;lightbox&quot;&gt;&lt;img src=&quot;http://www.stopdesign.cn/images/youtube1.png&quot; width=&quot;400px&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size:11px;font-style:italic&quot;&gt;点击图像放大&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;反过来，那些不可以点击的东西最好不要做得看起来像可以点的，比如“&lt;a href=&quot;http://www.bielaiwuyang.com/&quot;&gt;别来无恙&lt;/a&gt;”的几个标题：&lt;br /&gt;&lt;p style=&quot;padding:4px;border:1px solid #CCC;width:410px;-moz-border-radius: 5px;-webkit-border-radius: 5px;&quot;&gt;&lt;a href=&quot;http://www.stopdesign.cn/images/bielai.jpg&quot; rel=&quot;lightbox&quot;&gt;&lt;img src=&quot;http://www.stopdesign.cn/images/bielai1.jpg&quot; width=&quot;400px&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size:11px;font-style:italic&quot;&gt;点击图像放大&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</description><link>https://www.stopdesign.cn/2008/04/blog-post.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4104379176786087353.post-477761011429166086</guid><pubDate>Tue, 08 Apr 2008 12:33:00 +0000</pubDate><atom:updated>2008-04-14T13:21:34.667+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">debug</category><category domain="http://www.blogger.com/atom/ns#">笔记</category><title>mac中的flash调试</title><description>1.下载 flash debug player&lt;br /&gt;2.在  &quot;/Library/Application Support/Macromedia&quot; 目录下新建一个 mm.cfg ，包含以下信息：&lt;br /&gt;&lt;code&gt;ErrorReportingEnable=1&lt;br /&gt;TraceOutputFileEnable=1&lt;br /&gt;MaxWarnings=500&lt;br /&gt;TraceOutPutFileName=Macintosh HD:Users:{username}:Library:Preferences:Macromedia:Flash Player:Logs:flashlog.txt&lt;/code&gt;&lt;br /&gt;#最后一条为相应目录下的 flashlog.txt ，没有则新建。路径是冒号不是斜杆。&lt;br /&gt;3.然后就可以使用 tail -f flashlog.txt &lt;a href=&quot;http://www.stopdesign.cn/images/%E5%9B%BE%E7%89%87%204.png&quot; rel=&quot;lightbox&quot;&gt;trace flash 中的内容&lt;/a&gt;了。&lt;br /&gt;更新：或者可以使用 &lt;a href=&quot;http://projects.tynsoe.org/en/geektool/&quot; title=&quot;geek tool&quot;&gt;geek tool&lt;/a&gt; 直接输出到桌面上。</description><link>https://www.stopdesign.cn/2008/04/macflash.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>1</thr:total></item></channel></rss>