<Understanding _root & Scope/>
Posted by Gaurav Jassal | on 09/23 at 08:48 AM | Actionscript 2.0 • Actionscript 3.0 • Flash 8 • Flex 3 •
Recently was called up to fix an issue with a client’s SWF file that we were trying to use on one of our channels. The file worked on its own, but not in the container SWF on our site. Jumping into the client’s code, I immediately spotted the problem where their developer declared a class instance used in their movie on the “_root ” timeline. Since we loaded their SWF into a movieclip within our SWF , the scope had changed, breaking the entire file.
<read complete article/><PHP Regular Expression to parse image path on flickr page/>
Posted by Gaurav Jassal | on 09/22 at 09:58 AM | PHP • Regular Expression •
Recently i wrote a function to parse image path from a flickr page without using any API. I use magical preg_match_all function in php to look for a particular tag. This preg_match_all function is so usefull you can try it for YouTube too. I will post a similar function for youtube very soon.
public static function getImageURL()
{
$url = 'http://www.flickr.com/photos/22401332@N05/2861372233';
$pagina = @file_get_contents($url);
if (preg_match_all('!
!Usi’,
$pagina, $info, PREG_SET_ORDER)) {
print ($info[0][0]);
}
}
<read complete article/>
<2008 Email Design Guidelines/>
Posted by Gaurav Jassal | on 09/19 at 09:02 PM | CSS • Daily Digest •
As web designers, we’ve grown pretty good at understanding how to create a modern, semantic, accessible website using XHTML and CSS. We understand what makes a good website, and how to make it happen.When it comes time to design emails though, do all the same rules apply? Are there things we should be doing specifically for email that don’t make sense on a website? In this article we’ll discuss the technical, design and information elements that make up a successful HTML email.
<read complete article/>









