<?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-7117415</id><updated>2011-07-08T04:09:58.865-07:00</updated><category term='flash'/><category term='SCORM'/><category term='ADL'/><category term='actionscript 3.0'/><category term='custom'/><category term='XML DOM PHP hack'/><category term='package'/><category term='action message format'/><category term='LMS'/><category term='skins'/><category term='MXML'/><category term='events'/><category term='RemoteObject'/><category term='e-learning'/><category term='event handler'/><category term='Java'/><category term='SWF'/><category term='button'/><category term='flex'/><category term='AMF'/><category term='RMI'/><category term='SCO'/><category term='elearning'/><title type='text'>RIA WORLD</title><subtitle type='html'>FLASH::FLEX::AIR and more</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jekre</name><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>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7117415.post-806305946884544012</id><published>2009-02-17T12:55:00.000-08:00</published><updated>2009-02-17T12:57:23.518-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='custom'/><category scheme='http://www.blogger.com/atom/ns#' term='MXML'/><category scheme='http://www.blogger.com/atom/ns#' term='skins'/><category scheme='http://www.blogger.com/atom/ns#' term='button'/><title type='text'>custom button skins Flex MXML</title><content type='html'>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;br /&gt;&lt;!-- http://blog.flexexamples.com/2008/08/20/changing-the-default-skins-on-a-button-control-in-flex/ --&gt;&lt;br /&gt;&lt;mx:Application name="Button_upSkin_test"&lt;br /&gt;        xmlns:mx="http://www.adobe.com/2006/mxml"&lt;br /&gt;        layout="vertical"&lt;br /&gt;        verticalAlign="middle"&lt;br /&gt;        backgroundColor="white"&gt;&lt;br /&gt;&lt;br /&gt;    &lt;mx:Button id="btn"&lt;br /&gt;            label="Button"&lt;br /&gt;            skin="{null}"&lt;br /&gt;            upSkin="{null}"&lt;br /&gt;            overSkin="mx.skins.halo.ButtonSkin"&lt;br /&gt;            downSkin="mx.skins.halo.ButtonSkin"&lt;br /&gt;            disabledSkin="mx.skins.halo.ButtonSkin"&lt;br /&gt;            icon="@Embed('assets/Button.png')" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/mx:Application&gt;&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------------&lt;br /&gt;&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;br /&gt;&lt;!-- http://blog.flexexamples.com/2008/08/20/changing-the-default-skins-on-a-button-control-in-flex/ --&gt;&lt;br /&gt;&lt;mx:Application name="Button_upSkin_test"&lt;br /&gt;        xmlns:mx="http://www.adobe.com/2006/mxml"&lt;br /&gt;        layout="vertical"&lt;br /&gt;        verticalAlign="middle"&lt;br /&gt;        backgroundColor="white"&gt;&lt;br /&gt;&lt;br /&gt;    &lt;mx:Style&gt;&lt;br /&gt;        Button {&lt;br /&gt;            skin: ClassReference(null);&lt;br /&gt;            upSkin: ClassReference(null);&lt;br /&gt;            overSkin: ClassReference("mx.skins.halo.ButtonSkin");&lt;br /&gt;            downSkin: ClassReference("mx.skins.halo.ButtonSkin");&lt;br /&gt;            disabledSkin: ClassReference("mx.skins.halo.ButtonSkin");&lt;br /&gt;            icon: Embed("assets/Button.png");&lt;br /&gt;        }&lt;br /&gt;    &lt;/mx:Style&gt;&lt;br /&gt;&lt;br /&gt;    &lt;mx:Button id="btn"&lt;br /&gt;            label="Button" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/mx:Application&gt;&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;br /&gt;&lt;!-- http://blog.flexexamples.com/2008/08/20/changing-the-default-skins-on-a-button-control-in-flex/ --&gt;&lt;br /&gt;&lt;mx:Application name="Button_upSkin_test"&lt;br /&gt;        xmlns:mx="http://www.adobe.com/2006/mxml"&lt;br /&gt;        layout="vertical"&lt;br /&gt;        verticalAlign="middle"&lt;br /&gt;        backgroundColor="white"&gt;&lt;br /&gt;&lt;br /&gt;    &lt;mx:Script&gt;&lt;br /&gt;        &lt;![CDATA[&lt;br /&gt;            import mx.skins.halo.ButtonSkin;&lt;br /&gt;&lt;br /&gt;            [Embed("assets/Button.png")]&lt;br /&gt;            private const buttonIcon:Class;&lt;br /&gt;&lt;br /&gt;            private function init():void {&lt;br /&gt;                btn.setStyle("skin", null);&lt;br /&gt;                btn.setStyle("upSkin", null);&lt;br /&gt;                btn.setStyle("overSkin", ButtonSkin);&lt;br /&gt;                btn.setStyle("downSkin", ButtonSkin);&lt;br /&gt;                btn.setStyle("disabledSkin", ButtonSkin);&lt;br /&gt;                btn.setStyle("icon", buttonIcon);&lt;br /&gt;            }&lt;br /&gt;        ]]&gt;&lt;br /&gt;    &lt;/mx:Script&gt;&lt;br /&gt;&lt;br /&gt;    &lt;mx:Button id="btn"&lt;br /&gt;            label="Button"&lt;br /&gt;            initialize="init();" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/mx:Application&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-806305946884544012?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/806305946884544012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=806305946884544012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/806305946884544012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/806305946884544012'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2009/02/custom-button-skins-flex-mxml.html' title='custom button skins Flex MXML'/><author><name>Jekre</name><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-7117415.post-4826860231972058059</id><published>2008-12-11T00:09:00.000-08:00</published><updated>2008-12-11T00:33:52.683-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML DOM PHP hack'/><title type='text'>Create XML the Right way</title><content type='html'>I was working in PHP to convert my query results into XML, even though we could create this XML using normal XML header type and printing in all the tags. The problem with this type of development is that you can easily go wrong and encoding special characters could be a pain.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is the code for creating XML using DOM, very simple and straight forward.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I found this code from the book "PHP HACKS" by Jack D. Herrington, I thought it was worth sharing.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;$books = array(&lt;br /&gt; array(&lt;br /&gt;   id=&gt;1,&lt;br /&gt;   author =&gt; "Jack",&lt;br /&gt;   name =&gt; "code generation in action"&lt;br /&gt;  ),&lt;br /&gt; array(&lt;br /&gt;   id=&gt;2,&lt;br /&gt;   author =&gt; "Jack",&lt;br /&gt;   name =&gt; "podcasting Hacks"&lt;br /&gt;  ),&lt;br /&gt; array(&lt;br /&gt;   id=&gt;3,&lt;br /&gt;   author =&gt; "Jack",&lt;br /&gt;   name =&gt; "best of PHP"&lt;br /&gt;  )&lt;br /&gt;  );&lt;br /&gt;  &lt;br /&gt; $dom = new DomDocument('1.0');&lt;br /&gt; $dom-&gt;formatOutput = true;&lt;br /&gt; &lt;br /&gt; $root = $dom-&gt;createElement("books");&lt;br /&gt; $dom-&gt;appendChild($root);&lt;br /&gt; &lt;br /&gt; foreach($books as $book){&lt;br /&gt;  $bn = $dom-&gt;createElement("book");&lt;br /&gt;  $bn-&gt;setAttribute('id',$book['id']);&lt;br /&gt;  &lt;br /&gt;  $author = $dom-&gt;createElement("author");&lt;br /&gt;  $author-&gt;appendChild($dom-&gt;createTextNode($book['author']));&lt;br /&gt;  $bn-&gt;appendChild($author);&lt;br /&gt;  &lt;br /&gt;  $name = $dom-&gt;createElement("name");&lt;br /&gt;  $name-&gt;appendChild($dom-&gt;createTextNode($book['name']));&lt;br /&gt;  $bn-&gt;appendChild($name);&lt;br /&gt;  &lt;br /&gt;  $root-&gt;appendChild($bn);&lt;br /&gt;  &lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;header("content-type: text/xml");&lt;br /&gt;echo $dom-&gt;saveXML();&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-4826860231972058059?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/4826860231972058059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=4826860231972058059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/4826860231972058059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/4826860231972058059'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/12/create-xml-right-way.html' title='Create XML the Right way'/><author><name>Jekre</name><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-7117415.post-1203113375988411148</id><published>2008-10-31T11:51:00.000-07:00</published><updated>2008-10-31T11:58:41.930-07:00</updated><title type='text'>Building my Music Blog &amp; library application</title><content type='html'>Initially started as a project to test the capabilities of flash to load tons of data from an xml file, later I made this into a flash music library application with support of PHP at the back end. I have completed the new version of the same in Flex and its so fast the data loads in a tick of a second.&lt;div&gt;The latest addition is the video playback functionality which I will be implementing in a weeks time.&lt;/div&gt;&lt;div&gt;visit my current version of &lt;a href="http://www.greenappleinteractive.com/ilaiyaraja"&gt;Music Blog&lt;/a&gt;, a site with a collection of film songs based on Indain classical ragas and a lot more &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-1203113375988411148?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/1203113375988411148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=1203113375988411148' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/1203113375988411148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/1203113375988411148'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/10/building-my-music-blog-library.html' title='Building my Music Blog &amp; library application'/><author><name>Jekre</name><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-7117415.post-3312700506219122683</id><published>2008-09-28T11:19:00.000-07:00</published><updated>2008-09-28T11:29:58.795-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='package'/><category scheme='http://www.blogger.com/atom/ns#' term='e-learning'/><category scheme='http://www.blogger.com/atom/ns#' term='SWF'/><category scheme='http://www.blogger.com/atom/ns#' term='LMS'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><category scheme='http://www.blogger.com/atom/ns#' term='elearning'/><category scheme='http://www.blogger.com/atom/ns#' term='ADL'/><category scheme='http://www.blogger.com/atom/ns#' term='SCORM'/><category scheme='http://www.blogger.com/atom/ns#' term='SCO'/><title type='text'>SCORM 2004 communication wrapper</title><content type='html'>Thinking of how to convert your legasy e-learning content to a SCORM 2004 compatible packages.I was also working on a similar requirement and I thought of making a communication wrapper for all this old legacy SWFs . The SCORM wrappe component helps repackaging old SWF contents into SCORM 2004 packages with all the informations stored and used for reports.I have started working on the basic version with simple sequencing features back in mid 2007 it was so successful that we could make more than a 1000 packages with the e-learning content developed way back could be reused and repackaged.The new version with new features are on plan and will update as and when they are in shape. &lt;div&gt; &lt;/div&gt;&lt;div&gt;The packages thus made could be imported into any SCORM 2004 compactible LMS and can have new sequencing features.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-3312700506219122683?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/3312700506219122683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=3312700506219122683' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/3312700506219122683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/3312700506219122683'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/09/scorm-2004-communication-wrapper.html' title='SCORM 2004 communication wrapper'/><author><name>Jekre</name><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-7117415.post-6550147384884530888</id><published>2008-09-28T10:58:00.000-07:00</published><updated>2008-09-28T11:14:41.383-07:00</updated><title type='text'>Play an online game and chek your knowledge about places</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_ohBd6cF7_dU/SN_IpSCpyII/AAAAAAAABSY/JfZlfGM1yso/s1600-h/crane_game.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_ohBd6cF7_dU/SN_IpSCpyII/AAAAAAAABSY/JfZlfGM1yso/s320/crane_game.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5251136302080444546" /&gt;&lt;/a&gt;&lt;br /&gt;Its been quite a while I posted some thing on my blog.I am bussy preparing some future with PHP and Flex.For the time being I thought would introduce some old stuf but which really got my attention.This game I did almost an year back, still remember my self struggling to hit the project deadline with my feaver shooting up hardly could hold my head straight but any way got my action scripts right.I am so happy to see that so many people (75000) have played this cute little game. &lt;div&gt;The game is ver simple you are the bird and you have to find places thats all! The whole world is yours, keep your energy to fly by grabbing some of the fish that come to the ocean surface.&lt;/div&gt;&lt;div&gt;Click &lt;a href="http://ezeppelingames.nl/topographic.html"&gt;here&lt;/a&gt; to play!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-6550147384884530888?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/6550147384884530888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=6550147384884530888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/6550147384884530888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/6550147384884530888'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/09/play-online-game-and-chek-your.html' title='Play an online game and chek your knowledge about places'/><author><name>Jekre</name><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://4.bp.blogspot.com/_ohBd6cF7_dU/SN_IpSCpyII/AAAAAAAABSY/JfZlfGM1yso/s72-c/crane_game.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117415.post-3384912621812971460</id><published>2008-03-15T11:09:00.000-07:00</published><updated>2008-03-15T11:27:55.336-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='MXML'/><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='RMI'/><category scheme='http://www.blogger.com/atom/ns#' term='RemoteObject'/><category scheme='http://www.blogger.com/atom/ns#' term='AMF'/><category scheme='http://www.blogger.com/atom/ns#' term='action message format'/><title type='text'>Accessing Java Objects from Flex</title><content type='html'>From Flex it is lot more easier to access methods of Java Objects with out using any services, you can achieve this by using the &lt;span style="color:#660000;"&gt;"mx:RemoteObject"&lt;/span&gt; &lt;mx:remoteobject&gt;tag which will interact with the Java objects using &lt;a href="http://en.wikipedia.org/wiki/Action_Message_Format"&gt;AMF&lt;/a&gt; (Action Message Format).&lt;br /&gt;mx.servicetags.Service&lt;br /&gt;Details of the tag properties are available at adobe Flex language reference.&lt;br /&gt;For detailed reference and example visit &lt;a href="http://livedocs.adobe.com/flex/15/asdocs_en/mx/servicetags/RemoteObject.html"&gt;ASDoc&lt;/a&gt; link&lt;br /&gt;&lt;/mx:remoteobject&gt;&lt;?xml:namespace prefix = mx /&gt;&lt;mx:remoteobject&gt;&lt;/mx:remoteobject&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-3384912621812971460?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/3384912621812971460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=3384912621812971460' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/3384912621812971460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/3384912621812971460'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/03/accessing-java-objects-from-flex.html' title='Accessing Java Objects from Flex'/><author><name>Jekre</name><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>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117415.post-139434045926792212</id><published>2008-03-13T07:26:00.000-07:00</published><updated>2008-03-13T07:45:44.463-07:00</updated><title type='text'>Brush strokes using BitmapData</title><content type='html'>Couple of weeks back I was going through the "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;BitmapData&lt;/span&gt;" class that is in the flash display package. My idea was to implement different types of brush (brush stroke) like in the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;photoshope&lt;/span&gt; into a small drawing application.Finally the whole thing became very simple.&lt;br /&gt;The idea is when the user drag the mouse over the canvas we have to draw a pattern, a normal stroke will be a circle or a rectangle but here we need some custom strokes.&lt;br /&gt;First we will identify a pattern which would be a combination of single pixel &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;squares&lt;/span&gt; arranged to get the specific pattern.To get this pattern at run time we write a loop which uses the '&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;fillRect&lt;/span&gt;' functionality to create the pattern.&lt;br /&gt;Each brush strokes would be a class on its draw function &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_4"&gt;implements&lt;/span&gt; the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;fillRect&lt;/span&gt; according to the pattern.&lt;br /&gt;dummy code will look like this&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;public function &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;mouseMove&lt;/span&gt;(event:Event):void { &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;if(_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;drawMe&lt;/span&gt;){ &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;brushStroke&lt;/span&gt;(_color); } &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;private function &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;brushStroke&lt;/span&gt;(_color):void { &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;var fiber_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;lng&lt;/span&gt;:Number =30;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;for(var i:int=0;i&lt;=fiber_lng&lt;/span&gt;&lt;span style="color:#ff6600;"&gt;;i++){&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;bitmap.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;fillRect&lt;/span&gt;(new Rectangle(mouseX+Math.round(Math.random()*10), mouseY+Math.round(Math.random()*10),_pixelWidth, _&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;pixelHight&lt;/span&gt;), _color); &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff6600;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#330033;"&gt;Since we are only changing the color values of a canvas, this &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_14"&gt;approach&lt;/span&gt; has proved very smooth and fast, and the main thing that has to taken care of is not overdoing the loops to create complex strokes.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#330033;"&gt;Hope this will help in some of your application&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-139434045926792212?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/139434045926792212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=139434045926792212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/139434045926792212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/139434045926792212'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/03/brush-strokes-using-bitmapdata.html' title='Brush strokes using BitmapData'/><author><name>Jekre</name><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-7117415.post-5677389808977615765</id><published>2008-03-06T07:04:00.000-08:00</published><updated>2008-03-06T07:29:37.509-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='custom'/><category scheme='http://www.blogger.com/atom/ns#' term='actionscript 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='event handler'/><category scheme='http://www.blogger.com/atom/ns#' term='events'/><category scheme='http://www.blogger.com/atom/ns#' term='flash'/><title type='text'>Developing Custom Events for FLEX</title><content type='html'>Ever wondered while coding for events, it would have been great if I had a custom event whose result event target contain what I want , then this is what you should do.&lt;br /&gt;&lt;br /&gt;I would make a class called "CustomEvent" extending the "Events" class which will take care of all the custom event details. I also have another class which trigger the events as soon as it get the data from a webservice .&lt;br /&gt;&lt;br /&gt;the DataEventHandler class looks something like this&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;package mypackage{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import mx.collections.ArrayCollection;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import mx.rpc.events.ResultEvent;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import mx.rpc.events.FaultEvent;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import  mx.rpc.soap.WebService;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import  mx.rpc.soap.LoadEvent;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import mx.controls.Alert;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import flash.events.EventDispatcher;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import flash.events.Event;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import flash.display.Sprite&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import components.CustomEvent;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;   public class DataEventHandler extends Sprite{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;            private var service_handler:WebService;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;           private var methodList:ArrayCollection;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;           private var isLoaded:Boolean = false;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;       &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    public function startService(path:String):void{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        service_handler = new WebService();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        service_handler.wsdl= path;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        service_handler.loadWSDL();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        service_handler.addEventListener(FaultEvent.FAULT,faultHandler);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        service_handler.addEventListener(LoadEvent.LOAD,loadHandler);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    service_handler.GetOverviewXML.addEventListener(ResultEvent.RESULT,onOverviewResult);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;service_handler.GetOverviewXML.addEventListener(FaultEvent.FAULT,faultHandler);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;private function loadHandler(event:LoadEvent):void {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;            isLoaded = true;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;            &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;            dispatchEvent(new Event("onLoadService"));&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;                &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    private function faultHandler(event:FaultEvent):void {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;                     Alert.show("error :"+event.fault);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;private function onOverviewResult(r:ResultEvent):void{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        dispatchEvent(new CustomEvent("OverviewEvent",r.result));&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;}&lt;br /&gt;&lt;span style="color: rgb(51, 0, 51);"&gt;The CustomEvent Class looks like this.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;package mypackage{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import mx.controls.Alert;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import flash.events.EventDispatcher;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    import flash.events.Event;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;   public class CustomEvent extends Event{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;       &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;       &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    public  var itemDescription:*; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    public static const OVERVIEW:String ="OverviewEvent"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    public function CustomEvent(type:String,description:* ){&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;            super(type,true, true); //bubble by default&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;            itemDescription=description;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    override public function clone():Event{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;        return new CustomEvent(type,itemDescription); // bubbling support inside&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;             &lt;br /&gt;      &lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;   }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;   &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 0, 51);"&gt;From the development side I would write&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;data_handler = new &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;DataEventHandler&lt;/span&gt;&lt;span style="color: rgb(51, 0, 51);"&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;data_handler.startService("servicepath?wsdl");&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;data_handler.addEventListener(&lt;span style="color: rgb(153, 51, 0);"&gt;CustomEvent&lt;/span&gt;.OVERVIEW,onOverviewLoad);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;private function onOverviewLoad(e:&lt;span style="color: rgb(204, 0, 0);"&gt;CustomEvent&lt;/span&gt;):void{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;                &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;                 for(var ns:String in e.itemDescription){&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;                        Alert.show(ns+ "::"+e.itemDescription[ns]);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;                 }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;                                    &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;            }&lt;br /&gt;&lt;span style="color: rgb(51, 0, 51);"&gt;Note how we included the "CustomEvent" target object. use a for loop to get all the data stored by the result object.Hope rest of the code is self explanatory. This classes has been very useful for me.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-5677389808977615765?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/5677389808977615765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=5677389808977615765' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/5677389808977615765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/5677389808977615765'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/03/developing-custom-events-for-flex.html' title='Developing Custom Events for FLEX'/><author><name>Jekre</name><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-7117415.post-4253778422788314951</id><published>2008-03-03T01:45:00.000-08:00</published><updated>2008-03-04T00:30:16.983-08:00</updated><title type='text'>AIR FLV subtitling application.</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_ohBd6cF7_dU/R80Dwk3lrgI/AAAAAAAABJI/OFEcFns6WKU/s1600-h/caption_air01.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173795679984004610" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; CURSOR: hand" alt="" src="http://3.bp.blogspot.com/_ohBd6cF7_dU/R80Dwk3lrgI/AAAAAAAABJI/OFEcFns6WKU/s320/caption_air01.jpg" border="0" /&gt;&lt;/a&gt; I was tracking the AIR development very closly through Adobe Labs(A greate place to learn RIA) AIR 3.0 Beta along with Flex Builder was a nice toy to play with, then came a requirement to add subtitles to FLV vidoes. The subtitle will be an XML file and tracked by the custom FLV player (which I developed in mid 2007 ) .&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;Now the trouble was preparing the subtitling file with the accurate time details of each videos, and found that's gona eat up a lot of time, so I thought why not build an AIR application and came up with the "CaptionAir". &lt;/div&gt;&lt;div&gt;The first thing I decided when thinking about the application was that the user are going to play with video files and hence all the button should have key board shortcuts.Other features includes users can load a file by browsing the local files or from a server path.The "start Time" and "End Time" will track the time in between the subtitle has to come.Once the subtitle text is added it comes to a list box below.&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/_ohBd6cF7_dU/R80HS03lrhI/AAAAAAAABJQ/GRBUkeexdvA/s1600-h/caption_air02.jpg"&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/_ohBd6cF7_dU/R80IFE3lrjI/AAAAAAAABJg/auykKzISeWk/s1600-h/caption_air02.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5173800430217834034" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_ohBd6cF7_dU/R80IFE3lrjI/AAAAAAAABJg/auykKzISeWk/s320/caption_air02.jpg" border="0" /&gt;&lt;/a&gt;Clicking on the list box items will automaticaly takes the application to "Edit" mode and track the video to the appropriate position.Using the time scrubber at the bottom the user can sail to any position of the video and preview how the subtitles will work in run time.Clicking on the save button will export the entire subtitle information into an XML file.&lt;/div&gt;&lt;div&gt;Adding the certification and converting it to an installer and all are fairly simple.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-4253778422788314951?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/4253778422788314951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=4253778422788314951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/4253778422788314951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/4253778422788314951'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/03/air-flv-subtitling-application.html' title='AIR FLV subtitling application.'/><author><name>Jekre</name><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://3.bp.blogspot.com/_ohBd6cF7_dU/R80Dwk3lrgI/AAAAAAAABJI/OFEcFns6WKU/s72-c/caption_air01.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7117415.post-5818202834345548313</id><published>2008-03-03T00:40:00.000-08:00</published><updated>2008-03-03T01:08:12.118-08:00</updated><title type='text'>Flex .Net educational portal</title><content type='html'>&lt;p&gt;At last our Flex based educational portal is now ready and it is called "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;GoggleBox&lt;/span&gt;". Me and my web tech &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;savvy&lt;/span&gt; project mate &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;Sumit&lt;/span&gt; was asked to work on an &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_3"&gt;educational&lt;/span&gt; portal entirely based on Flex and .Net. The challenge was too good to &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_4"&gt;deny&lt;/span&gt; . We first worked on the over all requirements and features that could be implemented.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;Sumit&lt;/span&gt; in no time &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_6"&gt;realised&lt;/span&gt; that we need a custom &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;CMS&lt;/span&gt; engine to &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_8"&gt;develop&lt;/span&gt; and implement this &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_9"&gt;portal&lt;/span&gt;, while I was &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_10"&gt;designing&lt;/span&gt; the Flex application that could be &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_11"&gt;plugged&lt;/span&gt; and played into the system.&lt;/p&gt;&lt;p&gt;In between the development the &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_12"&gt;challenge&lt;/span&gt; was to make custom events to communicate with our web service which was solved once I could &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_13"&gt;develop&lt;/span&gt; a couple of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;APIs&lt;/span&gt; to handle the issue.Over all it was a &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_15"&gt;challenging&lt;/span&gt; and wonderful &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_16"&gt;experience&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;The product was an instant hit as soon as it was launched for the &lt;a href="http://www.bettshow.com/"&gt;BET 2008 shows &lt;/a&gt;at London.&lt;/p&gt;&lt;p&gt;visit &lt;a href="http://www.sherston.com/gogglebox/default.aspx"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;GoggleBox&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-5818202834345548313?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/5818202834345548313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=5818202834345548313' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/5818202834345548313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/5818202834345548313'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/03/flex-net-educational-portal.html' title='Flex .Net educational portal'/><author><name>Jekre</name><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-7117415.post-5209101278477397419</id><published>2008-02-29T08:58:00.000-08:00</published><updated>2008-02-29T09:06:21.954-08:00</updated><title type='text'>I just woke up!</title><content type='html'>For the last couple of years I was so busy working that I forgot to update my technical blog(that was bad).Mean while a lot of changes happened in the world of RIA. The winds of change was also brushing me and now am in the midst of FLEX and AIR(Apollo), I know Flash is still their.Now I have decided to update my Tech Blog regularly&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-5209101278477397419?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/5209101278477397419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=5209101278477397419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/5209101278477397419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/5209101278477397419'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2008/02/i-just-woke-up.html' title='I just woke up!'/><author><name>Jekre</name><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-7117415.post-111831036254438280</id><published>2005-06-09T05:01:00.000-07:00</published><updated>2005-06-16T12:17:54.983-07:00</updated><title type='text'>adding rows to datagrid at run time</title><content type='html'>If you are working with an editable data grid component&lt;br /&gt;and as you reach the last column you need to add the next row&lt;br /&gt;so that the next set of informations can be add do this:&lt;br /&gt;&lt;br /&gt;drag a datagrid component to the stage&lt;br /&gt;make you data grid big enough since am not goin to give column width and all&lt;br /&gt;into the code .&lt;br /&gt;&lt;br /&gt;once the data is ready to send it also checks for any null rows.here I have only checked for&lt;br /&gt;a specific value  before deleting a row.&lt;br /&gt;&lt;br /&gt;The context Menu helps to delete any selcted row.&lt;br /&gt;once you delete a row make sure that you reflect the change in the dataprovider&lt;br /&gt;and reload the entire data with the dataprovider  if you want to edit the DataGrid  agian.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;give an instance name : myDataGrid_dg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and give some life with this action script :&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;&lt;br /&gt;import mx.controls.gridclasses.DataGridColumn ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;var my_cm:ContextMenu = new ContextMenu();&lt;br /&gt; my_cm.hideBuiltInItems();&lt;br /&gt;&lt;br /&gt;var menuItem_cmi:ContextMenuItem = new ContextMenuItem("delete_handle", deleteHandler);&lt;br /&gt;my_cm.customItems.push(menuItem_cmi);&lt;br /&gt;&lt;br /&gt;this.menu = my_cm;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function deleteHandler() {&lt;br /&gt;  (myDataGrid_dg.removeItemAt(myDataGrid_dg.selectedIndex));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;data_array = new Array();&lt;br /&gt;data_array =[{name:"", price:"",number:""}];&lt;br /&gt;&lt;br /&gt;myDataGrid_dg.dataProvider = data_array;&lt;br /&gt;&lt;br /&gt;// this is the simplest way to make a DG ready&lt;br /&gt;&lt;br /&gt;myDataGrid_dg.editable =true;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//make the DG editable&lt;br /&gt;var num =0;&lt;br /&gt;&lt;br /&gt;listen = new Object();&lt;br /&gt;&lt;br /&gt;// a listener object is add to trigger events&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;listen.cellFocusOut = function(obj){&lt;br /&gt;if(obj.columnIndex ==2){&lt;br /&gt;num ++;&lt;br /&gt;var obj ={name:"", price:"",number:""}&lt;br /&gt;myDataGrid_dg.addItemAt(num,obj);&lt;br /&gt;//here you can also use&lt;br /&gt;//myDataGrid_dg.addItem(obj);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;myDataGrid_dg.addEventListener("cellFocusOut",listen);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;send_btn.onRelease=function(){&lt;br /&gt;    trace(myDataGrid_dg.length);&lt;br /&gt;    for(i = myDataGrid_dg.length ; i &gt;= 0 ;i-- ){&lt;br /&gt;        if((myDataGrid_dg.getItemAt(i).price) == undefined||(myDataGrid_dg.getItemAt(i).price) == ""){&lt;br /&gt;            myDataGrid_dg.removeItemAt(i);&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;   &lt;br /&gt;}&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;//each time a cell gets out of focus the event is triggered&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;-------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-111831036254438280?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/111831036254438280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=111831036254438280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/111831036254438280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/111831036254438280'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2005/06/adding-rows-to-datagrid-at-run-time.html' title='adding rows to datagrid at run time'/><author><name>Jekre</name><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-7117415.post-110845495879833159</id><published>2005-02-14T23:08:00.000-08:00</published><updated>2005-02-15T00:38:41.743-08:00</updated><title type='text'>pop up with image size</title><content type='html'>If you are making an image viewier and wnt the pop up to resize according to the image size this is wot u have to do.&lt;br /&gt;I hav'nt used the loader component of flashMX 2004 which make things more simple, here am using the old techique of loading image into an empty movie clip.&lt;br /&gt;&lt;br /&gt;to make things working open a new flash doc inside the lib'&lt;br /&gt;make three movie clip.&lt;br /&gt;&lt;br /&gt;1.boder_mc -- this will have the outer border of you image that you are showing&lt;br /&gt;2.holder_mc -- this will be any empty movie clip to which you will load the image&lt;br /&gt;3.loading_mc -- this movie clip will have the loading animation&lt;br /&gt;&lt;br /&gt;once this is done drag all of them into another movie clip called frame_mc&lt;br /&gt;and drag frame_mc to stage.&lt;br /&gt;&lt;br /&gt;keep the same instance name and the order&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;on the one and only frame paste this code and that's it .&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;var id ;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;var x_range;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;var y_range;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;var counter =1;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#663333;"&gt;&lt;strong&gt;function loadImage(){ &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.loader_mc._visible=true; &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.holder_mc.loadMovie("test.jpg"); &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;id = setInterval(traceAmount,100); &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;} &lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc9933;"&gt;&lt;strong&gt;function traceAmount() { &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.holder_mc._alpha =0; &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;if(frame_mc.holder_mc.getBytesLoaded()== frame_mc.holder_mc.getBytesTotal()){&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;xrange = frame_mc.border_mc._width -( frame_mc.holder_mc._width+10); &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;yrange = frame_mc.border_mc._height-( frame_mc.holder_mc._height+10); &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.loader_mc._visible=false; &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;clearInterval(id); &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;id = setInterval(popupSizer,100,xrange,yrange);&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#993300;"&gt;&lt;strong&gt;function popupSizer(x:Number,y:Number){&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;var xdiv_val = x/10;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;var ydiv_val = y/10;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.border_mc._width -= xdiv_val;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.border_mc._height -= ydiv_val;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;counter ++;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;if(counter == 10){&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.border_mc._width = frame_mc.holder_mc._width+10 ;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.border_mc._height= frame_mc.holder_mc._height+10 ;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;frame_mc.holder_mc._alpha =100;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;clearInterval(id);&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;}&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;loadImage();&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;stop();&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------------------&lt;br /&gt;I have used some constants , be ready to change those and improvise the look and feel of the out put.&lt;br /&gt; Happy coding&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-110845495879833159?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/110845495879833159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=110845495879833159' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/110845495879833159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/110845495879833159'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2005/02/pop-up-with-image-size.html' title='pop up with image size'/><author><name>Jekre</name><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-7117415.post-109332704531606474</id><published>2004-08-23T22:33:00.000-07:00</published><updated>2004-08-23T22:57:25.316-07:00</updated><title type='text'>how to use PrintJob class</title><content type='html'>How to use the Print job class &lt;br /&gt;&lt;br /&gt;     The new PrintJob class offers some kweel features &lt;br /&gt;who are trying to print dynamic contents or different pages of&lt;br /&gt;contents .You can put into use all ur programing skills to make the &lt;br /&gt;content appear some wer on stage before the addPage() command takes it to&lt;br /&gt;the printer spool.&lt;br /&gt;&lt;br /&gt;A sample code will look like this&lt;br /&gt;PrintObject.start() will return a boolean value,to check &lt;br /&gt;for any error in printing.&lt;br /&gt;&lt;br /&gt;print_btn.onRelease = function(){&lt;br /&gt;	my_pg= new PrintJob();&lt;br /&gt;	var myResult = my_pg.start();&lt;br /&gt;  if(myResult) {   		&lt;br /&gt;	// I am not writing a dynamic loop here,just to make your self understand &lt;br /&gt;	// how addPage() works .First of all make you self underStand that flash&lt;br /&gt;	//prints an area of the stage .So you should make any thing that you need&lt;br /&gt;	// to print shud be available some were on the stage.&lt;br /&gt;	// flash prints every thing as vector so you need to tell flash to print it&lt;br /&gt;	// as a bitmap.{printAsBitmap:true} &lt;br /&gt;	&lt;br /&gt;	my_pg.addPage("print_mc",{xMin:0,xMax:468,yMin:0,yMax:485},{printAsBitmap:true},1);&lt;br /&gt;	print_mc.gotoAndStop(2);&lt;br /&gt;	my_pg.addPage("print_mc",{xMin:0,xMax:468,yMin:0,yMax:485},{printAsBitmap:true},2);&lt;br /&gt;	&lt;br /&gt;	my_pg.send();&lt;br /&gt;  }&lt;br /&gt;	delete(my_pg);&lt;br /&gt;	&lt;br /&gt;	&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//similarly you cod also print levels&lt;br /&gt;// Starting 50 pixels to the right of 0,0 and 70 pixels down,&lt;br /&gt;          // print an area 500 pixels wide and 600 pixels high&lt;br /&gt;          // of frame 4 of level 5 in vector format&lt;br /&gt;         //(my_pj.addPage(5, {xMin:50,xMax:550,yMin:70,yMax:670},null, 4)&lt;br /&gt;						  &lt;br /&gt;						  &lt;br /&gt;						  &lt;br /&gt;// applying the same logic you cod also print dynamic content in a text area//&lt;br /&gt;//for that make sure that each time you add page you shud need to scroll the &lt;br /&gt;//content up to the next position//&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;you can download the sample file  &lt;a href = "http://www.geocities.com/jekre/udaharanam/PrintClass.zip" target="blank"&gt;"CLICK HERE"&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-109332704531606474?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/109332704531606474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=109332704531606474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109332704531606474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109332704531606474'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2004/08/how-to-use-printjob-class.html' title='how to use PrintJob class'/><author><name>Jekre</name><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-7117415.post-109176805886237640</id><published>2004-08-05T21:23:00.000-07:00</published><updated>2004-08-05T21:55:39.783-07:00</updated><title type='text'>new brand of key words in AS2.0</title><content type='html'> With the introduction of AS2.0 Flash has&lt;br /&gt;now become more powerful, and the key proteins&lt;br /&gt;are provided by some new sets of key words&lt;br /&gt;which are very essential for object oriented &lt;br /&gt;programming in flash and they are&lt;br /&gt;&lt;br /&gt;&amp;#8226; class&lt;br /&gt;&amp;#8226; static&lt;br /&gt;&amp;#8226; public&lt;br /&gt;&amp;#8226; private&lt;br /&gt;&amp;#8226; get&lt;br /&gt;&amp;#8226; set&lt;br /&gt;&amp;#8226; dynamic&lt;br /&gt;&amp;#8226; intrinsic&lt;br /&gt;&amp;#8226; extends&lt;br /&gt;&amp;#8226; interface&lt;br /&gt;&amp;#8226; implements&lt;br /&gt;&amp;#8226; import&lt;br /&gt;   We can take a look at each of this in detail..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-109176805886237640?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/109176805886237640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=109176805886237640' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109176805886237640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109176805886237640'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2004/08/new-brand-of-key-words-in-as20.html' title='new brand of key words in AS2.0'/><author><name>Jekre</name><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-7117415.post-109046903430749737</id><published>2004-07-21T20:37:00.000-07:00</published><updated>2004-07-21T21:27:48.983-07:00</updated><title type='text'>ADSL2+</title><content type='html'>We all know how fast we could surf the internet with a broadband connection,okey then ADSL is the technology that brings us broadband.Now its time for ADSL2+, an improvement in the orginal technology that may revolutionise the way we use the Internet.&lt;br /&gt;   The main bottle neck in providing broadband connection is the infrastructure,all those old copper wires running down under our cities may be celebrating its centenary soon.&lt;br /&gt;  &lt;strong&gt;Chris de Courcy-Bower&lt;/strong&gt;, &lt;a href="http://www.lucent.com/" target="_blank"&gt;Lucent&lt;/a&gt;: &lt;br /&gt;      &lt;em&gt;&amp;quot;Nowadays we are trying to squeeze 25 megabits per second down &lt;br /&gt;      a cable that was only designed to carry three kilohertz of traffic.&amp;quot; &lt;br /&gt;      &lt;/em&gt;&lt;br /&gt;  And this kind of cabling is knwn as &lt;font color="#993300"&gt;&lt;strong&gt;POTS&lt;/strong&gt;&lt;/font&gt; &lt;br /&gt;        &amp;quot;Plain Old Telephone System&amp;quot;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#990000"&gt;&lt;strong&gt;DSL&lt;/strong&gt;&lt;/font&gt; is &lt;a href="http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci213915,00.html" target="_blank"&gt;Digital Subscriber Line&lt;/a&gt;, and that refers to the connection between you and the exchange, and the &lt;font color="#990000"&gt;&lt;strong&gt;A&lt;/strong&gt;&lt;/font&gt; stands     for Asymmetric, which means the you can download data faster than you can upload it. &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-109046903430749737?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/109046903430749737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=109046903430749737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109046903430749737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109046903430749737'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2004/07/adsl2.html' title='ADSL2+'/><author><name>Jekre</name><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-7117415.post-109038781159410251</id><published>2004-07-20T21:58:00.000-07:00</published><updated>2004-07-20T22:36:55.456-07:00</updated><title type='text'>ActionScript 2.0 is oop</title><content type='html'>Hi,Did you guys know that ActionScript(AS)2.0 is completly object oriented? ha ha.. Just joking..&lt;br /&gt;  But for guys who are new to AS2.0 keep in mind that AS 2.0 is Object Oriented and it gives you much much breathing space as a programmer.Reusability now will have more meaning,you reuse a class you created in AS2.0 by inheriting the functionality of that class in other classes, the fundamental metaphors of OOP mirrors closly the natural world which would realy help you in the design process .&lt;br /&gt;  The simplest way of making a class in AS2.0 is like this &lt;br /&gt;  &lt;br /&gt; take your fav: editor and type in&lt;br /&gt; //---------------------------------------------------------// &lt;br /&gt;   class myColor{&lt;br /&gt;     public var myStatus:String;&lt;br /&gt;    &lt;br /&gt;    // this is a public function and returns a String value::&lt;br /&gt;     public function checkStatus:String(){&lt;br /&gt;        myStatus = "cool";&lt;br /&gt;        return(myStatus);&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt; //----------------------------------------------------------//&lt;br /&gt;  Now things that are new to AS 2.0::&lt;br /&gt;   All class files should be external .as files.&lt;br /&gt;   while naming ur as files keep the file name and the class name the same, might not be new if you were using JAVA.&lt;br /&gt;   keep the file along with your .fla or flash applications class folder.&lt;br /&gt;  so here the file name will be "myColor.as"&lt;br /&gt;&lt;br /&gt;   In your flash you write &lt;br /&gt;//-----------------------------------------------------------//&lt;br /&gt;   var statusChk:myColor = new myColor();&lt;br /&gt;   trace(statusChk.checkStatus());&lt;br /&gt; &lt;br /&gt;//-----------------------------------------------------------//&lt;br /&gt;&lt;br /&gt;and thats it you are into the track :)&lt;br /&gt;&lt;br /&gt;For more information tutorials and goodies click&lt;a href="http://www.macromedia.com/devnet/mx/flash/actionscript/actionscript05.html" target = "_blank"&gt;ActionScript Learning Guide from Macromedia&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If thats not enough and to know more about AS2.0 &lt;a href="http://www.person13.com/articles/" target = "_blank"&gt;Click here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-109038781159410251?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/109038781159410251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=109038781159410251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109038781159410251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109038781159410251'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2004/07/actionscript-20-is-oop.html' title='ActionScript 2.0 is oop'/><author><name>Jekre</name><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-7117415.post-109030051552664508</id><published>2004-07-19T22:09:00.000-07:00</published><updated>2004-07-19T22:15:15.526-07:00</updated><title type='text'>New discussion forum</title><content type='html'>To all those Macromedia Director developers out there, here is a new discussion forum&lt;br /&gt;I have'nt went in detail to find how deep is the rabit hole but it looks to hold a good amount of information happy surfing to &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.shocksites.com/forum/" target="_blank"&gt;shocksites&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-109030051552664508?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/109030051552664508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=109030051552664508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109030051552664508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109030051552664508'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2004/07/new-discussion-forum.html' title='New discussion forum'/><author><name>Jekre</name><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-7117415.post-109029989042024681</id><published>2004-07-19T21:05:00.000-07:00</published><updated>2004-07-19T22:20:26.536-07:00</updated><title type='text'>Flash geting too smarter</title><content type='html'>As the Interface area become too smaller flash become too smarter&lt;br /&gt;Its so very interesting how Macromedia Flash developed through the years. Now Flash is ever where and its catching up the interest of developers who works for the device market as well.&lt;br /&gt;Keeping up with the latest trends in the market and PDA's and mobile phones happens to be another organ of our body,Flash fits in best when it comes to conveing the Information.Macromedia Flash enabled Televisions and set top boxes are next on the list.&lt;br /&gt;   Flash is the smart guy in town, every one seems to know him very well,Most of the webs sites uses Flash.Its realy very flexible yet incredibily powerful with which you could create rich graphics and complex interactions.Flash do go well with all kinds of input devices like touch screens, remote controls, key boards etc.The huge army of developers that the Flash community holds is its biggest asset.&lt;br /&gt;&lt;br /&gt;  For More Info and to get the development kit check out&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.macromedia.com/devnet/devices/development_kits.html" target="_blank"&gt;development kits @ macromedia.com&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;  Articles and Tutorials&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.macromedia.com/devnet/mobile/articles/sony_clie.html" target="_blank"&gt;Using Macromedia Flash with Sony CLIÉ&lt;/a&gt;&lt;br /&gt;  &lt;br /&gt;&lt;a href="http://www.macromedia.com/devnet/mobile/articles/mobile_portfolio.html&lt;br /&gt;" target="_blank"&gt;Creating a Macromedia Flash Portfolio for Mobile Devices&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;  &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-109029989042024681?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/109029989042024681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=109029989042024681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109029989042024681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/109029989042024681'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2004/07/flash-geting-too-smarter.html' title='Flash geting too smarter'/><author><name>Jekre</name><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-7117415.post-108805872759567847</id><published>2004-06-23T23:27:00.000-07:00</published><updated>2004-06-23T23:32:07.596-07:00</updated><title type='text'>Creating XML based graphs</title><content type='html'>I was working on some kweel graphing mechanisams with flash MX &lt;br /&gt;that included line graph , 3D bar graphs and some pie charts&lt;br /&gt;This I did for some web sites with PHP to controll the server &lt;br /&gt;side .I will be soon making a  smart movie clip of the same to&lt;br /&gt;get values from an xml file and creating the graphs.I will soon &lt;br /&gt;update on the happenings.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-108805872759567847?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/108805872759567847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=108805872759567847' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/108805872759567847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/108805872759567847'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2004/06/creating-xml-based-graphs.html' title='Creating XML based graphs'/><author><name>Jekre</name><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-7117415.post-108557782063990679</id><published>2004-05-26T06:21:00.000-07:00</published><updated>2004-05-26T06:24:08.603-07:00</updated><title type='text'>Welcome to the </title><content type='html'>Hi all welcome to my Blogg I will be updating this with &lt;br /&gt;interesting facts about Flash MX and Director and wot ever I kno..&lt;br /&gt;so happy Blogging&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7117415-108557782063990679?l=jekre.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jekre.blogspot.com/feeds/108557782063990679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7117415&amp;postID=108557782063990679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/108557782063990679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7117415/posts/default/108557782063990679'/><link rel='alternate' type='text/html' href='http://jekre.blogspot.com/2004/05/welcome-to.html' title='Welcome to the '/><author><name>Jekre</name><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></feed>
