I try to find a page and determine if www are there I have to write all the time the website name.
Is there a way to know if www is in Name ?? Thank you domainname = new LocalConnection(); trace(domainname.domain()); this.dm.text = domainname.domain(); if (this.dm.text == "www.webpage.com") { #include "flash_AS_detection.as" } else { getURL("http://www.webpage.com", "_parent"); } _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com