<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=Flash_%2F_Flex_%2F_ActionScript%2FGraphics%2FCheckbox</id>
		<title>Flash / Flex / ActionScript/Graphics/Checkbox - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=Flash_%2F_Flex_%2F_ActionScript%2FGraphics%2FCheckbox"/>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=Flash_/_Flex_/_ActionScript/Graphics/Checkbox&amp;action=history"/>
		<updated>2026-04-04T13:25:12Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wbex.ru/index.php?title=Flash_/_Flex_/_ActionScript/Graphics/Checkbox&amp;diff=4666&amp;oldid=prev</id>
		<title> в 09:19, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=Flash_/_Flex_/_ActionScript/Graphics/Checkbox&amp;diff=4666&amp;oldid=prev"/>
				<updated>2010-05-26T09:19:13Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 09:19, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://wbex.ru/index.php?title=Flash_/_Flex_/_ActionScript/Graphics/Checkbox&amp;diff=4667&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=Flash_/_Flex_/_ActionScript/Graphics/Checkbox&amp;diff=4667&amp;oldid=prev"/>
				<updated>2010-05-26T08:15:07Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Removing Event Listeners==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
package {&lt;br /&gt;
  import flash.display.*;&lt;br /&gt;
  import flash.events.*;&lt;br /&gt;
  import flash.text.*;&lt;br /&gt;
  public class CheckBox extends Sprite {&lt;br /&gt;
    private var label:TextField;    // The checkbox&amp;quot;s text label&lt;br /&gt;
    private var icon:CheckBoxIcon;  // The checkbox&amp;quot;s graphical icon&lt;br /&gt;
    private var checked:Boolean;    // Flag indicating whether the&lt;br /&gt;
                                    // checkbox is currently checked&lt;br /&gt;
    public function CheckBox (msg:String) {&lt;br /&gt;
      checked = false;&lt;br /&gt;
      icon = new CheckBoxIcon(  );&lt;br /&gt;
      label = new TextField(  );&lt;br /&gt;
      label.text = msg;&lt;br /&gt;
      label.autoSize = TextFieldAutoSize.LEFT;&lt;br /&gt;
      label.selectable = false;&lt;br /&gt;
      label.x = icon.x + icon.width + 5;&lt;br /&gt;
      addChild(icon);&lt;br /&gt;
      addChild(label);&lt;br /&gt;
      addEventListener(MouseEvent.CLICK, clickListener);&lt;br /&gt;
    }&lt;br /&gt;
    private function clickListener (e:MouseEvent):void {&lt;br /&gt;
        if (checked) {&lt;br /&gt;
            icon.uncheck(  );&lt;br /&gt;
            checked = false;&lt;br /&gt;
        } else {&lt;br /&gt;
            icon.check(  );&lt;br /&gt;
            checked = true;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
class CheckBoxIcon extends flash.display.Sprite {&lt;br /&gt;
    public function CheckBoxIcon (  ) {&lt;br /&gt;
      uncheck(  );&lt;br /&gt;
    }&lt;br /&gt;
    public function check (  ):void {&lt;br /&gt;
      graphics.clear(  );&lt;br /&gt;
      graphics.lineStyle(1);&lt;br /&gt;
      graphics.beginFill(0xFFFFFF);&lt;br /&gt;
      graphics.drawRect(0, 0, 15, 15);&lt;br /&gt;
      graphics.endFill(  );&lt;br /&gt;
      graphics.lineTo(15, 15);&lt;br /&gt;
      graphics.moveTo(0, 15);&lt;br /&gt;
      graphics.lineTo(15, 0);&lt;br /&gt;
    }&lt;br /&gt;
    public function uncheck (  ):void {&lt;br /&gt;
      graphics.clear(  );&lt;br /&gt;
      graphics.lineStyle(1);&lt;br /&gt;
      graphics.beginFill(0xFFFFFF);&lt;br /&gt;
      graphics.drawRect(0, 0, 15, 15);&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
        &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>