<?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>Jiby S K - Web Designer &#187; Flash</title>
	<atom:link href="http://www.jibysk.com/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jibysk.com</link>
	<description>Howdy! I&#039;m Jiby and I&#039;m a web desiner creates attractive, accessible standard compliant websites good at css, html</description>
	<lastBuildDate>Wed, 31 Mar 2010 07:19:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Displaying and integrating Google maps in adobe Flash</title>
		<link>http://www.jibysk.com/2009/11/10/displaying-and-integrating-google-maps-in-adobe-flash/</link>
		<comments>http://www.jibysk.com/2009/11/10/displaying-and-integrating-google-maps-in-adobe-flash/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 11:39:19 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/?p=103</guid>
		<description><![CDATA[This is a simple tutorial which explains how to incorporate Google maps in Adobe Flash with markers and controls

Get the Google maps API key
Follow the instruction from Google and get Google map API key by signing up. Click here for details. For testing the flash here is a sample API Key. 

ABQIAAAA7QUChpcnvnmXxsjC7s1fCxQGj0PqsCtxKvarsoS-iqLdqZSKfxTd7Xf-2rEc_PC9o8IsJde80Wnj4g

Download the Google maps [...]]]></description>
			<content:encoded><![CDATA[<p>This is a simple tutorial which explains how to incorporate Google maps in Adobe Flash with markers and controls<br />
<span id="more-103"></span></p>
<h3>Get the Google maps API key</h3>
<p>Follow the instruction from Google and get Google map API key by signing up. Click <a href="http://code.google.com/apis/maps/signup.html">here</a> for details. For testing the flash here is a sample API Key. </p>
<div class="code">
ABQIAAAA7QUChpcnvnmXxsjC7s1fCxQGj0PqsCtxKvarsoS-iqLdqZSKfxTd7Xf-2rEc_PC9o8IsJde80Wnj4g
</div>
<h3>Download the Google maps API SDK for flash</h3>
<p>You can download Google maps API SDK from <a href="http://maps.googleapis.com/maps/flash/release/sdk.zip">here</a>.<br />
Unzip the file and copy  map_1_9 Flash Component file to component folder of flash.<br />
For windows copy to this location</p>
<div class="code">
C:\Program Files\Adobe\Adobe Flash CS3 (or your Flash version)\en (or your language)\Configuration\Components
</div>
<p>For Mac OS X copy to this location</p>
<div class="code">
Macintosh HD/Applications/Adobe Flash CS3 (or your Flash version)/Configuration/Components
</div>
<p>If you wish to make components organized make a new folder name it say Google and paste into it.</p>
<h3>Inserting Google maps API flash component</h3>
<p>Open new flash document (Ctrl + N)</p>
<p><img src="http://www.jibysk.com/wp-content/uploads/2009/11/newflash.jpg" alt="newflash" title="newflash" width="430" height="150" class="aligncenter size-full wp-image-378" /></p>
<p>Open Component panel, if not open click (Ctrl + F7). The Components panel will appear with a Google Maps API node. Drag Google Maps Library component to the stage and give the instance name as <strong>gmaps</strong></p>
<p><img src="http://www.jibysk.com/wp-content/uploads/2009/11/flashgooglecomp.jpg" alt="flash-google-componet" title="flash-google-componet" width="430" height="150" class="aligncenter size-full wp-image-378" /></p>
<h3>Insert AS3 code for Google maps</h3>
<p>Insert new layer and name it as <strong>actions</strong>. Select the first key frame and open the action panel (press F9) and follow the code.</p>
<pre class="brush: php;">
import com.google.maps.LatLng;
import com.google.maps.Map;
import com.google.maps.MapEvent;
import com.google.maps.MapType;
// Importing Map Controls
import com.google.maps.controls.ZoomControl;
import com.google.maps.controls.PositionControl;
import com.google.maps.controls.MapTypeControl;
import com.google.maps.controls.OverviewMapControl;
// Importing Map markers amd map mouse events
import com.google.maps.overlays.MarkerOptions;
import com.google.maps.overlays.Marker;
import com.google.maps.InfoWindowOptions;
import com.google.maps.MapMouseEvent;

// Creating The Map
var gmaps:Map = new Map();
gmaps.key = &quot;ABQIAAAA7QUChpcnvnmXxsjC7s1fCxQGj0PqsCtxKvarsoS-iqLdqZSKfxTd7Xf-2rEc_PC9o8IsJde80Wnj4g&quot;;
// Setting the size to component to stage size
gmaps.setSize(new Point(stage.stageWidth, stage.stageHeight));
gmaps.addEventListener(MapEvent.MAP_READY, onMapReady);
// Adding component to stage
this.addChild(gmaps);

function onMapReady(event:MapEvent):void {
// Setting Longitude and Latitude and the type of view
  gmaps.setCenter(new LatLng(40.68913,-74.0446), 17, MapType.HYBRID_MAP_TYPE);
// Adding zoom, position, map type and small pan window map controls
  gmaps.addControl(new ZoomControl());
  gmaps.addControl(new PositionControl());
  gmaps.addControl(new MapTypeControl());
  gmaps.addControl(new OverviewMapControl());
// Loading the Xml marker file
  xmlMarkerLoader();
}

function xmlMarkerLoader(){
 function loadXML(e:Event):void{
	 XML.ignoreWhitespace = true;
	 var mapMarker_xml:XML = new XML(e.target.data);

	 for (var i:Number = 0; i &lt; mapMarker_xml.location.length(); i++){

		 var latlng:LatLng = new LatLng(mapMarker_xml.location[i].lat, mapMarker_xml.location[i].lon);
		 var tip = mapMarker_xml.location[i].name;
		 var myTitle:String = mapMarker_xml.location[i].title;
		 var myContent:String = mapMarker_xml.location[i].content;
		 // Calling Marker
		 gmaps.addOverlay(createMarker(latlng,i, tip, myTitle, myContent));
	 }

	 // Add Markers On The Map
	 function createMarker(latlng:LatLng, number:Number, tip, myTitle, myContent):Marker {
               var i:Marker = new Marker(latlng,new MarkerOptions({hasShadow: true, tooltip: &quot;&quot;+tip }));
			   i.addEventListener(MapMouseEvent.CLICK, function(event:MapMouseEvent):void {
				gmaps.openInfoWindow(event.latLng, new InfoWindowOptions({titleHTML: &quot;&quot;+myTitle, contentHTML: &quot;&quot;+myContent }));
				});
               return i;
      }
 }

 var xmlLoader:URLLoader = new URLLoader();
 xmlLoader.addEventListener(Event.COMPLETE, loadXML);
 xmlLoader.load(new URLRequest(&quot;marker.xml&quot;));
}
</pre>
<h3>Enjoy ! It’s done</h3>
<p>Test movie  (Ctrl + Enter) to see the running application</p>
<h3>Download</h3>
<p>You can download the source code from here.<br />
[Download not found]</p>
<h2> Free Google map component </h2>
<p><strong><a href="http://www.afcomponents.com/components/umap_as3/" target="_blank">AFC omponents</a></strong><br />
<a href="http://www.afcomponents.com/components/umap_as3/" target="_blank"><img src="http://www.jibysk.com/wp-content/uploads/2009/11/AFC_Components.jpg" alt="afc-omponents" title="afc-omponents" width="430" height="150" class="aligncenter size-full wp-image-378" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/11/10/displaying-and-integrating-google-maps-in-adobe-flash/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Custom right context menu in flash</title>
		<link>http://www.jibysk.com/2009/10/26/custom-right-context-menu-in-flash/</link>
		<comments>http://www.jibysk.com/2009/10/26/custom-right-context-menu-in-flash/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 06:52:26 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/?p=64</guid>
		<description><![CDATA[Here is simple know to every one tutorial about how to make custom right context menu in flash.


//code for new right-click menu
var myMenu = new ContextMenu();
//Hide flash's built in items (zoom in, zoom out, etc)
myMenu.hideBuiltInItems();
//goToUrl function used for calling customLinkUrl when link is clicked
function goToUrl(){
  //_blank opens the link in a new window
  [...]]]></description>
			<content:encoded><![CDATA[<p>Here is simple know to every one tutorial about how to make custom right context menu in flash.<br />
<span id="more-64"></span></p>
<pre class="brush: php;">
//code for new right-click menu
var myMenu = new ContextMenu();
//Hide flash's built in items (zoom in, zoom out, etc)
myMenu.hideBuiltInItems();
//goToUrl function used for calling customLinkUrl when link is clicked
function goToUrl(){
  //_blank opens the link in a new window
  getURL(&amp;quot;http://www.jibysk.com&amp;quot;, &amp;quot;_blank&amp;quot;);
}
//Create a new item for the new menu.
var copyright = new ContextMenuItem(&amp;quot;© 2009&amp;quot;, goToUrl);
//Add the item to the new menu
myMenu.customItems.push(copyright);
//Adding new item to the menu
function onPause(obj:Object, menu:ContextMenu) {
    trace(&amp;quot;bank&amp;quot;);
}
var menuItem = new ContextMenuItem(&amp;quot;Jiby S K&amp;quot;,onPause);
myMenu.customItems.push(menuItem);
//Apply the new menu
_root.menu = myMenu;
</pre>
[Download not found]
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/10/26/custom-right-context-menu-in-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Tutorials to Create Cool Particle Systems on AS3</title>
		<link>http://www.jibysk.com/2009/10/22/5-tutorials-to-create-cool-particle-systems-on-as3/</link>
		<comments>http://www.jibysk.com/2009/10/22/5-tutorials-to-create-cool-particle-systems-on-as3/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 11:26:29 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/?p=52</guid>
		<description><![CDATA[Here I show you some of the best tutorials, articles and resources that will help you to create awesome works on particle system effects using actionscript AS 3.0.


Creating a particle system in Flash may sound difficult, but as Seb Lee-Delisle shows you, it’s not rocket science.
Read Tutorial

A nice article showing you how to create a [...]]]></description>
			<content:encoded><![CDATA[<p>Here I show you some of the best tutorials, articles and resources that will help you to create awesome works on particle system effects using actionscript AS 3.0.<br />
<span id="more-52"></span></p>
<p><a href="http://www.computerarts.co.uk/tutorials/new_media/cool_particle_effects_in_flash"><img class="aligncenter size-full wp-image-42" title="as3-particle-systems1" src="http://www.jibysk.com/wp-content/uploads/2009/10/create-cool-particle-systems-1.jpg" alt="as3-particle-systems" width="425" height="160" /></a><br />
Creating a particle system in Flash may sound difficult, but as Seb Lee-Delisle shows you, it’s not rocket science.<br />
<a href="http://www.computerarts.co.uk/tutorials/new_media/cool_particle_effects_in_flash">Read Tutorial</a></p>
<p><a href="http://www.flashandmath.com/advanced/particles3d/index.html"><img class="aligncenter size-full wp-image-232" title="as3-particle-systems2" src="http://www.jibysk.com/wp-content/uploads/2009/10/create-cool-particle-systems-2.jpg" alt="as3-particle-systems" width="425" height="160" /></a><br />
A nice article showing you how to create a Rotating Bitmap in 3D that explodes into Particles.<br />
<a href="http://www.flashandmath.com/advanced/particles3d/index.html">Read Tutorial</a></p>
<p><a href="http://flintparticles.org/tutorials/snowfall"><img class="aligncenter size-full wp-image-234" title="as3-particle-systems3" src="http://www.jibysk.com/wp-content/uploads/2009/10/create-cool-particle-systems-3.jpg" alt="as3-particle-systems" width="425" height="160" /></a><br />
This tutorial introduce you to the basics to the impressive Flint AS3 Particle System Framework, through a project to create a snow effect.<br />
<a href="http://flintparticles.org/tutorials/snowfall">Read Tutorial</a></p>
<p><a href="http://flintparticles.org/examples"><img class="aligncenter size-full wp-image-236" title="as3-particle-systems4" src="http://www.jibysk.com/wp-content/uploads/2009/10/create-cool-particle-systems-4.jpg" alt="as3-particle-systems" width="425" height="160" /></a><br />
Flint is an open-source project to create a versatile particle system in Actionscript 3. The aim is to create a system that handles the common functionality for all particle systems, has methods for common particle behaviour, and lets developers extend it easily with their own custom behaviours without needing to touch the core code.<br />
<a href="http://flintparticles.org/examples">Read Tutorial</a></p>
<p><a href="http://blog.soulwire.co.uk/flash/actionscript-3/as3-alphabet-particles/"><img class="aligncenter size-full wp-image-237" title="as3-particle-systems5" src="http://www.jibysk.com/wp-content/uploads/2009/10/create-cool-particle-systems-5.jpg" alt="as3-particle-systems" width="425" height="160" /></a><br />
An artistic Alphabet Particles system using AS3 by SoulWire. You can try the demo and download the source.<br />
<a href="http://blog.soulwire.co.uk/flash/actionscript-3/as3-alphabet-particles/">Read Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/10/22/5-tutorials-to-create-cool-particle-systems-on-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toggle a flash swf to window full-screen and normal size</title>
		<link>http://www.jibysk.com/2009/10/19/toggle-a-flash-swf-to-window-full-screen-and-normal-size/</link>
		<comments>http://www.jibysk.com/2009/10/19/toggle-a-flash-swf-to-window-full-screen-and-normal-size/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 04:11:12 +0000</pubDate>
		<dc:creator>Jiby</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.jibysk.com/2009/10/19/toggle-a-flash-swf-to-window-full-screen-and-normal-size/</guid>
		<description><![CDATA[Here is a usefull flash code which helps to toggle between normal size and fullscreen with a simple click, which can toggle Stage displayState from &#8220;normal&#8221; to &#8220;fullScreen&#8221;.

The source of the post is from bezzmedia
Open a New flash and create a button and add the following code to it:
on(press){
toggleFullScreen();
}
The code for the function toggleFullScreen and [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a usefull flash code which helps to toggle between normal size and fullscreen with a simple click, which can toggle Stage displayState from &#8220;normal&#8221; to &#8220;fullScreen&#8221;.<br />
<span id="more-20"></span><br />
The source of the post is from <a href="http://www.bezzmedia.com/swfspot/tutorials/flash8/True_Fullscreen_Flash_Mode" target="_blank">bezzmedia</a><br />
Open a New flash and create a button and add the following code to it:</p>
<div class="code">on(press){<br />
toggleFullScreen();<br />
}</div>
<p>The code for the function toggleFullScreen and a resize listener are placed on the main stage.</p>
<div class="code">// Don&#8217;t scale the movie when the stage size changes<br />
Stage.scaleMode=&#8221;noScale&#8221;;<br />
//Align the stage to the top left<br />
Stage.align = &#8220;TL&#8221;;<br />
//Function to toggle between fullscreen and normal size the toggle fullscreen button calls this function when pressed<br />
function toggleFullScreen(){<br />
//if normal size, go to fullscreen, else go to normal size<br />
if(Stage["displayState"]==&#8221;normal&#8221;){<br />
Stage["displayState"]=&#8221;fullScreen&#8221;;<br />
}else{<br />
Stage["displayState"]=&#8221;normal&#8221;;<br />
}<br />
}<br />
//Create a listener for each time the Stage is resized<br />
var resizeListener:Object = new Object();<br />
//Called each time the stage is resized<br />
resizeListener.onResize = function () {<br />
//Move the button to the center of the screen<br />
toggleFullScreenButton._x=Stage.width/2;<br />
toggleFullScreenButton._y=Stage.height/2;<br />
}<br />
//Add the listener to Stage<br />
Stage.addListener(resizeListener);</div>
<p>the object tag is as follows</p>
<div class="code">
&lt;object classid=&#8221;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&#8243; width=&#8221;400&#8243; height=&#8221;200&#8243; codebase=&#8221;http://download.macromedia.com/pub/shockwave/<br />
cabs/flash/swflash.cab#version=6,0,40,0&#8243;&gt;<br />
&lt;param name=&#8221;allowFullScreen&#8221; value=&#8221;true&#8221; /&gt;<br />
&lt;param name=&#8221;src&#8221; value=&#8221;http://www.bezzmedia.com/swfspot/resources/34-fullscreen.swf&#8221; /&gt;<br />
&lt;param name=&#8221;allowfullscreen&#8221; value=&#8221;true&#8221; /&gt;<br />
&lt;embed type=&#8221;application/x-shockwave-flash&#8221; width=&#8221;400&#8243; height=&#8221;200&#8243; src=&#8221;http://www.bezzmedia.com/swfspot/resources/34-fullscreen.swf&#8221; allowfullscreen=&#8221;true&#8221;&gt;&lt;/embed&gt;<br />
&lt;/object&gt;</div>
<p>Download the <a href="http://www.bezzmedia.com/swfspot/resources/34-fullscreen.fla">source</a> file below:</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jibysk.com/2009/10/19/toggle-a-flash-swf-to-window-full-screen-and-normal-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
