<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1835904197994689281</id><updated>2012-01-31T10:37:45.783-08:00</updated><category term='SQL Script'/><category term='CustomPreloader'/><category term='Flex'/><category term='WebService'/><category term='design view'/><category term='OLAPCube'/><category term='Flex Builder 3 Beta 2'/><category term='SDK'/><category term='AS3'/><title type='text'>FLEXibleMySelf</title><subtitle type='html'>Adobe Flex and development stuff</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://flexiblemyself.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://flexiblemyself.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>FLEXibleMySelf</name><uri>http://www.blogger.com/profile/11887934687219771855</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1835904197994689281.post-5862560455207856020</id><published>2008-03-25T08:40:00.000-07:00</published><updated>2008-03-25T08:46:48.057-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OLAPCube'/><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Create an OLAPCube in Actionscript</title><content type='html'>Great post about how to create an OLAPCube object in Actionscript. Very usefull when you keep it mind that you increase the query performance by only addings the levels and informations you need for your query.&lt;br /&gt;&lt;br /&gt;Click &lt;a href="http://flexpearls.blogspot.com/2008/03/creating-olapcube-in-as.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1835904197994689281-5862560455207856020?l=flexiblemyself.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexiblemyself.blogspot.com/feeds/5862560455207856020/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1835904197994689281&amp;postID=5862560455207856020' title='1 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/5862560455207856020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/5862560455207856020'/><link rel='alternate' type='text/html' href='http://flexiblemyself.blogspot.com/2008/03/create-olapcube-in-actionscript.html' title='Create an OLAPCube in Actionscript'/><author><name>FLEXibleMySelf</name><uri>http://www.blogger.com/profile/11887934687219771855</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1835904197994689281.post-5256693193627677510</id><published>2008-01-10T10:49:00.000-08:00</published><updated>2008-01-15T02:35:43.287-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CustomPreloader'/><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Custom preloader final version</title><content type='html'>Code updated!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp1.blogger.com/_EZrAwOcKv70/R4ZrwHXZgnI/AAAAAAAAAAk/2PDtiGpIrBU/s1600-h/Screenshot.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5153925297927193202" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://bp1.blogger.com/_EZrAwOcKv70/R4ZrwHXZgnI/AAAAAAAAAAk/2PDtiGpIrBU/s320/Screenshot.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I finally find 10 minutes to try to put a progress information in the progress bar control.&lt;br /&gt;The solution was to use a TextField objet write some stuff in it, use a BitmapObject to copy the TextField object into it and then draw the new created BitmapData object on the big one.&lt;br /&gt;Here is the code to only draw the progress text:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style=";font-family:arial;font-size:78%;"  &gt;var textField: TextField = new TextField();&lt;br /&gt;textField.htmlText = m_Progress.toFixed(0) + "%";&lt;br /&gt;var textBitmapData: BitmapData = new BitmapData(textField.textWidth + 5, textField.textHeight);&lt;br /&gt;textBitmapData.floodFill(0, 0, ProgressBarBackground);&lt;br /&gt;textBitmapData.draw(textField);&lt;br /&gt;var textBitmapMatrix: Matrix = new Matrix();&lt;br /&gt;textBitmapMatrix.translate(px + (containerWidth) / 2, py + (ProgressHeight - textBitmapData.height) / 2);&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The full source code can be found &lt;a href="http://www.cubetray.com/custompreloader2/CustomProgressBar.html"&gt;here&lt;/a&gt; .&lt;span style="font-size:78%;"&gt; (Right click somwhere and select "View code..." to see the source code)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As usual, if someone improve the code please post a comment.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;UPDATE:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;"&gt;Thanks for the info there is something wrong with the "view source..." function.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;"&gt;I added an archive file with the source code. this can be found &lt;/span&gt;&lt;a style="color: rgb(255, 255, 255); font-weight: bold;" href="http://www.cubetray.com/CustomPreloader2/CustomProgressBar.rar"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255); font-weight: bold;"&gt;Sorry for this.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:78%;"  &gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1835904197994689281-5256693193627677510?l=flexiblemyself.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexiblemyself.blogspot.com/feeds/5256693193627677510/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1835904197994689281&amp;postID=5256693193627677510' title='20 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/5256693193627677510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/5256693193627677510'/><link rel='alternate' type='text/html' href='http://flexiblemyself.blogspot.com/2008/01/custom-preloader-final-version.html' title='Custom preloader final version'/><author><name>FLEXibleMySelf</name><uri>http://www.blogger.com/profile/11887934687219771855</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_EZrAwOcKv70/R4ZrwHXZgnI/AAAAAAAAAAk/2PDtiGpIrBU/s72-c/Screenshot.jpg' height='72' width='72'/><thr:total>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1835904197994689281.post-1441145138013060118</id><published>2007-11-20T23:07:00.000-08:00</published><updated>2007-11-20T23:18:10.606-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='WebService'/><title type='text'>Get data from a WebService</title><content type='html'>Getting data from a webservice is pretty easy, but the first time I had the problem that the ResultEvent object had two different definitions, one when there is only one line in the table and the second when there is more than one line in the table.&lt;br /&gt;When the query returns only one line the type of the event.result object is ObjectProxy, if the query returns more than one line the definition is an Array.&lt;br /&gt;I can check this with a very simple static function that I put in an utility class. The function looks like this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#ccffff;"&gt;public static function IsObjectArray(obj: Object): Boolean&lt;br /&gt;{&lt;br /&gt;var className: String = ObjectUtil.getClassInfo(obj).name;&lt;br /&gt;if (className=="mx.collections::ArrayCollection"){&lt;br /&gt;return true;&lt;br /&gt;}&lt;br /&gt;return false;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now when you getting data from a webservice you only have to do things link this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#ccffff;"&gt;private function getSomeDataFromMyWebservice(event: ResultEvent): void{&lt;br /&gt;if (event.result){&lt;br /&gt;if (&lt;write class=""&gt;.IsObjectArray(event.result)){&lt;br /&gt;for each(var item: Object in event.result){&lt;br /&gt;}&lt;br /&gt;}else{&lt;br /&gt;//event.result is from type Object.&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1835904197994689281-1441145138013060118?l=flexiblemyself.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexiblemyself.blogspot.com/feeds/1441145138013060118/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1835904197994689281&amp;postID=1441145138013060118' title='18 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/1441145138013060118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/1441145138013060118'/><link rel='alternate' type='text/html' href='http://flexiblemyself.blogspot.com/2007/11/get-data-from-webservice.html' title='Get data from a WebService'/><author><name>FLEXibleMySelf</name><uri>http://www.blogger.com/profile/11887934687219771855</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1835904197994689281.post-6706353092852992923</id><published>2007-11-11T08:01:00.000-08:00</published><updated>2007-11-20T23:06:39.171-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex Builder 3 Beta 2'/><category scheme='http://www.blogger.com/atom/ns#' term='design view'/><title type='text'>Flex Builder 3 Beta 2 design view doesn't show anything</title><content type='html'>I had this problem a few times. I thought it came from my own designed components but it also happened in my application component. &lt;a href="http://www.rogue-development.com/blog/2007/10/fb3-beta-2-design-view-not-showing-up.html#links"&gt;Here&lt;/a&gt; is a link to solve this problem... The solution is pretty easy and works fine!&lt;br /&gt;&lt;a&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1835904197994689281-6706353092852992923?l=flexiblemyself.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexiblemyself.blogspot.com/feeds/6706353092852992923/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1835904197994689281&amp;postID=6706353092852992923' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/6706353092852992923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/6706353092852992923'/><link rel='alternate' type='text/html' href='http://flexiblemyself.blogspot.com/2007/11/flex-builder-3-beta-2-design-view.html' title='Flex Builder 3 Beta 2 design view doesn&apos;t show anything'/><author><name>FLEXibleMySelf</name><uri>http://www.blogger.com/profile/11887934687219771855</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1835904197994689281.post-7852302854686664239</id><published>2007-11-07T05:38:00.000-08:00</published><updated>2007-11-07T05:50:47.755-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Script'/><title type='text'>SQL Script : Export Database</title><content type='html'>Here is a SQL Script that I use to export all the data from one MSSQL database to an other MSSQL.&lt;br /&gt;It's very usefull when you quickly want to have the same database on your development machine but you are not able to backup the original database, because you don't have enought rights.&lt;br /&gt;&lt;br /&gt;The file can be download &lt;a href="http://www.cubetray.com/Scripts/SQL/ScriptDBContent.txt"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1835904197994689281-7852302854686664239?l=flexiblemyself.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexiblemyself.blogspot.com/feeds/7852302854686664239/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1835904197994689281&amp;postID=7852302854686664239' title='0 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/7852302854686664239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/7852302854686664239'/><link rel='alternate' type='text/html' href='http://flexiblemyself.blogspot.com/2007/11/sql-script-export-database.html' title='SQL Script : Export Database'/><author><name>FLEXibleMySelf</name><uri>http://www.blogger.com/profile/11887934687219771855</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1835904197994689281.post-3991040441601053151</id><published>2007-10-31T00:30:00.000-07:00</published><updated>2008-01-29T02:49:36.322-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CustomPreloader'/><category scheme='http://www.blogger.com/atom/ns#' term='SDK'/><title type='text'>Preloader in Flex 3 beta 2</title><content type='html'>Since the new beta release of the flex framework, the preloader wasn't working anymore. It looks like the problem has been solved in one of the nightly build pre-release of the sdk.&lt;br /&gt;For more information please follow the links&lt;br /&gt;&lt;br /&gt;&lt;a href="http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html"&gt;Nightly build web site&lt;/a&gt; download build number 184063.&lt;br /&gt;&lt;br /&gt;Where the bug was reported and the adobe solution &lt;a href="https://bugs.adobe.com/jira/browse/SDK-12883"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Full sample code &lt;a href="http://flexiblemyself.blogspot.com/2008/01/custom-preloader-final-version.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1835904197994689281-3991040441601053151?l=flexiblemyself.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexiblemyself.blogspot.com/feeds/3991040441601053151/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1835904197994689281&amp;postID=3991040441601053151' title='7 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/3991040441601053151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/3991040441601053151'/><link rel='alternate' type='text/html' href='http://flexiblemyself.blogspot.com/2007/10/preloade-flex-3-beta-2.html' title='Preloader in Flex 3 beta 2'/><author><name>FLEXibleMySelf</name><uri>http://www.blogger.com/profile/11887934687219771855</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1835904197994689281.post-6958073630635144044</id><published>2007-10-06T14:38:00.000-07:00</published><updated>2008-01-29T02:49:10.071-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CustomPreloader'/><category scheme='http://www.blogger.com/atom/ns#' term='AS3'/><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Custom preloader</title><content type='html'>Like a lot of people I wanted to add my own preloader in my application. In my google searches I found a very helpfull post from Ted Patrick &lt;a href="http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php"&gt;here&lt;/a&gt;. In some ways it was a very good explanation about how the whole thing works but something was missing... the progress bar!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cubetray.com/custompreloader/customprogressbar.html"&gt;Here&lt;/a&gt; is my custom preloader example. Hope this while help.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cubetray.com/custompreloader/customprogressbar.html"&gt;&lt;img id="BLOGGER_PHOTO_ID_5118201823853649778" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://bp2.blogger.com/_EZrAwOcKv70/RweBcP-Nn3I/AAAAAAAAAAM/XcdDq47HJu8/s400/ProgressBar.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Some stuff need to be added. for example the percent progress label. If someone is quicker than I to implement it please post a link in the comments.&lt;br /&gt;&lt;br /&gt;PS: Right click and select "View Source..." to see how the things are working together.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;New Sample with progress percent &lt;a href="http://flexiblemyself.blogspot.com/2008/01/custom-preloader-final-version.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1835904197994689281-6958073630635144044?l=flexiblemyself.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://flexiblemyself.blogspot.com/feeds/6958073630635144044/comments/default' title='Kommentare zum Post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1835904197994689281&amp;postID=6958073630635144044' title='34 Kommentare'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/6958073630635144044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1835904197994689281/posts/default/6958073630635144044'/><link rel='alternate' type='text/html' href='http://flexiblemyself.blogspot.com/2007/10/custom-preloader.html' title='Custom preloader'/><author><name>FLEXibleMySelf</name><uri>http://www.blogger.com/profile/11887934687219771855</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_EZrAwOcKv70/RweBcP-Nn3I/AAAAAAAAAAM/XcdDq47HJu8/s72-c/ProgressBar.jpg' height='72' width='72'/><thr:total>34</thr:total></entry></feed>
