<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Online Timesheet Software - TiMeister - Weblog</title>
	
	<link>http://blog.timeister.com</link>
	<description>Free Online Timesheet Software - Calendar, StopWatch, Reports, Exports</description>
	<lastBuildDate>Wed, 09 Dec 2009 23:02:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/timeister" /><feedburner:info uri="timeister" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>Free Online Timesheet Software - Calendar, StopWatch, Reports, Exports</itunes:subtitle><item>
		<title>Objective C: Zoom and Pintch UIImageView</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/eJDorA6LNZs/</link>
		<comments>http://blog.timeister.com/2009/09/02/objective-c-zoom-image/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 20:26:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[pintch]]></category>
		<category><![CDATA[uiimageview]]></category>
		<category><![CDATA[zoom]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=465</guid>
		<description><![CDATA[To get started, we have to
 1. Create a new project by selecting &#8220;Windows-based Application&#8221;
   2. Create a new UIView using IB and name it ImgView.
   3. Create a new file in XCode by selecting File -> New File -> UIViewController sub class and name it &#8220;ImgViewController&#8221;.
   4. In [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/K0qCwZuXODr7eg6fQA0fjSCeJTw/0/da"><img src="http://feedads.g.doubleclick.net/~a/K0qCwZuXODr7eg6fQA0fjSCeJTw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/K0qCwZuXODr7eg6fQA0fjSCeJTw/1/da"><img src="http://feedads.g.doubleclick.net/~a/K0qCwZuXODr7eg6fQA0fjSCeJTw/1/di" border="0" ismap="true"></img></a></p><p></p>
<p><strong>To get started, we have to</strong></p>
<blockquote><p> 1. Create a new project by selecting &#8220;Windows-based Application&#8221;<br />
   2. Create a new UIView using IB and name it ImgView.<br />
   3. Create a new file in XCode by selecting File -> New File -> UIViewController sub class and name it &#8220;ImgViewController&#8221;.<br />
   4. In IB, select File&#8217;s owner object of the &#8220;ImgView&#8221; nib file and select Tools -> Identity Inspector. Under Class Identity select &#8220;ImgViewContoller&#8221; as the class.<br />
   5. Select Tools &#8211; > Connections Inspector and create a connection from the view property to the view object in IB.<br />
   6. Place a UIImageView on the view we just created.<br />
   7. Add a image to the resource folder, to be used by the UIImageView.<br />
   8. Select the Image and select Tools -> Attributes Inspector in IB. From the Image drop down select your image.<br />
   9. Set the Mode to Center.<br />
  10. Un-check &#8220;User Interaction Enabled&#8221; and &#8220;Multiple Touch&#8221;.<br />
  11. Select the view and select &#8220;Multiple Touch&#8221; in the Attributes Inspector. Note that &#8220;User Interaction Enabled&#8221; should already be checked, if not check it.
</p></blockquote>
<p><strong>Using the last two settings all the touches events will be sent to ImgViewController. Since we need to control the image, we need a variable of type UIImageView. This is how the header file of &#8220;MultiTouchTutorialAppDelegate&#8221; will look like.<br />
</strong></p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #6e371a;">#import &lt;UIKit/UIKit.h&gt;&gt;</span>
&nbsp;
<span style="color: #a61390;">@class</span> ImgViewController;
&nbsp;
<span style="color: #a61390;">@interface</span> MultiTouchTutorialAppDelegate <span style="color: #002200;">:</span> <span style="color: #400080;">NSObject</span> <span style="color: #002200;">&#123;</span>
UIWindow <span style="color: #002200;">*</span>window;
ImgViewController <span style="color: #002200;">*</span>ivController;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #a61390;">@property</span> <span style="color: #002200;">&#40;</span>nonatomic, retain<span style="color: #002200;">&#41;</span> IBOutlet UIWindow <span style="color: #002200;">*</span>window;
&nbsp;
<span style="color: #a61390;">@end</span></pre></div></div>

<p><strong>Using IB, select File&#8217;s owner object and open Tools -> Connections Inspector. Create a connection from the imgView to the UIImageView placed on the view. Now we will be able to control the UIImageView from code.<br />
<br />
Now we need to add the view &#8220;ImgView&#8221; as a subview in applicationDidFinishLaunching method. This is how the source code will look like<br />
</strong></p>
<p></p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>applicationDidFinishLaunching<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>UIApplication <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>application <span style="color: #002200;">&#123;</span>
&nbsp;
ivController <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>ImgViewController alloc<span style="color: #002200;">&#93;</span> initWithNibName<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;ImgView&quot;</span> bundle<span style="color: #002200;">:</span><span style="color: #002200;">&#91;</span><span style="color: #400080;">NSBundle</span> mainBundle<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#93;</span>;
&nbsp;
<span style="color: #002200;">&#91;</span>window addSubview<span style="color: #002200;">:</span><span style="color: #002200;">&#91;</span>ivController view<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#93;</span>;
&nbsp;
<span style="color: #11740a; font-style: italic;">// Override point for customization after application launch</span>
<span style="color: #002200;">&#91;</span>window makeKeyAndVisible<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#125;</span></pre></div></div>

<p><strong>Click on Ctrl+return to run the application in simulator. You should see the image loaded in the simulator.<br />
<br />
Right now the application does not respond to any events, but all we have to do is implement some methods. Let&#8217;s implement the touchesEnded method which will be called when touches are ended.<br />
</strong><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>touchesEnded<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #400080;">NSSet</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>touches withEvent<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>UIEvent <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>event <span style="color: #002200;">&#123;</span>
<span style="color: #002200;">&#125;</span></pre></div></div>

<p><strong>In this method we will respond to a single tap and double tap. On single tap we will zoom out the image and on double tap we will set the mode to &#8220;Center&#8221;, which is doing the same as in step 9.<br />
This is how the code looks like<br />
</strong><br />
</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>touchesEnded<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #400080;">NSSet</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>touches withEvent<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>UIEvent <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>event <span style="color: #002200;">&#123;</span>
&nbsp;
<span style="color: #11740a; font-style: italic;">//Get all the touches.</span>
<span style="color: #400080;">NSSet</span> <span style="color: #002200;">*</span>allTouches <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>event allTouches<span style="color: #002200;">&#93;</span>;
&nbsp;
<span style="color: #11740a; font-style: italic;">//Number of touches on the screen</span>
<span style="color: #a61390;">switch</span> <span style="color: #002200;">&#40;</span><span style="color: #002200;">&#91;</span>allTouches count<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>
<span style="color: #002200;">&#123;</span>
<span style="color: #a61390;">case</span> <span style="color: #2400d9;">1</span><span style="color: #002200;">:</span>
<span style="color: #002200;">&#123;</span>
<span style="color: #11740a; font-style: italic;">//Get the first touch.</span>
UITouch <span style="color: #002200;">*</span>touch <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>allTouches allObjects<span style="color: #002200;">&#93;</span> objectAtIndex<span style="color: #002200;">:</span><span style="color: #2400d9;">0</span><span style="color: #002200;">&#93;</span>;
&nbsp;
<span style="color: #a61390;">switch</span><span style="color: #002200;">&#40;</span><span style="color: #002200;">&#91;</span>touch tapCount<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>
<span style="color: #002200;">&#123;</span>
<span style="color: #a61390;">case</span> <span style="color: #2400d9;">1</span><span style="color: #002200;">:</span><span style="color: #11740a; font-style: italic;">//Single tap</span>
imgView.contentMode <span style="color: #002200;">=</span> UIViewContentModeScaleAspectFit;
<span style="color: #a61390;">break</span>;
<span style="color: #a61390;">case</span> <span style="color: #2400d9;">2</span><span style="color: #002200;">:</span><span style="color: #11740a; font-style: italic;">//Double tap.</span>
imgView.contentMode <span style="color: #002200;">=</span> UIViewContentModeCenter;
<span style="color: #a61390;">break</span>;
<span style="color: #002200;">&#125;</span>
<span style="color: #002200;">&#125;</span>
<span style="color: #a61390;">break</span>;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #002200;">&#125;</span></pre></div></div>

<p>We get all the touches from the event into allTouches variable. We thenfind out how many fingers were touching the screen, since in our case we only want to zoom in and out, it seems normal to assume that the user will only be using one finger. We then find out how many tocuhs are touching the screen by calling the count method of allTouches variable. </p>
<p>If there is only one finger touching the screen, we get the Touch object at index zero and find out the tap count of that object. If the tap count is one we will zoom out the image and if it is two we are going to zoom in. We zoom out the image by setting the contentMode to UIViewContentModeScaleAspectFit and zoom in the image by setting it to UIViewContentModeCenter.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/09/02/objective-c-zoom-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/09/02/objective-c-zoom-image/</feedburner:origLink></item>
		<item>
		<title>Objective C: Cache Image on iPhone</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/zAx2Fzd6kTc/</link>
		<comments>http://blog.timeister.com/2009/09/02/objective-c-cache-image/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 20:09:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[objective c]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=458</guid>
		<description><![CDATA[    If you&#8217;re pulling in web data such as images that doesn&#8217;t change but needs to be viewed multiple times, you&#8217;ll want to cache it. Caching images dramatically improves the performance of scrolling tables and other views.
    Note: this only works for JPG and PNG images. If you have [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/f-_6iKaHNrL5OWDKgnYMMXFYWY0/0/da"><img src="http://feedads.g.doubleclick.net/~a/f-_6iKaHNrL5OWDKgnYMMXFYWY0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/f-_6iKaHNrL5OWDKgnYMMXFYWY0/1/da"><img src="http://feedads.g.doubleclick.net/~a/f-_6iKaHNrL5OWDKgnYMMXFYWY0/1/di" border="0" ismap="true"></img></a></p><p></p>
<p>    If you&#8217;re pulling in web data such as images that doesn&#8217;t change but needs to be viewed multiple times, you&#8217;ll want to cache it. Caching images dramatically improves the performance of scrolling tables and other views.</p>
<p>    Note: this only works for JPG and PNG images. If you have suggestions or find bugs, let me know.</p>
<p>    Utilities.h:<br />
    Code:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">    <span style="color: #6e371a;">#import Foundation/Foundation.h</span>
&nbsp;
    <span style="color: #a61390;">@interface</span> Utilities <span style="color: #002200;">:</span> <span style="color: #400080;">NSObject</span> <span style="color: #002200;">&#123;</span>
&nbsp;
    <span style="color: #002200;">&#125;</span>
&nbsp;
    <span style="color: #11740a; font-style: italic;">// Methods</span>
    <span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> cacheImage<span style="color: #002200;">:</span> <span style="color: #002200;">&#40;</span><span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> ImageURLString;
    <span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span>UIImage <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> getCachedImage<span style="color: #002200;">:</span> <span style="color: #002200;">&#40;</span><span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> ImageURLString;
    <span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span>UIImage <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> roundCorners<span style="color: #002200;">:</span> <span style="color: #002200;">&#40;</span>UIImage<span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> img;
&nbsp;
    <span style="color: #a61390;">@end</span></pre></div></div>

<p>    Utilities.m<br />
    Code:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">    <span style="color: #6e371a;">#import &quot;Utilities.h&quot;</span>
    <span style="color: #6e371a;">#define TMP NSTemporaryDirectory()</span>
&nbsp;
    <span style="color: #a61390;">@implementation</span> Utilities</pre></div></div>

<p>    Function to actually cache the image &#8211; checks to see if one with the same name already exists<br />
    Code:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">    <span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span> cacheImage<span style="color: #002200;">:</span> <span style="color: #002200;">&#40;</span><span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> ImageURLString
    <span style="color: #002200;">&#123;</span>
    <span style="color: #400080;">NSURL</span> <span style="color: #002200;">*</span>ImageURL <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #400080;">NSURL</span> URLWithString<span style="color: #002200;">:</span> ImageURLString<span style="color: #002200;">&#93;</span>;
&nbsp;
    <span style="color: #11740a; font-style: italic;">// Generate a unique path to a resource representing the image you want</span>
    <span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>filename <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>something unique, perhaps the image name<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#93;</span>;
    <span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>uniquePath <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>TMP stringByAppendingPathComponent<span style="color: #002200;">:</span> filename<span style="color: #002200;">&#93;</span>;
&nbsp;
    <span style="color: #11740a; font-style: italic;">// Check for file existence</span>
    <span style="color: #a61390;">if</span><span style="color: #002200;">&#40;</span><span style="color: #002200;">!</span><span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span><span style="color: #400080;">NSFileManager</span> defaultManager<span style="color: #002200;">&#93;</span> fileExistsAtPath<span style="color: #002200;">:</span> uniquePath<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>
    <span style="color: #002200;">&#123;</span>
    <span style="color: #11740a; font-style: italic;">// The file doesn't exist, we should get a copy of it</span>
&nbsp;
    <span style="color: #11740a; font-style: italic;">// Fetch image</span>
    <span style="color: #400080;">NSData</span> <span style="color: #002200;">*</span>data <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span><span style="color: #400080;">NSData</span> alloc<span style="color: #002200;">&#93;</span> initWithContentsOfURL<span style="color: #002200;">:</span> ImageURL<span style="color: #002200;">&#93;</span>;
    UIImage <span style="color: #002200;">*</span>image <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>UIImage alloc<span style="color: #002200;">&#93;</span> initWithData<span style="color: #002200;">:</span> data<span style="color: #002200;">&#93;</span>;
&nbsp;
    <span style="color: #11740a; font-style: italic;">// Do we want to round the corners?</span>
    image <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>self roundCorners<span style="color: #002200;">:</span> image<span style="color: #002200;">&#93;</span>;
&nbsp;
    <span style="color: #11740a; font-style: italic;">// Is it PNG or JPG/JPEG?</span>
    <span style="color: #11740a; font-style: italic;">// Running the image representation function writes the data from the image to a file</span>
    <span style="color: #a61390;">if</span><span style="color: #002200;">&#40;</span><span style="color: #002200;">&#91;</span>ImageURLString rangeOfString<span style="color: #002200;">:</span> <span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;.png&quot;</span> options<span style="color: #002200;">:</span> NSCaseInsensitiveSearch<span style="color: #002200;">&#93;</span>.location <span style="color: #002200;">!=</span> NSNotFound<span style="color: #002200;">&#41;</span>
    <span style="color: #002200;">&#123;</span>
    <span style="color: #002200;">&#91;</span>UIImagePNGRepresentation<span style="color: #002200;">&#40;</span>image<span style="color: #002200;">&#41;</span> writeToFile<span style="color: #002200;">:</span> uniquePath atomically<span style="color: #002200;">:</span> <span style="color: #a61390;">YES</span><span style="color: #002200;">&#93;</span>;
    <span style="color: #002200;">&#125;</span>
    <span style="color: #a61390;">else</span> <span style="color: #a61390;">if</span><span style="color: #002200;">&#40;</span>
    <span style="color: #002200;">&#91;</span>ImageURLString rangeOfString<span style="color: #002200;">:</span> <span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;.jpg&quot;</span> options<span style="color: #002200;">:</span> NSCaseInsensitiveSearch<span style="color: #002200;">&#93;</span>.location <span style="color: #002200;">!=</span> NSNotFound ||
    <span style="color: #002200;">&#91;</span>ImageURLString rangeOfString<span style="color: #002200;">:</span> <span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;.jpeg&quot;</span> options<span style="color: #002200;">:</span> NSCaseInsensitiveSearch<span style="color: #002200;">&#93;</span>.location <span style="color: #002200;">!=</span> NSNotFound
    <span style="color: #002200;">&#41;</span>
    <span style="color: #002200;">&#123;</span>
    <span style="color: #002200;">&#91;</span>UIImageJPEGRepresentation<span style="color: #002200;">&#40;</span>image, <span style="color: #2400d9;">100</span><span style="color: #002200;">&#41;</span> writeToFile<span style="color: #002200;">:</span> uniquePath atomically<span style="color: #002200;">:</span> <span style="color: #a61390;">YES</span><span style="color: #002200;">&#93;</span>;
    <span style="color: #002200;">&#125;</span>
    <span style="color: #002200;">&#125;</span>
    <span style="color: #002200;">&#125;</span></pre></div></div>

<p>    Retrieve a cached file:<br />
    Code:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">  <span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span>UIImage <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> getCachedImage<span style="color: #002200;">:</span> <span style="color: #002200;">&#40;</span><span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> ImageURLString
    <span style="color: #002200;">&#123;</span>
    <span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>filename <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>something unique, perhaps the image name<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#93;</span>;
    <span style="color: #400080;">NSString</span> <span style="color: #002200;">*</span>uniquePath <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>TMP stringByAppendingPathComponent<span style="color: #002200;">:</span> filename<span style="color: #002200;">&#93;</span>;
&nbsp;
    UIImage <span style="color: #002200;">*</span>image;
&nbsp;
    <span style="color: #11740a; font-style: italic;">// Check for a cached version</span>
    <span style="color: #a61390;">if</span><span style="color: #002200;">&#40;</span><span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span><span style="color: #400080;">NSFileManager</span> defaultManager<span style="color: #002200;">&#93;</span> fileExistsAtPath<span style="color: #002200;">:</span> uniquePath<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span>
    <span style="color: #002200;">&#123;</span>
    image <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>UIImage imageWithContentsOfFile<span style="color: #002200;">:</span> uniquePath<span style="color: #002200;">&#93;</span>; <span style="color: #11740a; font-style: italic;">// this is the cached image</span>
    <span style="color: #002200;">&#125;</span>
    <span style="color: #a61390;">else</span>
    <span style="color: #002200;">&#123;</span>
    <span style="color: #11740a; font-style: italic;">// get a new one</span>
    <span style="color: #002200;">&#91;</span>self cacheImage<span style="color: #002200;">:</span> ImageURLString<span style="color: #002200;">&#93;</span>;
    image <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>UIImage imageWithContentsOfFile<span style="color: #002200;">:</span> uniquePath<span style="color: #002200;">&#93;</span>;
    <span style="color: #002200;">&#125;</span>
&nbsp;
    <span style="color: #a61390;">return</span> image;
    <span style="color: #002200;">&#125;</span></pre></div></div>

<p>    These two functions are just to add rounded corners to an image<br />
    Code:</p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"> <span style="color: #a61390;">static</span> <span style="color: #a61390;">void</span> addRoundedRectToPath<span style="color: #002200;">&#40;</span>CGContextRef context, CGRect rect, <span style="color: #a61390;">float</span> ovalWidth, <span style="color: #a61390;">float</span> ovalHeight<span style="color: #002200;">&#41;</span>
    <span style="color: #002200;">&#123;</span>
    <span style="color: #a61390;">float</span> fw, fh;
    <span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>ovalWidth <span style="color: #002200;">==</span> <span style="color: #2400d9;">0</span> || ovalHeight <span style="color: #002200;">==</span> <span style="color: #2400d9;">0</span><span style="color: #002200;">&#41;</span>
    <span style="color: #002200;">&#123;</span>
    CGContextAddRect<span style="color: #002200;">&#40;</span>context, rect<span style="color: #002200;">&#41;</span>;
    <span style="color: #a61390;">return</span>;
    <span style="color: #002200;">&#125;</span>
    CGContextSaveGState<span style="color: #002200;">&#40;</span>context<span style="color: #002200;">&#41;</span>;
    CGContextTranslateCTM <span style="color: #002200;">&#40;</span>context, CGRectGetMinX<span style="color: #002200;">&#40;</span>rect<span style="color: #002200;">&#41;</span>, CGRectGetMinY<span style="color: #002200;">&#40;</span>rect<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span>;
    CGContextScaleCTM <span style="color: #002200;">&#40;</span>context, ovalWidth, ovalHeight<span style="color: #002200;">&#41;</span>;
    fw <span style="color: #002200;">=</span> CGRectGetWidth <span style="color: #002200;">&#40;</span>rect<span style="color: #002200;">&#41;</span> <span style="color: #002200;">/</span> ovalWidth;
    fh <span style="color: #002200;">=</span> CGRectGetHeight <span style="color: #002200;">&#40;</span>rect<span style="color: #002200;">&#41;</span> <span style="color: #002200;">/</span> ovalHeight;
    CGContextMoveToPoint<span style="color: #002200;">&#40;</span>context, fw, fh<span style="color: #002200;">/</span><span style="color: #2400d9;">2</span><span style="color: #002200;">&#41;</span>;
    CGContextAddArcToPoint<span style="color: #002200;">&#40;</span>context, fw, fh, fw<span style="color: #002200;">/</span><span style="color: #2400d9;">2</span>, fh, <span style="color: #2400d9;">1</span><span style="color: #002200;">&#41;</span>;
    CGContextAddArcToPoint<span style="color: #002200;">&#40;</span>context, <span style="color: #2400d9;">0</span>, fh, <span style="color: #2400d9;">0</span>, fh<span style="color: #002200;">/</span><span style="color: #2400d9;">2</span>, <span style="color: #2400d9;">1</span><span style="color: #002200;">&#41;</span>;
    CGContextAddArcToPoint<span style="color: #002200;">&#40;</span>context, <span style="color: #2400d9;">0</span>, <span style="color: #2400d9;">0</span>, fw<span style="color: #002200;">/</span><span style="color: #2400d9;">2</span>, <span style="color: #2400d9;">0</span>, <span style="color: #2400d9;">1</span><span style="color: #002200;">&#41;</span>;
    CGContextAddArcToPoint<span style="color: #002200;">&#40;</span>context, fw, <span style="color: #2400d9;">0</span>, fw, fh<span style="color: #002200;">/</span><span style="color: #2400d9;">2</span>, <span style="color: #2400d9;">1</span><span style="color: #002200;">&#41;</span>;
    CGContextClosePath<span style="color: #002200;">&#40;</span>context<span style="color: #002200;">&#41;</span>;
    CGContextRestoreGState<span style="color: #002200;">&#40;</span>context<span style="color: #002200;">&#41;</span>;
    <span style="color: #002200;">&#125;</span>
&nbsp;
    <span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span>UIImage <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> roundCorners<span style="color: #002200;">:</span> <span style="color: #002200;">&#40;</span>UIImage<span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span> img
    <span style="color: #002200;">&#123;</span>
    <span style="color: #a61390;">int</span> w <span style="color: #002200;">=</span> img.size.width;
    <span style="color: #a61390;">int</span> h <span style="color: #002200;">=</span> img.size.height;
&nbsp;
    CGColorSpaceRef colorSpace <span style="color: #002200;">=</span> CGColorSpaceCreateDeviceRGB<span style="color: #002200;">&#40;</span><span style="color: #002200;">&#41;</span>;
    CGContextRef context <span style="color: #002200;">=</span> CGBitmapContextCreate<span style="color: #002200;">&#40;</span><span style="color: #a61390;">NULL</span>, w, h, <span style="color: #2400d9;">8</span>, <span style="color: #2400d9;">4</span> <span style="color: #002200;">*</span> w, colorSpace, kCGImageAlphaPremultipliedFirst<span style="color: #002200;">&#41;</span>;
&nbsp;
    CGContextBeginPath<span style="color: #002200;">&#40;</span>context<span style="color: #002200;">&#41;</span>;
    CGRect rect <span style="color: #002200;">=</span> CGRectMake<span style="color: #002200;">&#40;</span><span style="color: #2400d9;">0</span>, <span style="color: #2400d9;">0</span>, img.size.width, img.size.height<span style="color: #002200;">&#41;</span>;
    addRoundedRectToPath<span style="color: #002200;">&#40;</span>context, rect, <span style="color: #2400d9;">5</span>, <span style="color: #2400d9;">5</span><span style="color: #002200;">&#41;</span>;
    CGContextClosePath<span style="color: #002200;">&#40;</span>context<span style="color: #002200;">&#41;</span>;
    CGContextClip<span style="color: #002200;">&#40;</span>context<span style="color: #002200;">&#41;</span>;
&nbsp;
    CGContextDrawImage<span style="color: #002200;">&#40;</span>context, CGRectMake<span style="color: #002200;">&#40;</span><span style="color: #2400d9;">0</span>, <span style="color: #2400d9;">0</span>, w, h<span style="color: #002200;">&#41;</span>, img.CGImage<span style="color: #002200;">&#41;</span>;
&nbsp;
    CGImageRef imageMasked <span style="color: #002200;">=</span> CGBitmapContextCreateImage<span style="color: #002200;">&#40;</span>context<span style="color: #002200;">&#41;</span>;
    CGContextRelease<span style="color: #002200;">&#40;</span>context<span style="color: #002200;">&#41;</span>;
    CGColorSpaceRelease<span style="color: #002200;">&#40;</span>colorSpace<span style="color: #002200;">&#41;</span>;
    <span style="color: #002200;">&#91;</span>img release<span style="color: #002200;">&#93;</span>;
&nbsp;
    <span style="color: #a61390;">return</span> <span style="color: #002200;">&#91;</span>UIImage imageWithCGImage<span style="color: #002200;">:</span>imageMasked<span style="color: #002200;">&#93;</span>;
    <span style="color: #002200;">&#125;</span>
&nbsp;
    <span style="color: #a61390;">@end</span></pre></div></div>

<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/09/02/objective-c-cache-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/09/02/objective-c-cache-image/</feedburner:origLink></item>
		<item>
		<title>Flash Builder 4 Network Monitor</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/LebVg7dNyRQ/</link>
		<comments>http://blog.timeister.com/2009/09/01/flash-builder-network-monitor/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 14:01:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=451</guid>
		<description><![CDATA[Flash Builder 4: Network Monitor and new debugger options from Mihai Corlan on Vimeo.


]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/NO282rvUyi_3jykf9qWDO5yDwbw/0/da"><img src="http://feedads.g.doubleclick.net/~a/NO282rvUyi_3jykf9qWDO5yDwbw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/NO282rvUyi_3jykf9qWDO5yDwbw/1/da"><img src="http://feedads.g.doubleclick.net/~a/NO282rvUyi_3jykf9qWDO5yDwbw/1/di" border="0" ismap="true"></img></a></p><p><object width="580" height="326"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6355779&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=2060c0&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6355779&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=202020&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="580" height="326"></embed></object>
<p><a href="http://vimeo.com/6355779">Flash Builder 4: Network Monitor and new debugger options</a> from <a href="http://vimeo.com/user1552538">Mihai Corlan</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/09/01/flash-builder-network-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<media:content url="http://feedproxy.google.com/~r/timeister/~5/CL3BM5aby8Q/moogaloop.swf" type="application/x-shockwave-flash" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>Flash Builder 4: Network Monitor and new debugger options from Mihai Corlan on Vimeo. </itunes:subtitle><itunes:summary>Flash Builder 4: Network Monitor and new debugger options from Mihai Corlan on Vimeo. </itunes:summary><itunes:keywords>Uncategorized</itunes:keywords><feedburner:origLink>http://blog.timeister.com/2009/09/01/flash-builder-network-monitor/</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/timeister/~5/CL3BM5aby8Q/moogaloop.swf" length="-1" type="application/x-shockwave-flash" /><feedburner:origEnclosureLink>http://vimeo.com/moogaloop.swf?clip_id=6355779&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=202020&amp;amp;fullscreen=1</feedburner:origEnclosureLink></item>
		<item>
		<title>Objective C – HTTP POSTor GET Data</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/yx0P-TQURoM/</link>
		<comments>http://blog.timeister.com/2009/08/14/objective-c-http-post-get-data/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 08:19:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[http get]]></category>
		<category><![CDATA[http post]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[sdk]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/2009/08/14/objective-c-http-postor-get-data/</guid>
		<description><![CDATA[ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier. It is written in Objective-C and works in both Mac OS X and iPhone applications.
It is suitable performing basic HTTP requests and interacting with REST-based services (GET / POST / [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/DRsgj3V8xofs6cvF6jtU1_f3aes/0/da"><img src="http://feedads.g.doubleclick.net/~a/DRsgj3V8xofs6cvF6jtU1_f3aes/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DRsgj3V8xofs6cvF6jtU1_f3aes/1/da"><img src="http://feedads.g.doubleclick.net/~a/DRsgj3V8xofs6cvF6jtU1_f3aes/1/di" border="0" ismap="true"></img></a></p><p><a href="http://blog.timeister.com/wp-content/uploads/iphone-programming.png"><img class="alignright" title="iPhone sdk programming" src="http://blog.timeister.com/wp-content/uploads/iphone-programming.png" alt="" width="221" height="245" /></a>ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier. It is written in Objective-C and works in both Mac OS X and iPhone applications.</p>
<p>It is suitable performing basic HTTP requests and interacting with REST-based services (GET / POST / PUT / DELETE). The included ASIFormDataRequest subclass makes it easy to submit POST data and files using <a href="http://en.wikipedia.org/wiki/MIME#Form_Data">multipart/form-data</a>.</p>
<p>Here is an sample code on how easy is to make a http-post from objective c.</p>
<p>(<code>Source: </code><a title="http://allseeing-i.com/ASIHTTPRequest/How-to-use" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://allseeing-i.com/ASIHTTPRequest/How-to-use');" href="http://allseeing-i.com/ASIHTTPRequest/How-to-use">http://allseeing-i.com/ASIHTTPRequest/How-to-use</a>)</p>
<blockquote><p><a href="http://github.com/pokeb/asi-http-request/tree/master/Classes/ASIFormDataRequest.h"><span style="color: #3f7588;">ASIFormDataRequest</span></a> <span style="color: #002200;">*</span>request <span style="color: #002200;">=</span> <span style="color: #002200;">[</span><span style="color: #002200;">[</span><span style="color: #002200;">[</span><a href="http://github.com/pokeb/asi-http-request/tree/master/Classes/ASIFormDataRequest.h"><span style="color: #3f7588;">ASIFormDataRequest</span></a> alloc<span style="color: #002200;">]</span> initWithURL<span style="color: #002200;">:</span>url<span style="color: #002200;">]</span> autorelease<span style="color: #002200;">]</span>;</p>
<p><span style="color: #002200;">[</span>request setPostValue<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">"Ben"</span> forKey<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">"first_name"</span><span style="color: #002200;">]</span>;</p>
<p><span style="color: #002200;">[</span>request setPostValue<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">"Copsey"</span> forKey<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">"last_name"</span><span style="color: #002200;">]</span>;</p>
<p><span style="color: #002200;">[</span>request setFile<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">"/Users/ben/Desktop/ben.jpg"</span> forKey<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">"photo"</span><span style="color: #002200;">]</span>;</p></blockquote>
<p><strong>How to install and use ASIHTTPRequest in an iPhone project ?</strong></p>
<p><strong>1) Add the files</strong></p>
<p>Copy the files you need to your project folder, and add them to your Xcode project. An overview of the ASIHTTPRequest source files appears <a href="http://allseeing-i.com/ASIHTTPRequest">here</a>.</p>
<p><strong>2) Link against CFNetwork, SystemConfiguration and zlib</strong></p>
<p>Choose Project -&gt; Edit Active Target from the menu.</p>
<p>Click the plus button in the bottom left of the window.</p>
<p>Choose &#8220;CFNetwork.framework&#8221; from the list, and click Add.</p>
<p>Repeat the same operation for &#8220;SystemConfiguration.framework&#8221; and &#8220;libz.1.2.3.dylib&#8221;</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/08/14/objective-c-http-post-get-data/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/08/14/objective-c-http-post-get-data/</feedburner:origLink></item>
		<item>
		<title>Objective C: Read iPhone Preferences From Application</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/sNOJk_O1kJc/</link>
		<comments>http://blog.timeister.com/2009/07/19/read-iphone-preferences/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 10:19:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[objective c]]></category>
		<category><![CDATA[read preferences]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=420</guid>
		<description><![CDATA[You can read preferences from your iPhone Application using the NSUserDefaults class from iPhone SDK.
Here is how you can read the delay value before the phone is starting to dial a number

NSUserDefaults *userDefaults = &#91;NSUserDefaults standardUserDefaults&#93;;
delayBeforeDialing = &#91;userDefaults floatForKey:@&#34;delayBeforeDialing&#34;&#93;;

The key, “delayBeforeDialing” in this example, needs to match the Key value in Root.plist.
There are different accessor [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/kxp-_D7OcAvvMTk6VkiX4FAyCAg/0/da"><img src="http://feedads.g.doubleclick.net/~a/kxp-_D7OcAvvMTk6VkiX4FAyCAg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/kxp-_D7OcAvvMTk6VkiX4FAyCAg/1/da"><img src="http://feedads.g.doubleclick.net/~a/kxp-_D7OcAvvMTk6VkiX4FAyCAg/1/di" border="0" ismap="true"></img></a></p><p><strong>You can read preferences from your iPhone Application using the NSUserDefaults class from iPhone SDK.</strong></p>
<p>Here is how you can read the delay value before the phone is starting to dial a number</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">NSUserDefaults <span style="color: #339933;">*</span>userDefaults <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>NSUserDefaults standardUserDefaults<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
delayBeforeDialing <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>userDefaults floatForKey<span style="color: #339933;">:</span>@<span style="color: #ff0000;">&quot;delayBeforeDialing&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The key, “delayBeforeDialing” in this example, needs to match the Key value in Root.plist.</p>
<p><strong>There are different accessor methods depending on the type of variable you want to retrieve.</strong></p>
<p style="padding-left: 30px;"><span style="color: #0000ff;">* arrayForKey<br />
* boolForKey<br />
* dataForKey<br />
* dictionaryForKey<br />
* floatForKey<br />
* integerForKey<br />
* objectForKey<br />
* stringArrayForKey<br />
* stringForKey</span></p>
<p>You don’t have to use a UI for your preferences. If you just want to conveniently store values associated with your application, that you can read back later, you can use the setter methods of NSUserDefaults.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/07/19/read-iphone-preferences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/07/19/read-iphone-preferences/</feedburner:origLink></item>
		<item>
		<title>Objective C: Show online image on iPhone</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/XC4JXOPyU-w/</link>
		<comments>http://blog.timeister.com/2009/07/18/objective-c-online-image-iphone/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 14:28:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[load image]]></category>
		<category><![CDATA[objective c]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=399</guid>
		<description><![CDATA[By default the UIImageView control from the iPhone sdk does not allow us to load images from a specific url. In this case we do a little tryck and use a UIWebView.


- &#40;void&#41;loadImage:&#40;NSString*&#41;url frame:&#40;CGRect&#41;frame &#123;
NSString* textHTML = @&#34;
&#60;!--
body {
background-color: transparent;
color: white;
}
--&#62;
&#60;img src=&#34;\&#34; alt=&#34;&#34; width=&#34;%0.0f&#34; height=&#34;%0.0f&#34; /&#62;
&#34;;
&#160;
NSString* html = &#91;NSString stringWithFormat:textHTML, url, frame.size.width, frame.size.height&#93;;
&#160;
if&#40;webView == nil&#41; [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/vfyRHpGvFGJq9R0bPApZL2v7anQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/vfyRHpGvFGJq9R0bPApZL2v7anQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vfyRHpGvFGJq9R0bPApZL2v7anQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/vfyRHpGvFGJq9R0bPApZL2v7anQ/1/di" border="0" ismap="true"></img></a></p><p>By default the UIImageView control from the iPhone sdk does not allow us to load images from a specific url. In this case we do a little tryck and use a UIWebView.</p>
<p></p>

<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>loadImage<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><span style="color: #400080;">NSString</span><span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>url frame<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span>CGRect<span style="color: #002200;">&#41;</span>frame <span style="color: #002200;">&#123;</span>
<span style="color: #400080;">NSString</span><span style="color: #002200;">*</span> textHTML <span style="color: #002200;">=</span> <span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;
&lt;!--
body {
background-color: transparent;
color: white;
}
--&gt;
&lt;img src=&quot;</span>\<span style="color: #bf1d1a;">&quot; alt=&quot;</span><span style="color: #bf1d1a;">&quot; width=&quot;</span><span style="color: #002200;">%</span>0.0f<span style="color: #bf1d1a;">&quot; height=&quot;</span><span style="color: #002200;">%</span>0.0f<span style="color: #bf1d1a;">&quot; /&gt;
&quot;</span>;
&nbsp;
<span style="color: #400080;">NSString</span><span style="color: #002200;">*</span> html <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #400080;">NSString</span> stringWithFormat<span style="color: #002200;">:</span>textHTML, url, frame.size.width, frame.size.height<span style="color: #002200;">&#93;</span>;
&nbsp;
<span style="color: #a61390;">if</span><span style="color: #002200;">&#40;</span>webView <span style="color: #002200;">==</span> <span style="color: #a61390;">nil</span><span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span>
webView <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>UIWebView alloc<span style="color: #002200;">&#93;</span> initWithFrame<span style="color: #002200;">:</span>frame<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span>self.view addSubview<span style="color: #002200;">:</span>webView<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #002200;">&#91;</span>webView loadHTMLString<span style="color: #002200;">:</span>html baseURL<span style="color: #002200;">:</span><span style="color: #a61390;">nil</span><span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#125;</span></pre></div></div>

<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/07/18/objective-c-online-image-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/07/18/objective-c-online-image-iphone/</feedburner:origLink></item>
		<item>
		<title>Flex Array Performance: For vs. ForEach</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/LsVjQGid0IM/</link>
		<comments>http://blog.timeister.com/2009/07/13/flex-array-performance-for-vs-foreach/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 19:52:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[array performance]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[for]]></category>
		<category><![CDATA[foreach]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=389</guid>
		<description><![CDATA[We made a little test to see the flex performance on parsing an large array.
Here is the experiment:

var size:Number = 10000000;
var arr:Array = &#91;&#93;;
for &#40;var i:int=0; i
var time:Number, o:Object;
&#160;
// for()
time = getTimer&#40;&#41;;
for &#40;i=0; i=0; i--&#41; &#123; arr&#91;i&#93;; &#125;
trace&#40;&#34;for reversed test: &#34;+&#40;getTimer&#40;&#41;-time&#41;+&#34;ms&#34;&#41;;
&#160;
// for..in
time = getTimer&#40;&#41;;
for each&#40;o in arr&#41; &#123; o; &#125;
trace&#40;&#34;for each test: &#34;+&#40;getTimer&#40;&#41;-time&#41;+&#34;ms&#34;&#41;;

And here are [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/3-1gGZaeASkGw2yIsiQm8ebehWM/0/da"><img src="http://feedads.g.doubleclick.net/~a/3-1gGZaeASkGw2yIsiQm8ebehWM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3-1gGZaeASkGw2yIsiQm8ebehWM/1/da"><img src="http://feedads.g.doubleclick.net/~a/3-1gGZaeASkGw2yIsiQm8ebehWM/1/di" border="0" ismap="true"></img></a></p><p>We made a little test to see the flex performance on parsing an large array.</p>
<p><span style="color: #008080;"><strong>Here is the experiment:</strong></span></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">var size<span style="color: #339933;">:</span>Number <span style="color: #339933;">=</span> <span style="color: #0000dd;">10000000</span><span style="color: #339933;">;</span>
var arr<span style="color: #339933;">:</span>Array <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span>var i<span style="color: #339933;">:</span><span style="color: #993333;">int</span><span style="color: #339933;">=</span><span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> i
var time<span style="color: #339933;">:</span>Number<span style="color: #339933;">,</span> o<span style="color: #339933;">:</span>Object<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// for()</span>
time <span style="color: #339933;">=</span> getTimer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span>i<span style="color: #339933;">=</span><span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> i<span style="color: #339933;">=</span><span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> i<span style="color: #339933;">--</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> arr<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
trace<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;for reversed test: &quot;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#40;</span>getTimer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span>time<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #ff0000;">&quot;ms&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// for..in</span>
time <span style="color: #339933;">=</span> getTimer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">for</span> each<span style="color: #009900;">&#40;</span>o in arr<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> o<span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
trace<span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;for each test: &quot;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#40;</span>getTimer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span>time<span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #ff0000;">&quot;ms&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><span style="color: #339966;"><strong>And here are the results:</strong></span></p>

<div class="wp_syntax"><div class="code"><pre class="as3" style="font-family:monospace;">for test: 124ms
for reversed test: 110ms
for each test: 261ms</pre></div></div>

<p>We wish you to use this results wisely !</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
The TiMeister Team</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/07/13/flex-array-performance-for-vs-foreach/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/07/13/flex-array-performance-for-vs-foreach/</feedburner:origLink></item>
		<item>
		<title>Flex: Unable To Open locale en_US or fr_FR</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/bFaYvoAAU_g/</link>
		<comments>http://blog.timeister.com/2009/07/13/flex-unable-to-open-locale-en_us-or-fr_fr/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 19:38:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[en_us]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Unable To Open locale]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=378</guid>
		<description><![CDATA[If you want to create a localized application you may find yourself in a strange situation when you did all the steps like in the book, but you continue to receive the &#8220;Unable to open locale xx_XX&#8221; error messages.
To simulate a fix on this issue we will take the example of adding French to your [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/L30xf7X7PHqn0fQ2bxnqG4O--E0/0/da"><img src="http://feedads.g.doubleclick.net/~a/L30xf7X7PHqn0fQ2bxnqG4O--E0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/L30xf7X7PHqn0fQ2bxnqG4O--E0/1/da"><img src="http://feedads.g.doubleclick.net/~a/L30xf7X7PHqn0fQ2bxnqG4O--E0/1/di" border="0" ismap="true"></img></a></p><p>If you want to create a localized application you may find yourself in a strange situation when you did all the steps like in the book, but you continue to receive the &#8220;Unable to open locale xx_XX&#8221; error messages.</p>
<p>To simulate a fix on this issue we will take the example of adding French to your app.</p>
<p><strong>Basic steps:</strong><br />
- The first step is to create a fr_FR folder under the /locale/ one exactly like in the Flex documentation and then add the translated bundle.properties file.<br />
- The second step is to add the compiler options:  -locale en_US,fr_FR</p>
<p></p>
<p><span style="color: #ff0000;"><strong>Extra steps</strong> you need to make in order to get rid of the ugly &#8220;unable to open locale&#8221; error message:</span></p>
<p>1. goto the following path :</p>
<blockquote><p><span style="color: #000080;"> &lt;flex-install-folder&gt;/sdks/&lt;current-sdk-folder&gt;/bin/</span></p></blockquote>
<p>for windows it&#8217;s: C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\</p>
<p>2. Execute the following command:</p>
<blockquote><p>&gt; <span style="color: #000080;">copylocale.exe en_US fr_FR</span></p></blockquote>
<p>That&#8217;s all, hope we helped you!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>The TiMeister Team</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/07/13/flex-unable-to-open-locale-en_us-or-fr_fr/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/07/13/flex-unable-to-open-locale-en_us-or-fr_fr/</feedburner:origLink></item>
		<item>
		<title>FLEX: Why is stage == null?</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/tP5lhB3ilV0/</link>
		<comments>http://blog.timeister.com/2009/07/13/flex-null-stage/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 19:11:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[null]]></category>
		<category><![CDATA[null stage]]></category>
		<category><![CDATA[stage]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=365</guid>
		<description><![CDATA[Hello,
If you are trying to access the stage of your application right when your app is completed then you&#8217;re doing something wrong.
BAD CODE Most of the cases programmers make the following mistake:
&#60;?xml version="1.0" encoding="utf-8"?&#62;
&#60;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()"&#62;
    &#60;mx:Script&#62;
        &#60;![CDATA[
            import flash.display.StageDisplayState;
            private [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/VSNy4eqDdc1kaWMIV50OUDvIoTk/0/da"><img src="http://feedads.g.doubleclick.net/~a/VSNy4eqDdc1kaWMIV50OUDvIoTk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/VSNy4eqDdc1kaWMIV50OUDvIoTk/1/da"><img src="http://feedads.g.doubleclick.net/~a/VSNy4eqDdc1kaWMIV50OUDvIoTk/1/di" border="0" ismap="true"></img></a></p><p>Hello,</p>
<p>If you are trying to access the stage of your application right when your app is completed then you&#8217;re doing something wrong.</p>
<p><strong><span style="color: #ff0000;">BAD CODE</span> </strong>Most of the cases programmers make the following mistake:</p>
<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()"&gt;
    &lt;mx:Script&gt;
        &lt;![CDATA[
            import flash.display.StageDisplayState;
            private function init():void
            {
                <span style="color: #ff6600;">var s:Stage = this.stage;</span> //&lt;&lt;-- this.stage == null...why??
                s.scaleMode = StageScaleMode.EXACT_FIT;
            }
        ]]&gt;
    &lt;/mx:Script&gt;
&lt;/mx:WindowedApplication&gt;
</code></pre>
<p><strong><span style="color: #99cc00;">GOOD CODE</span> </strong>: The correct approach is the following:</p>
<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:WindowedApplication
       xmlns:mx="http://www.adobe.com/2006/mxml"
       creationComplete="init()"&gt;
    &lt;mx:Script&gt;
        &lt;![CDATA[
            import flash.display.StageDisplayState;
            private function init():void
            {
                <span style="color: #008000;">this.systemManager.stage</span>.scaleMode = StageScaleMode.EXACT_FIT;
            }
        ]]&gt;
    &lt;/mx:Script&gt;
&lt;/mx:WindowedApplication&gt;
</code></pre>
<p>Hope we helped you with this issue we also had in our beginning as Flex Devlopers</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/07/13/flex-null-stage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/07/13/flex-null-stage/</feedburner:origLink></item>
		<item>
		<title>Top Flex Blogs and Resources</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/QYPMdJpV_Oc/</link>
		<comments>http://blog.timeister.com/2009/07/05/top-flex-blogs/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 13:40:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[top]]></category>
		<category><![CDATA[top 10]]></category>
		<category><![CDATA[top blogs]]></category>
		<category><![CDATA[top flex]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=347</guid>
		<description><![CDATA[Hello,
We would like to share with the list with our preferred blogs on adobe flex news , and also the top flex resource websites that could came handy anytime
NEWS and Cool Stuff:
* Mihai Corlan&#8217;s personal blog
 http://corlan.org &#8211; Mihai is a flash platform evangelist at Adobe Inc. and one of the most interesting peoples we [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/t1NUKLEwQxoYJNVJb_DBDVJestQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/t1NUKLEwQxoYJNVJb_DBDVJestQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/t1NUKLEwQxoYJNVJb_DBDVJestQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/t1NUKLEwQxoYJNVJb_DBDVJestQ/1/di" border="0" ismap="true"></img></a></p><p>Hello,</p>
<p>We would like to share with the list with our preferred blogs on adobe flex news , and also the top flex resource websites that could came handy anytime</p>
<p><b>NEWS and Cool Stuff:</b></p>
<p>* <a href="http://corlan.org">Mihai Corlan&#8217;s personal blog</a><br />
 http://corlan.org &#8211; Mihai is a flash platform evangelist at Adobe Inc. and one of the most interesting peoples we meet</p>
<p>* <a href="http://dougmccune.com/blog/">Doug McCune</a><br />
http://dougmccune.com/blog/ &#8211; Doug is a pretty big name in the Flex community (he gives presentations all over the country at Flex events), most of the items you are going to find on his site are examples of cool applications built using Flex.</p>
<p>* <a href="http://www.cflex.net/">CFLEX: Community Flex</a></p>
<p>http://www.cflex.net/</p>
<p>* <a href="http://www.dzone.com/links/index.html">Dzone</a><br />
http://www.dzone.com/links/index.html &#8211; Dzone is a great community based site for sharing developer links. The site is setup in a similar fashion as popular sites such as Digg or Reddit.</p>
<p>* <a href="http://flex.org/">Flex.org</a><br />
http://flex.org/ &#8211; Flex.org is the main community site for Flex developers, which includes a showcase and resources for everything from PHP to .Net.</p>
<p><b>Resources &#038; Examples:</b></p>
<p>* <a href="http://www.adobe.com/devnet/flex/">Adobe Flex Developer Center</a><br />
http://www.adobe.com/devnet/flex/ &#8211; The Adobe Developer Center is great resource for complete tutorials and articles on how to get started with Flex or any of the other Adobe products. The other Adobe resource is the Cookbook which is built off of community code snippets that solve small programming tasks.</p>
<p>* <a href="http://blog.flexexamples.com/">Flex Examples</a><br />
Peter deHaan currently works for Adobe on the Flex SDK QA team. He writes so many small tutorials that it&#8217;s hard to even keep up with this man on any level. </p>
<p>* <a href="http://blogs.adobe.com/aharui/">Alex Harui</a><br />
http://blogs.adobe.com/aharui/ -Alex writes short posts that are usually nice Flex examples solving common and uncommon problems people run across in Flex. He works with the Adobe Flex core team in San Francisco.</p>
<p>* <a href="http://www.scalenine.com/">ScaleNine</a><br />
 http://www.scalenine.com/ &#8211; Skins and Themes for Flex and AIR</p>
<p>* <a href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK">Flex SDK</a> </p>
<p>http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK</p>
<p>* <a href="http://flex.org/showcase/">Flex Showcase</a> </p>
<p>http://flex.org/showcase/</p>
<p>* <a href="http://www.adobe.com/devnet/flex/">Flex Developer Center</a></p>
<p>http://www.adobe.com/devnet/flex/</p>
<p>* <a href="http://www.franto.com/">Franto.com</a><br />
http://www.franto.com/</a> &#8211; Flex, AIR, Flash, ActionScript Tutorials, Tips, Tricks. </p>
<p>* <a href="http://www.theflexshow.com/blog/">The Flex Show</a></p>
<p>http://www.theflexshow.com/blog/</p>
<p>* <a href="http://casario.blogs.com/mmworld/">Marco Casario</a></p>
<p>http://casario.blogs.com/mmworld/</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/07/05/top-flex-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/07/05/top-flex-blogs/</feedburner:origLink></item>
		<item>
		<title>Flex and Silverlight: What Will the Next Five Years Look Like</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/95zx0uQt4wc/</link>
		<comments>http://blog.timeister.com/2009/07/05/flex-and-silverlight/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 08:39:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[ria]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=341</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/Zcgk_hxwoYl9lE1nb9a-V8eCwkY/0/da"><img src="http://feedads.g.doubleclick.net/~a/Zcgk_hxwoYl9lE1nb9a-V8eCwkY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Zcgk_hxwoYl9lE1nb9a-V8eCwkY/1/da"><img src="http://feedads.g.doubleclick.net/~a/Zcgk_hxwoYl9lE1nb9a-V8eCwkY/1/di" border="0" ismap="true"></img></a></p><p><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/dZHC3PuHUqs&#038;hl=en&#038;fs=1&#038;color1=0x006699&#038;color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/dZHC3PuHUqs&#038;hl=en&#038;fs=1&#038;color1=0x006699&#038;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<div style="height=20px"></div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/07/05/flex-and-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<media:content url="http://feedproxy.google.com/~r/timeister/~5/oQPSnCNSHC8/dZHC3PuHUqs&amp;" fileSize="1002" type="application/x-shockwave-flash" /><itunes:explicit>no</itunes:explicit><itunes:keywords>Adobe Flash, Adobe Flex &amp; AIR, Design, News, flex, future, ria, silverlight</itunes:keywords><feedburner:origLink>http://blog.timeister.com/2009/07/05/flex-and-silverlight/</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/timeister/~5/oQPSnCNSHC8/dZHC3PuHUqs&amp;" length="1002" type="application/x-shockwave-flash" /><feedburner:origEnclosureLink>http://www.youtube.com/v/dZHC3PuHUqs&amp;#038;hl=en&amp;#038;fs=1&amp;#038;color1=0x006699&amp;#038;color2=0x54abd6</feedburner:origEnclosureLink></item>
		<item>
		<title>RTMP specification is out</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/IzwwERdM3w4/</link>
		<comments>http://blog.timeister.com/2009/06/28/rtmp-specification-is-out/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 09:40:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[rtmp]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=330</guid>
		<description><![CDATA[The Real-Time Messaging Protocol (RTMP) was designed for high-performance transmission of audio, video, and data between Adobe Flash Platform technologies, including Adobe Flash Player and Adobe AIR. RTMP is now available as an open specification to create products and technology that enable delivery of video, audio, and data in the open AMF, SWF, FLV, and [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/y-T8UbHi62DO7z7KbgL0dqieAuc/0/da"><img src="http://feedads.g.doubleclick.net/~a/y-T8UbHi62DO7z7KbgL0dqieAuc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/y-T8UbHi62DO7z7KbgL0dqieAuc/1/da"><img src="http://feedads.g.doubleclick.net/~a/y-T8UbHi62DO7z7KbgL0dqieAuc/1/di" border="0" ismap="true"></img></a></p><p>The Real-Time Messaging Protocol (RTMP) was designed for high-performance transmission of audio, video, and data between Adobe Flash Platform technologies, including Adobe Flash Player and Adobe AIR. RTMP is now available as an open specification to create products and technology that enable delivery of video, audio, and data in the open AMF, SWF, FLV, and F4V formats compatible with Adobe Flash Player.</p>
<p><img alt="" src="http://www.adobe.com/devnet/flashmediaserver/articles/overview_streaming_fms3/fig01.jpg" title="Flash Flex RTMP" class="alignleft" width="580" height="325" /><br />
<a href='http://www.adobe.com/devnet/rtmp/pdf/rtmp_specification_1.0.pdf' >View Adobe RTMP Specification License</a></p>
<p>Mihai Corlan:</p>
<p>&#8220;We announced earlier this year that we’d open up the specifications for Real-Time Messaging Protocol (RTMP is the protocol used by Flash Media Server and LiveCycle Data Services). We did it today, and you can read the details<a href="http://www.adobe.com/devnet/rtmp/"> here.</a></p>
<p>Basically you can download the specifications and start implementing your own servers that make use of this highly efficient protocol for sending data between Adobe Flash Player or Adobe AIR apps and various servers.</p>
<p>It is worth noting that we didn’t open up anything related to RTMPe – Adobe’s implementation to secure the content. While you as a developer don’t have access to our implementation, you are free to implement your own secure implementation on top of RTMP.&#8221;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
TiMeister Team<br />
Online Timesheet Software</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/28/rtmp-specification-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<media:content url="http://feedproxy.google.com/~r/timeister/~5/S06Kf0UMJm4/rtmp_specification_1.0.pdf" fileSize="127590" type="application/pdf" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>The Real-Time Messaging Protocol (RTMP) was designed for high-performance transmission of audio, video, and data between Adobe Flash Platform technologies, including Adobe Flash Player and Adobe AIR. RTMP is now available as an open specification to creat</itunes:subtitle><itunes:summary>The Real-Time Messaging Protocol (RTMP) was designed for high-performance transmission of audio, video, and data between Adobe Flash Platform technologies, including Adobe Flash Player and Adobe AIR. RTMP is now available as an open specification to create products and technology that enable delivery of video, audio, and data in the open AMF, SWF, FLV, and [...]</itunes:summary><itunes:keywords>Adobe Flash, Adobe Flex &amp; AIR, Adobe, realtime, rtmp</itunes:keywords><feedburner:origLink>http://blog.timeister.com/2009/06/28/rtmp-specification-is-out/</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/timeister/~5/S06Kf0UMJm4/rtmp_specification_1.0.pdf" length="127590" type="application/pdf" /><feedburner:origEnclosureLink>http://www.adobe.com/devnet/rtmp/pdf/rtmp_specification_1.0.pdf</feedburner:origEnclosureLink></item>
		<item>
		<title>Create applications with Adobe Catalyst</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/6LZXN4CAZwU/</link>
		<comments>http://blog.timeister.com/2009/06/25/create-applications-with-adobe-catalyst/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 20:07:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=324</guid>
		<description><![CDATA[We wanted to share with you a great video tutorial about how to use Adobe Flash Catalyst and create Flex Applications starting just with an image.
The tutorial explains in details how you can create a Flex button and a scrollbar using Catalyst.


]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/2PvIFQlgMzvWs3ptXdS3vF4spos/0/da"><img src="http://feedads.g.doubleclick.net/~a/2PvIFQlgMzvWs3ptXdS3vF4spos/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2PvIFQlgMzvWs3ptXdS3vF4spos/1/da"><img src="http://feedads.g.doubleclick.net/~a/2PvIFQlgMzvWs3ptXdS3vF4spos/1/di" border="0" ismap="true"></img></a></p><p>We wanted to share with you a great video tutorial about how to use Adobe Flash Catalyst and create Flex Applications starting just with an image.<br />
The tutorial explains in details how you can create a Flex button and a scrollbar using Catalyst.</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/tNAde32pWT0&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/tNAde32pWT0&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/25/create-applications-with-adobe-catalyst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<media:content url="http://feedproxy.google.com/~r/timeister/~5/m2ly0cyA31M/tNAde32pWT0&amp;" fileSize="994" type="application/x-shockwave-flash" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>We wanted to share with you a great video tutorial about how to use Adobe Flash Catalyst and create Flex Applications starting just with an image. The tutorial explains in details how you can create a Flex button and a scrollbar using Catalyst. </itunes:subtitle><itunes:summary>We wanted to share with you a great video tutorial about how to use Adobe Flash Catalyst and create Flex Applications starting just with an image. The tutorial explains in details how you can create a Flex button and a scrollbar using Catalyst. </itunes:summary><itunes:keywords>Uncategorized</itunes:keywords><feedburner:origLink>http://blog.timeister.com/2009/06/25/create-applications-with-adobe-catalyst/</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/timeister/~5/m2ly0cyA31M/tNAde32pWT0&amp;" length="994" type="application/x-shockwave-flash" /><feedburner:origEnclosureLink>http://www.youtube.com/v/tNAde32pWT0&amp;#038;hl=en&amp;#038;fs=1&amp;#038;rel=0&amp;#038;color1=0x3a3a3a&amp;#038;color2=0x999999</feedburner:origEnclosureLink></item>
		<item>
		<title>Objective C Get iPhone Device GUID</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/sO6axexVaF4/</link>
		<comments>http://blog.timeister.com/2009/06/25/objective-c-get-iphone-device-guid/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:37:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[device id]]></category>
		<category><![CDATA[guid]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=312</guid>
		<description><![CDATA[Following Xcode reveals you the device id

UIDevice *device = [UIDevice currentDevice];
NSString *uniqueIdentifier = [device uniqueIdentifier];
/*[device release];*/
NSLog(@&#8221;Device GUID: %@&#8221;, uniqueIdentifier);



]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/NmKtQdJwQRi7p8pHyDE1j-sLXJo/0/da"><img src="http://feedads.g.doubleclick.net/~a/NmKtQdJwQRi7p8pHyDE1j-sLXJo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/NmKtQdJwQRi7p8pHyDE1j-sLXJo/1/da"><img src="http://feedads.g.doubleclick.net/~a/NmKtQdJwQRi7p8pHyDE1j-sLXJo/1/di" border="0" ismap="true"></img></a></p><p>Following Xcode reveals you the device id</p>
<div style="background-color:#f0f0f0;">
UIDevice *device = [UIDevice currentDevice];<br />
NSString *uniqueIdentifier = [device uniqueIdentifier];<br />
/*[device release];*/<br />
NSLog(@&#8221;Device GUID: %@&#8221;, uniqueIdentifier);
</div>
<div style="padding-bottom:20px"></div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/25/objective-c-get-iphone-device-guid/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/06/25/objective-c-get-iphone-device-guid/</feedburner:origLink></item>
		<item>
		<title>Objective C Get iPhone number</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/X5zq0czfDZM/</link>
		<comments>http://blog.timeister.com/2009/06/25/objective-c-get-iphone-number/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:36:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iPhone SDK]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=309</guid>
		<description><![CDATA[How to get the iphone number from sim using xcode or objective c?
NSString *num = [[NSUserDefaults standardUserDefaults] stringForKey:@&#8221;SBFormattedPhoneNumber&#8221;];
NSLog(@&#8221;Phone Number: %@&#8221;, num);


]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/r5ylx1yQPzWq9NaIGESFA6fMDBQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/r5ylx1yQPzWq9NaIGESFA6fMDBQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/r5ylx1yQPzWq9NaIGESFA6fMDBQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/r5ylx1yQPzWq9NaIGESFA6fMDBQ/1/di" border="0" ismap="true"></img></a></p><p></p>
<p>How to get the iphone number from sim using xcode or objective c?</p>
<div style="background-color:#f0f0f0">NSString *num = [[NSUserDefaults standardUserDefaults] stringForKey:@&#8221;SBFormattedPhoneNumber&#8221;];<br />
NSLog(@&#8221;Phone Number: %@&#8221;, num);</div>
<div style="padding-top:20px"></div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/25/objective-c-get-iphone-number/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/06/25/objective-c-get-iphone-number/</feedburner:origLink></item>
		<item>
		<title>Call function from Flex to Flash</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/I0CjqEsaxw4/</link>
		<comments>http://blog.timeister.com/2009/06/24/call-function-from-flex-to-flash/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 20:47:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[call]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[comunication]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[function]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/2009/06/24/call-function-from-flex-to-flash/</guid>
		<description><![CDATA[How to call a flash function from flex?

Load the AS3 swf file using an instance of SWFLoader.
Call the function like this:

  mySWFLoader.content.functionName();   

How to listen for flash events from flex?

// In your Flex app
/* called when your SWFLoader finishes loading the SWF */
private function onMySWFLoaded( p_event:Event ) :void
{
&#160;&#160;&#160;&#160;&#160;&#160;mySWFLoader.content.addEventListener( &#8220;clicked&#8221;, onSWFClick );
}
/* callback [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/pi05eEFKfSYI5TAh-wLi4HT7lPY/0/da"><img src="http://feedads.g.doubleclick.net/~a/pi05eEFKfSYI5TAh-wLi4HT7lPY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/pi05eEFKfSYI5TAh-wLi4HT7lPY/1/da"><img src="http://feedads.g.doubleclick.net/~a/pi05eEFKfSYI5TAh-wLi4HT7lPY/1/di" border="0" ismap="true"></img></a></p><p></p>
<blockquote><p><strong>How to call a flash function from flex?</strong></p></blockquote>
<ol>
<li>Load the AS3 swf file using an instance of SWFLoader.</li>
<li>Call the function like this:</li>
</ol>
<div style="border: 1px solid #000000; background-color:#f0f0f0"><span style="COLOR: #0000ff;">  mySWFLoader.content.functionName();   </span></div>
<div style="height:12px"></div>
<blockquote><p><strong>How to listen for flash events from flex?</strong></p></blockquote>
<ol>
<li><span><strong>// In your Flex app</strong><br />
/* called when your SWFLoader finishes loading the SWF */<br />
private function onMySWFLoaded( p_event:Event ) :void<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mySWFLoader.content.addEventListener( &#8220;clicked&#8221;, onSWFClick );<br />
}</p>
<p>/* callback for the clicked event */<br />
private function onSWFClick( event:Event ) :void<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mx.controls.Alert.show( &#8216;Click event raised!&#8217; );<br />
}</p>
<p></span></li>
<li><span><strong>// In Flash Movie </strong><br />
/* called when the button in your flash movie is clicked */<br />
private function onButtonClick( p_event:Event ) :void<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dispatchEvent( new Event( &#8220;clicked&#8221; );<br />
}</span></li>
</ol>
<blockquote><p><strong>How to call a flex function from flash at a specific frame?</strong></p></blockquote>
<p>Embed<span style="COLOR: #000000">(</span><span style="COLOR: #004993">source</span>=<span style="COLOR: #990000">&#8220;../assets/swf/myFlashComponent.swf&#8221;</span><span style="COLOR: #000066; FONT-WEIGHT: bold">,</span> symbol=<span style="COLOR: #990000">&#8220;Preloader&#8221;</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000">]</span><br />
<span style="COLOR: #0033ff; FONT-WEIGHT: bold">private</span> <span style="COLOR: #6699cc; FONT-WEIGHT: bold">var</span> FlashPreloaderSymbol<span style="COLOR: #000066; FONT-WEIGHT: bold">:</span><span style="COLOR: #004993">Class</span><span style="COLOR: #000066; FONT-WEIGHT: bold">;</span><br />
<span style="COLOR: #0033ff; FONT-WEIGHT: bold">private</span> <span style="COLOR: #6699cc; FONT-WEIGHT: bold">var</span> clip<span style="COLOR: #000066; FONT-WEIGHT: bold">:</span><span style="COLOR: #004993">MovieClip</span><span style="COLOR: #000066; FONT-WEIGHT: bold">;</span></p>
<p>clip = <span style="COLOR: #0033ff; FONT-WEIGHT: bold">new</span> FlashPreloaderSymbol<span style="COLOR: #000000">(</span><span style="COLOR: #000000">)</span><span style="COLOR: #000066; FONT-WEIGHT: bold">;</span><br />
<span style="COLOR: #004993">addChild</span><span style="COLOR: #000000">(</span>clip<span style="COLOR: #000000">)</span><span style="COLOR: #000066; FONT-WEIGHT: bold">;</span></p>
<p><span style="COLOR: #0033ff; FONT-WEIGHT: bold">private</span> <span style="COLOR: #339966; FONT-WEIGHT: bold">function</span> onFlexInitComplete<span style="COLOR: #000000">(</span> event<span style="COLOR: #000066; FONT-WEIGHT: bold">:</span>FlexEvent <span style="COLOR: #000000">)</span><span style="COLOR: #000066; FONT-WEIGHT: bold">:</span><span style="COLOR: #0033ff; FONT-WEIGHT: bold">void</span><br />
<span style="COLOR: #000000">{</span><br />
clip<span style="COLOR: #000066; FONT-WEIGHT: bold">.</span>addFrameScript<span style="COLOR: #000000">(</span>47<span style="COLOR: #000066; FONT-WEIGHT: bold">,</span> callMyFunction<span style="COLOR: #000000">)</span><span style="COLOR: #000066; FONT-WEIGHT: bold">;</span><br />
<span style="COLOR: #000000">}</span></p>
<p><span style="COLOR: #000000;height:10px"><br />
</span><br />
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/24/call-function-from-flex-to-flash/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/06/24/call-function-from-flex-to-flash/</feedburner:origLink></item>
		<item>
		<title>Create applications with Adobe Catalyst</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/8w6mDiYvxE8/</link>
		<comments>http://blog.timeister.com/2009/06/24/create-applications-with-catalyst/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 17:58:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[catalyst]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=294</guid>
		<description><![CDATA[We wanted to share with you a great video tutorial about how to use Adobe Flash Catalyst and create Flex Applications starting just with an image.
The tutorial explains in details how you can create a Flex button and a scrollbar using Catalyst.

]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/5IsfjPRy28JGY3BQ7QXQ1n5cW_A/0/da"><img src="http://feedads.g.doubleclick.net/~a/5IsfjPRy28JGY3BQ7QXQ1n5cW_A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5IsfjPRy28JGY3BQ7QXQ1n5cW_A/1/da"><img src="http://feedads.g.doubleclick.net/~a/5IsfjPRy28JGY3BQ7QXQ1n5cW_A/1/di" border="0" ismap="true"></img></a></p><p><br />
We wanted to share with you a great video tutorial about how to use Adobe Flash Catalyst and create Flex Applications starting just with an image.<br />
The tutorial explains in details how you can create a Flex button and a scrollbar using Catalyst.</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/tNAde32pWT0&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/tNAde32pWT0&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x3a3a3a&#038;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/24/create-applications-with-catalyst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<media:content url="http://feedproxy.google.com/~r/timeister/~5/m2ly0cyA31M/tNAde32pWT0&amp;" fileSize="994" type="application/x-shockwave-flash" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>We wanted to share with you a great video tutorial about how to use Adobe Flash Catalyst and create Flex Applications starting just with an image. The tutorial explains in details how you can create a Flex button and a scrollbar using Catalyst. </itunes:subtitle><itunes:summary>We wanted to share with you a great video tutorial about how to use Adobe Flash Catalyst and create Flex Applications starting just with an image. The tutorial explains in details how you can create a Flex button and a scrollbar using Catalyst. </itunes:summary><itunes:keywords>Adobe Flash, Adobe Flex &amp; AIR, Design, button, catalyst, flex, tutorial, video</itunes:keywords><feedburner:origLink>http://blog.timeister.com/2009/06/24/create-applications-with-catalyst/</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/timeister/~5/m2ly0cyA31M/tNAde32pWT0&amp;" length="994" type="application/x-shockwave-flash" /><feedburner:origEnclosureLink>http://www.youtube.com/v/tNAde32pWT0&amp;#038;hl=en&amp;#038;fs=1&amp;#038;rel=0&amp;#038;color1=0x3a3a3a&amp;#038;color2=0x999999</feedburner:origEnclosureLink></item>
		<item>
		<title>TiMeister Promotion</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/fUZhP2K3w6M/</link>
		<comments>http://blog.timeister.com/2009/06/14/timeister-promotion/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 21:29:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=275</guid>
		<description><![CDATA[Banner maker
Subscribe to newsletter and get 50% of Timeister Premium Pack
Subscribe now to our blog newsletter and get rid of 50% from Timeister Premium Pack.
 TiMeister is FREE Online Timesheet Software and it will be launched for beta testing in a few.



Register and receive stunning news, tutorials and promotions

E-mail: 


	//

 YES, I want in!
 Unsubscribe







Don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/irBUScH19HLlhdxZwqYHXb95qh0/0/da"><img src="http://feedads.g.doubleclick.net/~a/irBUScH19HLlhdxZwqYHXb95qh0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/irBUScH19HLlhdxZwqYHXb95qh0/1/da"><img src="http://feedads.g.doubleclick.net/~a/irBUScH19HLlhdxZwqYHXb95qh0/1/di" border="0" ismap="true"></img></a></p><p><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNDUwMTQ4MDMxNjgmcHQ9MTI*NTAxNDg5MzYwNiZwPTQ1NTkzMiZkPSZnPTImdD*mbz*2ZDc4NTlkMDQ4NTQ*MjI1OGFlMGU*M2QwMDNjZTgxYSZvZj*w.gif" /><object type='application/x-shockwave-flash' data='http://files.bannersnack.net/app/swf/EmbedCanvas.swf?hash_id=470077fb6a79e0d19455716f7ab84693&amp;bgcolor=141414' width='435' height='75'><param name='movie' value='http://files.bannersnack.net/app/swf/EmbedCanvas.swf?hash_id=470077fb6a79e0d19455716f7ab84693&amp;bgcolor=141414'><param name='bgcolor' value='#141414'></object><noscript><a href='http://bannersnack.com/' title='BannerSnack - the free flash banner maker'>Banner maker</a></noscript></p>
<p><span style="color: #ff0000;"><strong>Subscribe to newsletter and get 50% of Timeister Premium Pack</strong></span></p>
<p>Subscribe now to our blog newsletter and get rid of 50% from Timeister Premium Pack.<br />
<strong> TiMeister</strong> is FREE Online Timesheet Software and it will be launched for beta testing in a few.<br />
</p>
<div style="padding-left:30px;padding-right:10px;padding-top:10px;padding-bottom:10px;background-color:#ffffbc;">
<a name="wpsbw"></a>
<div class="widget module">Register and receive stunning news, tutorials and promotions<br />
<form action="#wpsbw" method="post">
<p class="wpsb_form_label">E-mail:<br /> <br />
<input type="text" name="wpsb_email" id="wpsb_email" class="wpsb_form_txt" /></p>
<p><script type="text/javascript">
	//<![CDATA[	
		function wpsb_toggle_custom_fields (state) {
			for (i=2; i<16; i++) {
				if (obj = document.getElementById('wpsb_fld_'+i)) {
					obj.disabled = !state;
					obj.readOnly = !state;
				}
			}
		}
	//]]&gt;
	</script></p>
<p class="wpsb_form_label">
<input type="radio" name="wpsb_radio_option" id="wpsb_radio_option1" onclick="wpsb_toggle_custom_fields(1)" class="wpsb_form_radio" value="wpsb_radio_in" checked="checked" /> YES, I want in!<br/><br />
<input type="radio" name="wpsb_radio_option" id="wpsb_radio_option2" onclick="wpsb_toggle_custom_fields(0)" class="wpsb_form_radio" value="wpsb_radio_out" /> Unsubscribe</p>
<p class="wpsb_form_label">
<input type="submit" value="Submit" class="wpsb_form_btn" /></p>
</form>
<p><!-- Made by www.Sendblaster.com Newsletter Software Opt-in -->
</div>
</div>
<p></p>
<p>Don&#8217;t miss this offer and also take andvantage of our great blog posts by just entering your e-mail address <img src='http://blog.timeister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
The TiMeister Team</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/14/timeister-promotion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<media:content url="http://feedproxy.google.com/~r/timeister/~5/oEy0_PLxNSQ/EmbedCanvas.swf" fileSize="10912" type="application/x-shockwave-flash" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>Banner maker Subscribe to newsletter and get 50% of Timeister Premium Pack Subscribe now to our blog newsletter and get rid of 50% from Timeister Premium Pack. TiMeister is FREE Online Timesheet Software and it will be launched for beta testing in a few. </itunes:subtitle><itunes:summary>Banner maker Subscribe to newsletter and get 50% of Timeister Premium Pack Subscribe now to our blog newsletter and get rid of 50% from Timeister Premium Pack. TiMeister is FREE Online Timesheet Software and it will be launched for beta testing in a few. Register and receive stunning news, tutorials and promotions E-mail: // YES, I want in! Unsubscribe Don&amp;#8217;t [...]</itunes:summary><itunes:keywords>Uncategorized</itunes:keywords><feedburner:origLink>http://blog.timeister.com/2009/06/14/timeister-promotion/</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/timeister/~5/oEy0_PLxNSQ/EmbedCanvas.swf" length="10912" type="application/x-shockwave-flash" /><feedburner:origEnclosureLink>http://files.bannersnack.net/app/swf/EmbedCanvas.swf?hash_id=470077fb6a79e0d19455716f7ab84693&amp;amp;bgcolor=141414</feedburner:origEnclosureLink></item>
		<item>
		<title>TOP 10 Twitter AIR Applications</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/uidHn-NYy_c/</link>
		<comments>http://blog.timeister.com/2009/06/11/top-10-twitter-air-applications/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 19:20:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[Widgets]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[top 10]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=259</guid>
		<description><![CDATA[Twitter -  My favorite AIR  Applications for Twitter


SpreadTweet
Seesmic Desktop
Sideline
DestroyTwitter
AlertThingy 2
Twibble
SocialAddict
Tweetdeck
Spaz
Twhirl



]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/cnTMiEfAjXZCiLW-U2K0BjRQbps/0/da"><img src="http://feedads.g.doubleclick.net/~a/cnTMiEfAjXZCiLW-U2K0BjRQbps/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/cnTMiEfAjXZCiLW-U2K0BjRQbps/1/da"><img src="http://feedads.g.doubleclick.net/~a/cnTMiEfAjXZCiLW-U2K0BjRQbps/1/di" border="0" ismap="true"></img></a></p><p><strong>Twitter -  My favorite AIR  Applications for Twitter</strong><br />
</p>
<ul>
<li><a href="http://elliottkember.com/spreadtweet/">SpreadTweet<a></li>
<li><a href="http://desktop.seesmic.com/">Seesmic Desktop<a></li>
<li><a href="http://sideline.yahoo.com/">Sideline<a></li>
<li><a href="http://destroytoday.com/?p=Project&#038;id=DestroyTwitter">DestroyTwitter<a></li>
<li><a href="http://alertthingy.com/">AlertThingy 2<a></li>
<li><a href="http://www.twibble.de/twibble-desktop/">Twibble<a></li>
<li><a href="http://www.twistermc.com/blog/2008/06/23/socialaddict">SocialAddict<a></li>
<li><a href="http://www.tweetdeck.com/">Tweetdeck<a></li>
<li><a href="http://funkatron.com/spaz">Spaz<a></li>
<li><a href="http://www.twhirl.org/">Twhirl<a></li>
</ul>
<p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/11/top-10-twitter-air-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/06/11/top-10-twitter-air-applications/</feedburner:origLink></item>
		<item>
		<title>Flex Gumbo – Displaying a video using the VideoElement</title>
		<link>http://feedproxy.google.com/~r/timeister/~3/58A4jbBGobU/</link>
		<comments>http://blog.timeister.com/2009/06/11/flex-video/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 18:40:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex & AIR]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.timeister.com/?p=256</guid>
		<description><![CDATA[The following example shows how you can display a video using the chromeless VideoElement control in Flex Gumbo.

&#60;?xml version="1.0" encoding="utf-8"?&#62;
&#60;!-- http://blog.flexexamples.com/2009/05/14/displaying-a-video-using-the-videoelement-control-in-flex-gumbo/ --&#62;
&#60;s:Application name="Spark_VideoElement_test"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"&#62; 

    &#60;mx:ApplicationControlBar width="100%" cornerRadius="0"&#62;
  [...]]]></description>
			<content:encoded><![CDATA[
<p><a href="http://feedads.g.doubleclick.net/~a/2D0S1EnCzHrsr5JR4-S51LA5gx0/0/da"><img src="http://feedads.g.doubleclick.net/~a/2D0S1EnCzHrsr5JR4-S51LA5gx0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2D0S1EnCzHrsr5JR4-S51LA5gx0/1/da"><img src="http://feedads.g.doubleclick.net/~a/2D0S1EnCzHrsr5JR4-S51LA5gx0/1/di" border="0" ismap="true"></img></a></p><p>The following example shows <strong>how you can display a video using the chromeless VideoElement</strong> control in Flex Gumbo.</p>
<p></p>
<pre class="code"><span style="color: #3366ff;">&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!-- http://blog.flexexamples.com/2009/05/14/displaying-a-video-using-the-videoelement-control-in-flex-gumbo/ --&gt;
&lt;s:Application name="Spark_VideoElement_test"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"&gt; 

    &lt;mx:ApplicationControlBar width="100%" cornerRadius="0"&gt;
        &lt;s:Button id="playBtn"
                label="play"
                click="videoElement.play();" /&gt;
        &lt;s:Button id="pauseBtn"
                label="pause"
                click="videoElement.pause();" /&gt;
        &lt;s:Button id="stopBtn"
                label="stop"
                click="videoElement.stop();" /&gt;
        &lt;s:CheckBox id="mutedCheckBox"
                label="muted"
                selected="true"
                click="videoElement.muted = mutedCheckBox.selected;" /&gt;
        &lt;s:Graphic&gt;
            &lt;s:SimpleText id="playheadTimeLabel"
                    text="{videoElement.playheadTime.toFixed(3)}" /&gt;
        &lt;/s:Graphic&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;s:Group horizontalCenter="0" verticalCenter="0"&gt;
        &lt;s:VideoElement id="videoElement"
                autoRewind="true"
                source="http://helpexamples.com/flash/video/cuepoints.flv"
                muted="true"/&gt;
    &lt;/s:Group&gt;

&lt;/s:Application&gt;</span></pre>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.timeister.com/2009/06/11/flex-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.timeister.com/2009/06/11/flex-video/</feedburner:origLink></item>
	<media:rating>nonadult</media:rating></channel>
</rss>
