[flexcoders] Question on Mx:HTTP Service

2009-05-17 Thread myworld100us
I am using an app Server{Jboss] to host Flex files .
I want to call 

mx:HTTPService id=reportProfile resultFormat=e4x useProxy=false
result=showReports(event) 
url=http://machineName:8080/ContextPath/flex/showReports.do/


how do i replace this part url= 
http://machineName:8080/ContextPath/flex/showReports.do; with 
/ContextPath/flex/showreports.do . 

Otherwise its link depending on the environment i have to keep changing the 
machineName and port 



[flexcoders] Flex Menu Basic Question

2009-04-25 Thread myworld100us
I am posting a very basic question . I am trying to use Flex menus on my web 
page . I have built the menu but I am not sure how to do navigation . All i 
could do is if set Data for menu item i could do an alert to get Data .
What I want is if user click on Menu A it should redirect or load a SWF file , 
similarly if user clicks on Menu B it should redirect or load a separate file. 
It similar to something link View Stack . But problem with View Stack is I cant 
define children for MX: View Stack .






[flexcoders] Combox Issue with Flex

2009-04-07 Thread myworld100us
Folks ,

Everyone must have seen this kind of thing working in HTML . You have two multi 
slect box in html and then in between the boxes you would have add, add all , 
remove remove all buttons which  would pull and push elements from and to into 
the two boxes , 

I am struggling for weeks to implement something in flex. Can someone give me 
an example for the same in flex . 






[flexcoders] HttpSession in Flex

2009-04-07 Thread myworld100us
I have a mxml file which talks to the the server . On the Server i get the user 
id and password and do vaidation and stuff. Some values I store from the server 
in session object. Http Session .
So esentialy if i do 
session.setAttribute(userid,xxx) on the server 

how can i retrive in my mxml session.getAttrinute(userid).
Can anynone give me an example