<?xml version="1.0" encoding="us-ascii"?>
<rss version="2.0">
  <channel>
    <title>blogs.matrixwebs.com</title>
    <description>blogs.matrixwebs.com</description>
    <link>http://blogs.matrixwebs.com/members/feed.aspx?username=Dhana</link>
    <docs>http://backend.userland.com/rss</docs>
    <generator>RSS.NET: http://www.rssdotnet.com/</generator>
    <item>
      <title>Flash &amp;quot;asfunction&amp;quot;</title>
      <description>&lt;p&gt;While working on a Flash project this past week, I stumbled across a tiny problem that stumped me for a little while.&lt;/p&gt;
&lt;p&gt;With all the Flash data coming in from an XML file, I could not set certain items to be clickable before runtime and assign it a &amp;quot;&lt;em&gt;onpress&lt;/em&gt;&amp;quot; event.&amp;nbsp; For this particular issue, I needed a function that would allow me to target items created at runtime.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With a little bit of rummaging through Macromedia (or Adobe's - to be more precise) Knowledgebase, I found a neat little function that potentially saved my weekend from&amp;nbsp; being runneth over by &amp;quot;&lt;em&gt;what can i do&lt;/em&gt;&amp;quot; worries.&lt;/p&gt;
&lt;p&gt;By using a function called &amp;quot;&lt;em&gt;&lt;strong&gt;asfunction&lt;/strong&gt;&lt;/em&gt;&amp;quot;, I assigned a HTML enabled text field with a HREF that pointed to an ActionScript statement.&amp;nbsp; For example, I wanted my dynamic list item to execute a function called &amp;quot;&lt;em&gt;displayAddress&lt;/em&gt;&amp;quot; when clicked.&lt;/p&gt;
&lt;p&gt;So, I targeted my HREF like this:&lt;/p&gt;
&lt;hr size="2" width="100%" /&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;a href=&amp;quot;asfunction:displayAddress,country&amp;quot;&amp;gt;Country&amp;lt;/a&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Once the link is clicked, the &amp;quot;displayAdress&amp;quot; function would be executed.&lt;/p&gt;
&lt;p&gt;For functions that don't need an argument, simply remove the argument and the preceding comma.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;lt;a href=&amp;quot;asfunction:displayAddress&amp;quot;&amp;gt;Country&amp;lt;/a&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;hr size="2" width="100%" /&gt;
&lt;p&gt;And that was all, simple and painless.&amp;nbsp; The weekend was good too!&lt;/p&gt;</description>
      <link>http://blogs.matrixwebs.com/members/Dhana/archive/2007/6/27/1061.aspx</link>
      <comments>http://blogs.matrixwebs.com/members/Dhana/archive/2007/6/27/1061.aspx#comment</comments>
      <guid isPermaLink="True">http://blogs.matrixwebs.com/members/Dhana/archive/2007/6/27/1061.aspx</guid>
      <pubDate>Wed, 27 Jun 2007 22:15:31 GMT</pubDate>
    </item>
    <item>
      <title>Naked CSS</title>
      <description>&lt;p&gt;Believe me - it's a purely technical term amongst the&amp;nbsp; XHTML purist.&amp;nbsp;&amp;nbsp; That's the way they have fun - stripping out the good 'ol CSS styles from a webpage and show off the raw XHTML code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Why you might ask?&amp;nbsp; By stripping all styles out, you can then look at your webpage in its most basic form to see if it's still readable and navigable.&lt;/p&gt;
&lt;p&gt;The main idea behind &lt;strong&gt;&lt;a href="http://naked.dustindiaz.com/"&gt;Naked CSS&lt;/a&gt;&lt;/strong&gt; is to promote &lt;strong&gt;Web Standards&lt;/strong&gt;.&amp;nbsp; By stripping out the facade, you can see if the raw code has good hierachical structure. Not only that, this will be the time you can see if you have managed to separate the content of your site from the presentation.&lt;/p&gt;
&lt;p&gt;Web standards you say - who cares about that?&amp;nbsp; Well, there are a few important reasons to this.&amp;nbsp; One is basic human decency.&amp;nbsp; With good web standards and web accessibility, you are helping users with visual impairment navigate your site with screen readers and braille devices.&amp;nbsp; Although they might just make up a tiny percentage of your users, they're still an important part of your audience.&lt;/p&gt;
&lt;p&gt;The other could fall into&amp;nbsp; a fame or monetary gain category.&amp;nbsp; By making sure your raw code presents the content efficiently (&lt;em&gt;with good markup and presentation layer not interfering with content&lt;/em&gt;), search engines are more likely to index your site contents correctly.&amp;nbsp; Good ranking in search engines = more visitors (&lt;em&gt;perhaps more to click on those ads on your site to increase your revenue&lt;/em&gt;) or just&amp;nbsp; a chance to form a cult.&lt;/p&gt;
&lt;p&gt;There are also other aspects to good web standards; especially now with more and more people depending on communication devices like the iPhone, Palm and etc.&amp;nbsp; By making sure a webpage adheres to web standards, a user who accesses the webpage either from his desktop or his mobile phone will get his information seamlessly.&amp;nbsp; It might look different in those mediums, but the satisfaction level is still high since he's still able to complete his task.&lt;/p&gt;</description>
      <link>http://blogs.matrixwebs.com/members/Dhana/archive/2007/7/2/1084.aspx</link>
      <comments>http://blogs.matrixwebs.com/members/Dhana/archive/2007/7/2/1084.aspx#comment</comments>
      <guid isPermaLink="True">http://blogs.matrixwebs.com/members/Dhana/archive/2007/7/2/1084.aspx</guid>
      <pubDate>Mon, 02 Jul 2007 17:53:34 GMT</pubDate>
    </item>
  </channel>
</rss>