<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for aSymbio Developer</title>
	<atom:link href="http://developer.asymbio.net/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://developer.asymbio.net</link>
	<description>AJAX, Flash, Actionscript, PHP, MySQL.... the tools of the modern developer!</description>
	<lastBuildDate>Sat, 15 Aug 2009 23:05:35 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Flash and XML Gallery BETA by andres</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html/comment-page-1#comment-521</link>
		<dc:creator>andres</dc:creator>
		<pubDate>Sat, 15 Aug 2009 23:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html#comment-521</guid>
		<description>hello i need to change the color of the titles images.. because they are white.. and my backgroung color is very near to white... can I do something?

thanks</description>
		<content:encoded><![CDATA[<p>hello i need to change the color of the titles images.. because they are white.. and my backgroung color is very near to white&#8230; can I do something?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash Gallery 0.2 beta released by dave</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html/comment-page-1#comment-520</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Sat, 15 Aug 2009 20:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html#comment-520</guid>
		<description>so this flash gallery is great ... except i&#039;m having problems.  i&#039;m getting a grey bar beside my images???  i want them to be centered in the flash viewer, but they all appear pressed to the left.  is there a way to scale this?

also, the background appears as grey, but i want it to show up as the same black as my site.  anyway to change this?

Thanks!
~ Dave</description>
		<content:encoded><![CDATA[<p>so this flash gallery is great &#8230; except i&#8217;m having problems.  i&#8217;m getting a grey bar beside my images???  i want them to be centered in the flash viewer, but they all appear pressed to the left.  is there a way to scale this?</p>
<p>also, the background appears as grey, but i want it to show up as the same black as my site.  anyway to change this?</p>
<p>Thanks!<br />
~ Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash Gallery 0.2 beta released by Justin</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html/comment-page-1#comment-365</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Mon, 08 Sep 2008 21:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html#comment-365</guid>
		<description>Any chance we could get the .fla?  I am like Jay and wish to use it but don&#039;t want my site to look amateurish by having an ad for your site on there.  I do believe you should get credit, could you include your name in like a right click menu, or hide it slightly in the code of the page?</description>
		<content:encoded><![CDATA[<p>Any chance we could get the .fla?  I am like Jay and wish to use it but don&#8217;t want my site to look amateurish by having an ad for your site on there.  I do believe you should get credit, could you include your name in like a right click menu, or hide it slightly in the code of the page?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash and XML Gallery BETA by Ty</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html/comment-page-1#comment-364</link>
		<dc:creator>Ty</dc:creator>
		<pubDate>Mon, 08 Sep 2008 21:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html#comment-364</guid>
		<description>Can we resize the images? If the image too big it will cut off. if smaller than 800x600 images display on the left and not align. It would be great to have these features.</description>
		<content:encoded><![CDATA[<p>Can we resize the images? If the image too big it will cut off. if smaller than 800&#215;600 images display on the left and not align. It would be great to have these features.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash and XML Gallery BETA by elt0n</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html/comment-page-1#comment-362</link>
		<dc:creator>elt0n</dc:creator>
		<pubDate>Sun, 07 Sep 2008 15:48:11 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html#comment-362</guid>
		<description>Hey man,

Nice, very nice flash app. I downloaded it as a test. Putting ideas together for our new website. Unfortunately when I downloaded it the images in Portrait orientation don&#039;t &quot;fit-to-screen&quot; in the window, i just get a grey line up the right hand side???? It works fine on your site on my PC, but when I download an test it doesn&#039;t. any idea???
would love to play with the FLA.. Credits and stuff to you of course and a link from our NEW website page!!  
Cheers mate,

elt0n, UK.</description>
		<content:encoded><![CDATA[<p>Hey man,</p>
<p>Nice, very nice flash app. I downloaded it as a test. Putting ideas together for our new website. Unfortunately when I downloaded it the images in Portrait orientation don&#8217;t &#8220;fit-to-screen&#8221; in the window, i just get a grey line up the right hand side???? It works fine on your site on my PC, but when I download an test it doesn&#8217;t. any idea???<br />
would love to play with the FLA.. Credits and stuff to you of course and a link from our NEW website page!!<br />
Cheers mate,</p>
<p>elt0n, UK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash Gallery 0.2 beta released by Henry Nieves</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html/comment-page-1#comment-359</link>
		<dc:creator>Henry Nieves</dc:creator>
		<pubDate>Sat, 06 Sep 2008 19:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html#comment-359</guid>
		<description>This is one of the sweetest Gallery I&#039;ve seen, thanks so much..
Just one question, I use Dreamweaver and when I preview everything, it works fine, when I try to upload it, there is nothing there.  Do I need to remove everything from the folder when I upload it to the website, thanks.</description>
		<content:encoded><![CDATA[<p>This is one of the sweetest Gallery I&#8217;ve seen, thanks so much..<br />
Just one question, I use Dreamweaver and when I preview everything, it works fine, when I try to upload it, there is nothing there.  Do I need to remove everything from the folder when I upload it to the website, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash and XML Gallery BETA by Mariani Diego</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html/comment-page-1#comment-347</link>
		<dc:creator>Mariani Diego</dc:creator>
		<pubDate>Tue, 02 Sep 2008 20:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html#comment-347</guid>
		<description>Hallo, 

I have make a importing function in PHP. This file convert your image in 800x600 pixel and 70x70 pixel.

use:

1) create a &quot;$root/import/&quot; folder
2) copy your image in the &quot;$root/import/&quot; folder
3) create a $root/import.php file whit this code:

&lt;?php

	global $nome_file,$estensione_file;
	
	function estensione_file($nome_originale){
	$estensione_file=substr(strtolower(strrchr(trim($nome_originale),&quot;.&quot;)),0);
	return $estensione_file;
	}
	
	function scrivi_file($fp, $nome_file){
	
		fwrite($fp, &#039;&#039;);
		fwrite($fp, &quot;images/$nome_file&quot; );
		fwrite($fp, &quot;thumb/$nome_file&quot; );
		fwrite($fp, &quot;$nome_file&quot; );
		fwrite($fp, &#039;&#039; . &quot;\n&quot;);
		
	return true;
	}

	
	
	
	// open file
	copy (&#039;./images.xml&#039;,&#039;./_images.xml&#039;);
	$fp = fopen(&quot;./images.xml&quot;, &quot;w&quot;);
	if (!$fp)
	{
		print &quot;Errore: Impossibile aprire il file!&quot;;
		exit;
	}
	
	fwrite($fp, &#039;&#039; . $capo);
	fwrite($fp, &#039;&#039; . $capo);
	
	
	$dir = opendir(&quot;./import/&quot;);
	while(false != ($file = readdir($dir)))
	{
		if ( $file != &quot;.&quot; and $file != &quot;..&quot; and $file[0] != &quot;_&quot;)
		{
				
				print ($file . &quot;\n\r&quot;);
				
				  $percorsofile = &quot;./import/&quot; . $file;
			      $dimt=getimagesize($percorsofile);
				  $img = $percorsofile;
		          $w=$dimt[0];
		          $h=$dimt[1];
				  
				  $percentuale_w = 100 / ($dimt[0] / 800);
				  $percentuale_h = 100 / ($dimt[1] / 600);
				  if ($percentuale_w &gt; $percentuale_h) $percentuale1 = $percentuale_h; else $percentuale1 = $percentuale_w; 
				  
				  $v_perc=$percentuale1/100;
		          $nw1=$w*$v_perc;
		          $nh1=$h*$v_perc;
		          
				  $percentuale_w = 100 / ($dimt[0] / 70);
				  $percentuale_h = 100 / ($dimt[1] / 70);
				  if ($percentuale_w &gt; $percentuale_h) $percentuale2 = $percentuale_h; else $percentuale2 = $percentuale_w; 
				  
				  $v_perc=$percentuale2/100;
		          $nw2=$w*$v_perc;
		          $nh2=$h*$v_perc;

				  
		    if(estensione_file($img)==&quot;.jpg&quot;){
			
				  print (&quot;trovato jpeg&quot;);
		          
				  // full
				  $im=imagecreatefromjpeg($percorsofile);
		          $out=imagecreatetruecolor($nw1,$nh1);
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw1,$nh1,$w,$h);
		          imagejpeg($out,&quot;./images/&quot; . $file);
		          imagedestroy($out);
				  
				  //thumb
				  $out=imagecreatetruecolor($nw2,$nh2);
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw2,$nh2,$w,$h);
		          imagejpeg($out,&quot;./thumb/&quot; . $file);
		          imagedestroy($out);
				  
				  scrivi_file($fp, $file);
				  
				  
		    }else if(estensione_file($img)==&quot;.gif&quot;){
			
				  print (&quot;trovato gif&quot;);
				  
				  //full
		          $im=imagecreatefromgif($percorsofile);
		          $out=imagecreatetruecolor($nw1,$nh1);
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw1,$nh1,$w,$h);
		          imagegif($out,&quot;./images/&quot; . $file);
		          imagedestroy($out);
				  
				  //thumb
		          $im=imagecreatefromgif($percorsofile);
		          $out=imagecreatetruecolor($nw2,$nh2);
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw2,$nh2,$w,$h);
		          imagegif($out,&quot;./thumb/&quot; . $file);
		          imagedestroy($out);
				  
				  scrivi_file($fp, $file);
				  
		    }else if(estensione_file($img)==&quot;.png&quot;){
			
				  print (&quot;trovato png&quot;);
				  
				  //full
		          $im=imagecreatefrompng($percorsofile);
		          $out=imagecreatetruecolor($nw1,$nh1);
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw1,$nh1,$w,$h);
		          imagepng($out,&quot;./images/&quot; . $file);
		          imagedestroy($out);
				  
				  //thumb
		          $im=imagecreatefrompng($percorsofile);
		          $out=imagecreatetruecolor($nw2,$nh2);
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw2,$nh2,$w,$h);
		          imagepng($out,&quot;./thumb/&quot; . $file);
		          imagedestroy($out);
				  
				  scrivi_file($fp, $file);
				  
		    }  

		}
	
	}
	
	fwrite($fp, &#039;&#039; . $capo);
	
	fclose($fp);
?&gt;

4) open in your browser the $root/import.php file</description>
		<content:encoded><![CDATA[<p>Hallo, </p>
<p>I have make a importing function in PHP. This file convert your image in 800&#215;600 pixel and 70&#215;70 pixel.</p>
<p>use:</p>
<p>1) create a &#8220;$root/import/&#8221; folder<br />
2) copy your image in the &#8220;$root/import/&#8221; folder<br />
3) create a $root/import.php file whit this code:</p>
<p>&lt;?php</p>
<p>	global $nome_file,$estensione_file;</p>
<p>	function estensione_file($nome_originale){<br />
	$estensione_file=substr(strtolower(strrchr(trim($nome_originale),&#8221;.&#8221;)),0);<br />
	return $estensione_file;<br />
	}</p>
<p>	function scrivi_file($fp, $nome_file){</p>
<p>		fwrite($fp, &#8221;);<br />
		fwrite($fp, &#8220;images/$nome_file&#8221; );<br />
		fwrite($fp, &#8220;thumb/$nome_file&#8221; );<br />
		fwrite($fp, &#8220;$nome_file&#8221; );<br />
		fwrite($fp, &#8221; . &#8220;\n&#8221;);</p>
<p>	return true;<br />
	}</p>
<p>	// open file<br />
	copy (&#8216;./images.xml&#8217;,&#8217;./_images.xml&#8217;);<br />
	$fp = fopen(&#8220;./images.xml&#8221;, &#8220;w&#8221;);<br />
	if (!$fp)<br />
	{<br />
		print &#8220;Errore: Impossibile aprire il file!&#8221;;<br />
		exit;<br />
	}</p>
<p>	fwrite($fp, &#8221; . $capo);<br />
	fwrite($fp, &#8221; . $capo);</p>
<p>	$dir = opendir(&#8220;./import/&#8221;);<br />
	while(false != ($file = readdir($dir)))<br />
	{<br />
		if ( $file != &#8220;.&#8221; and $file != &#8220;..&#8221; and $file[0] != &#8220;_&#8221;)<br />
		{</p>
<p>				print ($file . &#8220;\n\r&#8221;);</p>
<p>				  $percorsofile = &#8220;./import/&#8221; . $file;<br />
			      $dimt=getimagesize($percorsofile);<br />
				  $img = $percorsofile;<br />
		          $w=$dimt[0];<br />
		          $h=$dimt[1];</p>
<p>				  $percentuale_w = 100 / ($dimt[0] / 800);<br />
				  $percentuale_h = 100 / ($dimt[1] / 600);<br />
				  if ($percentuale_w &gt; $percentuale_h) $percentuale1 = $percentuale_h; else $percentuale1 = $percentuale_w; </p>
<p>				  $v_perc=$percentuale1/100;<br />
		          $nw1=$w*$v_perc;<br />
		          $nh1=$h*$v_perc;</p>
<p>				  $percentuale_w = 100 / ($dimt[0] / 70);<br />
				  $percentuale_h = 100 / ($dimt[1] / 70);<br />
				  if ($percentuale_w &gt; $percentuale_h) $percentuale2 = $percentuale_h; else $percentuale2 = $percentuale_w; </p>
<p>				  $v_perc=$percentuale2/100;<br />
		          $nw2=$w*$v_perc;<br />
		          $nh2=$h*$v_perc;</p>
<p>		    if(estensione_file($img)==&#8221;.jpg&#8221;){</p>
<p>				  print (&#8220;trovato jpeg&#8221;);</p>
<p>				  // full<br />
				  $im=imagecreatefromjpeg($percorsofile);<br />
		          $out=imagecreatetruecolor($nw1,$nh1);<br />
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw1,$nh1,$w,$h);<br />
		          imagejpeg($out,&#8221;./images/&#8221; . $file);<br />
		          imagedestroy($out);</p>
<p>				  //thumb<br />
				  $out=imagecreatetruecolor($nw2,$nh2);<br />
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw2,$nh2,$w,$h);<br />
		          imagejpeg($out,&#8221;./thumb/&#8221; . $file);<br />
		          imagedestroy($out);</p>
<p>				  scrivi_file($fp, $file);</p>
<p>		    }else if(estensione_file($img)==&#8221;.gif&#8221;){</p>
<p>				  print (&#8220;trovato gif&#8221;);</p>
<p>				  //full<br />
		          $im=imagecreatefromgif($percorsofile);<br />
		          $out=imagecreatetruecolor($nw1,$nh1);<br />
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw1,$nh1,$w,$h);<br />
		          imagegif($out,&#8221;./images/&#8221; . $file);<br />
		          imagedestroy($out);</p>
<p>				  //thumb<br />
		          $im=imagecreatefromgif($percorsofile);<br />
		          $out=imagecreatetruecolor($nw2,$nh2);<br />
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw2,$nh2,$w,$h);<br />
		          imagegif($out,&#8221;./thumb/&#8221; . $file);<br />
		          imagedestroy($out);</p>
<p>				  scrivi_file($fp, $file);</p>
<p>		    }else if(estensione_file($img)==&#8221;.png&#8221;){</p>
<p>				  print (&#8220;trovato png&#8221;);</p>
<p>				  //full<br />
		          $im=imagecreatefrompng($percorsofile);<br />
		          $out=imagecreatetruecolor($nw1,$nh1);<br />
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw1,$nh1,$w,$h);<br />
		          imagepng($out,&#8221;./images/&#8221; . $file);<br />
		          imagedestroy($out);</p>
<p>				  //thumb<br />
		          $im=imagecreatefrompng($percorsofile);<br />
		          $out=imagecreatetruecolor($nw2,$nh2);<br />
		          imagecopyresized($out, $im, 0, 0, 0, 0, $nw2,$nh2,$w,$h);<br />
		          imagepng($out,&#8221;./thumb/&#8221; . $file);<br />
		          imagedestroy($out);</p>
<p>				  scrivi_file($fp, $file);</p>
<p>		    }  </p>
<p>		}</p>
<p>	}</p>
<p>	fwrite($fp, &#8221; . $capo);</p>
<p>	fclose($fp);<br />
?&gt;</p>
<p>4) open in your browser the $root/import.php file</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash Gallery 0.2 beta released by Tony</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html/comment-page-1#comment-247</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Sun, 24 Aug 2008 00:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html#comment-247</guid>
		<description>Is it possible to add more than one gallery to a site?  I have successfully setup one gallery but cannot manage to setup another one.  Maybe I&#039;m stupid, but everything I&#039;ve tried just goes back to the original file.  I have tried putting the files in another folder and linking to that to tell it that it&#039;s a different gallery but nothing works. Any help would be appreciated.  I want to setup a bunch of these on my site.</description>
		<content:encoded><![CDATA[<p>Is it possible to add more than one gallery to a site?  I have successfully setup one gallery but cannot manage to setup another one.  Maybe I&#8217;m stupid, but everything I&#8217;ve tried just goes back to the original file.  I have tried putting the files in another folder and linking to that to tell it that it&#8217;s a different gallery but nothing works. Any help would be appreciated.  I want to setup a bunch of these on my site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash Gallery 0.2 beta released by Shara</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html/comment-page-1#comment-245</link>
		<dc:creator>Shara</dc:creator>
		<pubDate>Fri, 22 Aug 2008 18:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-02.html#comment-245</guid>
		<description>none of my images are loading.  In the captions area, it says &quot;Loading Gallery XML!&quot;  What am I missing?

Thanks for your help!</description>
		<content:encoded><![CDATA[<p>none of my images are loading.  In the captions area, it says &#8220;Loading Gallery XML!&#8221;  What am I missing?</p>
<p>Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Flash and XML Gallery BETA by Chris</title>
		<link>http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html/comment-page-1#comment-243</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 20 Aug 2008 16:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://developer.asymbio.net/flash_actionscript/flash-gallery-beta.html#comment-243</guid>
		<description>Is there anyway to resize the flash gallery? My photos are small (about 500x300) and I&#039;d like to show them in the gallery. But right now, they appear left aligned with a lot of gray space. Resizing just removes the bar at the bottom.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Is there anyway to resize the flash gallery? My photos are small (about 500&#215;300) and I&#8217;d like to show them in the gallery. But right now, they appear left aligned with a lot of gray space. Resizing just removes the bar at the bottom.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

