<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6967508162671306109</id><updated>2011-11-27T22:36:32.099-08:00</updated><category term='Adobe'/><category term='flash'/><category term='Tweenlite'/><category term='Actionscript 2.0'/><category term='Actionscript 3.0'/><category term='java'/><category term='photography'/><category term='php'/><category term='network manager'/><category term='AMFPHP1.9/2.0'/><category term='streaming'/><category term='Flex 4'/><category term='fedora'/><category term='open source'/><category term='blazeds'/><category term='general'/><category term='Font'/><category term='xmp'/><category term='xmoov'/><category term='CS5'/><category term='papervision3d'/><category term='GPL'/><category term='tamarin'/><category term='Source'/><category term='PostgreSQL'/><category term='welcome'/><category term='webkit'/><category term='3D'/><category term='contry list'/><category term='YUM'/><category term='flickr'/><category term='Linux'/><category term='WAMP Server'/><category term='video'/><category term='Flex'/><category term='casalib'/><category term='Flash Media Server'/><category term='3DstudioMax'/><category term='Flash Media Encoder'/><category term='phpPgAdmin'/><title type='text'>lab</title><subtitle type='html'>Am a programmer passionate in movies. Am blogging to share my foolish experiments and it's result.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-2712868332654468191</id><published>2011-09-05T09:09:00.000-07:00</published><updated>2011-11-27T22:36:26.615-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='WAMP Server'/><category scheme='http://www.blogger.com/atom/ns#' term='PostgreSQL'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='phpPgAdmin'/><title type='text'>Configure PostgreSQL and phpPgAdmin in WAMP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;As i told earlier am trying to switch to Flex , i am trying to learn connection between PHP and Flex. When searched i got a excellent tutorial . But the problem is that it uses PostgreSQL. As i don't have any prior experience in PostgreSQL i try to install it in my Windows 7 and configure it in WAMP . I got different errors and spend almost two days in searching and using different methods . Atlast i got it right. I will try to figure out the steps i have done.&lt;br /&gt;Am using&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;PostgreSQL 9.1&lt;/li&gt;&lt;li&gt;WAMP Server 2.0e&lt;/li&gt;&lt;li&gt; phpPgAdmin 5.0.2&lt;/li&gt;&lt;/ol&gt;WAMP consists&lt;br /&gt;&lt;dl class="content"&gt;&lt;dt&gt;1. Apache Version :2.2.17 &amp;nbsp;&lt;/dt&gt;&lt;dt&gt;2. PHP Version :5.3.5&amp;nbsp; &lt;/dt&gt;&lt;dt&gt;3. MySQL Version :5.5.8&lt;/dt&gt;&lt;/dl&gt;&lt;ol style="text-align: left;"&gt;&lt;/ol&gt;First install PostgreSQL , no need to install additional plugins like phpPgAdmin.&lt;br /&gt;Install WAMP server where ever you need.&lt;br /&gt;Download PhpPgAdmin&amp;nbsp; and unzip it to WWW folder in WAMP installation.&lt;br /&gt;&lt;br /&gt;At this point if you try to access the http://localhost/phpPgAdmin/ you may get this error.&lt;br /&gt;&lt;br /&gt;Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.&lt;br /&gt;&lt;br /&gt;This is because you need to enable two extensions.&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&amp;nbsp;php_pgsql&lt;/li&gt;&lt;li&gt;php_pdo_pgsql&lt;/li&gt;&lt;/ol&gt;After enabling this extensions you may not see installed&amp;nbsp; extension in phpinfo. if you check the Apache error log you see this error&lt;br /&gt;&lt;pre class="brush :bash"&gt;PHP Warning:  PHP Startup: Unable to load dynamic library &lt;br /&gt;'D:/wamp/bin/php/php5.3.5/ext/php_pdo_oci.dll' - The specified module &lt;br /&gt;could not be found.\r\n in Unknown on line 0&lt;br /&gt;&lt;br /&gt; Warning:  PHP Startup: Unable to load dynamic library&lt;br /&gt; 'D:/wamp/bin/php/php5.3.5/ext/php_pdo_oci.dll' - The specified module &lt;br /&gt;could not be found. in Unknown on line 0&lt;br /&gt;PHP Warning:  PHP Startup: Unable to load dynamic library &lt;br /&gt;'D:/wamp/bin/php/php5.3.5/ext/php_pdo_pgsql.dll' - The specified module &lt;br /&gt;could not be found.\r\n in Unknown on line 0&lt;br /&gt;Warning:  PHP Startup: Unable to load dynamic library&lt;br /&gt; 'D:/wamp/bin/php/php5.3.5/ext/php_pdo_pgsql.dll' - The specified module&lt;br /&gt; could not be found. in Unknown on line 0&lt;br /&gt;PHP Warning:  PHP Startup: Unable to load dynamic library &lt;br /&gt;'D:/wamp/bin/php/php5.3.5/ext/php_pgsql.dll' - The specified module &lt;br /&gt;could not be found.\r\n in Unknown on line 0&lt;br /&gt;Warning:  PHP Startup: Unable to load dynamic library&lt;br /&gt; 'D:/wamp/bin/php/php5.3.5/ext/php_pgsql.dll' - The specified module &lt;br /&gt;could not be found&lt;br /&gt;&lt;/pre&gt;To correct this error you need to copy libpq.dll from wamp\bin\php\php5.3.5 to&amp;nbsp; wamp\bin\apache\Apache2.2.17\bin . Then try to enable PHP extension and check apache error log you will not see the error . And pgsql will be shown in Loaded extensions in http://localhost/.&lt;br /&gt;&lt;br /&gt;Now try this http://localhost/phpPgAdmin/ and you will see the PostgreSQL server. Select the PostgreSQL and login using the deafult user "postgres" and&amp;nbsp; the password you given when PostgreSQL installed. You may not able to login. It may say "Login disallowed for security reasons." . You need to set some parameters in \www\phpPgAdmin\conf\ &lt;br /&gt;find &lt;br /&gt;&lt;pre class="brush :php"&gt;$conf['extra_login_security'] = true;&lt;br /&gt;&lt;/pre&gt;and change&lt;br /&gt;&lt;pre class="brush :php"&gt;$conf['extra_login_security'] = false;&lt;br /&gt;&lt;/pre&gt;and find&lt;br /&gt;&lt;pre class="brush :php"&gt;$conf['owned_only'] = false;&lt;br /&gt;&lt;/pre&gt;and change it to&lt;br /&gt;&lt;pre class="brush :php"&gt;$conf['owned_only'] = true;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now you can login to PostgreSQL&amp;nbsp; using phpPgAdmin and work on it. You can now create database and work on it. But If you tried to export the database you will get another error&lt;br /&gt;&lt;br /&gt;Export error: Failed to execute pg_dump (given path in your conf/config.inc.php : /usr/bin/pg_dump). Please, fix this path in your configuration and relog.&lt;br /&gt;&lt;br /&gt;This is because you did not set the path correctly . You need to change two other parameters in config.inc.php&lt;br /&gt;&lt;pre class="brush :php"&gt;$conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump';&lt;br /&gt;$conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall';&lt;br /&gt;&lt;/pre&gt;change these params to&lt;br /&gt;&lt;pre class="brush :php"&gt; $conf['servers'][0]['pg_dump_path'] = 'C:\Program Files\PostgreSQL\9.1\bin\pg_dump.exe';&lt;br /&gt; $conf['servers'][0]['pg_dumpall_path'] = 'C:\Program Files\PostgreSQL\9.1\bin\pg_dumpall.exe';&lt;br /&gt;&lt;/pre&gt;check your PostgreSQL installation directory. Now you can export the database.&lt;br /&gt;&lt;br /&gt;Hope this post helps to configure PostgreSQL and phpPgAdmin successfully. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-2712868332654468191?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/2712868332654468191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=2712868332654468191' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/2712868332654468191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/2712868332654468191'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2011/09/configure-postgresql-and-phppgadmin-in.html' title='Configure PostgreSQL and phpPgAdmin in WAMP'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-6674522790399679445</id><published>2011-08-31T09:11:00.000-07:00</published><updated>2011-09-04T22:35:15.851-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='Flex 4'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='AMFPHP1.9/2.0'/><title type='text'>Connecting Flex 4 with  AMFPHP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;These days am missing this blog coz am busy with learning Flex. When i tried to connect with AMFPHP i can't find anything useful. Most of them were vague .Using the default data connectivity in Flash Builder am more confused and it's code looks complex . Atlast i found someone helpfull from &lt;a href="http://cookbooks.adobe.com/post_AMFPHP___Flex_4_demo-16508.html"&gt;adobe forum&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;When i tried to implement it , it shows nothing and missing some files. When i checked the PHP file, though am not good in PHP , i found there is also something also missing. I tried and searched and corrected the files.&lt;br /&gt;Here is the MXML code: &lt;br /&gt;&lt;pre class="brush: xml"&gt;&lt;s:windowedapplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"&gt;&lt;br /&gt;	&lt;fx:script&gt;&lt;br /&gt;		&lt;![CDATA[	&lt;br /&gt;			import flash.events.MouseEvent;&lt;br /&gt;			import mx.controls.Alert;&lt;br /&gt;			import mx.events.FlexEvent;&lt;br /&gt;			import mx.rpc.events.FaultEvent;&lt;br /&gt;			import mx.rpc.events.ResultEvent;&lt;br /&gt;			protected function	getAllEmployees_resultHandler(event:ResultEvent):void	&lt;br /&gt;			{&lt;br /&gt;				dataGrid.dataProvider=event.result;&lt;br /&gt;			}&lt;br /&gt;			protected function	getAllEmployeesByID_resultHandler(event:ResultEvent):void&lt;br /&gt;			{&lt;br /&gt;				dataGrid.dataProvider=event.result;&lt;br /&gt;			}&lt;br /&gt;			protected function	createEmployees_resultHandler(event:ResultEvent):void&lt;br /&gt;			{&lt;br /&gt;				Alert.show("inserted with ID="+event.result);&lt;br /&gt;				EmpService.getAllEmployees();&lt;br /&gt;			}&lt;br /&gt;			protected function EmpService_faultHandler(event:FaultEvent):void	&lt;br /&gt;			{&lt;br /&gt;				trace(event.fault.faultDetail);&lt;br /&gt;			}&lt;br /&gt;			protected function datagrid1_creationCompleteHandler(event:FlexEvent):void&lt;br /&gt;			{&lt;br /&gt;				EmpService.getAllEmployees();&lt;br /&gt;			}		&lt;br /&gt;			protected function Insert_clickHandler(event:MouseEvent):void	&lt;br /&gt;			{	&lt;br /&gt;				var e:Employee = new Employee();&lt;br /&gt;				e.first_name = fname.text;&lt;br /&gt;				e.last_name = lname.text;&lt;br /&gt;				e.hire_date = hdate.text;&lt;br /&gt;				e.birth_date = bdate.text;&lt;br /&gt;				e.gender = gender.text;&lt;br /&gt;				e.emp_no = parseInt(empno.text);&lt;br /&gt;				EmpService.createEmployees(e);&lt;br /&gt;			}&lt;br /&gt;			protected function search_clickHandler(event:MouseEvent):void	&lt;br /&gt;			{	&lt;br /&gt;				EmpService.getEmployeesByID(parseInt(stext.text));	&lt;br /&gt;			}&lt;br /&gt;			protected function button1_clickHandler(event:MouseEvent):void&lt;br /&gt;			{&lt;br /&gt;				EmpService.getAllEmployees();&lt;br /&gt;			}&lt;br /&gt;		]]&gt;&lt;br /&gt;	&lt;/fx:script&gt;&lt;br /&gt;	&lt;fx:declarations&gt;&lt;br /&gt;		&lt;br /&gt;		&lt;s:remoteobject destination="EmployeesService" endpoint="http://localhost/amfphp/gateway.php" fault="EmpService_faultHandler(event)" id="EmpService" showbusycursor="true" source="EmployeesService"&gt;&lt;br /&gt;			&lt;s:method name="getEmployeesByID" result="getAllEmployeesByID_resultHandler(event)"&gt;&lt;br /&gt;			&lt;s:method name="getAllEmployees" result="getAllEmployees_resultHandler(event)"&gt;		&lt;br /&gt;			&lt;s:method name="createEmployees" result="createEmployees_resultHandler(event)"&gt;&lt;br /&gt;		&lt;/s:method&gt;&lt;/s:method&gt;&lt;/s:method&gt;&lt;/s:remoteobject&gt;&lt;br /&gt;	&lt;/fx:declarations&gt;&lt;br /&gt;	&lt;mx:datagrid creationcomplete="datagrid1_creationCompleteHandler(event)" id="dataGrid" x="98" y="54"&gt;&lt;br /&gt;		&lt;mx:columns&gt;&lt;br /&gt;			&lt;mx:datagridcolumn datafield="emp_no" headertext="Emp No."&gt;&lt;br /&gt;			&lt;mx:datagridcolumn datafield="first_name" headertext="First Name"&gt;&lt;br /&gt;			&lt;mx:datagridcolumn datafield="last_name" headertext="Last Name"&gt;&lt;br /&gt;			&lt;mx:datagridcolumn datafield="birth_date" headertext="Birth&lt;br /&gt;							   Date"&gt;&lt;br /&gt;			&lt;mx:datagridcolumn datafield="hire_date" headertext="Hire&lt;br /&gt;							   Date"&gt;&lt;br /&gt;			&lt;mx:datagridcolumn datafield="gender" headertext="Gender"&gt;&lt;br /&gt;		&lt;/mx:datagridcolumn&gt;&lt;/mx:datagridcolumn&gt;&lt;/mx:datagridcolumn&gt;&lt;/mx:datagridcolumn&gt;&lt;/mx:datagridcolumn&gt;&lt;/mx:datagridcolumn&gt;&lt;/mx:columns&gt;&lt;br /&gt;	&lt;/mx:datagrid&gt;&lt;br /&gt;	&lt;s:textinput id="stext" x="98" y="25"&gt;&lt;br /&gt;	&lt;s:button click="search_clickHandler(event)" id="search" label="Search" x="234" y="25"&gt;&lt;br /&gt;	&lt;mx:form height="252" width="362" x="98" y="221"&gt;&lt;br /&gt;		&lt;mx:formheading label="Insert new Employee"&gt;&lt;br /&gt;		&lt;mx:formitem label="First Name"&gt;&lt;br /&gt;			&lt;s:textinput id="fname"&gt;&lt;br /&gt;		&lt;/s:textinput&gt;&lt;/mx:formitem&gt;&lt;br /&gt;		&lt;mx:formitem label="Last Name"&gt;		&lt;br /&gt;			&lt;s:textinput id="lname"&gt;&lt;br /&gt;		&lt;/s:textinput&gt;&lt;/mx:formitem&gt;&lt;br /&gt;		&lt;mx:formitem label="Hire Date(YYYY-MM-DD)"&gt;&lt;br /&gt;			&lt;s:textinput id="hdate"&gt;&lt;br /&gt;		&lt;/s:textinput&gt;&lt;/mx:formitem&gt;&lt;br /&gt;		&lt;mx:formitem label="Birth Date(YYYY-MM-DD) "&gt;&lt;br /&gt;			&lt;s:textinput id="bdate"&gt;&lt;br /&gt;		&lt;/s:textinput&gt;&lt;/mx:formitem&gt;&lt;br /&gt;		&lt;mx:formitem label="Gender(M/F)"&gt;&lt;br /&gt;			&lt;s:textinput id="gender"&gt;&lt;br /&gt;		&lt;/s:textinput&gt;&lt;/mx:formitem&gt;&lt;br /&gt;		&lt;mx:formitem label="Emp No."&gt;&lt;br /&gt;			&lt;s:textinput id="empno"&gt;&lt;br /&gt;		&lt;/s:textinput&gt;&lt;/mx:formitem&gt;&lt;br /&gt;		&lt;s:button click="Insert_clickHandler(event)" id="insertButton" label="Insert"&gt;&lt;br /&gt;	&lt;/s:button&gt;&lt;/mx:formheading&gt;&lt;/mx:form&gt;&lt;br /&gt;	&lt;s:button click="button1_clickHandler(event)" label="Refresh" x="630" y="25"&gt;&lt;br /&gt;&lt;/s:button&gt;&lt;/s:button&gt;&lt;/s:textinput&gt;&lt;/s:windowedapplication&gt;&lt;/pre&gt;This is the PHP service class which needed to be placed in the /services folder both in AMFPHP1.9 and 2.0 versions.&lt;br /&gt;&lt;pre class="brush: php"&gt;&amp;lt;?php&lt;br /&gt;  include('Employee.php');&lt;br /&gt;  //amfphp1.9&lt;br /&gt;  class EmployeesService&lt;br /&gt;  {&lt;br /&gt;      var $username = "root";&lt;br /&gt;      var $password = "";&lt;br /&gt;      var $server = "localhost";   &lt;br /&gt;      var $port = "3306";&lt;br /&gt;      var $databasename = "fb_tutorial_db";    &lt;br /&gt;      var $tablename = "employees";&lt;br /&gt;      var $connection;&lt;br /&gt;      public function __construct()&lt;br /&gt;      {&lt;br /&gt;          $this-&amp;gt;connection = mysqli_connect($this-&amp;gt;server, $this-&amp;gt;username, $this-&amp;gt;password, $this-&amp;gt;databasename, $this-&amp;gt;port);&lt;br /&gt;      }&lt;br /&gt;      &lt;br /&gt;      public function getAllEmployees()&lt;br /&gt;      {&lt;br /&gt;          $stmt = mysqli_prepare($this-&amp;gt;connection, "SELECT * FROM $this-&amp;gt;tablename");&lt;br /&gt;          mysqli_stmt_execute($stmt);&lt;br /&gt;          $rows = array();&lt;br /&gt;		  $row = new Employee();&lt;br /&gt;          mysqli_stmt_bind_result($stmt, $row-&amp;gt;emp_no, $row-&amp;gt;birth_date, $row-&amp;gt;first_name, $row-&amp;gt;last_name, $row-&amp;gt;gender, $row-&amp;gt;hire_date);&lt;br /&gt;          while (mysqli_stmt_fetch($stmt)) {&lt;br /&gt;              $rows[] = $row;&lt;br /&gt;              $row = new Employee();&lt;br /&gt;              mysqli_stmt_bind_result($stmt, $row-&amp;gt;emp_no, $row-&amp;gt;birth_date, $row-&amp;gt;first_name, $row-&amp;gt;last_name, $row-&amp;gt;gender, $row-&amp;gt;hire_date);&lt;br /&gt;          }  &lt;br /&gt;          mysqli_stmt_free_result($stmt);&lt;br /&gt;          mysqli_close($this-&amp;gt;connection);&lt;br /&gt;          return $rows;&lt;br /&gt;      }&lt;br /&gt;      &lt;br /&gt;      public function getEmployeesByID($itemID)&lt;br /&gt;      {&lt;br /&gt;          $stmt = mysqli_prepare($this-&amp;gt;connection, "SELECT * FROM $this-&amp;gt;tablename where emp_no=?");     &lt;br /&gt;          mysqli_bind_param($stmt, 'i', $itemID);  &lt;br /&gt;          mysqli_stmt_execute($stmt);&lt;br /&gt;		  $row = new Employee();&lt;br /&gt;          mysqli_stmt_bind_result($stmt, $row-&amp;gt;emp_no, $row-&amp;gt;birth_date, $row-&amp;gt;first_name, $row-&amp;gt;last_name, $row-&amp;gt;gender, $row-&amp;gt;hire_date);&lt;br /&gt;          if (mysqli_stmt_fetch($stmt)) {&lt;br /&gt;              return $row;&lt;br /&gt;          } else {&lt;br /&gt;              return null;&lt;br /&gt;          }&lt;br /&gt;      }&lt;br /&gt;      &lt;br /&gt;      public function createEmployees($item)&lt;br /&gt;      {&lt;br /&gt;          $stmt = mysqli_prepare($this-&amp;gt;connection, "INSERT INTO $this-&amp;gt;tablename (birth_date, first_name, last_name, gender, hire_date) VALUES (?, ?, ?, ?, ?)");  &lt;br /&gt;          mysqli_stmt_bind_param($stmt, 'sssss', $item["birth_date"], $item["first_name"], $item["last_name"], $item["gender"], $item["hire_date"]);&lt;br /&gt;          mysqli_stmt_execute($stmt);&lt;br /&gt;          $autoid = mysqli_stmt_insert_id($stmt);&lt;br /&gt;          mysqli_stmt_free_result($stmt);&lt;br /&gt;          mysqli_close($this-&amp;gt;connection);&lt;br /&gt;          return $autoid;&lt;br /&gt;      }&lt;br /&gt;  }&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;Here is the PHP Value Object Class&lt;br /&gt;&lt;pre class="brush: php"&gt;&amp;lt;?php&lt;br /&gt;class Employee{&lt;br /&gt;	public $emp_no;&lt;br /&gt;	public $first_name;&lt;br /&gt;	public $last_name;&lt;br /&gt;	public $gender;&lt;br /&gt;	public $hire_date;&lt;br /&gt;	public $birth_date;&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;For AMFPHP 2.0 edit the endpoint from http://localhost/amfphp/gateway.php to http://localhost/amfphp2/ (version AmfPHP 2.0  )&lt;br /&gt;And need to change the&amp;nbsp; createEmployees($item) function in EmployeeService.php to&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre class="brush: php"&gt;  public function createEmployees($item)&lt;br /&gt;      {&lt;br /&gt;          $stmt = mysqli_prepare($this-&amp;gt;connection, "INSERT INTO $this-&amp;gt;tablename (birth_date, first_name, last_name, gender, hire_date) VALUES (?, ?, ?, ?, ?)");  &lt;br /&gt;          mysqli_stmt_bind_param($stmt, 'sssss', $item-&amp;gt;birth_date, $item-&amp;gt;first_name, $item-&amp;gt;last_name, $item-&amp;gt;gender, $item-&amp;gt;hire_date);&lt;br /&gt;          mysqli_stmt_execute($stmt);&lt;br /&gt;          $autoid = mysqli_stmt_insert_id($stmt);&lt;br /&gt;          mysqli_stmt_free_result($stmt);&lt;br /&gt;          mysqli_close($this-&amp;gt;connection);&lt;br /&gt;          return $autoid;&lt;br /&gt;      }&lt;br /&gt;&lt;/pre&gt;I don't know the reason but it worked for me. But i think in 1.9 the object passed to PHP function is an array and in 2.0 it's an object of stdClass. That's why this change.&amp;nbsp; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-6674522790399679445?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/6674522790399679445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=6674522790399679445' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/6674522790399679445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/6674522790399679445'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2011/08/connecting-flex-4-with-amfphp.html' title='Connecting Flex 4 with  AMFPHP'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-1704164139872708036</id><published>2011-04-04T08:58:00.001-07:00</published><updated>2011-04-04T08:58:56.798-07:00</updated><title type='text'>Honey and Bee</title><content type='html'>&lt;div style="margin: 0 0 10px 0; padding: 0; font-size: 0.8em; line-height: 1.6em;"&gt;&lt;a href="http://www.flickr.com/photos/60010248@N03/5589340206/" title="Honey and Bee"&gt;&lt;img src="http://farm6.static.flickr.com/5064/5589340206_43468d2c49.jpg" alt="Honey and Bee by logicmania-lab" /&gt;&lt;/a&gt;&lt;br/&gt;&lt;span style="margin: 0;"&gt;&lt;a href="http://www.flickr.com/photos/60010248@N03/5589340206/"&gt;Honey and Bee&lt;/a&gt;, a photo by &lt;a href="http://www.flickr.com/photos/60010248@N03/"&gt;logicmania-lab&lt;/a&gt; on Flickr.&lt;/span&gt;&lt;/div&gt;&lt;p&gt;It's a sunny day. Bee's were busy with there breakfast. They were stealing honey from my rose&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-1704164139872708036?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/1704164139872708036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=1704164139872708036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1704164139872708036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1704164139872708036'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2011/04/honey-and-bee.html' title='Honey and Bee'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm6.static.flickr.com/5064/5589340206_43468d2c49_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-562211656945044110</id><published>2011-03-11T06:49:00.000-08:00</published><updated>2011-09-03T07:43:20.402-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Font'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Source'/><category scheme='http://www.blogger.com/atom/ns#' term='Adobe'/><category scheme='http://www.blogger.com/atom/ns#' term='CS5'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Font embedding in Flash cs5</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;When i switched to Flash CS 5 am always confused with font embedding in Dynamic Textfield. It's different from CS4 and also not simple. So i am trying to list out the methods i used to&amp;nbsp;embed&amp;nbsp;fonts in flash CS&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Method One&lt;/b&gt;&lt;br /&gt;It's used to embed fonts for single or similar type of textfields. If the textfields were using same font and format this is effective. To do so first select the TextField and goto the properties panel.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-8nWEMeUchAA/TXm05tT87EI/AAAAAAAAAGQ/C6lPXDPha-c/s1600/embedbutton.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="https://lh4.googleusercontent.com/-8nWEMeUchAA/TXm05tT87EI/AAAAAAAAAGQ/C6lPXDPha-c/s1600/embedbutton.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;select the embed button . It will open&amp;nbsp;embed&amp;nbsp;window. select the&amp;nbsp;glyphs&amp;nbsp;needed.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-padwcjsb1AA/TXm07Yui1xI/AAAAAAAAAGU/uPykQc7IBJ8/s1600/embed+box.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="193" src="https://lh5.googleusercontent.com/-padwcjsb1AA/TXm07Yui1xI/AAAAAAAAAGU/uPykQc7IBJ8/s320/embed+box.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;In this method any additional code is not needed. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Method Two&lt;/b&gt;&lt;br /&gt;If you tried to embed same font with different textformat using the above method , most probably the format will not be applied. To solve this the subset of the fonts should be&amp;nbsp;embedded&amp;nbsp;and need format textfield using TextFormat.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-NW4tpiu58uM/TXm1MJY9V5I/AAAAAAAAAGY/Dv4OprchdAg/s1600/export.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="197" src="https://lh3.googleusercontent.com/-NW4tpiu58uM/TXm1MJY9V5I/AAAAAAAAAGY/Dv4OprchdAg/s320/export.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The code looks like this:&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: as3"&gt;var format:TextFormat = new TextFormat();&lt;br /&gt;format.font = "Helvetica";&lt;br /&gt;format.bold = true;&lt;br /&gt;&lt;br /&gt;var format3:TextFormat = new TextFormat();&lt;br /&gt;format3.font = "Helvetica";&lt;br /&gt;format3.bold = true;&lt;br /&gt;t2_txt.embedFonts=true;&lt;br /&gt;t2_txt.defaultTextFormat = format;&lt;br /&gt;t3_txt.defaultTextFormat = format3;&lt;br /&gt;&lt;br /&gt;t1_txt.text = "Hello World 01 *";&lt;br /&gt;t2_txt.text = "Hello World 01 *";&lt;br /&gt;t3_txt.text = "Hello World 01 *";&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Method Three&lt;/b&gt;&lt;br /&gt;The third method of embeding font is to load from external swf file. In this method Fonts added as a subclass of Font class . The embed fonts must be export for Actionscript.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh5.googleusercontent.com/-Rz1kYnhbfoc/TXm1R07o-nI/AAAAAAAAAGc/wPOhL1LBzN0/s1600/embedBox.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="189" src="https://lh5.googleusercontent.com/-Rz1kYnhbfoc/TXm1R07o-nI/AAAAAAAAAGc/wPOhL1LBzN0/s320/embedBox.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The fonts will be loaded to an external swf and it will be loaded in runtime. The exported class should&amp;nbsp;registered using Font class.&lt;br /&gt;&lt;pre class="brush: as3"&gt;import flash.text.Font;&lt;br /&gt;Font.registerFont(Font1);&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;In main movie the code looks like this&lt;br /&gt;&lt;pre class="brush: as3"&gt;import flash.display.Loader;&lt;br /&gt;&lt;br /&gt;function onLoaded(e:Event):void&lt;br /&gt;{&lt;br /&gt; var embeddedFonts:Array = Font.enumerateFonts(false);&lt;br /&gt; for (var i:Number = 0; i &amp;lt; embeddedFonts.length; i++)&lt;br /&gt; {&lt;br /&gt;  var item:Font = embeddedFonts[i];&lt;br /&gt;  trace("[" + i + "] name:" + item.fontName + ", style: " &lt;br /&gt;                     + item.fontStyle + ", type: " + item.fontType);&lt;br /&gt; }&lt;br /&gt; var t1_txt:TextField=new TextField();&lt;br /&gt; addChild(t1_txt);&lt;br /&gt; t1_txt.x=20;&lt;br /&gt; t1_txt.y=100;&lt;br /&gt; t1_txt.embedFonts = true;&lt;br /&gt; var format:TextFormat = new TextFormat();&lt;br /&gt; format.font = "Helvetica";&lt;br /&gt; format.bold = true;&lt;br /&gt; t1_txt.defaultTextFormat = format;&lt;br /&gt; t1_txt.text = "hello world 01 *";&lt;br /&gt; //&lt;br /&gt; var t2_txt:TextField=new TextField();&lt;br /&gt; addChild(t2_txt);&lt;br /&gt; t2_txt.x=20;&lt;br /&gt; t2_txt.y=200;&lt;br /&gt; t2_txt.embedFonts = true;&lt;br /&gt; var format2:TextFormat = new TextFormat();&lt;br /&gt; format2.font = "Helvetica Light";&lt;br /&gt; t2_txt.defaultTextFormat = format2;&lt;br /&gt; t2_txt.text = "hello world 01 *";&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Any way textfields in stage are not working properly. I think the problem is it will&amp;nbsp;instantiate&amp;nbsp;before the font is loaded. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have&amp;nbsp;attached&amp;nbsp;my &lt;a href="http://www.mediafire.com/?7d71z695s5yca7c"&gt;source&lt;/a&gt; here. while embedding the glyphs,&amp;nbsp;select&amp;nbsp;the required ones. Otherwise it will affect the size of the movie.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;These are not the complete list . It's not an expert opinion . And it's about Flash CS5 and not Flex . In Flex there is embed tag which is used to embed fonts. &amp;nbsp;These are the methods used by myself for dynamic font&amp;nbsp;embedding. &amp;nbsp;Hope some people will contribute their experiances also to this.  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-562211656945044110?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/562211656945044110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=562211656945044110' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/562211656945044110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/562211656945044110'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2011/03/font-embedding-in-flash-cs5.html' title='Font embedding in Flash cs5'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-8nWEMeUchAA/TXm05tT87EI/AAAAAAAAAGQ/C6lPXDPha-c/s72-c/embedbutton.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-1537551917464955570</id><published>2011-03-07T20:36:00.001-08:00</published><updated>2011-03-07T21:16:03.505-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='photography'/><category scheme='http://www.blogger.com/atom/ns#' term='flickr'/><title type='text'>Tapioca Leaf</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-size: 0.8em; line-height: 1.6em; margin: 0 0 10px 0; padding: 0;"&gt;&lt;a href="http://www.flickr.com/photos/60010248@N03/5508302918/" title="photo sharing"&gt;&lt;img alt="Tapioca Leaf by logicmania-lab" src="http://farm6.static.flickr.com/5175/5508302918_c29f22b21d.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://www.flickr.com/photos/60010248@N03/5508302918/"&gt;Tapioca Leaf&lt;/a&gt; a photo by &lt;a href="http://www.flickr.com/people/60010248@N03/"&gt;logicmania-lab&lt;/a&gt; on Flickr.&lt;/span&gt;&lt;/div&gt;I lost my Account details . I created new account and uploaded .&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-1537551917464955570?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/1537551917464955570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=1537551917464955570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1537551917464955570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1537551917464955570'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2011/03/tapioca-leaf.html' title='Tapioca Leaf'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm6.static.flickr.com/5175/5508302918_c29f22b21d_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-7666691421671996757</id><published>2011-02-25T20:56:00.000-08:00</published><updated>2011-09-03T07:44:53.668-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tweenlite'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Source'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Customizable XML based Flash image scroller</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;I missed this blog for&amp;nbsp;more&amp;nbsp;than &amp;nbsp;2-3 months. It's been a long time since i have wrote something usefull .&lt;br /&gt;&lt;br /&gt;So i created a image scroller using XML .This scroller uses TweenLite for tweening and it's simple to customise. You can add image with any size and can&amp;nbsp;customize the number of images shown.&lt;br /&gt;I have shared the &lt;a href="http://www.mediafire.com/?63s234v0jssyqys"&gt;source code &lt;/a&gt;here.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;Requirements&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;1. Flash CS5&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;a href="http://www.adobe.com/products/flash/" style="color: #ff6600; font-weight: bold; text-decoration: underline;"&gt;http://www.adobe.com/products/flash/&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;2. TweenLite AS3.0&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;a href="http://blog.greensock.com/tweenlite/" style="color: #3366cc; font-weight: bold;"&gt;http://blog.greensock.com/tweenlite/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's possible to change the attributes through xml if you wanted .&lt;br /&gt;Read the params from xml and add to the local variable inside the function&amp;nbsp;onXmlLoadComplete .&lt;br /&gt;&lt;pre class="brush: as3"&gt;//Total number of images :&lt;br /&gt;private var total:Number = 0;&lt;br /&gt;&lt;br /&gt;//Current item to be displayed;&lt;br /&gt;private var currentId:Number = 0;&lt;br /&gt;&lt;br /&gt;//The number of items to be shown ata a time:&lt;br /&gt;private var itemsToShow:Number = 4;&lt;br /&gt;&lt;/pre&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-7666691421671996757?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/7666691421671996757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=7666691421671996757' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7666691421671996757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7666691421671996757'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2011/02/customizable-xml-based-flash-image.html' title='Customizable XML based Flash image scroller'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-3625521355556952129</id><published>2011-02-24T08:02:00.000-08:00</published><updated>2011-02-24T08:02:00.373-08:00</updated><title type='text'>Back in action</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Where am i ? I am searching for a job change and&amp;nbsp;at last&amp;nbsp;i found something interesting .&lt;div&gt;So am back with my new success/ failure. Hope the coming articles will help someone in the future.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;And also now i am experimenting with Android also.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-3625521355556952129?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/3625521355556952129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=3625521355556952129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/3625521355556952129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/3625521355556952129'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2011/02/back-in-action.html' title='Back in action'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-4105949262266965722</id><published>2010-12-26T07:20:00.000-08:00</published><updated>2011-02-24T20:15:12.642-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general'/><title type='text'>On Vacation</title><content type='html'>Am on vacation and will not be available till Dec 2010.&amp;nbsp; Wish you a Happy New Year&lt;br /&gt;&lt;input id="gwProxy" type="hidden" /&gt;&lt;!--Session data--&gt;&lt;input id="jsProxy" onclick="if(typeof(jsCall)=='function'){jsCall();}else{setTimeout('jsCall()',500);}" type="hidden" /&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-4105949262266965722?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/4105949262266965722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=4105949262266965722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/4105949262266965722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/4105949262266965722'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2010/12/on-vacation.html' title='On Vacation'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-7217196339328843338</id><published>2010-10-12T08:27:00.000-07:00</published><updated>2010-10-14T09:22:00.793-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='YUM'/><title type='text'>Adding proxy in YUM Fedora 13</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;Recently i need a linux machine in my office for server . So i installed  Fedora 13 and try to install mysql server using yum. But i can't  complete it because yum is not connecting to internet. It's because of  our proxy server.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;div&gt;Before 2 months i installed Fedora 12 and failed to install Mysql using yum.&lt;br /&gt;&lt;div&gt;I just searched for setting proxy in yum and got the answer for it. This is the solution,&lt;/div&gt;&lt;/div&gt;&lt;div&gt;1. open /etc/yum.conf&lt;/div&gt;&lt;div&gt;2. add proxy=http://proxyaddress:port&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Voila :D , it works fine for me. Atlast my 3 months quest ends here . :P .&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-7217196339328843338?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/7217196339328843338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=7217196339328843338' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7217196339328843338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7217196339328843338'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2010/10/adding-proxy-in-yum-fedora-13.html' title='Adding proxy in YUM Fedora 13'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-1017715797968039476</id><published>2010-07-22T08:23:00.000-07:00</published><updated>2011-09-03T07:45:42.296-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3D'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Perspective problem in Flash native 3D</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Nowadays am busy with some projects in flash using it's native 3D. In this post i like to share my experience with flash 3D. The native 3D in flash Player 10 is awesome. I used some flash coverflow and 3D picture gallery in project.&lt;br /&gt;&lt;br /&gt;First it seems very easy but soon i found that resizing of the stage cause some problems in the 3D perspective. I searched everywhere and found some wonderfull thing.&lt;br /&gt;Whenever we use 3D properties flash will automatically convert it to some bitmap and its in the 3D space. After that if we try to resize the stage and align the component according to the stage size flash projectioncenter will change . So we need to reset it by using the following code.&lt;br /&gt;&lt;pre class="brush: as3"&gt;stage.addEventListener(Event.RESIZE,onSize);&lt;br /&gt;&lt;br /&gt;private function onSize(e:Event) {&lt;br /&gt;root.transform.perspectiveProjection.projectionCenter=new &lt;br /&gt;   Point(stage.stageWidth/2,stage.stageHeight/2);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-1017715797968039476?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/1017715797968039476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=1017715797968039476' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1017715797968039476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1017715797968039476'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2010/07/perspective-problem-in-flash-native-3d.html' title='Perspective problem in Flash native 3D'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-6251261197150919932</id><published>2010-04-20T23:23:00.000-07:00</published><updated>2011-09-03T07:47:16.642-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='casalib'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Why i like to use Casalib</title><content type='html'>I just started playing Actionscript 3.o. And I got some problem with Evnts. My code looks like something like this.&lt;br /&gt;&lt;br /&gt;My movieClip Class is like this.&lt;br /&gt;&lt;pre class="brush: as3"&gt;package{&lt;br /&gt;import flash.display.MovieClip;&lt;br /&gt; import flash.events.Event;&lt;br /&gt; public class MC extends MovieClip {&lt;br /&gt;&lt;br /&gt;  var val=1;&lt;br /&gt;  var _o;&lt;br /&gt;  public function MC() {&lt;br /&gt;   _o=this;&lt;br /&gt;   _o.addEventListener(Event.ENTER_FRAME,onLoop);&lt;br /&gt;   }&lt;br /&gt;  private function onLoop(e:Event) {&lt;br /&gt;   trace(val);&lt;br /&gt;   val++;&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;It's the code in the main.fla&lt;br /&gt;&lt;pre class="brush: as3"&gt;b1_btn.addEventListener(MouseEvent.MOUSE_DOWN,clicked);&lt;br /&gt;var m:MC=new MC();&lt;br /&gt;addChild(m);&lt;br /&gt;&lt;br /&gt;function clicked(e:MouseEvent) {&lt;br /&gt; removeChild(m);&lt;br /&gt; m=null;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The problem i get is with enterframe. After removing the Movieclip from the stage, enterframe don't stop it's working.&lt;br /&gt;So i posted this in forums. It's the problem of garbage collection. Till now am playing with Actionscript 2.0 i never think about the garbage collection. The solution is to remove listeners manually or just use REMOVED_FROM_STAGE or REMOVED event.&lt;br /&gt;&lt;br /&gt;So i have to change the MovieClip class to something like this.&lt;br /&gt;&lt;pre class="brush: as3"&gt;package {&lt;br /&gt;import flash.display.MovieClip; &lt;br /&gt;import flash.events.Event; &lt;br /&gt;public class Mextends MovieClip {&lt;br /&gt;    var val=1;&lt;br /&gt;    var _o;&lt;br /&gt;   public function MC() {&lt;br /&gt;      _o=this;&lt;br /&gt;      _o.addEventListener(Event.ENTER_FRAME,onLoop,false,0,true);&lt;br /&gt;      _o.addEventListener(Event.REMOVED,destroy);&lt;br /&gt;    }&lt;br /&gt;    private function destroy(e:Event) {&lt;br /&gt;     _o.removeEventListener(Event.ENTER_FRAME,onLoop);&lt;br /&gt;      _o.removeEventListener(Event.REMOVED,destroy);&lt;br /&gt;    }&lt;br /&gt;    private function onLoop(e:Event) {&lt;br /&gt;    val++;&lt;br /&gt;      trace(val);&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;This approach doesn't seem to me so good. So i searched in google and i get something more interesting .&lt;br /&gt;&lt;br /&gt;It's casalib, an open source Actionscript Library for streamlining the development.&lt;br /&gt;&lt;br /&gt;The most important thing interested me is the garbage collection using destroy() method. It will remove all events in the Movieclip.Then i just changed my code to some thing like this.&lt;br /&gt;&lt;br /&gt;It's my MovieClip class&lt;br /&gt;&lt;pre class="brush: as3"&gt;package {&lt;br /&gt;  import org.casalib.display.CasaMovieClip;&lt;br /&gt; import flash.events.Event;&lt;br /&gt;  public class MC extends CasaMovieClip {&lt;br /&gt;    var val=1;&lt;br /&gt;    var _o;&lt;br /&gt;     public function MC() {&lt;br /&gt;   _o=this;&lt;br /&gt;   _o.addEventListener(Event.ENTER_FRAME,onLoop,false,0,true);&lt;br /&gt;  }&lt;br /&gt;  private function onLoop(e:Event) {&lt;br /&gt;   trace(val);&lt;br /&gt;   val++;&lt;br /&gt;  &lt;br /&gt;  }&lt;br /&gt; &lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;this is my code in Main.fla&lt;br /&gt;&lt;pre class="brush: as3"&gt;b1_btn.addEventListener(MouseEvent.MOUSE_DOWN,clicked);&lt;br /&gt;var m:MC=new MC();&lt;br /&gt;addChild(m);&lt;br /&gt;function clicked(e:MouseEvent) {&lt;br /&gt; m.destroy();&lt;br /&gt; m=null;&lt;br /&gt; trace(m);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And it works perfectly . Now am extensively using this library in my development. it's easy to remove nested movieclips and it's events.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-6251261197150919932?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/6251261197150919932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=6251261197150919932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/6251261197150919932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/6251261197150919932'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2010/04/why-i-like-to-use-casalib.html' title='Why i like to use Casalib'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-4757111794400581918</id><published>2010-04-09T05:02:00.000-07:00</published><updated>2010-04-09T05:07:44.311-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='papervision3d'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='3DstudioMax'/><category scheme='http://www.blogger.com/atom/ns#' term='Adobe'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>External models in Papervision3D</title><content type='html'>&lt;div&gt;I think am taking a bit more interest in Actionscript 3.0 . Coz now am trying Papervision3D . The thing attracted me most is the &lt;/div&gt;&lt;div&gt;loading of external model to flash . So i searched google and got this book.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://blog.papervision3d.org/2009/09/03/papervision3d-essentials/"&gt;http://blog.papervision3d.org/2009/09/03/papervision3d-essentials/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I got what am looking for , in the free chapter . First i can't understand a word from that .Coz i have little &lt;/div&gt;&lt;div&gt;exposure in 3D. So i worked with my genius designer and after a a long struggle am able to load the external models to flash.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I decided to document the steps. For this you need these &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Flash professional &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Autodesk 3D studio &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Papervision3D&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;http://blog.papervision3d.org/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. Collada plugin &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;You can use 2 plugin's one is from here&lt;/div&gt;&lt;div&gt;         &lt;a href="http://sourceforge.net/projects/colladamaya/files/"&gt;http://sourceforge.net/projects/colladamaya/files/&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and another from open collada&lt;/div&gt;&lt;div&gt;&lt;a href="http://opencollada.org/download.html"&gt;http://opencollada.org/download.html&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;better use opencollada as it is has less dependancies. The former one requires updating the VC and DirectX .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Download it from here&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=2da43d38-db71-4c1b-bc6a-9b6652cd92a3"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;While installing the collada plugin you may get errors when you open 3D max. Just try to reinstall the Vc and Directx again and again .This is why i insisit to use opencollada.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;The 3D part&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;1. create a model like box in 3dStudio max. Don't forget to set x and y to 0. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;2. Goto modify UvWmapping . &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;3. Open Material editor apply bitmap material &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;4. goto render settings , add diffuse map to it &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;5. Then save the map as png or jpg&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;6. and render the object&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;7. Save it in collada. Don't export it in Autodesk Collada format. Use opencollada or colladamax&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;The Flash Part .&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;1. Create a new Flash document &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;2. Add the document Class as Main &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;3. Copy the Main.as to the folder where you saved the fla.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;4. copy the dae and material image to the folder .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;5. compile it and enjoy&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.mediafire.com/?mtjzxmnym2j"&gt;Here is the full code with the model.&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Don't forget to add the papervision engine to it... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Baking of the texture helps to reduse the size of material. Well in Web scenario size matters .. :D&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I think it's not complete one as am not sure about the 3D part. It's done by my genius designer. Well if you have any suggetions please &lt;/div&gt;&lt;div&gt;convey it to me . Am just trying to gather the information i got from different places.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-4757111794400581918?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/4757111794400581918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=4757111794400581918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/4757111794400581918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/4757111794400581918'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2010/04/i-think-am-taking-bit-more-interest-in.html' title='External models in Papervision3D'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-8463906379377263074</id><published>2010-02-18T19:13:00.000-08:00</published><updated>2011-02-25T20:57:30.221-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Source'/><category scheme='http://www.blogger.com/atom/ns#' term='Adobe'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Flash FLVPlayer in ActionScript 3.0</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-weight: bold;"&gt;Actionscript 3.0 &lt;/span&gt;, oh my god am scared of it . Whenever i know about actionscript 3.0 am confused with it.I have exposure only in AS 2.0 . I searched google for a year and could not get rid  of this fear.&lt;br /&gt;I read several books but none help me to understand the AS 2.0 . I have a good exposure in JAVA . But the thing is  i can't differentiate OOPs with timeline based one.&lt;br /&gt;Then i got this book.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Learning ActionScript 3.0 by Rich Shupe and Zevan Rosser &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's wonderful and awesome . When started reading this book my curiosity cross the limits and started to experiment with AS 3.0. As my main area is video , i experiment it with a flv player .&lt;br /&gt;It may have problems and ubiquitous as it is my first experiment with AS 3.0. Anyway am sharing my &lt;a href="http://www.mediafire.com/?dnomtjyjyui"&gt;source code&lt;/a&gt; and  expecting some comments over it.&lt;br /&gt;&lt;br /&gt;Requirements&lt;br /&gt;&lt;br /&gt;1. Flash CS4&lt;br /&gt;http://www.adobe.com/products/flash/&lt;br /&gt;&lt;br /&gt;2. Learning ActionScript 3.0&lt;br /&gt;http://www.learningactionscript3.com/&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-8463906379377263074?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/8463906379377263074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=8463906379377263074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/8463906379377263074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/8463906379377263074'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2010/02/flash-flvplayer-in-actionscript-30.html' title='Flash FLVPlayer in ActionScript 3.0'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-7869178280415064157</id><published>2010-02-04T19:54:00.000-08:00</published><updated>2011-02-25T20:57:58.827-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='Tweenlite'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Dynamic XML/PHP driven rotating scroller using Tweenlite</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Oh My god , i had a blog here. I really forgot about this. :(&lt;br /&gt;&lt;br /&gt;Now it's time to update my blog with a new thing . It's not so good one. Just tried to develop one simple scroller with rotating thumbs.  You can change it to a XML/PHP driven scroller.&lt;br /&gt;Till now am using &lt;a href="http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00002995.html"&gt;Adobe default tween&lt;/a&gt; and &lt;a href="http://code.google.com/p/tweener/"&gt;Tweener class&lt;/a&gt; .&lt;br /&gt;Then i found another famous one ,&lt;a href="http://blog.greensock.com/tweenlite/"&gt;Tweenlite&lt;/a&gt; .It's fast and reliable for me.  I never tried it. So decide to try it and develpoed a simple scroller.&lt;br /&gt;You can have the &lt;a href="http://www.mediafire.com/?wdhyeitjkwm"&gt;source here&lt;/a&gt; .&lt;br /&gt;&lt;br /&gt;Requirements&lt;br /&gt;&lt;br /&gt;1. Flash CS4&lt;br /&gt;&lt;a href="http://www.adobe.com/products/flash/"&gt;http://www.adobe.com/products/flash/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. TweenLite  AS2.0&lt;br /&gt;&lt;a href="http://blog.greensock.com/tweenlite/"&gt;http://blog.greensock.com/tweenlite/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It's just another example . You can change to dynamic one by XML or PHP.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-7869178280415064157?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/7869178280415064157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=7869178280415064157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7869178280415064157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7869178280415064157'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2010/02/dynamic-xmlphp-driven-rotating-scroller.html' title='Dynamic XML/PHP driven rotating scroller using Tweenlite'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-1173596288915642581</id><published>2008-07-10T21:20:00.000-07:00</published><updated>2011-09-03T08:11:44.848-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network manager'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><title type='text'>Network Manager in Fedora 9</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Nearly after one year I again tried to install GNU/Linux on my desktop. Last week I have installed Ubuntu-8.04 in my friend's machine and the desktop was really appealing. So, this time I decided to install the bleeding edge Fedora 9 in my machine.&lt;br /&gt;&lt;br /&gt;I have managed some free space in the machine and installed Fedora without much hassles. The installation was very quick and it took almost 40 minutes to complete. Since I was not a casual GNU/Linux user, I ran into a couple of issues. First problem was with the Interrnet configuration. Later I discovered that the DNS address that I gave was wrong. The new Fedora theme and the package manager was wonderful. I added the livna rpm repository and installed my favourite VLC media player. Another great feature is the Malayalam support - after some minor tweakings from SMC, I was able to read and write Malayalam in OpenOffice.org and Mozilla Firefox. Things were smooth until I rebooted the machine next time.&lt;br /&gt;&lt;br /&gt;When I reboot the machine, I was again struck with the network problems. This time the configuration was alright, but the NetworkManager has some fatal issues. It always shows Network not connected :(&lt;br /&gt;&lt;br /&gt;I tried everything I know - reconfigured the network, rebooted the machine, modified the configuration files,  but unable to connect to the network. I have no chance to search and find a solution as I have no connectivity and at last I have to  logon to MS Windows ...&lt;br /&gt;&lt;br /&gt;After some tedious search I got the solution(Sorry, I forgot to bookmark the link) and copied the page contents to a text file and again logged into the Fedora desktop. It says that desktops with a wired network, doesn't need the NetworkManager service. To increase the usability, in Fedora 9 the older network service is disabled by default.&lt;br /&gt;&lt;br /&gt;To switch to using the old network service, I followed the following steps.&lt;br /&gt;&lt;br /&gt;First disable the NetworkManager and prevent it from automatically loading:&lt;br /&gt;&lt;pre class="brush :shell"&gt;&lt;br /&gt;[root@localhost ~]# /etc/init.d/NetworkManager stop&lt;br /&gt;Stopping NetworkManager daemon: [ OK ]&lt;br /&gt;[root@localhost ~]#  /sbin/chkconfig --level 35 NetworkManager off&lt;br /&gt;&lt;/pre&gt;You can also run the setup command and turn the NetworkManager off by pressing the &lt;space&gt; bar.&lt;br /&gt;&lt;br /&gt;Next, configure your network settings:&lt;br /&gt;&lt;/space&gt;&lt;br /&gt;&lt;pre  class="brush :shell"&gt;[root@localhost ~]# system-config-network&lt;br /&gt;&lt;/pre&gt;You should have an eth0 device already showing. To configure the IP settings click on Edit. Set the DNS address and then Save the settings.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;Next, enable the service :&lt;br /&gt;&lt;pre  class="brush :shell"&gt;[root@localhost ~]# /etc/init.d/network start&lt;br /&gt;Bringing up loopback interface: [ OK ]&lt;br /&gt;Bringing up interface eth0: [ OK ]&lt;br /&gt;&lt;/pre&gt;Make sure it loads at next boot:&lt;pre  class="brush :shell"&gt;&lt;br /&gt;[root@localhost ~]#  /sbin/chkconfig --level 35 network on&lt;br /&gt;&lt;/pre&gt;(You can also use the setup command)&lt;br /&gt;&lt;br /&gt;Now I was able to connect to the Internet and post my first blog about Fedora. :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-1173596288915642581?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/1173596288915642581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=1173596288915642581' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1173596288915642581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1173596288915642581'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2008/07/network-manager-in-fedora-9.html' title='Network Manager in Fedora 9'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-7369388072522317566</id><published>2008-06-12T02:13:00.001-07:00</published><updated>2010-02-04T20:14:06.317-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='streaming'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash Media Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash Media Encoder'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Flash Live Streaming Player</title><content type='html'>After a long time i am back with my player.This time i want to use my player as a live player.The changes where simple and it is handy to develop this functionality in Flash Media Server 3.I just uploaded the source and you can download it from &lt;a href="http://rapidshare.com/files/124429389/fmslive.zip"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The source is developed in Adobe Flash CS3.&lt;br /&gt;&lt;br /&gt;How to setup the player?&lt;br /&gt;&lt;br /&gt;1. Install Flash MediaServer 3&lt;br /&gt;2. Install Adobe Flash Media encoder 2.5&lt;br /&gt;3. Check there is an application called live in your Application folder in the FMS installation directory.&lt;br /&gt;4. Attach any video device(webcam) to the computer.&lt;br /&gt;5. Start FMS and Media Encoder&lt;br /&gt;6. Check Stream to Flash Media Server section in media endcoder&lt;br /&gt;7. set the FMS url "rtmp://localhost/live/" and Stream "livestream"&lt;br /&gt;8. Check the playe.as You can the stream name and application in it.&lt;br /&gt;9. Start the media encoder&lt;br /&gt;&lt;br /&gt;that's all ready to check the player. Enjoy it....&lt;br /&gt;feel free to contact me for help...I will try my level best...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-7369388072522317566?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/7369388072522317566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=7369388072522317566' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7369388072522317566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7369388072522317566'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2008/06/flash-live-streaming-player.html' title='Flash Live Streaming Player'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-1509320647325822425</id><published>2008-02-26T06:54:00.000-08:00</published><updated>2008-02-26T07:00:24.814-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='webkit'/><category scheme='http://www.blogger.com/atom/ns#' term='tamarin'/><category scheme='http://www.blogger.com/atom/ns#' term='xmp'/><category scheme='http://www.blogger.com/atom/ns#' term='blazeds'/><category scheme='http://www.blogger.com/atom/ns#' term='GPL'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Adobe'/><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Adobe goes OPEN SOURCE</title><content type='html'>Yesterday(25/02/2008) I found an interesting thing.&lt;a href="http://opensource.adobe.com/wiki/display/site/Home"&gt;Adobe Started open source&lt;/a&gt; projects and also started a new site for the open source projects.I am expecting more from adobe .because i love to work with open source projects.The important thing in the adobe open source is ,they are converted the flex 3 sdk open source.And also they developing more application and ide for Linux platform also.&lt;br /&gt;&lt;br /&gt;Now Flash media server,Flex 3 eclipse plugin ,Blazeds were available for the linux platform also.This is good sign for the developers in linux platform.Actually i am searching to work Flash in linux.I have tried with wine.But it need more system resource and it generate errors as well.Now i dreaming about to work Adobe applications in Linux platform.:D&lt;br /&gt;&lt;br /&gt;This is a good news for the developers .Currentle adobe has been open the source of 9 projects.In this projects i think flex and blazeds were more important.The open source projects were;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.BlazeDS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"BlazeDS is the server-based Java remoting and web messaging technology that enables developers to easily connect to back-end distributed data and push data in real-time to Adobe® Flex and Adobe AIR applications for more responsive rich Internet application (RIA) experiences." :adobe.&lt;/span&gt;&lt;br /&gt;   I have tried this with Flex and i am very happy to say that this is nice .I am thinking about my experience with the blazeds and flex.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2.Flex 3 SDK&lt;/span&gt;&lt;br /&gt;   &lt;span style="font-style: italic;"&gt;"Adobe® Flex 3 is a cross platform, open source framework for creating rich Internet applications that run identically in all major browsers and operating systems.":adobe.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3.Flash Ajax Video Component&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"The Flash Ajax Video (FAVideo) component is a small, open source Flash component that you can use to provide video playback within an Ajax application." &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4.Generic Image Library&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"Generic Image Library (GIL) is a C++ generic library which allows for writing generic imaging algorithms with performance comparable to hand-writing for a particular image type."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5.Adobe Media Gallery&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"The Adobe Media Gallery (AMG) is a Flash web photo and video gallery whose appearance and behavior can be customized via XML files."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6.Adobe Source Libraries&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"The Adobe Source Libraries (ASL) are a collection of C++ libraries building foundation technology to allow the construction of commercial applications by assembling generic algorithms through declarative descriptions. Updates monthly."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7.Tamarin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"&lt;span style="font-style: italic;"&gt;The Tamarin project, which is based on code contributed from Adobe, is designed to implement the upcoming version of the ECMAScript 4th Edition language specification. "&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8.Webkit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"The WebKit library is used to render HTML and execute JavaScript in Adobe® AIR. Adobe AIR allows web developers to deploy rich Internet applications on the desktop. " &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9.XMP (eXstensible Metadata Platform) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"Adobe's Extensible Metadata Platform (XMP) is a labeling technology that allows you to embed data about a file, known as metadata, into the file itself."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And the thing is i have only tried the flex and blazeds.And the descriptions were form adobe site.&lt;br /&gt;&lt;br /&gt;I think i have made bored you.So lets go here and find the things...:) .&lt;br /&gt;have a nice day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-1509320647325822425?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/1509320647325822425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=1509320647325822425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1509320647325822425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/1509320647325822425'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2008/02/adobe-goes-open-source.html' title='Adobe goes OPEN SOURCE'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-9063911382243872135</id><published>2008-01-23T07:28:00.000-08:00</published><updated>2008-06-24T01:41:09.530-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='streaming'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='xmoov'/><title type='text'>Flash FLV player using PHP</title><content type='html'>After a long experiments , i have developed another player which uses XMOOV for streaming.Actually i got this php from &lt;a href="http://www.flashcomguru.com/index.cfm/2007/8/14/phpstreaming-update"&gt;flashcomguru.com&lt;/a&gt;.I didn't change the php file instead of it i developed a player using this php.&lt;br /&gt;The player will start streaming anywhere from the file and it also make the seeking operation in the cached file.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://rapidshare.com/files/124618736/PHPPlayer.zip"&gt;Download Source here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have no server space so i use freewebs space ,.Pls forgive me :D&lt;br /&gt;&lt;br /&gt;The main problem of this technology is the performance of the php server.It need a good php server which can handle more requests at a time.&lt;br /&gt;Other problem is the encoding of the flv. Flv file should be added with the 'keyframes' metadata . So it need another utility called metadata injector ,which will inject metadata to the  flv. It can be downloaded from &lt;a href="http://www.buraks.com/flvmdi/"&gt;here.&lt;/a&gt;&lt;br /&gt;That's all ..... and all other ups to you.&lt;br /&gt;Try this..&lt;br /&gt;If you are using this file please let me know your feedback.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-9063911382243872135?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/9063911382243872135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=9063911382243872135' title='27 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/9063911382243872135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/9063911382243872135'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2008/01/flash-flv-player-using-php.html' title='Flash FLV player using PHP'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>27</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-3275972227518486306</id><published>2007-12-07T18:59:00.000-08:00</published><updated>2010-02-04T20:12:44.248-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='streaming'/><category scheme='http://www.blogger.com/atom/ns#' term='Actionscript 2.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Adobe'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Fullscreen in flash</title><content type='html'>I am always confused with the fullscreen issue in flash in browser. At last,after many experiments i have developed a player which will support  fullscreen. As this player may not be so good as many other Flash videoplayer ,consider as a experiment.&lt;br /&gt;The player will receive the path to the flv as "path" param .&lt;br /&gt;&lt;br /&gt;You can watch my experiment &lt;a href="http://www.freewebs.com/harilalkm/blog/player.html"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am happy to share my files with you.&lt;a href="http://rapidshare.com/files/124618857/player.zip"&gt;You can download from here&lt;/a&gt;&lt;br /&gt;It containts:&lt;br /&gt;1.The .fla file developed in "Flash CS3"&lt;br /&gt;2.Player.as file&lt;br /&gt;3.player.swf&lt;br /&gt;4.flv folder which contain the flv file.&lt;br /&gt;&lt;br /&gt;For testing purpose copy any flv of size 400 X 300 and rename as test and open the html in browser.&lt;br /&gt;&lt;br /&gt;Please comment your opinions ,suggetions and doubts...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NOTE:The file developed in FLASH CS3&lt;br /&gt;             2.The Flv should be exactly of 400X300 size.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-3275972227518486306?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/3275972227518486306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=3275972227518486306' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/3275972227518486306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/3275972227518486306'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2007/12/blog-post.html' title='Fullscreen in flash'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-5606692688154200434</id><published>2007-11-25T06:47:00.000-08:00</published><updated>2007-12-13T19:37:31.112-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='contry list'/><title type='text'>Contry list in java</title><content type='html'>I have created a java file which containts the complete list of 237 countries across the world.&lt;br /&gt;&lt;br /&gt;Here is the link for the &lt;a href="http://www.freewebs.com/harilalkm/country.java"&gt;java file&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I think it will be  a bit of helpfull for you....&lt;br /&gt;&lt;br /&gt;suggestion are welcome.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-5606692688154200434?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/5606692688154200434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=5606692688154200434' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/5606692688154200434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/5606692688154200434'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2007/11/contry-list-in-java.html' title='Contry list in java'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6967508162671306109.post-7662255229327251946</id><published>2007-11-25T06:37:00.000-08:00</published><updated>2007-11-25T06:41:02.929-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='welcome'/><title type='text'>helloooooooooooooooo</title><content type='html'>hi friends,&lt;br /&gt;&lt;br /&gt;I am multimedia programmer......&lt;br /&gt;I started this blog to write my experiments with the computer technologies...&lt;br /&gt;It may be flash,php,java...........&lt;br /&gt;Why i am posting this to blog?&lt;br /&gt;Because i want to share my information with those who have got problems around these technologies..&lt;br /&gt;Though i am not a webmaster ....&lt;br /&gt;regards&lt;br /&gt;harilal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6967508162671306109-7662255229327251946?l=logicmania-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://logicmania-lab.blogspot.com/feeds/7662255229327251946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6967508162671306109&amp;postID=7662255229327251946' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7662255229327251946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6967508162671306109/posts/default/7662255229327251946'/><link rel='alternate' type='text/html' href='http://logicmania-lab.blogspot.com/2007/11/helloooooooooooooooo.html' title='helloooooooooooooooo'/><author><name>logicmania</name><uri>http://www.blogger.com/profile/14849411425280711368</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
