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

<channel>
	<title>Axelology</title>
	<atom:link href="http://www.axelscript.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.axelscript.com</link>
	<description>Axel Jensen on Flex, Coldfusion and... other stuff</description>
	<pubDate>Wed, 23 Jul 2008 13:12:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Smaller ItemRenderer for a list</title>
		<link>http://www.axelscript.com/2008/07/15/smaller-renderer-for-a-list/</link>
		<comments>http://www.axelscript.com/2008/07/15/smaller-renderer-for-a-list/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 17:00:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=147</guid>
		<description><![CDATA[This post is about how to make a simple custom list item renderer, by extending the HBox, and decreasing its height so you can see more items&#8230;
 Application - Source
Making an ItemRenderer for the List Smaller
the key is in the renderer code&#8230; and setting the padding to be negative&#8230;
&#38;lt;mx:HBox&#38;gt;
xmlns:mx="http://www.adobe.com/2006/mxml"
paddingTop="-3"
paddingBottom="-3"
&#38;gt;
doing this makes me feel like i&#8217;m back doing [...]]]></description>
			<content:encoded><![CDATA[<p>This post is about how to make a simple custom list item renderer, by extending the HBox, and decreasing its height so you can see more items&#8230;</p>
<p> <a href="http://www.axelscript.com/wp-content/Examples/SmallerListItems/SmallerListItems.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/Examples/SmallerListItems/srcview/index.html" target="_blank">Source</a></p>
<h5>Making an ItemRenderer for the List Smaller</h5>
<p>the key is in the renderer code&#8230; and setting the padding to be negative&#8230;<br />
<code>&amp;lt;mx:HBox&amp;gt;<br />
xmlns:mx="http://www.adobe.com/2006/mxml"<br />
paddingTop="-3"<br />
paddingBottom="-3"<br />
&amp;gt;</code></p>
<p>doing this makes me feel like i&#8217;m back doing css again with html hacks&#8230; but this is a simple way of accomplishing making the rows smaller in the  &lt;mx:List&gt; tag&#8230; one important side note is:</p>
<p>DON&#8217;T FORGET TO SET THE rowHeight=&#8221;14&#8243; so it&#8217;s actually smaller&#8230; please view the source to check it out&#8230; it looks something like the following:</p>
<p>&lt;mx:List&gt;<br />
dataProvider =&#8221;{acData}&#8221;<br />
width =&#8221;100%&#8221;<br />
height =&#8221;100%&#8221;<br />
rowHeight =&#8221;14&#8243;<br />
itemRenderer =&#8221;SmallListRenderer&#8221;<br />
&gt;</p>
<p>this didnt take long, but took a little trickery to get what i wanted</p>
<p><a href="http://www.axelscript.com/wp-content/Examples/SmallerListItems/SmallerListItems.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/Examples/SmallerListItems/srcview/index.html" target="_blank">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/07/15/smaller-renderer-for-a-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex 4 WISH!! Debugging Mouse Move Events</title>
		<link>http://www.axelscript.com/2008/06/30/flex-4-wish-debugging-mouse-move-events/</link>
		<comments>http://www.axelscript.com/2008/06/30/flex-4-wish-debugging-mouse-move-events/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 17:00:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=145</guid>
		<description><![CDATA[This post is a recommendation for flex 4 or a plugin for flex builder 3&#8230;
So, I was talking with my pal John Wilker (one of the two masterminds behind 360flex conferences) and I was bitching to him saying that it&#8217;s gay when you have to debug mouse move events in flex, because you want to [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a recommendation for flex 4 or a plugin for flex builder 3&#8230;</p>
<p>So, I was talking with my pal <a href="http://www.360conferences.com/360flex/" target="_blank">John Wilker</a> (one of the two masterminds behind 360flex conferences) and I was bitching to him saying that it&#8217;s gay when you have to debug mouse move events in flex, because you want to know what the mouse is at a certain point in the app, like dragging on something&#8230;</p>
<p>but it&#8217;s not like you can stop dragging on something put a debug point in your app, and then go back and drag again, because more than likely your going to then hit debuging before your mouse is where you want!!!! this makes me so angry, so <a href="http://www.axelscript.com/2008/06/14/debugging-mouse-events-in-flex/" target="_blank">i wrote a solution</a>, but even then the solution sucks, because it&#8217;s just too much code, even though it&#8217;s only a couple functions, you just shouldn&#8217;t have to do that&#8230;</p>
<h4>THE FIX THAT I PROPOSE</h4>
<p>what if you could set up some kind of hot key in flex builder that when you were running the application, it skipped breakpoints? and when released it then picked up your breakpoints&#8230; so say your debug/run the app, then you go click on a list, drag it over to a tree, and you want to know what node your over, you have a debug point in the mouseMove function or whatever, and you all the while you are holding &#8220;d&#8221; on the keyboard, or something like that, and when you let up, it then hits the breakpoints like it should&#8230;</p>
<p>i dunno if that would even work because eclipse wouldnt have focus, so maybe thats a dumb idea that would go nowhere, but dammit, it&#8217;s bullshit!</p>
<p>sorry just frustrated&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/30/flex-4-wish-debugging-mouse-move-events/feed/</wfw:commentRss>
		</item>
		<item>
		<title>360flex Europe, and my presentation code and slides</title>
		<link>http://www.axelscript.com/2008/06/25/360flex-europe-and-my-presentation-code-and-slides/</link>
		<comments>http://www.axelscript.com/2008/06/25/360flex-europe-and-my-presentation-code-and-slides/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 17:50:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=144</guid>
		<description><![CDATA[360flex is going to Europe, please checkout http://www.360conferences.com/ for details.  I believe it&#8217;s next month or something like that, at least thats what tom said up on the mic this morning.
360flex is an absolute blast, it&#8217;s great company, full of intelligent people, and I couldn&#8217;t ask for more of a conference to go to. [...]]]></description>
			<content:encoded><![CDATA[<p>360flex is going to Europe, please checkout <a href="http://www.360conferences.com/">http://www.360conferences.com/</a> for details.  I believe it&#8217;s next month or something like that, at least thats what tom said up on the mic this morning.</p>
<p>360flex is an absolute blast, it&#8217;s great company, full of intelligent people, and I couldn&#8217;t ask for more of a conference to go to.  If your a flash/flex developer, and or want to get in to flex, this is the conference for you.</p>
<p>Thanks to everyone that attended my session this morning it was great! and it was great to be in a room with such knowledgeable people.  Everything went fantastic.  Here is my presentation zip file.</p>
<p><a href="http://www.axelscript.com/wp-content/360flex.zip" title="360flex Preso">360flex Preso</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/25/360flex-europe-and-my-presentation-code-and-slides/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Timezone Issues with remote (Date/Time) data and flash</title>
		<link>http://www.axelscript.com/2008/06/24/timezone-issues-with-remote-datetime-data-and-flash-2/</link>
		<comments>http://www.axelscript.com/2008/06/24/timezone-issues-with-remote-datetime-data-and-flash-2/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 17:48:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=143</guid>
		<description><![CDATA[Application - Source
We are wrapping up with this great charting application at cfwebtools, and we get a call from a customer that says our data is wrong&#8230;.
We listen to them, and debug, and for some reason we just can&#8217;t quite see the same thing he see&#8217;s&#8230; On top of that, no one else is having [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/DateTimeWierdness/bin/DateTimeWierdness.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DateTimeWierdness/bin/srcview/index.html" target="_blank">Source</a></p>
<p>We are wrapping up with this great charting application at cfwebtools, and we get a call from a customer that says our data is wrong&#8230;.</p>
<p>We listen to them, and debug, and for some reason we just can&#8217;t quite see the same thing he see&#8217;s&#8230; On top of that, no one else is having the problem, but the fact is that, he has showed us screen shots, he&#8217;s duplicated on Four pc&#8217;s of his own, and he&#8217;s talked to 10 friends telling us that our data is wrong, and that there is mismatched days in our chart.</p>
<p>The problem:</p>
<p>When he was bringing up the charting application, the charts showed up successfully, but when you ta<br />
ke a closer look, and you know your stuff about Financial Charting applications, you know what your looking for, and you know it with GREAT detail.  So this guy, tells us our data is wrong, and pretty much with all of his friends proved to us SOMETHING was going wrong, but we couldn&#8217;t duplicate it.<more/>We tried trapping the data he was requesting when the request came in, we tried trapping it right before it went out&#8230; then we were using Kevin Langdon&#8217;s Service Capture to introspect the data that was coming in to flex.</p>
<p>The data is not that complicated, it looks like this:</p>
<p>Date: 2/20/08<br/><br />
Close: 31.53<br/><br />
Open: 30.61<br/></p>
<p>Date: 2/19/08<br/><br />
Close: 30.93<br/><br />
Open: 30.94<br/></p>
<p>but on his computer it looked like this:</p>
<p>Date: 2/19/08<br/><br />
Close: 31.53<br/><br />
Open: 30.61<br/></p>
<p>Date: 2/18/08<br/><br />
Close: 30.93<br/><br />
Open: 30.94<br/></p>
<p>EVERYTHING WAS SLID BACK BY ONE DAY.</p>
<p>the Date/Time objects were coming back from coldfusion, and it was returning coldfusion sql. They looked like this:<br />
&#8216;2/20/08 00:00:00&#8242;<br/><br />
&#8216;2/19/08 00:00:00&#8242;<br/><br />
&#8216;2/18/08 00:00:00&#8242;<br/></p>
<p>what was really happening is that, flash auto adjusts for your Timezone&#8230; so what was really happening is the data is getting turned into this in flash (if they come back to flash as date/time objects)</p>
<h2>Pacific Standard Time</h2>
<p>&#8216;2/19/08 22:00:00&#8242;<br/><br />
&#8216;2/18/08 22:00:00&#8242;<br/><br />
&#8216;2/17/08 22:00:00&#8242;<br/></p>
<p>I&#8217;m sort of at a loss and i&#8217;m looking for help, there is one post that was more clear than the rest, but still doesnt solve my issue, it&#8217;s written by <a href="http://www.onflex.org/ted/2004/10/handling-time-in-flash.php" target="_blank">Ted Patrick</a> of adobe.  He states to use Universal Time, (UTC).</p>
<h2>I have a problem with this!</h2>
<p>I&#8217;m not the one creating the date times, nor do I get a chance to touch the data before it goes to my components&#8230; Of course I could obviously go in, to my result function of my remote object, or my command of cairngorm, and loop over the data, and adjust it all manually&#8230; BUT NOOOOO, I Don&#8217;t want to, what if i&#8217;m dealing with 40,000 records in a charting application (how bout we make it an even MILLION records, just to prove a point), then obviously the flash player has enough work to do on it&#8217;s own, without me looping through the data.</p>
<p>How do I query my database, and have it be a 00:00:00 time, and not have flash offset my date when it comes back to it?</p>
<p>For now, we manually change things in our query to add hours to the date time, but that is kind of sloppy&#8230;</p>
<p>Please check the example, and help me out if you can&#8230; Like I said I&#8217;m at a loss with this one.</p>
<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/DateTimeWierdness/bin/DateTimeWierdness.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DateTimeWierdness/bin/srcview/index.html" target="_blank">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/24/timezone-issues-with-remote-datetime-data-and-flash-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Customizing the Flex Slider</title>
		<link>http://www.axelscript.com/2008/06/23/customizing-the-flex-slider/</link>
		<comments>http://www.axelscript.com/2008/06/23/customizing-the-flex-slider/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 17:47:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=142</guid>
		<description><![CDATA[Application - Source
Lately I&#8217;ve been super busy, I&#8217;ve been getting some good hours for side work, and have been working on this really awesome charting application it&#8217;s not customizable to the extent of StockFetcher, but it&#8217;s cool in it&#8217;s own right.
Everything is driven and built dynamically based off of an xml file.  The cool [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/FlexLibSliderTrackClick/bin/FlexLibSliderTrackClick.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/FlexLibSliderTrackClick/bin/srcview/index.html" target="_blank">Source</a></p>
<p>Lately I&#8217;ve been super busy, I&#8217;ve been getting some good hours for side work, and have been working on this really awesome charting application it&#8217;s not customizable to the extent of <a href="http://www.stockfetcher.com/ui2/index.php" target="_blank">StockFetcher</a>, but it&#8217;s cool in it&#8217;s own right.</p>
<p>Everything is driven and built dynamically based off of an xml file.  The cool part of the app, is that in the xml I can specify the timeline I want to show, and customize all of these things called studies.  Studies are calculations like On Balance Volume, Moving Average, and Double Smooth Stochastics.  I have no clue what any of those things mean to a financial stock person, but looking at these graphs means something&#8230; pretty much whether or not to buy or sell stocks is what i presume.  </p>
<h3>Java, Coldfusion, and Flex marriage<br />
</h3>
<p>We are using a customized java library for the calculations, and that helped out a lot.  So we are leveraging three technologies here, Java, Coldfusion, Flex.  It&#8217;s a great combonation, we&#8217;re not accessing any java directly with flex, but through coldfusion we are instantiating java objects in order to complete the calculations.</p>
<h3>The Slider issue</h3>
<p><more/><a target="_blank" href="http://code.google.com/p/flexlib/">FlexLib</a> has a great slider class that I believe <a target="_blank" href="http://www.dougmccune.com/blog/">Doug Mccune</a> is responsible for.    It&#8217;s great because it adds the thumbskin and allows you to drage the area in between the thumbs.</p>
<h3>The issues I needed to solve with the slider</h3>
<ul>
<li>The slider had to be able to be dragged when clicked on 
<ul>
<li>accomplished with the flexlib slider</li>
</ul>
</li>
</ul>
<ul>
<li>Things that weren&#8217;t possible yet
<ul>
<li>When clicking in the track the whole slider had to move
<ul>
<li>IT ALSO HAD TO MOVE BY WHATEVER AMOUNT IT WAS SHOWING!</li>
<li>so that means if the slider&#8217;s two thumbs were 60 datapoints apart, it would have to move 60 points to the left when the track was clicked on, or 60 points to the right when the track was clicked on</li>
</ul>
</li>
<li>MY BIG BEEF
<ul>
<li>my beef with this was that, there really arent any events dispatched when you click on the track&#8230; it&#8217;s a private method that handles the animation and tweening of the slider to go to where ever it is on the track that you clicked&#8230;</li>
<li>I didn&#8217;t like that at all, but I didn&#8217;t have time to fix it either.</li>
</ul>
</li>
<li>When you click and drag the slider (not the thumb, but the in between the thumbs) and you drag to the end of the track, the region that is locked shrinks or expands when you go out of it&#8217;s bounds&#8230; 
<ul>
<li>that we couldn&#8217;t 
            </li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>My Solution</h3>
<ul>
<li>I added the following attributes to the SliderBase
<ul>
<li>lockRegionsOnTrackClick=&#8221;true&#8221;
<ul>
<li>this solved the first issue stated above&#8230;. how the sliders had to move as a whole
<ul>
<li>this was a little complicated simply because if there were multiple sliders you have to loop through them and change all of them by the proper amount.</li>
</ul>
</li>
</ul>
</li>
<li>lockRegionsWhileDragging=&#8221;true&#8221;
<ul>
<li>this solved the last issue where the slider was changing sizes if your mouse was either too far to the left of the track, or to the right of the track.</li>
</ul>
</li>
<li>moveByCurrentSpan=&#8221;true&#8221;
<ul>
<li>this solved my issue of needing the sliders to move by whatever the current difference of the first and last thumbs were.  
<ul>
<li>again the challenge with this one, is you had to move the inner thumbs by the correct amount either to the right or left.</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>so now you have the new slider<br />
<code> &lt;flexlib:hslider snapinterval="1" maximum="9000" minimum="-9000" values="[-2000, 4000]" width="200" thumbcount="2" showtrackhighlight="true" datatipoffset="3" datatipplacement="bottom" showdatatip="true" livedragging="true" movebycurrentspan="true" lockregionswhiledragging="true" lockregionsontrackclick="true" allowthumboverlap="true" allowtrackclick="true" trackhighlightskin="flexlib.skins.SliderThumbHighlightSkin"&gt; &lt;/flexlib:hslider&gt;</code>  </p>
<p><font size="1"><font size="2"> Please check out the source and feel free to comment.   <br />
</font><br />
Please note these are just the same links as the ones that were at the top, they were just put here for convenience. </font><br />
<a href="http://www.axelscript.com/wp-content/cfwtExamples/FlexLibSliderTrackClick/bin/FlexLibSliderTrackClick.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/FlexLibSliderTrackClick/bin/srcview/index.html" target="_blank">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/23/customizing-the-flex-slider/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Installing Flex 2 on Eclipse 3.3</title>
		<link>http://www.axelscript.com/2008/06/20/installing-flex-2-on-eclipse-33/</link>
		<comments>http://www.axelscript.com/2008/06/20/installing-flex-2-on-eclipse-33/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 17:46:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=141</guid>
		<description><![CDATA[The newest version of cfeclipse runs on the newest version of eclipse (version 3.3) and I came across a link looking up some errors, and found this link.
and thought it might come in useful at a later date&#8230; then I could have eclipse, cfeclipse and flex builder back together like I used to&#8230;.
http://www.eclipsezone.com/articles/howto-flexbuilder2/
]]></description>
			<content:encoded><![CDATA[<p>The newest version of cfeclipse runs on the newest version of eclipse (version 3.3) and I came across a link looking up some errors, and found this link.</p>
<p>and thought it might come in useful at a later date&#8230; then I could have eclipse, cfeclipse and flex builder back together like I used to&#8230;.</p>
<p><a href="http://www.eclipsezone.com/articles/howto-flexbuilder2/" target="_blank">http://www.eclipsezone.com/articles/howto-flexbuilder2/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/20/installing-flex-2-on-eclipse-33/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Making Flex (flash) look 3D&#8230;</title>
		<link>http://www.axelscript.com/2008/06/19/making-flex-flash-look-3d/</link>
		<comments>http://www.axelscript.com/2008/06/19/making-flex-flash-look-3d/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 17:44:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=140</guid>
		<description><![CDATA[Application -  Source
Making Flex LOOK 3D!!!
Just to state, this in no way talks about papervision3d.
I was asked to put a bid out for a project that required walking through a 3D house, and I thought to myself&#8230; &#8220;Flash vs. Flex&#8221; granted either one, could make it happen&#8230; I didn&#8217;t want to over complicate it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/Render/bin/Render.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/Render/bin/srcview/index.html" target="_blank"> Source</a></p>
<h4>Making Flex LOOK 3D!!!</h4>
<p>Just to state, this in no way talks about papervision3d.</p>
<p>I was asked to put a bid out for a project that required walking through a 3D house, and I thought to myself&#8230; &#8220;Flash vs. Flex&#8221; granted either one, could make it happen&#8230; I didn&#8217;t want to over complicate it and think i would have to draw everything myself in flex so I started to think about it, and look at more examples&#8230; </p>
<h4>Mixing swf files with swf loader</h4>
<p><span id="more-140"></span><br />
I&#8217;m simply using mx:SWFLoader to load the swfs and adding them to a container and removing them whenever i need to.  The simplest way to do so is to use a ViewStack.  When i tried the viewstack it was removing the child when changing the index which is one of the things i knew it would do, but wanted to test to see how flickery the result would be&#8230; </p>
<p>It indeed was too &#8220;flickery&#8221; so i chose to just add the children myself and go about doing things more manually&#8230;</p>
<p>PLEASE NOTE: it still is a bit flickery, but i can only test outside my network so it seems to be a bit odd&#8230; i&#8217;ve decided not to really fix it&#8230; because i just don&#8217;t have the time&#8230; kinda sucks being soooo busy&#8230; but all in all its still a good day</p>
<p>I have a blog post <a href="http://axel.cfwebtools.com/index.cfm/2007/11/7/Drawing-in-Flex-using-the-UIComponent-part-3" target="_blank">&#8220;Drawing with the UIComponent&#8221;</a> that I talk about drawing with the UIComponent&#8230; I&#8217;m using the same classes in the source here, and i&#8217;m just using it to draw the rectangle around the drawn guys hand in the swf&#8230; I was too lazy to write new classes because it&#8217;s getting to be about 3am&#8230; and I&#8217;m tired&#8230;</p>
<p>I&#8217;ve had to save my blog posts for all wee hours of the night&#8230; I&#8217;ve been so busy with business I haven&#8217;t had time to write.  </p>
<p>Anyway&#8230; the project entailed walking through a 3d house of sorts and clicking on different products and having it seem like it is animated through the shots&#8230; so if you&#8217;ve got an animation rockstar that can make things like the <a href="http://www.dlink.com/medialounge" target="_blank">dlink media lounge</a> this should give you some type of an idea of how they accomplish the task&#8230; they obviously put 2 billion times more flair into it, and ton more time as well (this only took a little over an hour to throw together) but, none the less this does show how you would make something &#8220;APPEAR&#8221; as 3D but not having to be 3D.</p>
<p>Hope you all enjoy, and hopefully I will have some more time to write in the upcoming future&#8230;</p>
<p>Oh yeah, Hope to see EVERYONE at <a href="http://www.360flex.com" target="_blank">360Flex in Atlanta </a> </p>
<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/Render/bin/Render.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/Render/bin/srcview/index.html" target="_blank"> Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/19/making-flex-flash-look-3d/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cool Component Links</title>
		<link>http://www.axelscript.com/2008/06/19/cool-component-links/</link>
		<comments>http://www.axelscript.com/2008/06/19/cool-component-links/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 17:43:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=139</guid>
		<description><![CDATA[So I was searching for a resizable titleWindow today, and ran into a great link and thought I should throw a blog entry out there that way I can remember it.
http://fleksray.org/adobe_flex_components_en.html
Our XML MP3 Player  is even on this link! woot!
http://flex.org/components/
]]></description>
			<content:encoded><![CDATA[<p>So I was searching for a resizable titleWindow today, and ran into a great link and thought I should throw a blog entry out there that way I can remember it.</p>
<p><a href="http://fleksray.org/adobe_flex_components_en.html" target="_blank">http://fleksray.org/adobe_flex_components_en.html</a></p>
<p><a href="http://www.axelscript.com/2008/04/02/open-source-flex-xml-mp3-player-xspf/" target="_blank">Our XML MP3 Player </a> is even on this link! woot!</p>
<p><a href="http://flex.org/components/" target="_blank">http://flex.org/components/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/19/cool-component-links/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Programmatic Visualization</title>
		<link>http://www.axelscript.com/2008/06/18/programmatic-visualization/</link>
		<comments>http://www.axelscript.com/2008/06/18/programmatic-visualization/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 17:42:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=138</guid>
		<description><![CDATA[Did some searching today, and ran across a great example, and blog entry by Andrew Trice
I&#8217;ve always had the urge to sit down and come up with a way to do a family tree, and have images of my family and what not, and map them to each other, that way i don&#8217;t have such [...]]]></description>
			<content:encoded><![CDATA[<p>Did some searching today, and ran across a great example, and blog entry by <a href="http://www.cynergysystems.com/blogs/page/andrewtrice?entry=360_flex_programmatic_visualizations" target="_blank">Andrew Trice</a></p>
<p>I&#8217;ve always had the urge to sit down and come up with a way to do a family tree, and have images of my family and what not, and map them to each other, that way i don&#8217;t have such a hard time remembering distant relatives names at those big family reunions&#8230; </p>
<p>So I wanted images that drew a line to one another in a tree type structure, but wanted to to be dragable and what not&#8230; and andrew released the source for his relationship mapper, and I couldn&#8217;t thank him enough&#8230; </p>
<p><a href="http://www.cynergysystems.com/blogs/blogs/andrew.trice/360Flex/source/relationship_mapping/main.html" target="_blank">Relationship Mapper Application</a> - <a href="http://www.cynergysystems.com/blogs/blogs/andrew.trice/360Flex/source/relationship_mapping/srcview/index.html" target="_blank">Relationship Mapper Source</a></p>
<p>Also does a drawing canvas much similar to my drawing blog post <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMousePart3/bin/DrawingLinesWithYourMousePart3.html" target="_blank">Drawing with the UIComponent in Flex (part 3) Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMousePart3/bin/srcview/index.html" target="_blank">Drawing with the UIComponent in Flex (part 3) Source </a></p>
<p><a href="http://www.cynergysystems.com/blogs/blogs/andrew.trice/360Flex/source/basic_drawing/main.html" target="_blank">Paint Canvas Application</a></p>
<p><a href="http://www.cynergysystems.com/blogs/blogs/andrew.trice/360Flex/source/basic_drawing/srcview/index.html" target="_blank">Paint Canvas Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/18/programmatic-visualization/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drawing in Flex using the UIComponent (part 3)</title>
		<link>http://www.axelscript.com/2008/06/17/drawing-in-flex-using-the-uicomponent-part-3/</link>
		<comments>http://www.axelscript.com/2008/06/17/drawing-in-flex-using-the-uicomponent-part-3/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 17:40:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=136</guid>
		<description><![CDATA[Drawing in Flex using the UIComponent (part 3) 
  Application - Source

This upgrade added more white board like enhancement, now you can highlight a tool that is on the wrapper, after you have drawn it, and press delete on your keyboard to delete it, you can also drag and move the drawings&#8230;   [...]]]></description>
			<content:encoded><![CDATA[<h4>Drawing in Flex using the UIComponent (part 3) </h4>
<p>  <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMousePart3/bin/DrawingLinesWithYourMousePart3.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMousePart3/bin/srcview/index.html" target="_blank">Source</a>
<p>
This upgrade added more white board like enhancement, now you can highlight a tool that is on the wrapper, after you have drawn it, and press delete on your keyboard to delete it, you can also drag and move the drawings&#8230;     </p>
<p>
 <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMousePart3/bin/DrawingLinesWithYourMousePart3.html" target="_blank">Application</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMousePart3/bin/srcview/index.html" target="_blank">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/17/drawing-in-flex-using-the-uicomponent-part-3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bunch of Links for Flex Unit</title>
		<link>http://www.axelscript.com/2008/06/17/bunch-of-links-for-flex-unit/</link>
		<comments>http://www.axelscript.com/2008/06/17/bunch-of-links-for-flex-unit/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 17:39:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=135</guid>
		<description><![CDATA[Found this really good entry with bunch of links that are good.
http://www.brightworks.com/technology/adobe_flex/testing_debugging_agile_methods.html
Joe Rineharts entry/tutorial on CF and FlexUnit
http://www.firemoss.com/blog/index.cfm?mode=entry&#038;entry=658DF66B-3048-55C9-43662A44BE6E39A9
Flex Unit w/ cairngorm
http://jharbs.com/blog/?p=96
]]></description>
			<content:encoded><![CDATA[<p>Found this really good entry with bunch of links that are good.</p>
<p><a href="http://www.brightworks.com/technology/adobe_flex/testing_debugging_agile_methods.html" target="_blank">http://www.brightworks.com/technology/adobe_flex/testing_debugging_agile_methods.html</a></p>
<p>Joe Rineharts entry/tutorial on CF and FlexUnit<br />
<a href="http://www.firemoss.com/blog/index.cfm?mode=entry&#038;entry=658DF66B-3048-55C9-43662A44BE6E39A9" target="_blank">http://www.firemoss.com/blog/index.cfm?mode=entry&#038;entry=658DF66B-3048-55C9-43662A44BE6E39A9</a></p>
<p>Flex Unit w/ cairngorm<br />
<a href="http://jharbs.com/blog/?p=96" target="_blank">http://jharbs.com/blog/?p=96</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/17/bunch-of-links-for-flex-unit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using RemoteObject to access a Remote CFC</title>
		<link>http://www.axelscript.com/2008/06/16/using-remoteobject-to-access-a-remote-cfc/</link>
		<comments>http://www.axelscript.com/2008/06/16/using-remoteobject-to-access-a-remote-cfc/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 17:38:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Coldfusion]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=134</guid>
		<description><![CDATA[I get very closed minded sometimes&#8230; and this is one of those times&#8230; when working with flash remoting with the ColdFusion 7.0.2 updater, there were a lot of good examples on http://www.asfusion.com, I followed them a lot, they were all great&#8230; they specified how to create a connection like the following:
//create connection
var connection:mx.remoting.Connection = mx.remoting.NetServices.createGatewayConnection("http://#cgi.HTTP_HOST#/flashservices/gateway/");
//declare [...]]]></description>
			<content:encoded><![CDATA[<p>I get very closed minded sometimes&#8230; and this is one of those times&#8230; when working with flash remoting with the ColdFusion 7.0.2 updater, there were a lot of good examples on <a href="http://www.asfusion.com" target="_blank">http://www.asfusion.com</a>, I followed them a lot, they were all great&#8230; they specified how to create a connection like the following:</p>
<p><code>//create connection</p>
<p>var connection:mx.remoting.Connection = mx.remoting.NetServices.createGatewayConnection("http://#cgi.HTTP_HOST#/flashservices/gateway/");<br />
//declare service</p>
<p>var myService:mx.remoting.NetServiceProxy;</code></p>
<p><code>//make an object that will handle the response</p>
<p>var responseHandler = {};</p>
<p>//function that receives the response</p>
<p>responseHandler.onResult = function( results: Object ):Void {<br />
//when results are back, we show the text received</p>
<p>display.text = results;<br />
}</p>
<p>//function that receives any error that may have occurred during the call</p>
<p>responseHandler.onStatus  = function( stat: Object ):Void {<br />
//if there is any error, show an alert</p>
<p>alert("Error while calling cfc:" + stat.description);<br />
}</p>
<p>//get service. First parameter is path to component and<br />
//the second it's the object that will handle the response</p>
<p>myService = connection.getService("flashRemotingResponder", responseHandler );<br />
//make call</p>
<p>myService.getDate(mask.text);<br />
</code></p>
<p>this code is great&#8230; you set up a service (called myService in this example, it&#8217;s calling a cfc called &#8216;flashRemotingResponder&#8217;)</p>
<p>When flex2 came out, and all of the examples starting coming out with it, and how to use it with ColdFusion, there were a lot of remoting examples using mx:RemoteObject&#8230; something like the following<more/><code>&lt;mx:RemoteObject source="com.SomeCFC" destination="ColdFusion" result="someResultHandler(event)" fault="someFaultHandler(event)"/&gt;</code></p>
<p>This is just psuedo code, so don&#8217;t copy and paste it&#8230; but I myself got caught up in this&#8230; we&#8217;ve recently been trying to hire another flex developer&#8230; we&#8217;ve got projects to do, and so we&#8217;re considering doing some contracting, but the problem is, we need someone that knows coldfusion and flex, and that seems to be a Hot combo right now, and most of the developers that know both of those things well are getting paid fairly well, and full of work&#8230; the point is, you can still use the RemoteObject tag to call cfc&#8217;s remotely, and call services like you used to be able to in flashremoting.   you use the &#8216;endpoint&#8217; attribute in remoteObject.  </p>
<p><code>&lt;mx:RemoteObject id="remoteService"<br />
		source="com.test"<br />
		destination="ColdFusion" endpoint="http://127.0.0.1:8500/flex2gateway/"<br />
		result="onResult(event)"<br />
		fault="onFault(event)"/&gt;</code></p>
<p>You use the source like you would as if the objects are local to the webroot, and use the endpoint to specify a remote domain.  This may be common knowledge to everyone out there, but I simply just forgot about even trying it&#8230; I got so caught up with having coldfusion locally installed, and working with the cfc&#8217;s myself, I simply got close minded about it&#8230; </p>
<p>anyway, check out the post about it at the following link, it&#8217;s where I got my answer.<br />
<a href="http://www.flashcomguru.com/index.cfm/2006/11/11/flex2remoting" target="_blank">http://www.flashcomguru.com/index.cfm/2006/11/11/flex2remoting</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/16/using-remoteobject-to-access-a-remote-cfc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Short entry on modules</title>
		<link>http://www.axelscript.com/2008/06/15/short-entry-on-modules/</link>
		<comments>http://www.axelscript.com/2008/06/15/short-entry-on-modules/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 17:38:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=133</guid>
		<description><![CDATA[This is just a self reminder to learn how to use modules in flex.
http://lab.orangeflash.eu/flex2/examples/modules/
]]></description>
			<content:encoded><![CDATA[<p>This is just a self reminder to learn how to use modules in flex.</p>
<p><a href="http://lab.orangeflash.eu/flex2/examples/modules/" target="_blank">http://lab.orangeflash.eu/flex2/examples/modules/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/15/short-entry-on-modules/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How World of Warcraft takes over lives</title>
		<link>http://www.axelscript.com/2008/06/15/how-world-of-warcraft-takes-over-lives/</link>
		<comments>http://www.axelscript.com/2008/06/15/how-world-of-warcraft-takes-over-lives/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 17:37:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=132</guid>
		<description><![CDATA[I&#8217;m sitting here tonight, and watching the sixth disc of Season One of the show &#8220;Lost&#8221;&#8230; it&#8217;s a great show&#8230; 
My friend is over here, and he&#8217;s the one that wanted me to watch lost, and so we&#8217;ve spent the weekend catching me up on Lost because he raves about how good it is&#8230; that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sitting here tonight, and watching the sixth disc of Season One of the show &#8220;Lost&#8221;&#8230; it&#8217;s a great show&#8230; </p>
<p>My friend is over here, and he&#8217;s the one that wanted me to watch lost, and so we&#8217;ve spent the weekend catching me up on Lost because he raves about how good it is&#8230; that way when this season starts i can be caught up, and we can hang out and watch it&#8230; (people might think i&#8217;m gay, but when your not married and don&#8217;t have kids, you seriously value friendship and family over anything&#8230;) </p>
<p>Anyway&#8230; this friend is also way into world of warcraft, and he brought his headset with him (so he could use teamspeak) to go on some raid with this group he&#8217;s in on wow&#8230; (wow: means world of warcraft) that way he could still hangout while he plays the game&#8230; </p>
<p>NOTE: From what my friend was saying&#8230; raids take about an hour&#8230;<more/>Anyway&#8230; he just took a break, and said that someone in his group was in another raid, with another group&#8230; and in this other group there was a girl that was in the group&#8230;. this whole story pretty much revolves around this girl&#8230;.</p>
<p>This girl was nine months pregnant, and while on the raid, she went into labor&#8230; I&#8217;m not sure about anyone else&#8230; I don&#8217;t know much about pregnancy&#8230; but out of common sense, I would think, just from watching movies and what not&#8230; there would be a water breaking here soon&#8230; or something along those lines? </p>
<p>Before going to the hospital, this girl finished playing her raid before going to the hospital&#8230; i just find it hilarious that this woman finished playing her game before going to the hospital&#8230; i don&#8217;t know if she had the baby, and if all went well, i sure hope it did, but i&#8217;m all for the fun video games, and i&#8217;m sure glad that a video game can bring so many MILLION (last i heard there were like 7 million people with accounts granted not all of them play at one given time) people together&#8230;  but this game must be addicting&#8230; people i know talk about it all the time&#8230; how wow is taking over their lives and what not&#8230; i watch my room mate play it like 50 hours a week (he&#8217;s unemployed at the moment) I just figure he&#8217;s played the game for months&#8230; my other friend has played for way over a year&#8230; my nephew was addicted for over a year&#8230; my other friend is also addicted&#8230; and has been playing for like two years&#8230; </p>
<p>I have over 5 friends that have been taken in by this game&#8230; and by taken in, I mean, it has taken over their lives&#8230; some still can function (hold a job) while playing it&#8230; (by playing i mean not just one session&#8230;) others can not, my nephew kicked it, and when he talked about how he doesn&#8217;t play it anymore, he talks about it, like he kicked drugs or something&#8230; my other friend quit playing it because it interfered with college&#8230; (after letting it take his life over for over four months)</p>
<p>I just think this game is hilarious&#8230; but the woman in labor and having to finish the raid before going to the hospital by far tops it all off&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/15/how-world-of-warcraft-takes-over-lives/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debugging Mouse Events In Flex</title>
		<link>http://www.axelscript.com/2008/06/14/debugging-mouse-events-in-flex/</link>
		<comments>http://www.axelscript.com/2008/06/14/debugging-mouse-events-in-flex/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 17:35:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=131</guid>
		<description><![CDATA[APPLICATION - SOURCE
One of the points of debugging is to make your life easier&#8230;
Have you ever tried to debug the dragOver event on any ListBase Component?  It&#8217;s a little hard to do&#8230; simply because it fires whenever your dragging over anything&#8230; whether your just starting to drag, or your over the item you wish [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/DebuggingMouseEvents/bin/DebuggingMouseEvents.html" target="_blank">APPLICATION</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DebuggingMouseEvents/bin/srcview/index.html" target="_blank">SOURCE</a></p>
<p>One of the points of debugging is to make your life easier&#8230;</p>
<p>Have you ever tried to debug the dragOver event on any ListBase Component?  It&#8217;s a little hard to do&#8230; simply because it fires whenever your dragging over anything&#8230; whether your just starting to drag, or your over the item you wish to debug.  You know&#8230; it&#8217;s like when your dragging over the item you wish to debug, you want to pause everything, then go over to flex builder, and add a breakpoint, then continue on with dragging over wherever it was when you paused everything&#8230;.</p>
<p>You may not know what I mean if you haven&#8217;t really dealt with a whole lot of drag and drop&#8230; </p>
<p>One solution I&#8217;ve caught myself doing that has worked out fairly well for me is place a textarea on the screen somewhere, and adding a chunk of code to the dragOver() method i&#8217;m calling to just my variables in this text area so I can see them change as I drag over things. The code may look somewhat like this.</p>
<p><code> tattlerStr = "Selected Item: " + selectedNode + "\n" + "Over Target: " + hoverTarget.level<br />
                    + "\n"<br />
                    + "calculateDropIndex " + rowIndex<br />
                    + "\n"<br />
                    + "halfRow " + halfRow.toString()<br />
                    + "\n"<br />
                    + "certerRowY " + certerRowY.toString()<br />
                    + "\n"<br />
                    + "bottomRowY " + bottomRowY.toString()<br />
                    + "\n"<br />
                    + "mouseY " + currTree.mouseY.toString()<br />
                    + "\n"<br />
                    + "isItemOpen " + currTree.isItemOpen(currNodeOver).toString()<br />
                    + "\n"<br />
                    + "isDebugMode " + currTree.isItemOpen(currNodeOver).toString()<br />
                    + "\n" + "\n";</p>
<p>                    tattler.text = tattlerStr;</code></p>
<p>those variables are specific to my example, so don&#8217;t try copying and pasting that.</p>
<h3>A Simple Solution - Add a Key Listener</h3>
<p><more/>This is not the most elegant solution, but might get you through a tough struggle&#8230; it&#8217;s nothing to leave in your production code&#8230; but when in need you can do this when strictly working on your drag and drop task&#8230; </p>
<ol>
<li>
use creationComplete to addEventListeners for keyUp, and KeyDown</p>
<p><code>private function init():void{<br />
addEventListener(KeyboardEvent.KEY_DOWN,onKeyDown);<br />
addEventListener(KeyboardEvent.KEY_UP,onKeyUp);<br />
}</code>
</li>
<p><span id="more-131"></span></p>
<li>
create a bindable var and a static var for your debug status</p>
<p><code>private function init():void{<br />
addEventListener(KeyboardEvent.KEY_DOWN,onKeyDown);<br />
addEventListener(KeyboardEvent.KEY_UP,onKeyUp);<br />
}</p>
<p>[Bindable] private var isDebugMode:Boolean = false;<br />
private static var DEBUG:uint = 68; //68 is the d key on the keyboard</code>
</li>
<li>
create your listeners</p>
<p><code>/*********************listeners*********************/<br />
private function onKeyDown(event:KeyboardEvent):void{<br />
	switch(event.keyCode){<br />
		case DEBUG:<br />
			isDebugMode = true;<br />
			//trace('keyDown');</p>
<p>			break;<br />
	}<br />
}<br />
private function onKeyUp(event:KeyboardEvent):void{<br />
	switch(event.keyCode){<br />
		case DEBUG:<br />
			isDebugMode = false;<br />
			//trace('keyUp');</p>
<p>			break;<br />
	}<br />
}</code>
</li>
<li>
in your dragOver method that your calling create an if statement where you want to debug like this</p>
<p><code>if (this.isDebugMode){<br />
                    	trace('put your debug point on this line')<br />
			tattler.text += '\n' + 'put your debug on this line';<br />
                    }</code>
</li>
<li>
in flexbuilder put a breakpoint on the trace line inside that if statment in the last step
</li>
<li>
now you should be able to drag whatever you like over the destination, and whenever you want to hit your breakpoint use your keyboard, and press &#8216;d&#8217;, you should then jump to flex builder to your breakpoint.
</li>
</ol>
<p>it&#8217;s not the most elegant solution, but it will work and get you to your debugger when you wish, while dragging and dropping.</p>
<p>Please refer to the link i&#8217;ve provided both at the top, and bottom to view the application, and to view the source as well&#8230; (I took the example from another blog post I had, so your going to see some code that might not be relevant to this, like the spring loaded folders, but it&#8217;s valuable as well)</p>
<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/DebuggingMouseEvents/bin/DebuggingMouseEvents.html" target="_blank">APPLICATION</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DebuggingMouseEvents/bin/srcview/index.html" target="_blank">SOURCE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/14/debugging-mouse-events-in-flex/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Recover passwords in windows</title>
		<link>http://www.axelscript.com/2008/06/13/recover-passwords-in-windows/</link>
		<comments>http://www.axelscript.com/2008/06/13/recover-passwords-in-windows/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 17:34:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=130</guid>
		<description><![CDATA[Ever wonder how to find out your password after you&#8217;ve lost it?
your going to need PHYSICAL access to the machine&#8230; so if your trying to break your servers at work, and you don&#8217;t have a key to the server room, your not gonna like this entry.
loginrecover.com offers free password recovery&#8230; 
Recover password
i&#8217;ve only used the [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wonder how to find out your password after you&#8217;ve lost it?</p>
<p>your going to need PHYSICAL access to the machine&#8230; so if your trying to break your servers at work, and you don&#8217;t have a key to the server room, your not gonna like this entry.</p>
<p><a href="http://loginrecovery.com" target="_blank"/>loginrecover.com</a> offers free password recovery&#8230; </p>
<h3>Recover password</h3>
<p>i&#8217;ve only used the product with the floppy disk, and now-a-days some computers don&#8217;t have that, so i&#8217;m not real sure on how to go about it, but i&#8217;m sure the site has great instructions<more/>stick the floppy in, it runs when you boot&#8230; (pending bios&#8230; make sure your floppy is set to boot first), when it runs it writes back to the floppy, and you then eject the disk and restart&#8230; </p>
<p>go to a different computer, and upload whatever was saved to the floppy to loginrecovery.com and they will send you the password in a few days&#8230; (there is a que of people waiting)&#8230; they do have a pay version, where you will get the password within an hour or something like that&#8230; it only costs like 12 bucks!!! it&#8217;s totally worth it.</p>
<p>I can&#8217;t really stress how cool this site is, and how it absolutely SAVES your butt, when in desperate need&#8230;</p>
<p>so this is why everyone should kinda lock up their machine right? as in, get a lock on your door to your office, and lock up&#8230; otherwise you risk giving away your password&#8230;. </p>
<p>like i said, i haven&#8217;t tried this for a while&#8230; but someone called me and asked where they could do it, and i referred them to this&#8230; it&#8217;s a great site, and totally useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/13/recover-passwords-in-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drawing in Flex using the UIComponent (part 2) (note: dynamic classes too)</title>
		<link>http://www.axelscript.com/2008/06/12/drawing-in-flex-using-the-uicomponent-part-2-note-dynamic-classes-too/</link>
		<comments>http://www.axelscript.com/2008/06/12/drawing-in-flex-using-the-uicomponent-part-2-note-dynamic-classes-too/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 17:31:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=129</guid>
		<description><![CDATA[Drawing a Rectangle in Flex 

APPLICATION - SOURCE
  

In my last post I kind of talked about drawing a line in flex, (not just programmatically) but how to let the user draw the line&#8230; for example, in photoshop, you use the line tool to draw a straight line&#8230;     

Create a [...]]]></description>
			<content:encoded><![CDATA[<h4>Drawing a Rectangle in Flex </h4>
<p>
<a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMouse/bin/DrawingLinesWithYourMouse.html" target="_blank">APPLICATION</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMouse/bin/srcview/index.html" target="_blank">SOURCE</a>
  </p>
<p>
In my last post I kind of talked about drawing a line in flex, (not just programmatically) but how to let the user draw the line&#8230; for example, in photoshop, you use the line tool to draw a straight line&#8230;     </p>
</p>
<h3>Create a simple whiteboard type application with flex and actionscript 3 extending the UIComponent</h3>
<p>After making the example files, I realized I&#8217;m really not THAT far off of a somewhat white boarding application&#8230; granted mine doesn&#8217;t share the information, or save it anywhere, but the example just simply shows how to get it started&#8230; </p>
<p>		<span id="more"></span>
		</p>
<h3>Dynamically create classes</h3>
<p>  I added a DrawingToolManger class in this, I found out how to dynamically create classes&#8230; I opened up the code to the PopUpManager to get ideas for doing things, and thats where I started to look at the createPopUp function.
<p>
I decided a component like the PopUpManager was fairly complicated for the example I want to show&#8230; I don&#8217;t really care about the display list and grabbing child components right now (with say&#8230; a hand tool)&#8230; the example isn&#8217;t that far yet&#8230;     </p>
<p>
I need to be able to create any type of class, and add it to the display&#8230; my manager returns the new class, and then I can add it to the display&#8230;     </p>
<p>
the coolest part of this was finding out, by typing the class as a type:Class, i can then create a new instance of any class&#8230; say i pass a LineTool to my manager it would be something like this:    </p>
</p>
<div class="code">//in the Wrapper<br /> import com.acj.paperClasses.LineTool;</p>
<p> var myTool:DrawingTool = DrawingToolManager.createTool(LineTool, event);</p>
<p> /*******************in the manager*************/<br /> public static function createTool(className:Class, event:MouseEvent):DrawingTool{</p>
<p> var newClass:DrawingTool = new className();<span style="color: rgb(128, 128, 128);"><em> //this is the awesomeness!!</em></span></p>
<p> return newClass;</p>
<p> }</p></div>
<p>by calling className, i can then invoke the newClass, by ANY class I pass in, by calling the contructor newClass() (technically being resolved to LineTool() in this case! it&#8217;s sooo dynamic! it&#8217;s great!    </p>
<p>
You also can&#8217;t forget about the function flash.utils.getDefinitionByName(string:String):Object;    </p>
<p>
you can use that to invoke an object by passing it a string&#8230; like this:    </p>
<p>
var o:Object = flash.utils.getDefinitionByName(&#8217;com.acj.paperClasses.LineTool&#8217;):Object;    </p>
<p>
var d:DrawingTool = new o();    </p>
<p>
that will evaluate into d = (an instance of)com.acj.paperClasses.LineTool    </p>
<p>
  it&#8217;s another way of doing things dynamically&#8230;    </p>
</p>
<p>it&#8217;s not really ground breaking stuff&#8230; but hopefully someone gets something out of it&#8230;    </p>
<p>
  (same links that were at the top, just here in case blog entry gets long)    </p>
<p>
  <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMouse/bin/DrawingLinesWithYourMouse.html" target="_blank">APPLICATION</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMouse/bin/srcview/index.html" target="_blank">SOURCE</a> </p>
<p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/12/drawing-in-flex-using-the-uicomponent-part-2-note-dynamic-classes-too/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flex Explorers</title>
		<link>http://www.axelscript.com/2008/06/11/flex-explorers/</link>
		<comments>http://www.axelscript.com/2008/06/11/flex-explorers/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 17:42:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=137</guid>
		<description><![CDATA[this is a link for a bunch of flex explorer links&#8230;
http://kanuwadhwa.wordpress.com/2007/08/07/flex-links/
http://www.franto.com/blog2/collected-links-to-actionscript-30-examples
]]></description>
			<content:encoded><![CDATA[<p>this is a link for a bunch of flex explorer links&#8230;</p>
<p><a href="http://kanuwadhwa.wordpress.com/2007/08/07/flex-links/" target="_blank">http://kanuwadhwa.wordpress.com/2007/08/07/flex-links/</a></p>
<p><a href="http://www.franto.com/blog2/collected-links-to-actionscript-30-examples"<br />
target="_blank">http://www.franto.com/blog2/collected-links-to-actionscript-30-examples</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/11/flex-explorers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drawing in Flex using the UIComponent</title>
		<link>http://www.axelscript.com/2008/06/11/drawing-in-flex-using-the-uicomponent/</link>
		<comments>http://www.axelscript.com/2008/06/11/drawing-in-flex-using-the-uicomponent/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 17:31:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=128</guid>
		<description><![CDATA[Draw a line in flex
APPLICATION - SOURCE
I was asked by a fellow coldfusion buddy if it was possible to take an image into flash, and be able to draw on it, i said absolutely&#8230;
They basically have a stock chart that they want to draw straight lines on&#8230; I don&#8217;t know much about charting or stock [...]]]></description>
			<content:encoded><![CDATA[<h4>Draw a line in flex</h4>
<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMouse/bin/DrawingLinesWithYourMouse.html" target="_blank">APPLICATION</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMouse/bin/srcview/index.html" target="_blank">SOURCE</a></p>
<p>I was asked by a fellow coldfusion buddy if it was possible to take an image into flash, and be able to draw on it, i said absolutely&#8230;</p>
<p>They basically have a stock chart that they want to draw straight lines on&#8230; I don&#8217;t know much about charting or stock trading, but it&#8217;s what they wanted&#8230; the project never went through for this simple step, they took a great bid that we through out, and we&#8217;re going to do some full on flex charting for them&#8230;</p>
<p>my plan for the line tool was to just bring in the image, and said a UIComponent over it, and then they could draw on it&#8230; they said there was no purpose of saving the data&#8230; it was a strange thing&#8230;.. but anyway&#8230; this is the starts of that project.</p>
<p>(note: these links are the sames as the ones at the top, they are just here in case the blog gets long)</p>
<p><a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMouse/bin/DrawingLinesWithYourMouse.html" target="_blank">APPLICATION</a> - <a href="http://www.axelscript.com/wp-content/cfwtExamples/DrawingLinesWithYourMouse/bin/srcview/index.html" target="_blank">SOURCE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/06/11/drawing-in-flex-using-the-uicomponent/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Livecycle Full Setup Entry</title>
		<link>http://www.axelscript.com/2008/05/24/livecycle-full-setup-entry/</link>
		<comments>http://www.axelscript.com/2008/05/24/livecycle-full-setup-entry/#comments</comments>
		<pubDate>Sat, 24 May 2008 21:52:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.axelscript.com/?p=127</guid>
		<description><![CDATA[I&#8217;m integrating Livecycle with coldfusion 8, this entry walks through all the steps and challenges.

First download LCDS Express (free for one cpu)
Video on LCDS ES
Learn how to integrate LCDS with coldfusion 8 - the instructions on this page are really confusing and they are a bitch&#8230; i woulda thought some kind of update would have [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m integrating Livecycle with coldfusion 8, this entry walks through all the steps and challenges.</p>
<ul>
<li><a href="http://www.adobe.com/cfusion/tdrc/index.cfm?product=livecycle%5Fdataservices" target="_blank">First download LCDS Express (free for one cpu)</a></li>
<li><a href="https://admin.adobe.acrobat.com/_a295153/livecycledevoverview1/" target="_blank">Video on LCDS ES</a></li>
<li><a href="http://labs.adobe.com/wiki/index.php/LiveCycle_Data_Services:Integrating_with_ColdFusion_8" target="_blank">Learn how to integrate LCDS with coldfusion 8 - the instructions on this page are really confusing and they are a bitch&#8230; i woulda thought some kind of update would have been made to make it a little easier and less confusing<br />
</a></li>
<li><a href="http://labs.adobe.com/downloads/livecycle_dataservices2_6.html" target="_blank">Make the mistake of following the first link like i did when i started googling stuff, here is the lcds 2.6 beta</a> along with the cf 8 compiler module, but again, i&#8217;m not even sure what i need that for yet&#8230;</li>
<li><a href="http://labs.adobe.com/wiki/index.php/BlazeDS:Release_Notes#Integrating_BlazeDS_with_a_ColdFusion_8_installation" target="_blank">Here is how to integrate cf8 with BlazeDS as well</a></li>
<li><a href="http://www.onflexwithcf.org/index.cfm/2007/8/2/Coldfusion-8-Simple-messaging-example-using-Messaging-Event-Gateway" target="_blank">Take a look at an example coldfusion flex app from joao onflexwithcf</a></li>
</ul>
<p>I think with all of the manual adjustments of all of the xml config files, it&#8217;s a pain in the ass, and a bit confusing&#8230; it reminds me of flex 1.5 and the feeling i got when going through all of the intall stuff with that&#8230; it was like&#8230; do i really have to do all this just to try and learn it&#8230; ? i mean this isn&#8217;t even using the language, or the feature of the program, this is simply trying to get it up and running&#8230; and when you stumble on the setup and it doesn&#8217;t work, you tend to steer away to something that you do get&#8230; for me when flex 1.5 was out, i focused on coldfusion, and building my skills in that&#8230; but when flex 2 came out, it was much more simplified&#8230; and you no longer needed the server, and i jumped on full force&#8230;</p>
<p>so to me l think lcds has some ways to go&#8230; maybe an air app to adjust all of the xml files for you? how bout that one adobe? where you at?</p>
<p>anyway, i eventually got it all up and running and it went very smoothly, it was just scary copying and pasting all of these files, and backing them up manually&#8230;</p>
<p>anyway hopefully some of these links will help someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.axelscript.com/2008/05/24/livecycle-full-setup-entry/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
