<?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>Techno m'lounge - Where technology meets human senses. &#187; ActionScript</title>
	<atom:link href="http://sumitghosh.co.in/tag/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://sumitghosh.co.in</link>
	<description>Technology, if not handled with care becomes disruptive, Iam a live example...</description>
	<lastBuildDate>Sun, 13 Jun 2010 00:56:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Connecting to Flash Media Server Using ActionScript 3.0</title>
		<link>http://sumitghosh.co.in/connecting-to-flash-media-server-using-actionscript-3-0/</link>
		<comments>http://sumitghosh.co.in/connecting-to-flash-media-server-using-actionscript-3-0/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:29:50 +0000</pubDate>
		<dc:creator>Sumit Ghosh</dc:creator>
				<category><![CDATA[ActionScript 2.0 and 3.0]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash AS3]]></category>

		<guid isPermaLink="false">http://sumitghosh.co.in/?p=334</guid>
		<description><![CDATA[







A lot of times you will need to connect to Flash Media Server , where there is lot of code avialable for AS 2.0 , I was not able to find much code on AS 3.0 . I hope this helps other fellow Action Script programmers out there.
package
{
import flash.net.NetConnection;
import flash.display.Sprite;
import flash.text.TextField;
import flash.events.NetStatusEvent;
public class FMSManager extends [...]]]></description>
			<content:encoded><![CDATA[<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-7073257741073458";
/* 300x250, created 9/27/09 - bysumit */
google_ad_slot = "8746555401";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
<p>A lot of times you will need to connect to Flash Media Server , where there is lot of code avialable for AS 2.0 , I was not able to find much code on AS 3.0 . I hope this helps other fellow Action Script programmers out there.</p>
<p>package<br />
{<br />
import flash.net.NetConnection;<br />
import flash.display.Sprite;<br />
import flash.text.TextField;<br />
import flash.events.NetStatusEvent;</p>
<p>public class FMSManager extends Sprite<br />
{<br />
private var nc:NetConnection;<br />
private var rtmpNow:String;<br />
private var msg:String;<br />
private var connectText:TextField;<br />
private var posX:Number;</p>
<p>public function FMSManager ()<br />
{<br />
nc=new NetConnection();<br />
nc.addEventListener (NetStatusEvent.NET_STATUS,checkConnect);<br />
rtmpNow=&#8221;rtmp://timfuzos.rtmphost.com/one2oneChat/room1&#8243;; //change the host name to your host<br />
//rtmpNow=&#8221;rtmpe:/one2oneChat/room1&#8243;;  // if your FMS is hosted in local use this<br />
nc.connect (rtmpNow,&#8221;sumit&#8221;);<br />
}<br />
private function checkConnect (event:NetStatusEvent):void<br />
{<br />
connectText=new TextField();<br />
msg=event.info.code;<br />
trace(msg);<br />
connectText.width=250;<br />
connectText.text=msg;<br />
addChild (connectText);<br />
posX=connectText.stage.stageWidth;<br />
connectText.x=(posX/2)-((msg.length/2)*(6));<br />
connectText.y=175;<br />
}<br />
}<br />
}</p>
<p>The screen would look like this</p>
<p><div id="attachment_339" class="wp-caption alignleft" style="width: 310px"><a href="http://sumitghosh.co.in/wp-content/uploads/2009/09/Capture1.PNG"><img src="http://sumitghosh.co.in/wp-content/uploads/2009/09/Capture1-300x241.PNG" alt="Connection Screen" title="Connection Screen" width="300" height="241" class="size-medium wp-image-339" /></a><p class="wp-caption-text">Connection Screen</p></div><br />

<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-7073257741073458";
/* 300x250, created 9/27/09 - bysumit */
google_ad_slot = "8746555401";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
<br />
Download code from here.</p>
<p><a href="http://sumitghosh.co.in/wp-content/uploads/2009/09/FMSConnect.zip">FMSConnect</a></p>
<img src="http://sumitghosh.co.in/?ak_action=api_record_view&id=334&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://sumitghosh.co.in/connecting-to-flash-media-server-using-actionscript-3-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Custom Branded FLV Player</title>
		<link>http://sumitghosh.co.in/custom-branded-flv-player/</link>
		<comments>http://sumitghosh.co.in/custom-branded-flv-player/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 13:42:47 +0000</pubDate>
		<dc:creator>Sumit Ghosh</dc:creator>
				<category><![CDATA[ActionScript 2.0 and 3.0]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://sumitghosh.co.in/?p=25</guid>
		<description><![CDATA[Recently we got a project to do a custom branded flv player for a client. Ram and me decided to make one custom Branded FLV Player. Here is what we came out with.
Just give path to a flv file on http and play it  
http://www.indiauploading.com/demosites/videoplayer/customplayer.html
If you want to see how it looks, Watch a [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we got a project to do a custom branded flv player for a client. Ram and me decided to make one custom Branded FLV Player. Here is what we came out with.</p>
<p>Just give path to a flv file on http and play it <img src='http://sumitghosh.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a class="aligncenter" title="Custom Video Player" href="http://www.indiauploading.com/demosites/videoplayer/customplayer.html" target="_blank">http://www.indiauploading.com/demosites/videoplayer/customplayer.html</a></p>
<p>If you want to see how it looks, Watch a static video on this player below.</p>
<p><a class="aligncenter" href="http://www.indiauploading.com/demosites/videoplayer/myflvplayer.html" target="_blank">http://www.indiauploading.com/demosites/videoplayer/myflvplayer.html</a></p>
<p>So if you want to get a custom flv player developed for your do connect back to me asap!</p>
<img src="http://sumitghosh.co.in/?ak_action=api_record_view&id=25&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://sumitghosh.co.in/custom-branded-flv-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
