<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6350852971581643811</atom:id><lastBuildDate>Wed, 06 Nov 2024 02:51:46 +0000</lastBuildDate><category>flex</category><category>actionscript</category><category>php</category><category>properties</category><category>color</category><category>date</category><category>delphi</category><category>mysql</category><category>numbers</category><category>sidedish</category><category>sql</category><category>string</category><title>Pink Geek Box</title><description>Pink beyond cuteness...</description><link>http://pinkgeekbox.blogspot.com/</link><managingEditor>noreply@blogger.com (Marilou / Lucky Cow Shop)</managingEditor><generator>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-1891367952338826757</guid><pubDate>Tue, 22 Sep 2009 08:07:00 +0000</pubDate><atom:updated>2009-09-22T16:07:09.874+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">flex</category><title>Flex:  Call Pop-up Window on Flex</title><atom:summary type="text">Steps on how to add a pop-up window on Flex:

1.&amp;nbsp; Create a new component, then choose a component type on based on.&amp;nbsp; Choosing a TitleWindow would be perfect for a pop-up window.&amp;nbsp; Then save.&amp;nbsp; (on this sample, it&#39;s saved as mypopup)

2.&amp;nbsp; To call the pop-up, add the following code.


var sScreen:IFlexDisplayObject = PopUpManager.createPopUp(this, mypopup, true); 
</atom:summary><link>http://pinkgeekbox.blogspot.com/2009/09/flex-call-pop-up-window-on-flex.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-2858091136951674233</guid><pubDate>Fri, 22 May 2009 09:18:00 +0000</pubDate><atom:updated>2009-05-22T17:40:17.446+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">flex</category><category domain="http://www.blogger.com/atom/ns#">php</category><title>PHP, Flex: Printing Memo Data With Line Breaks to PDF from Flex Program</title><atom:summary type="text">Situation:Your data is encoded from a Flex/Air programData have line breaks (typed in memo box for example)Would want to print data to PDF fileProblem:Data won&#39;t print with line breaks.  Grrrrrrrr...My Solution:// Setting line breaks on string from a text areafunction setLineBreaksPDF($s=&quot;&quot;) {$s = nl2br($s);$s = str_replace(&quot;&amp;lt;br /&amp;gt;&quot;, &quot;\n&quot;, $s);return $s;}I&#39;m not sure if there are any other </atom:summary><link>http://pinkgeekbox.blogspot.com/2009/05/php-flex-printing-memo-data-with-line.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-7225189970450100816</guid><pubDate>Sat, 07 Mar 2009 10:15:00 +0000</pubDate><atom:updated>2009-03-07T18:28:50.189+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">actionscript</category><category domain="http://www.blogger.com/atom/ns#">date</category><category domain="http://www.blogger.com/atom/ns#">flex</category><title>Actionscript:  Add One Day to Date</title><atom:summary type="text">The script below is a sample on how to add one day to a date.  private function buttonClick():void {// text is a date with format &#39;mm/dd/yyyy&#39;      dtsTranDate.text = addDate(dtsTranDate.text);}private function addDate(dt:String):String {  var arrDate:Array = (dt).split(&#39;/&#39;);  var m:int = int(arrDate[0]);     // month  var d:int = int(arrDate[1]);    // day  var y:int = int(arrDate[2]);    // </atom:summary><link>http://pinkgeekbox.blogspot.com/2009/03/actionscript-add-one-day-to-date.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-8366843171052631643</guid><pubDate>Fri, 27 Feb 2009 01:16:00 +0000</pubDate><atom:updated>2009-02-27T09:16:00.528+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">php</category><title>PHP:  Get Last Date of the Month</title><atom:summary type="text">This small but terrible function returns the last day of the month.cal_days_in_month(CAL_GREGORIAN, $month, $year); CAL_GREGORIAN - calendar to use$month - month of the last day to return$year - yearof the last day to returnThis saves the case and if =)=)</atom:summary><link>http://pinkgeekbox.blogspot.com/2009/02/php-get-last-date-of-month.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-8209513335203802694</guid><pubDate>Thu, 26 Feb 2009 05:54:00 +0000</pubDate><atom:updated>2009-02-26T14:15:54.583+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">actionscript</category><category domain="http://www.blogger.com/atom/ns#">flex</category><title>Actionscript:  Flex Data Grid Cell Editing</title><atom:summary type="text">Here&#39;s a code on how to edit a data grid cell(s).  This also edits the datasource (arraycollection) automatically./*  data grid  */&amp;lt;mx:AdvancedDataGrid id=&quot;grdData&quot; designViewDataType=&quot;flat&quot; height=&quot;100%&quot; width=&quot;100%&quot; enabled=&quot;true&quot; dataProvider=&quot;{_arrDetailData}&quot; editable=&quot;false&quot;&amp;gt; &amp;lt;mx:columns&amp;gt;  &amp;lt;mx:AdvancedDataGridColumn headerText=&quot;Color&quot; dataField=&quot;colordesc&quot; width=&quot;120&quot; </atom:summary><link>http://pinkgeekbox.blogspot.com/2009/02/actionscript-flex-data-grid-cell.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-4560683416649563259</guid><pubDate>Mon, 23 Feb 2009 02:40:00 +0000</pubDate><atom:updated>2009-02-23T10:57:54.180+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mysql</category><category domain="http://www.blogger.com/atom/ns#">sql</category><title>SQL:  Sequence Number on a Select Query</title><atom:summary type="text">If you need to put a sequence number on the records from your SELECT query, you can do the following technique.select @n := 0;select @n:=@n+1 as rec, contactname from contact;The first statement initializes the variable &quot;n&quot;.  The second statement uses the variable on the first statement.A sample output record from the select statement is as follows:reccontactname1Marilou2Ivan3Harris4Nelson5Peter</atom:summary><link>http://pinkgeekbox.blogspot.com/2009/02/sql-sequence-number-on-select-query.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-6223164379704944085</guid><pubDate>Tue, 20 Jan 2009 04:29:00 +0000</pubDate><atom:updated>2009-01-20T12:58:49.324+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">delphi</category><category domain="http://www.blogger.com/atom/ns#">numbers</category><category domain="http://www.blogger.com/atom/ns#">properties</category><title>Delphi:  Assign Display Format and Edit Format of a Table Field &quot;MANUALLY&quot;</title><atom:summary type="text">It&#39;s best to always optimize your Delphi program size into the smallest size as it can be.When you are working with lots of tables, queries and datasets, you might end up with a lot of those database-related components.  And one reason that makes a programmer add all of those components is to just fill in the &quot;DisplayFormat&quot; and &quot;EditFormat&quot; properties of numeric, integer and date fields of a </atom:summary><link>http://pinkgeekbox.blogspot.com/2009/01/delphi-assign-dispaly-format-and-edit.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-5029575514864245792</guid><pubDate>Wed, 07 Jan 2009 08:41:00 +0000</pubDate><atom:updated>2009-01-07T17:08:54.451+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">actionscript</category><category domain="http://www.blogger.com/atom/ns#">color</category><category domain="http://www.blogger.com/atom/ns#">flex</category><category domain="http://www.blogger.com/atom/ns#">properties</category><title>Actionscript:  Dynamically Change Object Color Through Bindings</title><atom:summary type="text">Sometimes you would want to change the color, disabled color, or any other colors of an object, like a text box, for some reasons.  And sometimes, you would want to make the code inline on the object&#39;s properties, which is I think is a good practice.To dynamically change the color of an object straight from the properties, bind the inline &quot;if&quot; condition on the properties of the object.Example, </atom:summary><link>http://pinkgeekbox.blogspot.com/2009/01/actionscript-dynamically-change-object.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-1880838558203147076</guid><pubDate>Wed, 10 Dec 2008 09:57:00 +0000</pubDate><atom:updated>2009-03-18T15:15:43.091+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">actionscript</category><category domain="http://www.blogger.com/atom/ns#">flex</category><category domain="http://www.blogger.com/atom/ns#">string</category><title>Actionscript:  Get Substring</title><atom:summary type="text">The sample code below gets the substring of any given string.var s:String = &quot;abc-def&quot;;var controlno1:int;var controlno2:int;controlno1 = s.substring(0, s.indexOf(&#39;-&#39;));//result = &quot;abc&quot;controlno2 = s.substring(s.indexOf(&#39;-&#39;)+1, s.length);// result = &quot;def&quot;s.substring(beginindex,endindex)Get the substring based on a given string. 0 being the first position.s.indexOf(string)Get the position of a </atom:summary><link>http://pinkgeekbox.blogspot.com/2008/12/actionscript-get-substring.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6350852971581643811.post-6263741636443329568</guid><pubDate>Wed, 10 Dec 2008 04:06:00 +0000</pubDate><atom:updated>2008-12-11T20:22:59.584+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">sidedish</category><title>Who am I?</title><atom:summary type="text">I am berryblitz.  Berry for short.  I got some personal blogs and an online money making blog.  This one is another blog but of the tech side.  Maybe you&#39;ll see some rants and humor on this blog too.Q&amp;amp;A Portion:What do you do for a living?I am a programmer.What tools do you use on your work?I use Borland Delphi, Adobe Flex, Actionscript, PHP, MySQL, Interbase, ReportBuilder.What do you want </atom:summary><link>http://pinkgeekbox.blogspot.com/2008/12/who-am-i.html</link><author>noreply@blogger.com (Marilou / Lucky Cow Shop)</author><thr:total>0</thr:total></item></channel></rss>