You are here: Re: Bookmark and/or URL Manipulation « All PHP « IT news, forums, messages
Re: Bookmark and/or URL Manipulation

Posted by SpaceGirl on 03/09/07 10:17

On Mar 9, 4:26 am, Onideus Mad Hatter <use...@backwater-
productions.net> wrote:
> On 8 Mar 2007 04:30:36 -0800, "SpaceGirl"
>
> <nothespacegirls...@subhuman.net> wrote:
> >Here we go, ultra simple XML example:
>
> <snip>
>
> Your code is hard to read like that...why not make it like this:
>
> :var titles_xml:XML = new XML();
> :titles_xml.ignoreWhite = true;
> :var titleFromXML:String;
> :var clipName:String;
> :var urlFromXML:String;
> :
> :titles_xml.onLoad = function(sucess)
> :{
> : if (sucess) { XML_titles(titles_xml);}
> : else { trace("Couldn't load XML"); }
> :}


BTW, the standard bracketing for ECMAScript / AS2 / AS3 is

if (something){
//do this
}

-not-

if (something)
{
// do something
}

Either way compiles though :D

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация