Well you can do that by using event object.
Send the event as parameter, to the called function, there make a instance 
of that Event, now type:

eventObj.localX or eventObj.localY .....blahh blahh
as u like.

Remeber that the value returned by eventObj.localX will be of string type, 
so change the x-y coordinates to number type using type-casting.

Regards
Abhinav Mehta
MSRIT | Bangalore


----- Original Message ----- 
From: "Ravi" <[email protected]>
To: "Flex India Community" <[email protected]>
Sent: Thursday, May 14, 2009 10:32 AM
Subject: [flex_india:22236] Re: Specifying multiple parameters of the same 
name using HTTPService


>
> thanks
>
>
> On May 12, 12:44 am, HISSAM <[email protected]> wrote:
>> I guess u can just send plain string to php using httpservice right??
>> this string could be csv??
>>
>> var s:string="";
>> var 1:object;
>> for(var i:int;i<canvas.numchildren;i++)
>> {
>>        o=canvas.getChildAt(i);
>>     if(o is Image)
>>      {
>>       s+=(o as Image).x+":"+(o as Image).y+",";
>>       }
>>
>> }
>>
>> send this string to httpservice to php and at php end split them!!
>>
>> On May 11, 11:58 am, Ravi <[email protected]> wrote:
>>
>> > Hello Friends,
>> > I am developing an image editing application in which i can add
>> > multiple images in one Canvas.
>> > there is one button below the canvas,if u click on that i need to send
>> > x and y position of all images that i added in canvas through Http
>> > Service to php.
>> > Can anybody please help me in this..
>> > thanks in advance
>>
>> > regards
>> > Ravi
>
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to