<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<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/"
	>

<channel>
	<title>Lina Comments on How to Make A Good, Visually Attractive Website</title>
	<link>http://www.linarobertsblog.com</link>
	<description>Perception is Everything</description>
	<pubDate>Tue, 26 Jan 2010 17:01:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<item>
		<title>Scrolling Text</title>
		<link>http://www.linarobertsblog.com/?p=195</link>
		<comments>http://www.linarobertsblog.com/?p=195#comments</comments>
		<pubDate>Tue, 26 Jan 2010 17:01:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Lina Roberts Blog]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
Scrolling Text

To create a Scrolling text in your flash document, follow the steps below.

  1. Open a Flash document and place a text box using the Text tool on the stage.

  2. Choose the following parameters for the text box you just inserted.

Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ Text: Dynamic

Ã‚Â Ã‚Â Ã‚Â Ã‚Â 

Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ Choose Multiline

Ã‚Â Ã‚Â Ã‚Â Ã‚Â 

Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ Type the following code in the [...]]]></description>
			<content:encoded><![CDATA[<p><FONT FACE="arial"><br />
<h1 align="center">Scrolling Text</h1>
</p>
<p>To create a Scrolling text in your flash document, follow the steps below.
</p>
<p>  1. Open a Flash document and place a text box using the Text tool on the stage.
</p>
<p>  2. Choose the following parameters for the text box you just inserted.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ Text: Dynamic
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap012/image002.jpg">
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ Choose Multiline
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap012/image004.jpg">
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ Type the following code in the Var text box.
</p>
<p>           _root.text1
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap012/image006.jpg">
</p>
<p>  3. Create buttons that are used for scrolling Up and down.
</p>
<p>  4. Create a Movie Clip name it Ã¯Â¿Â½scrollUpÃ¯Â¿Â½.
</p>
<p>  5. Create 3 KeyFrames in the first layer.
</p>
<p>  6. On the 1<sup>st</sup> Frame click, <b>Right click &#8211;>Actions, choose the Ã¯Â¿Â½+Ã¯Â¿Â½Global Functions  &#8211;> Timeline Control &#8211;> Stop;</b>
</p>
<p>  7. On the Second frame, type the following action script:
</p>
<p><b>_root.text1.scroll&#8211;;</b>
</p>
<p>  8. In the 3<sup>rd</sup> Frame, type the following Action code:
</p>
<p><b>gotoAndPlay(2);</b>
</p>
<p>  9. Copy the scrollUp movie clip and name it Ã¯Â¿Â½scrollDNÃ¯Â¿Â½. Click the  instance tab and type scrollDN in the instance text box.
</p>
<p>  10. Edit the second frame scrollDN and type the following action  script:
</p>
<p><b>_root.text1.scroll++;</b>
</p>
<p>  11. Go back to the main time line, drag both the movie clips you  created. Name both the movie clips instances as scrollUp and scrollDN  respectively.
</p>
<p>  12. Create 3 layers in the main Time line and name them:
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ <b>Text</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ <b>Arrow </b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ <b>Circle</b>
</p>
<p>  13. Insert the buttons and double click it to view the editing mode.
</p>
<p>  14. Select the actions for the UP button and type the following action  code:
</p>
<p><b>                on  (press) {</b>
</p>
<p><b>                tellTarget(_root.scrollDN)  {</b>
</p>
<p><b>                play();</b>
</p>
<p><b>               }</b>
</p>
<p><b>               }</b>
</p>
<p><b>              on  (release) {</b>
</p>
<p><b>              tellTarget(_root.scrollDN)  {</b>
</p>
<p><b>              stop();</b>
</p>
<p><b>              }</b>
</p>
<p><b>              }</b>
</p>
<p>  15. Select the actions for the Down button and type the following  action script:
</p>
<p><b>                on  (press) {</b>
</p>
<p><b>               tellTarget(_root.scrollDN)  {</b>
</p>
<p><b>                play();</b>
</p>
<p><b>               }</b>
</p>
<p><b>                }</b>
</p>
<p><b>  on (release) {</b>
</p>
<p><b>             tellTarget(_root.scrollDN)  {</b>
</p>
<p><b>            stop();</b>
</p>
<p><b>            }</b>
</p>
<p><b>            }</b>
</p>
<p>  16. Save your work and<b> Test movie.</b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap012/image008.jpg"></b>
</p>
<p><b></b><br />
<blockquote>
<blockquote>
<p><b><a href="/img/Chap012/Scrolling%20Text.fla">Download .fla File of Scrolling Text</a></b>
</p>
<p><b><a href="/img/Chap012/Scrolling%20Text.swf">Download .swf File of Scrolling Text</a></b></p></blockquote>
</blockquote>
</p>
<p><b></b><FONT></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linarobertsblog.com/?feed=rss2&amp;p=195</wfw:commentRss>
		</item>
		<item>
		<title>Map</title>
		<link>http://www.linarobertsblog.com/?p=194</link>
		<comments>http://www.linarobertsblog.com/?p=194#comments</comments>
		<pubDate>Sun, 24 Jan 2010 15:01:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Lina Roberts Blog]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
Map

In this tutorial, you will learn how to create an interactive Map using Flash. Just follow the steps given below.

1. Open a new Flash Document. Set the stage to 675 px X 675 px and frame rate to 30fps.

Ã‚Â Ã‚Â Ã‚Â Ã‚Â 

2. Draw (or) trace the Map. In this tutorial we have used the India map.

Ã‚Â Ã‚Â Ã‚Â Ã‚Â 

3. Name the [...]]]></description>
			<content:encoded><![CDATA[<p><FONT FACE="arial"><br />
<h1 align="center">Map</h1>
</p>
<p>In this tutorial, you will learn how to create an interactive Map using Flash. Just follow the steps given below.
</p>
<p>1. Open a new <b>Flash Document</b>. Set the stage to <b>675 px X 675 px</b> and frame rate to <b>30fps.</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image002.jpg">
</p>
<p>2. Draw (or) trace the Map. In this tutorial we have used the India map.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image004.jpg">
</p>
<p>3. Name the layer as <b>India Map</b> and lock the layer.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image006.jpg">
</p>
<p>4. Create a new layer Called <b>Buttons.</b>
</p>
<p>5. Create a Small Circle using <b>Oval tool.</b> Select the circle and convert it to Button by pressing F8.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image008.jpg">
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image010.jpg">
</p>
<p>6. Go back to the <b>main time line</b>.
</p>
<p>7. Drag the <b>Button </b>Symbol on to the stage and place at the respective cities where you need to insert a pop up image.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image012.jpg">
</p>
<p>8. Click the <b>Button </b>and give the instance name for each Button respectively.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image014.jpg">
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image016.jpg">
</p>
<p>9. Similarly give instances for the entire set of Button like <b> Tajmahal_btn, TeaEstate_btn, Beach_btn, Palace_btn </b>and<b> andamaan_btn.</b>
</p>
<p>10.Lock all the layers and create a new layer name it as <b>Marker.</b>
</p>
<p>11. Click <b>Insert&#8211;>New Symbol</b>, Name the symbol as <b>My Marker</b> and Choose <b>Movie clip</b> as its behavior.
</p>
<p>12. Create a symbol as shown below:
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image018.jpg">
</p>
<p>This is used as an indicator to depict places that have  been mapped.
</p>
<p>13. The tip of the arrow must be placed exactly above the <b>Registration Point.</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image020.jpg">
</p>
<p>14. Name the layer as Marker and insert a <b>KeyFrame </b>on the 6<sup>th</sup> frame.
</p>
<p>15. Insert another layer and name it as <b>Cities.</b>
</p>
<p>16. Press F6 six times so that 6 KeyFrames are included.
</p>
<p>17. Click on the first frame open the <b>Actions panel</b> and assign stop action.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image022.jpg">
</p>
<p>18. Click the each frame and insert images to each <b>Frame.</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image024.jpg">
</p>
<p>19. Name the <b>instances</b> for each frame.
</p>
<p>20. Drag the movie clip <b>My Marker</b> and place it below the stage.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image026.jpg">
</p>
<p>21. Lock all the layers including <b>Marker.</b>
</p>
<p>22. Go back to the <b>main time line</b>.
</p>
<p>23. Create a new layer and name it <b>actions.</b>
</p>
<p>24. Open the Actions panel and assign the following actions shown belowÃ¯Â¿Â½.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image022.jpg">
</p>
<p><b>  import mx.transitions.Tween;</b>
</p>
<p><b>  import mx.transitions.easing.*;</b>
</p>
<p><b>  var cities:Array = [&#8221;Tajmahal&#8221;, &#8220;Palace&#8221;, &#8220;andamaan&#8221;, &#8220;Beach&#8221;,&#8221;TeaEstate&#8221;]</b>
</p>
<p><b>  function mover (targetX, targetY){</b>
</p>
<p><b>  currentX = marker_mc._x;</b>
</p>
<p><b>  currentY = marker_mc._y;</b>
</p>
<p><b>  var xTween:Tween = new Tween(marker_mc, &#8220;_x&#8221;, Strong.easeOut, currentX, targetX,  .5, true);</b>
</p>
<p><b>  var yTween:Tween = new Tween(marker_mc, &#8220;_y&#8221;, Back.easeOut, currentY, targetY,  1.5, true);</b>
</p>
<p><b>}</b>
</p>
<p><b>  for (var i = 0; i<cities.length; i++){</b>
</p>
<p><b>  var my_btn = this[cities+&#8221;_btn&#8221;];</b>
</p>
<p><b>  my_btn.myCity = cities;</b>
</p>
<p><b>  my_btn.onRollOver = function() {</b>
</p>
<p><b>  mover( this._x, this._y);</b>
</p>
<p><b>  marker_mc.gotoAndStop(this.myCity);</b>
</p>
<p><b>}</b>
</p>
<p><b>}</b>
</p>
<p>25. <b>Save</b> your work and test the movie.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image028.jpg">Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap070/image030.jpg">
</p>
<p><b></b>
</p>
<p><b><a href=img/Chap070/Map.fla"> Download .fla File of Map</a></b>
</p>
<p><b><a href=img/Chap070/Map.swf"> Download .swf File of Map</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linarobertsblog.com/?feed=rss2&amp;p=194</wfw:commentRss>
		</item>
		<item>
		<title>Popping Text</title>
		<link>http://www.linarobertsblog.com/?p=193</link>
		<comments>http://www.linarobertsblog.com/?p=193#comments</comments>
		<pubDate>Fri, 24 Jul 2009 14:07:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Lina Roberts Blog]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
Popping Text

You can create a smoky effect to the text. This can be done by just following the steps given below:

1. Open a new Flash Document, set the stage size Default and the framerate to 30 fps.

Ã‚Â Ã‚Â Ã‚Â Ã‚Â 

2. Name the Layer one as Zoom In and Insert a new layer and name it Zoom Out.

Ã‚Â Ã‚Â Ã‚Â Ã‚Â 

3. Click [...]]]></description>
			<content:encoded><![CDATA[<p><FONT FACE="arial"><br />
<h1 align="center">Popping Text</h1>
</p>
<p>You can create a smoky effect to the text. This can be done by just following the steps given below:
</p>
<p>1. Open a new <b>Flash Document</b>, set the stage size <b>Default</b> and the<b> frame</b><b>rate to 30 fps</b>.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image002.jpg">
</p>
<p>2. Name the Layer one as <b>Zoom In</b> and Insert a new layer and name it <b>Zoom Out</b>.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image004.jpg">
</p>
<p>3. Click the Zoom In Layer and enter any Text on this layer. The font and the Font size is your choice.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image006.jpg">
</p>
<p>4. Select the text entered and click <b>Modify &#8211;> Convert to Symbol</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image008.jpg">
</p>
<p>5. Name the Symbol <b>effect</b> and choose <b>Movie Clip</b> as its behavior.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image010.jpg">
</p>
<p>6. Select the <b>35<sup>th</sup></b> Frame in the <b>Zoom Out layer</b> and <b>Insert Frame</b>.
</p>
<p>7. Select the 10<sup>th</sup> Frame and<b> Insert KeyFrame.</b>
</p>
<p>8. Now select the text and choose the free transform tool and reduce the size of the text.<b></b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image012.jpg">
</p>
<p>9. Click anywhere between the 10<sup>th</sup> and the 35<sup>th</sup> Frame,<b>Right click &#8211;> Create Motion Tween.</b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image014.jpg"></b>
</p>
<p>10. <b>Select </b>the 25<sup>th</sup> Frame and Insert KeyFrame.
</p>
<p>11. Use the color mixer panel and change the alpha value to 0%.
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image016.jpg"></b>
</p>
<p>12. Choose the 11<sup>th</sup> Frame and change the Alpha value to 62%.
</p>
<p>13. Select the Free Transform tool, select the message and change its size back to the original.
</p>
<p>14. Click anywhere in between <b>Frame 11</b> and <b>25 </b>and <b>Choose Create Motion Tween.</b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image018.jpg"></b>
</p>
<p>15. <b>Save </b>your work and <b>Test Movie.</b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap026/image020.jpg"></b>
</p>
<p><b></b>
</p>
<p><b><a href="/img/Chap026/Popping%20Text.fla">Download .fla File of  Popping Text</a></b>
</p>
<p><b><a href="/img/Chap026/Popping%20Text.swf">Download .swf File of  Popping Text</a></b></FONT></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linarobertsblog.com/?feed=rss2&amp;p=193</wfw:commentRss>
		</item>
		<item>
		<title>Fading Motion Tween</title>
		<link>http://www.linarobertsblog.com/?p=192</link>
		<comments>http://www.linarobertsblog.com/?p=192#comments</comments>
		<pubDate>Tue, 14 Jul 2009 14:07:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Lina Roberts Blog]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
Fading Motion Tween

You have a double effect in this tutorial, A fading effect with a Motion Tween. To create this effect, follow the steps given below:

1. Open a new Flash document, set the stage size to 700 px X 400 px and the Frame rate to 5 fps.

Ã‚Â Ã‚Â Ã‚Â Ã‚Â 

2. Click File&#8211;>Import&#8211;>Import to Library, and insert 2 [...]]]></description>
			<content:encoded><![CDATA[<p><FONT FACE="arial"><br />
<h1 align="center">Fading Motion Tween</h1>
</p>
<p>You have a double effect in this tutorial, A fading effect with a Motion Tween. To create this effect, follow the steps given below:
</p>
<p>1. Open a new <b>Flash document,</b> set the stage size to <b>700 px X 400 px</b> and the Frame rate to <b>5 fps.</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image002.jpg">
</p>
<p>2. Click <b>File&#8211;>Import&#8211;>Import to Library,</b> and insert 2 images that are used to create the effect.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image004.jpg">
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image006.jpg">
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image008.jpg">
</p>
<p>3. Create <b>2 </b>more<b> layers</b> and name them <b>Car</b>, <b>Airplane:</b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image010.jpg"></b>
</p>
<p>4. Click the <b>Airplane Layer,</b> drag the airplane image you just saved onto the stage, and position it to the bottom most left corner of the stage:
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image012.jpg">
</p>
<p>5. Click Frame 20, Insert <b>KeyFrame</b>, and drag the airplane from one corner of the stage to the middle of the stage and change its direction.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image014.jpg">
</p>
<p>6. Now you need to give the fading effect, select the airplane. Choose color from the properties, click the drop down and choose <b>Alpha&#8211;>30%</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image016.jpg">
</p>
<p>7. Click Frame 30, and <b>Insert KeyFrame.</b> Similarly Insert KeyFrame on <b>Frame 40.</b>
</p>
<p>8. Now click anywhere in between 2 KeyFrames and <b>Create Motion Tween.</b>
</p>
<p>9. <b>Your Time Line should look this way </b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image018.jpg"></b>
</p>
<p>10. Now the Airplane effect is doneÃ¯Â¿Â½ now click the car Layer, drag and drop the car image from the library onto the stage.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image020.jpg">
</p>
<p>11. Click the frame exactly above the last frame of airplane layer. So that the motion of the car starts after the airplane.
</p>
<p>12. Add a KeyFrame; add KeyFrames on Frame 60 and Frame 70. <b>Create Motion Tween</b> between each KeyFrame.
</p>
<p>13. Remember to change the position of the car after you insert each <b> KeyFrame.</b>
</p>
<p>14. The time line of your fla file looks this way:
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image022.jpg">
</p>
<p>15. <b>Save</b> your Work and <b>Test Movie</b>.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image024.jpg">
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap049/image026.jpg">
</p>
<p><b><a href=img/Chap049/Fading%20Motion%20Tween.fla">Download .fla File of Fading Motion Tween</a></b>
</p>
<p><b><a href=img/Chap049/Fading%20Motion%20Tween.swf">Download .swf File of Fading Motion Tween</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linarobertsblog.com/?feed=rss2&amp;p=192</wfw:commentRss>
		</item>
		<item>
		<title>XML Slide show</title>
		<link>http://www.linarobertsblog.com/?p=191</link>
		<comments>http://www.linarobertsblog.com/?p=191#comments</comments>
		<pubDate>Thu, 09 Jul 2009 16:07:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Lina Roberts Blog]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
XML Slide show

Here you go with a wonderful slide show using a totally new  concept. In this tutorial you will be using an XML file to link the images that needs to be displayed in your flash. Just follow the steps given below and create your own slide show:

1. Open a new Flash Document, [...]]]></description>
			<content:encoded><![CDATA[<p><FONT FACE="arial"><br />
<h1 align="center">XML Slide show</h1>
</p>
<p>Here you go with a wonderful slide show using a totally new  concept. In this tutorial you will be using an XML file to link the images that needs to be displayed in your flash. Just follow the steps given below and create your own slide show:
</p>
<p>1. Open a new <b>Flash Document,</b> Set the stage size to <b>500 px X 500 px</b> and the Frame rate to <b>30 fps.</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image002.jpg">
</p>
<p>2. Open a new Text document click <b>File&#8211;>Save As</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image004.jpg">
</p>
<p>3. Save the new text document as slideshow.xml.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image006.jpg">
</p>
<p>4. Your xml file would look this way:
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image008.jpg">
</p>
<p>5. Now you need to create a folder containing your favorite pictures. And name the folder <b>Images.</b>
</p>
<p>6. <b>Open </b>the slideshow xml file Right click&#8211;>Edit and give the image path in this file. The content of this file is as shown  below:
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image010.jpg">
</p>
<p>7. Now come back to the Flash document, name the Layer slideshow.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image012.jpg">
</p>
<p>8. <b>Right click the 1<sup>st</sup> Frame&#8211;>choose Actions:</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image014.jpg">
</p>
<p>9. Type the following Action Script in the Actions window:
</p>
<p><b>import mx.transitions.Tween;</b>
</p>
<p><b>import mx.transitions.easing.*;</b>
</p>
<p><b></b>
</p>
<p><b>var myShowXML = new XML();</b>
</p>
<p><b>myShowXML.ignoreWhite = true;</b>
</p>
<p><b>myShowXML.load(&#8221;slideshow.xml&#8221;);</b>
</p>
<p><b></b>
</p>
<p><b>myShowXML.onLoad = function() {</b>
</p>
<p><b>            _root.myWidth =  myShowXML.firstChild.attributes.width;</b>
</p>
<p><b>            _root.myHeight =  myShowXML.firstChild.attributes.height;</b>
</p>
<p><b>            _root.mySpeed =  myShowXML.firstChild.attributes.speed;</b>
</p>
<p><b></b>
</p>
<p><b>            _root.myImages =  myShowXML.firstChild.childNodes;</b>
</p>
<p><b>            _root.myImagesNo = myImages.length;</b>
</p>
<p><b></b>
</p>
<p><b>            createContainer();</b>
</p>
<p><b>            callImages();</b>
</p>
<p><b></b>
</p>
<p><b>};</b>
</p>
<p><b></b>
</p>
<p><b></b>
</p>
<p><b>function createContainer() {</b>
</p>
<p><b>             _root.createEmptyMovieClip(&#8221;myContainer_mc&#8221;,1);</b>
</p>
<p><b></b>
</p>
<p><b>             myContainer_mc.lineStyle(5,0&#215;000000,100);</b>
</p>
<p><b>            myContainer_mc.lineTo(_root.myWidth,0);</b>
</p>
<p><b>             myContainer_mc.lineTo(_root.myWidth,_root.myHeight);</b>
</p>
<p><b>            myContainer_mc.lineTo(0,_root.myHeight);</b>
</p>
<p><b>            myContainer_mc.lineTo(0,0);</b>
</p>
<p><b></b>
</p>
<p><b>            myContainer_mc._x = (Stage.width-myContainer_mc._width)/2;</b>
</p>
<p><b>            myContainer_mc._y = (Stage.height-myContainer_mc._height)/2;</b>
</p>
<p><b></b>
</p>
<p><b>}</b>
</p>
<p><b></b>
</p>
<p><b>function callImages() {</b>
</p>
<p><b></b>
</p>
<p><b>            _root.myMCL = new MovieClipLoader();</b>
</p>
<p><b>            _root.myPreloader = new Object();</b>
</p>
<p><b>            _root.myMCL.addListener(_root.myPreloader);</b>
</p>
<p><b></b>
</p>
<p><b>            _root.myClips_array = ;</b>
</p>
<p><b></b>
</p>
<p><b>            _root.myPreloader.onLoadStart =  function(target) {</b>
</p>
<p><b></b>
</p>
<p><b>                        _root.createTextField(&#8221;myText_txt&#8221;,_root.getNextHighestDepth(),0,0,100,20);</b>
</p>
<p><b>                        _root.myText_txt._x =  (Stage.width-_root.myText_txt._width)/2;</b>
</p>
<p><b>                        _root.myText_txt._y =  (Stage.height-_root.myText_txt._height)/2;</b>
</p>
<p><b>                        _root.myText_txt.autoSize =  &#8220;center&#8221;;</b>
</p>
<p><b></b>
</p>
<p><b>                        _root.myText_txt.text =  &#8220;test&#8221;;</b>
</p>
<p><b></b>
</p>
<p><b>            };</b>
</p>
<p><b></b>
</p>
<p><b>            _root.myPreloader.onLoadProgress =  function(target) {</b>
</p>
<p><b></b>
</p>
<p><b>                        _root.myText_txt.text =  &#8220;Loading.. &#8220;+_root.myClips_array.length+&#8221;/&#8221;+_root.myImagesNo+&#8221; Completed&#8221;;</b>
</p>
<p><b></b>
</p>
<p><b>            };</b>
</p>
<p><b></b>
</p>
<p><b></b>
</p>
<p><b>            _root.myPreloader.onLoadComplete =  function(target) {</b>
</p>
<p><b></b>
</p>
<p><b>                        _root.myClips_array.push(target);</b>
</p>
<p><b>                        target._alpha = 0;</b>
</p>
<p><b></b>
</p>
<p><b>                        if (_root.myClips_array.length  == _root.myImagesNo) {</b>
</p>
<p><b></b>
</p>
<p><b>                                    _root.myText_txt._y  = myContainer_mc._y + myContainer_mc._height;</b>
</p>
<p><b>                                    _root.target_mc  = -1;</b>
</p>
<p><b>                                    moveSlide();</b>
</p>
<p><b>                                    myShowInt =  setInterval(moveSlide, (_root.mySpeed*1000)+1000);</b>
</p>
<p><b></b>
</p>
<p><b></b>
</p>
<p><b>                        }</b>
</p>
<p><b></b>
</p>
<p><b>            };</b>
</p>
<p><b></b>
</p>
<p><b>            for (i=0; i<_root.myImagesNo; i++) {</b>
</p>
<p><b></b>
</p>
<p><b>                        temp_url = _root.myImages.attributes.url;</b>
</p>
<p><b>                        temp_mc =  myContainer_mc.createEmptyMovieClip(i, myContainer_mc.getNextHighestDepth());</b>
</p>
<p><b></b>
</p>
<p><b>                        _root.myMCL.loadClip(temp_url,temp_mc);</b>
</p>
<p><b>            }</b>
</p>
<p><b></b>
</p>
<p><b>}</b>
</p>
<p><b></b>
</p>
<p><b></b>
</p>
<p><b>function moveSlide() {</b>
</p>
<p><b></b>
</p>
<p><b>            current_mc =  _root.myClips_array[_root.target_mc];</b>
</p>
<p><b>            new Tween(current_mc, &#8220;_alpha&#8221;,  Strong.easeOut, 100, 0, 1, true);</b>
</p>
<p><b></b>
</p>
<p><b>            _root.target_mc++;</b>
</p>
<p><b></b>
</p>
<p><b>            if (_root.target_mc>=_root.myImagesNo) {</b>
</p>
<p><b>                        _root.target_mc = 0;</b>
</p>
<p><b>            }</b>
</p>
<p><b></b>
</p>
<p><b>            _root.myText_txt.text = _root.myImages.attributes.title;</b>
</p>
<p><b>            next_mc = _root.myClips_array[_root.target_mc];</b>
</p>
<p><b>            new Tween(next_mc, &#8220;_alpha&#8221;,  Strong.easeOut, 0, 100, 1, true);</b>
</p>
<p><b></b>
</p>
<p><b>}</b>
</p>
<p><b>Note: </b>In the Action script we have mentioned the  path for the XML file you created. This will connect to the images folder and give you a wonderful Slide show.
</p>
<p>10. <b>Save</b> your Work and <b>Test Movie.</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image016.jpg">
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap072/image018.jpg">
</p>
<p><b><a href=img/Chap072/slideshow.fla">  Download .fla File of XML Slide Show</a></b>
</p>
<p><b><a href=img/Chap072/slideshow.swf">  Download .swf File of XML Slide Show</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linarobertsblog.com/?feed=rss2&amp;p=191</wfw:commentRss>
		</item>
		<item>
		<title>Gradient Photo Presentation</title>
		<link>http://www.linarobertsblog.com/?p=190</link>
		<comments>http://www.linarobertsblog.com/?p=190#comments</comments>
		<pubDate>Mon, 06 Jul 2009 17:07:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Lina Roberts Blog]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
Gradient Photo Presentation

The gradient photo presentation gives an additional effect to the photo you have clicked. Just follow the steps below to make use of this effect:

1. Open a new Flash Document, set the stage size to 800 px X 513.5px and the Frame rate to 19fps.

Ã‚Â Ã‚Â Ã‚Â Ã‚Â 

2. Now you need to insert an image. Click [...]]]></description>
			<content:encoded><![CDATA[<p><FONT FACE="arial"><br />
<h1 align="center">Gradient Photo Presentation</h1>
</p>
<p>The gradient photo presentation gives an additional effect to the photo you have clicked. Just follow the steps below to make use of this effect:
</p>
<p>1. Open a new <b>Flash Document</b>, set the stage size to <b>800 px X 513.5</b><b>px</b> and the Frame rate to <b>19fps.</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image002.jpg">
</p>
<p>2. Now you need to insert an image. Click <b>File&#8211;>Import&#8211;>Import to Library,</b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image004.jpg"></b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image006.jpg"></b>
</p>
<p>3. <b>Align </b>the image to the center of the stage.
</p>
<p>4. <b>Click </b>Frames 40 and 50 and<b> Insert KeyFrames.</b>
</p>
<p>5. <b>Insert </b>another Layer and name it <b>Gradient.</b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image008.jpg"></b>
</p>
<p>6. Using the Oval tool, draw an oval tool over the photo with no stroke.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image010.jpg">
</p>
<p>7. While the Oval shape is still selected, open the <b>Color Mixer Panel</b><b>Window &#8211;> Color Mixer</b> and  choose the following options:
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ <b>Type: Radial</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ <b>Color: Brown</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã¯Â¿Â½ <b>Alpha: 100%</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image012.jpg">
</p>
<p>8. Click frame 30 from the Color Mixer Panel, <b>Window  &#8211;> Color Mixer</b>. choose the following options:<
</p>
<p>>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image014.jpg">
</p>
<p>9. Select frame 40 and Insert <b>KeyFrame,</b> Using the Color Mixer Panel set Alpha property to 0% ,
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image016.jpg">
</p>
<p>10. Right Click anywhere in between Frames 1 and 30, 30 and 40 and Create <b>Shape Tween. </b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image018.jpg"></b>
</p>
<p>11. Click frame 40 of layer 1, keep the image selected, click <b>Modify&#8211;>Convert to symbol,</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image020.jpg">
</p>
<p>12. Name the symbol and choose <b>Movie Clip</b> as its behavior.
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image022.jpg">
</p>
<p>13. Click frame 50 and Insert <b>KeyFrame.</b>
</p>
<p>14. Select the Image using the Selection Tool. From the Properties Window, set Alpha down to <b>0%</b>.
</p>
<p>15. Right click anywhere in between Frame 40 and 50 and <b>choose Create Motion Tween.</b>
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image024.jpg"></b>
</p>
<p>16. Save your work and <b>Test Movie.</b>
</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image026.jpg">
</p>
<p><b>Ã‚Â Ã‚Â Ã‚Â Ã‚Â <img src="img/Chap068/image028.jpg">
</p>
<p></b>
</p>
<p><b><a href=img/Chap068/gradient%20effect.fla">  Download .fla File of Gradient Photo Presentation</a></b>
</p>
<p><b><a href=img/Chap068/gradient%20effect.swf">  Download .swf File of Gradient Photo Presentation</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linarobertsblog.com/?feed=rss2&amp;p=190</wfw:commentRss>
		</item>
	</channel>
</rss>
