<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NewSourceMedia Blog</title>
	<atom:link href="http://newsourcemedia.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog</link>
	<description>Flash, PHP, Javascript and Mac OS X</description>
	<lastBuildDate>Mon, 15 Feb 2010 02:03:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fix SQL INSERT problems with PHP addslashes function</title>
		<link>http://newsourcemedia.com/blog/sql-insert-php-addslashes-fix/</link>
		<comments>http://newsourcemedia.com/blog/sql-insert-php-addslashes-fix/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 01:54:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MySQL / Database]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[insert]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=643</guid>
		<description><![CDATA[If you&#8217;ve created you own custom content management system using PHP, you may have noticed problems inserting data. One of the problems could be that your data may have characters that prevent it from being inserted. Some of the character that would cause this type of problem are single or double quotes, backslash, and NUL [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve created you own custom content management system using PHP, you may have noticed problems inserting data. One of the problems could be that your data may have characters that prevent it from being inserted. Some of the character that would cause this type of problem are single or double quotes, backslash, and NUL characters.</p>
<p>You can escape these problematic characters using the PHP function addslashes(). As explained by the PHP manual: It returns a string with backslashes before characters that need    to be quoted in database queries etc.  These characters are    single quote (<em>&#8216;</em>), double quote    (<em>&#8220;</em>), backslash (<em>\</em>)    and NUL (the <strong><tt>NULL</tt></strong> byte).</p>
<p>As you can see from my example below, I first run the content through the addshashes function and than return it to the same named string &#8220;$Page_Content&#8221; before passing it to my SQL UPDATE or INSERT statement.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$Page_Content</span> <span style="color: #339933;">=</span> <span style="color: #990000;">addslashes</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Page_Content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;UPDATE site_content SET Page_Title='<span style="color: #006699; font-weight: bold;">$Page_Title</span>', Page_Content='<span style="color: #006699; font-weight: bold;">$Page_Content</span>' WHERE id_f='<span style="color: #006699; font-weight: bold;">$id_f</span>'&quot;</span><span style="color: #339933;">;</span>
query_db<span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/" rel="bookmark">Php Remove Non-Alphanumeric Characters</a></li><li><a href="http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/" rel="bookmark">Javascript Non Alphanumeric Characters Regex</a></li><li><a href="http://newsourcemedia.com/blog/create-mysql-database-with-php/" rel="bookmark">Create MySQL Database With PHP</a></li><li><a href="http://newsourcemedia.com/blog/php-lesson-1-first-php-script/" rel="bookmark">PHP Lesson 1 - First PHP Script</a></li><li><a href="http://newsourcemedia.com/blog/mysql-table-fields-data-types/" rel="bookmark">MySQL Table Fields Data Types</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/sql-insert-php-addslashes-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPod stuck on eject before disconnecting screen</title>
		<link>http://newsourcemedia.com/blog/iphod-stuck-eject-screen/</link>
		<comments>http://newsourcemedia.com/blog/iphod-stuck-eject-screen/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 18:33:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[froze]]></category>
		<category><![CDATA[mini]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[stuck.]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=636</guid>
		<description><![CDATA[My wife&#8217;s iPod mini got stuck on the &#8220;connected, eject before disconnecting&#8221; screen. She was so upset because this was a replacement for the first bad iPod mini. This time it wasn&#8217;t the mini, it was a human error.
To reset the iPod mini, or any iPod for that with the wheel, toggle the top hold [...]]]></description>
			<content:encoded><![CDATA[<p>My wife&#8217;s iPod mini got stuck on the &#8220;connected, eject before disconnecting&#8221; screen. She was so upset because this was a replacement for the first bad iPod mini. This time it wasn&#8217;t the mini, it was a human error.</p>
<p>To reset the iPod mini, or any iPod for that with the wheel, toggle the top hold switch on and off then press and hold the middle select button and the &#8220;menu&#8221; button togather for a few seconds (until it resets to the apple logo).<br />
The problem, I&#8217;m sure, was failed to disconnect the iPod before ejecting it from the iTunes device list.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/eject-or-unmount-a-disk-through-the-terminal/" rel="bookmark">Eject or Unmount a disk through the Terminal</a></li><li><a href="http://newsourcemedia.com/blog/flash-as3-using-flvplayback-and-full-screen-mode/" rel="bookmark">Flash AS3 using FLVPlayback and Full Screen Mode</a></li><li><a href="http://newsourcemedia.com/blog/add-to-favorites/" rel="bookmark">Add to Favorites</a></li><li><a href="http://newsourcemedia.com/blog/ibook-battery-charging-issues/" rel="bookmark">iBook battery charging issues</a></li><li><a href="http://newsourcemedia.com/blog/flash-full-screen-site-with-actionscript-html-and-css/" rel="bookmark">Flash Full Screen Site with Actionscript, HTML and CSS</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/iphod-stuck-eject-screen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe Flash not on Apple iPad or iPhone</title>
		<link>http://newsourcemedia.com/blog/flash-not-on-ipad-iphone/</link>
		<comments>http://newsourcemedia.com/blog/flash-not-on-ipad-iphone/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 02:29:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[Apps]]></category>
		<category><![CDATA[Publish]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/flash-not-on-ipad-iphone-and-ipod-touch/</guid>
		<description><![CDATA[
Why is it that Apple refuse to assets Adobe in their effort to deploy Flash on iPhones and iPads? Some people believe that Apple fearful that Flash will reek havoc on their battery life. Some think it&#8217;s purly profit driven. Think about it. Apple only used Flash on their web site for about a year [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-633" title="app-shots" src="http://newsourcemedia.com/blog/wp-content/uploads/2010/01/app-shots.jpg" alt="app-shots" width="533" height="143" /></p>
<p>Why is it that Apple refuse to assets Adobe in their effort to deploy Flash on iPhones and iPads? Some people believe that Apple fearful that Flash will reek havoc on their battery life. Some think it&#8217;s purly profit driven. Think about it. Apple only used Flash on their web site for about a year or two before strictly used QuickTime to handle all of their site&#8217;s rich-media content. So they are keep in the same vain by not supporting flash on their Mobile devices.</p>
<p>As a consumer and as a Flash developer, I&#8217;m split on this issue. Why? Well I&#8217;ve been a Apple user (designer) long before I became a Flash user (developer). Plus I&#8217;ve always enjoyed Apple product because they have the tendency of being much more stable than their competitors.</p>
<p>I do feel that Adobe is getting the short end of the stick though. Together, Apple&#8217;s OS coupled with Adobe&#8217;s creative suits has been such a perfect relationship for those of us in the creative industry. But now with all of the new growth that Apple has had in the mobile sector, they are leaving Adobe to fend for themselves.</p>
<p>The good new is Adobe took some huge steps to remedy this problem by adding a new publishing option in the new Adobe® Flash® Professional CS5. We will now beable to publish AS3 projects files as native iPhone apps. I&#8217;m note sure on all the technoligy behine it but they have a few apps up on line now ready for your iPhone&#8230; all build using Adobe CS5 beta. Here are a few iPhone applications build using Flash and downloadable via the Apple App Store.</p>
<p><a href="http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/" target="_blank">http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/flash-on-iphone-coming-soon-via-adobe-cs5/" rel="bookmark">Flash on iPhone coming soon via Adobe CS5</a></li><li><a href="http://newsourcemedia.com/blog/play-mp4-using-flash-flv-component/" rel="bookmark">Play MP4 using Flash FLV component</a></li><li><a href="http://newsourcemedia.com/blog/ibook-battery-charging-issues/" rel="bookmark">iBook battery charging issues</a></li><li><a href="http://newsourcemedia.com/blog/fast-and-easy-thumbnails/" rel="bookmark">Fast and Easy Thumbnails</a></li><li><a href="http://newsourcemedia.com/blog/att-net-authentication-failed-in-entourage-with-pop-smtp/" rel="bookmark">Att.net Authentication failed in Entourage with POP & SMTP</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/flash-not-on-ipad-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t delete file on external hard drive &#8211; Mac</title>
		<link>http://newsourcemedia.com/blog/cant-delete-file-on-external-hard-drive-mac/</link>
		<comments>http://newsourcemedia.com/blog/cant-delete-file-on-external-hard-drive-mac/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 02:04:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[exteranl hard drive]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=627</guid>
		<description><![CDATA[I ran out of space on my external hard drive so I selected some folder file and pressed command-delete on my keyboard. They files looked as if though they were deleted but I notice the available space did not budge. I knew right than it was time to whip out the terminal to force the [...]]]></description>
			<content:encoded><![CDATA[<p>I ran out of space on my external hard drive so I selected some folder file and pressed command-delete on my keyboard. They files looked as if though they were deleted but I notice the available space did not budge. I knew right than it was time to whip out the terminal to force the hard drive in to submission.</p>
<p>1) Type these command into Terminal window. MAKE SURE TO replace &#8220;disk&#8221; with the name of your external drive. If you have a problem creating a path to your external hard drive, type &#8220;cd&#8221; than a space and drag the icon of your hard drive to the terminal window. A path will be filled in automatically.</p>
<p><strong>Code:</strong><br />
<em><br />
cd /Volumes/disk</em></p>
<p>2) Type out the remove command on then hidden trash directory.</p>
<p><strong>Code:</strong></p>
<p><em>sudo rm -rf .Trashes</em></p>
<p>3) It will ask you for your password. You will not see your password as you type for extra security. Once you are done,  press enter.</p>
<p><strong>Code:</strong></p>
<p>Password:</p>
<p>If you have a lot of files that needed deleting (ex: over 20GB) you may notice a dalyed response. If so, just keep an eye on the drive&#8217;s avalible memory and you will notice a gradual increase of space right before your vary eyes.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/basic-terminal-commands/" rel="bookmark">Basic Terminal Commands</a></li><li><a href="http://newsourcemedia.com/blog/terminal-navigation/" rel="bookmark">Terminal Navigation</a></li><li><a href="http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/" rel="bookmark">How to backup MySQL Database via SSH</a></li><li><a href="http://newsourcemedia.com/blog/terminal-alias-shortcuts/" rel="bookmark">Terminal Alias Shortcuts</a></li><li><a href="http://newsourcemedia.com/blog/php-strip-remove-white-space-from-end-of-string/" rel="bookmark">PHP strip remove white space from end of string</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/cant-delete-file-on-external-hard-drive-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to backup MySQL Database via SSH</title>
		<link>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/</link>
		<comments>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 02:44:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[MySQL / Database]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/</guid>
		<description><![CDATA[First you log in using your terminal application by typing the flowing SSH command:
ssh yourusername@hostname-or-ipaddress
After that, you will be prompted to enter your password. As you enter your password, the text will be hidden. Next we should switch to the &#8220;root&#8221; user. You can do so by typing the following in your terminal window:
su &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>First you log in using your terminal application by typing the flowing SSH command:</p>
<p>ssh yourusername@hostname-or-ipaddress</p>
<p>After that, you will be prompted to enter your password. As you enter your password, the text will be hidden. Next we should switch to the &#8220;root&#8221; user. You can do so by typing the following in your terminal window:</p>
<p>su &#8211; root</p>
<p>You will have to enter a password once more. Now navagate to where you would like to store your MySQL database file. For an example of changing the directory to the &#8220;public_html&#8221; direcotry, type this:</p>
<p>cd /var/www/html_public</p>
<p>Now you can back up your db here using the following command. This command will backup all of your databases. I also chose to compress them after the pipe &#8220;|&#8221; as a gzip file. Type the following but be sure to change the user name and password to your info:</p>
<p>mysqldump -u yourusername -p yourpassword &#8211;all-databases | gzip &gt;databasebackup.sql.gz</p>
<p>You can also target single database using the following:</p>
<p>mysqldump -u yourUserName -p yourDBName | gzip &gt;databasebackup.sql.gz</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/cant-delete-file-on-external-hard-drive-mac/" rel="bookmark">Can't delete file on external hard drive - Mac</a></li><li><a href="http://newsourcemedia.com/blog/terminal-alias-shortcuts/" rel="bookmark">Terminal Alias Shortcuts</a></li><li><a href="http://newsourcemedia.com/blog/connecting-to-database-part-1-of-3-php-database/" rel="bookmark">Connecting to Database  - Part 1 of 3 PHP Database</a></li><li><a href="http://newsourcemedia.com/blog/create-mysql-database-with-php/" rel="bookmark">Create MySQL Database With PHP</a></li><li><a href="http://newsourcemedia.com/blog/phprunner/" rel="bookmark">PHPRunner</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/how-to-backup-mysql-database-via-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Center Web Page Using Styles Sheets</title>
		<link>http://newsourcemedia.com/blog/css-center-web-page-using-styles-sheets/</link>
		<comments>http://newsourcemedia.com/blog/css-center-web-page-using-styles-sheets/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 14:43:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Adjust Centering]]></category>
		<category><![CDATA[Auto Center]]></category>
		<category><![CDATA[Center]]></category>
		<category><![CDATA[Fix Centering]]></category>
		<category><![CDATA[width]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=619</guid>
		<description><![CDATA[How to center a fixed box container using CSS? The sample below dose a few things. First it centers all body content  using the body tag text-align center attribute. This is done to fix a bug in IE and other browsers that do not support margin auto styles. Next thing it will do is take [...]]]></description>
			<content:encoded><![CDATA[<p>How to center a fixed box container using CSS? The sample below dose a few things. First it centers all body content  using the body tag text-align center attribute. This is done to fix a bug in IE and other browsers that do not support margin auto styles. Next thing it will do is take your div with an id of &#8220;container&#8221; and auto center the margin with a width of 900 pixels. You can change the width to match your content as needed. Lastly it will reset the text to align left. You can align the text as you see fit but here we just wanted to make sure it set back to the default Firefox &amp; Safari text alignment.</p>
<p>Place the following code in your styles tag.</p>
<p><code>body<br />
{<br />
text-align: center;<br />
}</code></p>
<p>div#container<br />
{<br />
margin-left: auto;<br />
margin-right: auto;<br />
width: 900px;<br />
text-align: left;<br />
}</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/css-center-background-image/" rel="bookmark">CSS Center Background Image</a></li><li><a href="http://newsourcemedia.com/blog/flash-full-screen-site-with-actionscript-html-and-css/" rel="bookmark">Flash Full Screen Site with Actionscript, HTML and CSS</a></li><li><a href="http://newsourcemedia.com/blog/scrolling-text-marquee/" rel="bookmark">Scrolling Text - Marquee</a></li><li><a href="http://newsourcemedia.com/blog/center-popup-window/" rel="bookmark">Javascript Center Popup Window</a></li><li><a href="http://newsourcemedia.com/blog/fixing-fonts-in-flash/" rel="bookmark">Fixing Fonts In Flash</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/css-center-web-page-using-styles-sheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash on iPhone coming soon via Adobe CS5</title>
		<link>http://newsourcemedia.com/blog/flash-on-iphone-coming-soon-via-adobe-cs5/</link>
		<comments>http://newsourcemedia.com/blog/flash-on-iphone-coming-soon-via-adobe-cs5/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 02:04:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Compatible]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[iPhon]]></category>
		<category><![CDATA[Publish]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/flash-on-iphone-coming-soon-via-adobe-cs5/</guid>
		<description><![CDATA[The new Adobe CS5 Flash will now give flash developer the ability to publish their flash content as an iPhone application. Flash alread allows developers to publish as SWFs, Projector files, and as QuickTime movies. This does not mean that iPhone users will be able to view flash content through the iPhone&#8217;s web browser. That&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>The new Adobe CS5 Flash will now give flash developer the ability to publish their flash content as an iPhone application. Flash alread allows developers to publish as SWFs, Projector files, and as QuickTime movies. This does not mean that iPhone users will be able to view flash content through the iPhone&#8217;s web browser. That&#8217;s Apples restriction. What Adobe has done is allow developers to repackage existing flash content as an iPhone application.</p>
<p><img title="iPhoneAppsFlash" src="http://newsourcemedia.com/blog/wp-content/uploads/2009/11/iPhoneAppsFlash.jpg" alt="iPhoneAppsFlash" width="527" height="381" /></p>
<p>This will increase the number of apps available on iTunes store. This will also give agencies and software companies access to a market place that may have shied away from because of a lack of technical resources or fear of outsourcing.</p>
<p>Flash developers will have to follow the same requirement for deployment as other iPhone app developers. They will have to join Apples iPhone Developers Program and follow their guidelines. One of the requirements is to obtain a certificate from Apple in order to test and distribute your app through the iTunes store.</p>
<p>You can find books on Amizon already geared for Flash iPhone development. There is one by <a href="https://www.amazon.com/dp/1430223553?tag=newsourcemedi-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=1430223553&amp;adid=1MMWYP76QRCJFD6KFRX0&amp;" target="_blank">The Essential Guide to iPhone Application Development for Flash Users (Paperback)</a>.</p>
<p>If you can&#8217;t wait for Adobe and want to dive right in to iPhone application development, here are a few books to help you start building apps.</p>
<p><a href="https://www.amazon.com/dp/1430224037?tag=newsourcemedi-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=1430224037&amp;adid=0KDADZSA7AEM7EMHAYQ2&amp;" target="_blank">iPhone Advanced Projects (Paperback)</a><br />
<a href="https://www.amazon.com/dp/0470568437?tag=newsourcemedi-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=0470568437&amp;adid=1XNNV1299988JJZBT6NR&amp;" target="_blank">iPhone Application Development For Dummies</a></p>
<p>For more info on Apples requirements, you can view them here: <a href="http://developer.apple.com/iphone/" target="_blank"> http://developer.apple.com/iphon</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/flash-not-on-ipad-iphone/" rel="bookmark">Adobe Flash not on Apple iPad or iPhone</a></li><li><a href="http://newsourcemedia.com/blog/remove-underline-links/" rel="bookmark">Remove Underline-Links</a></li><li><a href="http://newsourcemedia.com/blog/play-mp4-using-flash-flv-component/" rel="bookmark">Play MP4 using Flash FLV component</a></li><li><a href="http://newsourcemedia.com/blog/ibook-battery-charging-issues/" rel="bookmark">iBook battery charging issues</a></li><li><a href="http://newsourcemedia.com/blog/actionscript-for-flash-mx/" rel="bookmark">ActionScript for Flash MX</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/flash-on-iphone-coming-soon-via-adobe-cs5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Att.net Authentication failed in Entourage with POP &amp; SMTP</title>
		<link>http://newsourcemedia.com/blog/att-net-authentication-failed-in-entourage-with-pop-smtp/</link>
		<comments>http://newsourcemedia.com/blog/att-net-authentication-failed-in-entourage-with-pop-smtp/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 02:16:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=593</guid>
		<description><![CDATA[How to fix your ATT / Mac Entourage POP SMTP mail settings to stop receiving this error message: Authentication failed because Entourage doesn't support any of the available authentication methods.]]></description>
			<content:encoded><![CDATA[<p>After switching over from Comcast to ATT I received a free AT&amp;T email account. I already owned a Yahoo POP email account that I setup with my Entourage email client. I tried to include the new ATT/Yahoo email account but I always received this error message:</p>
<p><strong>Authentication failed because Entourage doesn&#8217;t support any of the available authentication methods.</strong></p>
<p>I took some time surfing through Google results on the matter but I finally got it working using the following settings.</p>
<p>Setting up your client-based email account</p>
<ul>
<li>Email address: MemberID@att.net</li>
<li>Incoming (POP): pop.att.yahoo.com</li>
<li>Outgoing (SMTP): smtp.att.yahoo.com
<ol>
<li>Select SMTP server requires authentication</li>
<li>Use same settings as receiving mail server</li>
</ol>
</li>
</ul>
<p>Advance Settings:</p>
<ul>
<li>Incoming mail server: POP3</li>
<li>Incoming mail port number: 995  (make sure secure connection (SSL) is checked)</li>
<li>Outgoing mail port number: 465 (make sure secure connection (SSL) is checked)</li>
</ul>
<p><strong><span style="color: #800000;">IMPORTANT THING TO NOTE!</span><br />
</strong>Do not check the box labeled &#8220;Override the default POP port&#8221;.<br />
Some users <span>didn&#8217;t have to check SSL for the Out going mail.</span></p>
<p><span>See screen grabs below:</span></p>
<p><span><strong>1) Receiving Mail</strong><br />
</span></p>
<p><img class="alignnone size-full wp-image-597" title="Picture 3" src="http://newsourcemedia.com/blog/wp-content/uploads/2009/10/Picture-3.png" alt="Picture 3" width="486" height="540" /></p>
<p><strong>2) Sending Mail</strong></p>
<p><img class="alignnone size-full wp-image-595" title="Picture 5" src="http://newsourcemedia.com/blog/wp-content/uploads/2009/10/Picture-5.png" alt="Picture 5" width="508" height="311" /></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/sending-email-via-smtp-on-os-x-with-php/" rel="bookmark">Sending email via SMTP on OS X with PHP</a></li><li><a href="http://newsourcemedia.com/blog/php-email-form-easy/" rel="bookmark">PHP Email Form Easy</a></li><li><a href="http://newsourcemedia.com/blog/sending-email-with-php/" rel="bookmark">Sending Email with PHP</a></li><li><a href="http://newsourcemedia.com/blog/ipowerweb-web-hosting/" rel="bookmark">IPowerWeb - Web Hosting</a></li><li><a href="http://newsourcemedia.com/blog/advanced-email-link/" rel="bookmark">Advanced Email Link</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/att-net-authentication-failed-in-entourage-with-pop-smtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to validate Flash absolute url paths</title>
		<link>http://newsourcemedia.com/blog/how-to-validate-flash-absolute-url-paths/</link>
		<comments>http://newsourcemedia.com/blog/how-to-validate-flash-absolute-url-paths/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 15:50:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[String Manipulation]]></category>
		<category><![CDATA[Workarounds]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=583</guid>
		<description><![CDATA[You may want to dynamically change the way your flash file behaves based on where it&#8217;s hosted. To do so, you should utilize the  &#8220;_url&#8221; variable to obtain the absolute path of your flash file.
Actionscript 2:
[as2]
var path = _root._url;
trace (path);
// here&#8217;s how to validate if the flash file is running locally off line.
trace (_root._url.substr(0,7));
if(_root._url.substr(0,7)==&#8221;file://&#8221;){
trace(&#8220;running [...]]]></description>
			<content:encoded><![CDATA[<p>You may want to dynamically change the way your flash file behaves based on where it&#8217;s hosted. To do so, you should utilize the  &#8220;_url&#8221; variable to obtain the absolute path of your flash file.<span id="more-583"></span></p>
<p>Actionscript 2:<br />
[as2]<br />
var path = _root._url;<br />
trace (path);<br />
// here&#8217;s how to validate if the flash file is running locally off line.<br />
trace (_root._url.substr(0,7));<br />
if(_root._url.substr(0,7)==&#8221;file://&#8221;){<br />
trace(&#8220;running offline&#8221;);<br />
}<br />
[/as2]</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/how-to-load-swf-into-movieclip-in-as3/" rel="bookmark">How to load SWF into MovieClip in AS3</a></li><li><a href="http://newsourcemedia.com/blog/actionscript-converting-negitive-to-positive-numbers/" rel="bookmark">Actionscript Converting Negitive to Positive Numbers</a></li><li><a href="http://newsourcemedia.com/blog/php-include-and-require-functions/" rel="bookmark">PHP Include and Require Functions</a></li><li><a href="http://newsourcemedia.com/blog/create-empty-movieclip-in-as3/" rel="bookmark">Create Empty MovieClip Dynamically in AS3</a></li><li><a href="http://newsourcemedia.com/blog/formatting-numbers-in-flash-for-commas/" rel="bookmark">Formatting Numbers in Flash for Commas</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/how-to-validate-flash-absolute-url-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MC Tweener Add Glow Filter</title>
		<link>http://newsourcemedia.com/blog/mc-tweener-add-glow-filter/</link>
		<comments>http://newsourcemedia.com/blog/mc-tweener-add-glow-filter/#comments</comments>
		<pubDate>Tue, 19 May 2009 15:43:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://newsourcemedia.com/blog/?p=578</guid>
		<description><![CDATA[If you are using the latest SVN version of Tweener (AS3), you can get the GlowFilter with Tweener to work. Here&#8217;s the code sample assuming you have a movie clip named &#8220;box&#8221; on the stage.

Most important thing here is to make sure that you initiate the shortcut:
FilterShortcuts.init();

// Import Filters
import flash.filters.*;
// Import Tweener
import caurina.transitions.Tweener;
// Import Tweener [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using the latest SVN version of Tweener (AS3), you can get the GlowFilter with Tweener to work. Here&#8217;s the code sample assuming you have a movie clip named &#8220;box&#8221; on the stage.<br />
<span id="more-578"></span></p>
<p>Most important thing here is to make sure that you initiate the shortcut:<br />
FilterShortcuts.init();</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// Import Filters</span>
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">filters</span>.<span style="color: #66cc66;">*</span>;
<span style="color: #808080; font-style: italic;">// Import Tweener</span>
<span style="color: #0066CC;">import</span> caurina.<span style="color: #006600;">transitions</span>.<span style="color: #006600;">Tweener</span>;
<span style="color: #808080; font-style: italic;">// Import Tweener propertie shortcuts</span>
<span style="color: #0066CC;">import</span> caurina.<span style="color: #006600;">transitions</span>.<span style="color: #006600;">properties</span>.<span style="color: #006600;">FilterShortcuts</span>;
<span style="color: #808080; font-style: italic;">// *** Very Importaint *** : Initialize shortcuts</span>
FilterShortcuts.<span style="color: #006600;">init</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> glowIn:GlowFilter = <span style="color: #000000; font-weight: bold;">new</span> GlowFilter<span style="color: #66cc66;">&#40;</span>0x9A1A06,<span style="color: #cc66cc;">0.8</span>,<span style="color: #cc66cc;">10</span>,<span style="color: #cc66cc;">10</span>,<span style="color: #cc66cc;">2</span>,<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> glowOut:GlowFilter = <span style="color: #000000; font-weight: bold;">new</span> GlowFilter<span style="color: #66cc66;">&#40;</span>0x9A1A06,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">10</span>,<span style="color: #cc66cc;">10</span>,<span style="color: #cc66cc;">2</span>,<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
box.<span style="color: #006600;">addEventListener</span> <span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_OVER</span>, onOver<span style="color: #66cc66;">&#41;</span>;
box.<span style="color: #006600;">addEventListener</span> <span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">MOUSE_OUT</span>, onOut<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> onOver <span style="color: #66cc66;">&#40;</span>m:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	Tweener.<span style="color: #006600;">addTween</span> <span style="color: #66cc66;">&#40;</span>m.<span style="color: #006600;">currentTarget</span>, <span style="color: #66cc66;">&#123;</span>_filter:glowIn, <span style="color: #0066CC;">time</span>:<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> onOut <span style="color: #66cc66;">&#40;</span>m:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	Tweener.<span style="color: #006600;">addTween</span> <span style="color: #66cc66;">&#40;</span>m.<span style="color: #006600;">currentTarget</span>, <span style="color: #66cc66;">&#123;</span>_filter:glowOut, <span style="color: #0066CC;">time</span>:<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://newsourcemedia.com/blog/as3-blur-filter-with-tweener-class/" rel="bookmark">AS3 Blur Filter with Tweener class</a></li><li><a href="http://newsourcemedia.com/blog/flash-as3-using-flvplayback-and-full-screen-mode/" rel="bookmark">Flash AS3 using FLVPlayback and Full Screen Mode</a></li><li><a href="http://newsourcemedia.com/blog/create-buttons-using-as3-in-adobe-cs3-and-cs4/" rel="bookmark">Create buttons using AS3 in Adobe CS3 and CS4</a></li><li><a href="http://newsourcemedia.com/blog/as3-getnexthighestdepth-is-no-longer-supported/" rel="bookmark">How to Swap Depth using AS3 via setChildIndex</a></li><li><a href="http://newsourcemedia.com/blog/preloaders-in-as3/" rel="bookmark">Preloaders in AS3</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://newsourcemedia.com/blog/mc-tweener-add-glow-filter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->