Re: [Flashcoders] Vedanayagam G has invited you to use Google Talk

2011-05-05 Thread Dave Watts
> Doesn't this qualify as spam? Not really. It indicates the poster doesn't understand how address books work, etc. But that is a forgivable (if tauntable) offense. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small

Re: [Flashcoders] Vedanayagam G has invited you to use Google Talk

2011-05-05 Thread Kerry Thompson
Doesn't this qualify as spam? On Thu, May 5, 2011 at 6:05 PM, Vedanayagam G wrote: > I've been using Google Talk and thought you might like to try it out. We > can use it to call each other for free over the internet. Here's an > invitation to download Google Talk. Give it a try! > >

[Flashcoders] Vedanayagam G has invited you to use Google Talk

2011-05-05 Thread Vedanayagam G
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! Vedanayagam G has invited you

Re: [Flashcoders] Security error with LoaderMax

2011-05-05 Thread Julian Wilson
You probably have a trusted path in your Security Manager where your SWF is being viewed. His machine won't have this. Adding a crossdomain.xml file on the server you're loading from with "localhost" as a trusted site and allowDomain in Flash should work. Cheers, Julian Wilson Web/Desktop/Mobi

[Flashcoders] Security error with LoaderMax

2011-05-05 Thread Kerry Thompson
Flex 4, FlashBuilder 4. I am building and running an app on my Windows 7 machine. It runs fine here, but when my client installs it on his machine, he gets a SecurityError: Error #2148: Only local-with-filesystem and trusted local SWF files may access local resources. That's happening when I star

[Flashcoders] interesting AS2 SharedObject bug

2011-05-05 Thread Andrew Sinning
I'm using an AS2 SharedObject along with Red5 to synchronize a group of user in a real-time game. I found an interesting bug. I have an array: var someArray:Array = [1,2,3]; I have a dataObject that contains someArray and some other properties: dataObject = { someProperty: 1, som

RE: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Mendelsohn, Michael
Thanks everyone for your responses. The real xml was actually more complicated than what I posted. Is it me? Sometimes it seems that E4X solutions are difficult to figure out. The actual solution in my project is this, where rslt is an XMLList: rslt = topics..descendants("*").(contains(XML(fi

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Kenneth Kawamoto
This may be slightly more elegant than using toXMLString(): trace(xml.pets.pet.(contains()).parent().@group); // B Kenneth Kawamoto http://www.materiaprima.co.uk/ On 05/05/2011 17:06, Mendelsohn, Michael wrote: Thanks everyone. I don't want to find the node by using just @name. I need to m

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Kenneth Kawamoto
trace(xml.pets.pet.(toXMLString() == 'name="Sugar"/>').parent().@group); // B -- Kenneth Kawamoto http://www.materiaprima.co.uk/ On 05/05/2011 17:06, Mendelsohn, Michael wrote: Thanks everyone. I don't want to find the node by using just @name. I need to match a node in xml.pets, given a f

RE: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Mendelsohn, Michael
Thanks everyone. I don't want to find the node by using just @name. I need to match a node in xml.pets, given a full node, like so: xml.pets.(pet.toXMLString() == myPet.toXMLString()); I can't seem to get part that working. I think it should be easy to use parent() once I have that bit, right

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Glen Pike
@name - will that cause problems because "name" is a property of XML nodes? if it is maybe try attribute("name") instead? On 05/05/2011 16:53, Kenneth Kawamoto wrote: var xml:XML = ; trace(xml.pets.pet.(@name == "Sugar").parent().@group); // B Perhaps you don't want to call your XML

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Matt Folkard
Errr, my very limited E4X knowledge now deserts me, but try: pets.pet.(@name =="Sugar").parent().@group *__ **Plastic Martians Ltd.* email: m...@plasticmartians.co.uk web:www.plasticmartians.co.uk mobile: 07763 986 485 phone: 01434 382 973 On 05/05/2011 16:5

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Kenneth Kawamoto
var xml:XML = ; trace(xml.pets.pet.(@name == "Sugar").parent().@group); // B Perhaps you don't want to call your XML "pets" as it's a node name as well. Kenneth Kawamoto http://www.materiaprima.co.uk/ On 05/05/2011 16:32, Mendelsohn, Michael wrote: Hi list... I'm trying to find som

RE: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Mendelsohn, Michael
> childnode.parent().@group Thanks, Matt. Well, I'm getting stuck on finding the correct node then. How do I find the node in the xml, given the node I have? var myPet:XML = I get errors with a statements like these: pets..(pet.toXMLString() == myPet.toXMLString()); pets..(* == myPet); Once

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Nathan Mynarcik
Perhaps [code] xml..GroupNodeName [/code] should get the parent node for ya? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Geografiek
Hi Michael, how about the following (not tested): var petsList:XMLList = pets.*; var sugarDaddy:XMLList = petsList.(pet name == "Sugar"); trace(sugarDaddy@group); HTH Willem van den Goorbergh On 5 mei 2011, at 17:32, Mendelsohn, Michael wrote: > Hi list... > > I'm trying to find some xml's paren

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Matt Folkard
parent() should do it, as in: childnode.parent() Cheers matt *__ **Plastic Martians Ltd.* email: m...@plasticmartians.co.uk web:www.plasticmartians.co.uk mobile: 07763 986 485 phone: 01434 382 973 On 05/05/2011 16:32, Mendelsohn, Michael wrote: Hi list...

Re: [Flashcoders] E4X question: finding parent

2011-05-05 Thread Matt Folkard
would help if I answer the question: childnode.parent().@group *__ **Plastic Martians Ltd.* email: m...@plasticmartians.co.uk web:www.plasticmartians.co.uk mobile: 07763 986 485 phone: 01434 382 973 On 05/05/2011 16:42, Matt Folkard wrote: parent() should d

[Flashcoders] E4X question: finding parent

2011-05-05 Thread Mendelsohn, Michael
Hi list... I'm trying to find some xml's parent attribute. I have and I want to find "B". var pets:XML = ; I can't seem to find it. Anyone know how? Thanks, - Michael M. ___ Flashcoders mailing list Flashcode

Re: [Flashcoders] send email from flash project (exe)

2011-05-05 Thread Bassam M
Thanks you Cor my code now working the problem was in the server Regard's Bassam On Thu, May 5, 2011 at 12:54 AM, Cor wrote: > Hi Bassam, > > Try this: > > newLoadVars = new URLVariables(); > loadvarSend=new URLRequest(("http://.sensemis.com/test/contact.aspx";); > loadvarSend.method=URLReq

RE: [Flashcoders] send email from flash project (exe)

2011-05-05 Thread Cor
Hi Bassam, Try this: newLoadVars = new URLVariables(); loadvarSend=new URLRequest(("http://.sensemis.com/test/contact.aspx";); loadvarSend.method=URLRequestMethod.POST; loadvarSend.data=newLoadVars; loadvarLoader=new URLLoader ; loadvarLoader.dataFormat=URLLoaderDataFormat.VARIABLES; loadvar

[Flashcoders] send email from flash project (exe)

2011-05-05 Thread Bassam M
Hi Guys I'm I want to send email from flash project file I tried to use sendAndLoad but it's not working this is the Code var newLaodVars = new LoadVars(); newLaodVars.myName1 = main.name.txt_name.text; newLaodVars.myEmail1 = main.email.txt_email.text; newLaodVars.mySubject