<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>پادشاه فلش &#187; هفت سین</title>
	<atom:link href="http://blog.iflashlord.com/tag/%d9%87%d9%81%d8%aa-%d8%b3%db%8c%d9%86/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.iflashlord.com</link>
	<description>دست نوشته های یک پادشاه فلش</description>
	<lastBuildDate>Thu, 09 Sep 2010 22:22:00 +0000</lastBuildDate>
	<language>fa</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>هفت سین یک طراح وب و فلش کار!</title>
		<link>http://blog.iflashlord.com/1388/12/%d9%87%d9%81%d8%aa-%d8%b3%db%8c%d9%86-%db%8c%da%a9-%d8%b7%d8%b1%d8%a7%d8%ad-%d9%88%d8%a8-%d9%88-%d9%81%d9%84%d8%b4-%da%a9%d8%a7%d8%b1/</link>
		<comments>http://blog.iflashlord.com/1388/12/%d9%87%d9%81%d8%aa-%d8%b3%db%8c%d9%86-%db%8c%da%a9-%d8%b7%d8%b1%d8%a7%d8%ad-%d9%88%d8%a8-%d9%88-%d9%81%d9%84%d8%b4-%da%a9%d8%a7%d8%b1/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 22:38:16 +0000</pubDate>
		<dc:creator>بهروز پولادرگ</dc:creator>
				<category><![CDATA[عمومی]]></category>
		<category><![CDATA[طراح وب]]></category>
		<category><![CDATA[فلش]]></category>
		<category><![CDATA[هفت سین]]></category>

		<guid isPermaLink="false">http://blog.iflashlord.com/?p=244</guid>
		<description><![CDATA[سلام خدمت دوستان عزیز&#8230;. با توجه به نزدیکی سال نو تصمیم گرفتن هفت سینی برای یک طراح وب بنویسم  ، اگه شما یک وبلاگ نویس هستید از شما دعوت می کنم این کار روی نسبت به علاقه و یا تخصص خودتون انجام بدید : هفت سین یک طراح وب : سی اس اس (Css) سی [...]]]></description>
			<content:encoded><![CDATA[<p><strong>سلام خدمت دوستان عزیز&#8230;.</strong><br />
با توجه به نزدیکی سال نو تصمیم گرفتن هفت سینی برای یک طراح وب بنویسم  ، اگه شما یک وبلاگ نویس هستید از شما دعوت می کنم این کار روی نسبت به علاقه و یا تخصص خودتون انجام بدید :</p>
<p><strong>هفت سین یک طراح وب :</strong></p>
<p>سی اس اس (Css)<br />
سی پنل(CPanel &#8211; Control Panel)<br />
سی ام اس (CMS &#8211; Content Management System)<br />
ساب دامین (Sub Domain)<br />
سایت (Site)<br />
سرچ (Search)<br />
سمی کالن (;)</p>
<p><strong> و حالا هفت سین یک<strong> </strong></strong><strong> <span style="color: #ff0000;">فلش کار</span></strong><strong> کمی تخصصی (اکشن اسکریپت ۳) :</strong></p>
<p><strong><span id="more-244"></span></strong></p>
<p><img src="http://blog.iflashlord.com/wp-content/uploads/2010/03/7sin89-iflashlord.jpg" alt="http://blog.iflashlord.com/wp-content/uploads/2010/03/7sin89-iflashlord.jpg" width="446" height="300" /></p>
<p><strong>send</strong></p>
<pre class="brush: as3;">
var sender:LocalConnection = new LocalConnection(  ); sender.send( &quot;_exampleChannel&quot;, &quot;example&quot;, &quot;a string&quot;, 6.5, true);
</pre>
<p><strong>setChildIndex</strong></p>
<pre class="brush: as3;">
package {
  import flash.display.*;
  public class SetChildIndexExample extends Sprite {
    public function SetChildIndexExample(  ) {
      // Create three different colored circles and
      // change their coordinates so they are staggered
      // and aren't all located at (0,0).
      var red:Shape = createCircle( 0xFF0000, 10 );
      red.x = 10;
      red.y = 20;
      var green:Shape = createCircle( 0x00FF00, 10 );
      green.x = 15;
      green.y = 25;
      var blue:Shape = createCircle( 0x0000FF, 10 );
      blue.x = 20;
      blue.y = 20;

      // Add the circles, red has index 0, green 1, and blue 2
      addChild( red );
      addChild( green );
      addChild( blue );

      // Move the blue circle underneath the others by placing
      // it at the very bottom of the list, at index 0
      setChildIndex( blue, 0 );
    }

    // Helper function to create a circle shape with a given color
    // and radius
    public function createCircle( color:uint, radius:Number ):Shape {
      var shape:Shape = new Shape(  );
      shape.graphics.beginFill( color );
      shape.graphics.drawCircle( 0, 0, radius );
      shape.graphics.endFill(  );
      return shape;
    }
  }
}
</pre>
<p><strong>setInterval</strong></p>
<pre class="brush: as3;">
package {
    import flash.display.Sprite;
    import flash.events.TimerEvent;
    import flash.utils.Timer;

    public class ExampleApplication extends Sprite {
        // Declare and initialize a variable to store the value
        // of the previous timer reading.
        private var _PreviousTime:Number = 0;

        public function ExampleApplication(  ) {
            var tTimer:Timer = new Timer(500, 10);
            tTimer.addEventListener(TimerEvent.TIMER, onTimer);
            tTimer.start(  );
        }

        private function onTimer(event:TimerEvent):void {
            // Output the difference between the current timer value and
            // its value from the last time the function was called.
            trace(flash.utils.getTimer(  ) - _PreviousTime);
            _PreviousTime = flash.utils.getTimer(  );
        }
    }
}
</pre>
<p><strong>Sound</strong></p>
<pre class="brush: as3;">
package {
    import flash.display.Sprite;
    import flash.media.Sound;
    import flash.net.URLRequest;

    public class LoadSoundExample extends Sprite {
        private var _sound:Sound;

        public function LoadSoundExample (  ) {
            _sound = new Sound(  );
            _sound.load(new URLRequest(&quot;song.mp3&quot;));
        }
    }
}
</pre>
<p><strong>substr</strong></p>
<pre class="brush: as3;">
var example:String = &quot;Bunnies&quot;;
trace( example.substr( 0 ) );      // Displays: Bunnies
trace( example.substr( 0, 3 ) );   // Displays: Bun
trace( example.substr( 3, 3 ) );   // Displays: nie
trace( example.substr( -1 ) );     // Displays: s
trace( example.substr( -2, 5 ) );  // Displays: es
</pre>
<p><strong>setColor</strong></p>
<pre class="brush: as3;">
package {
  import flash.display.*;
  import flash.net.URLRequest;
  import flash.events.Event;

  public class LoaderExample extends Sprite {

    private var _loader:Loader;

    public function LoaderExample(  ) {
      // Create the Loader and add it to the display list
      _loader = new Loader(  );
      addChild( _loader );

      // Add the event handler to interact with the loaded movie
      _loader.contentLoaderInfo.addEventListener( Event.INIT, handleInit );

      // Load the external movie
      _loader.load( new URLRequest( &quot;ExternalMovie.swf&quot; ) );
    }

    // Event handler called when the externally loaded movie is
    // ready to be interacted with
    private function handleInit( event:Event ):void {
      // Typed as * here because the type is not known at compile-time.
      var movie:* = _loader.content;

      // Calls a method in the external movie to get data out
      // Displays: 0
      trace( movie.getColor(  ) );

      // Calls a method in the external movie to set data.
      // Sets the color in the external movie, which draws
      // a circle with the new color, in this case red
      movie.setColor( 0xFF0000 );
    }
  }
}
</pre>
<p><strong>setTextFormat</strong></p>
<pre class="brush: as3;">
field.html = true;
field.htmlText = &quot;&lt;b&gt;Bold text&lt;/b&gt; &lt;u&gt;Underlined text&lt;/u&gt;&quot;;
var formatter:TextFormat = new TextFormat(  );
formatter.bold = true;       // Bold the text
formatter.color = 0xFFFF00;  // Make the text yellow
formatter.blockIndent = 5;   // Adjust the margin by 5 points
field.setTextFormat(formatter);

field.text = &quot;this is sample text&quot;;
field.setTextFormat(formatter);    // Formatting applied
field.text = &quot;this is new text&quot;;   // No formatting applied
field.setTextFormat(formatter);    // Formatting reapplied
field.text += &quot;appended text&quot;;     // Formatting removed
</pre>
<p>پیشا پیش سال نو مبارک باد.. <img src='http://blog.iflashlord.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.iflashlord.com/1388/12/%d9%87%d9%81%d8%aa-%d8%b3%db%8c%d9%86-%db%8c%da%a9-%d8%b7%d8%b1%d8%a7%d8%ad-%d9%88%d8%a8-%d9%88-%d9%81%d9%84%d8%b4-%da%a9%d8%a7%d8%b1/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
