Accessing POJO using remoteobject

2005-03-10 Thread Arjun

I have spend couple of hours to figure out how to access java object 
using remoteobject tag but haven't been successful, I would 
appreciate if somebody to tell me what am I doing wrong. I am 
basically trying to run the cairnogorm framework sample application

The problem that I am facing is first of all both the java code and 
flex action script shares the same package hierarchy i.e. 
com.iterationtwo.demo.* so I cannot copy both the java folder and 
flex AS folder under the WEB-INF\flex\user_classes folder

Options that I have tried

a)  created a new folder java under the WEB-INF\flex\ folder and 
added the mapping for that in actionscript-classpath folder and 
copied java package under this folder, this did not worked

b)  secondly since both the java code and flex code has the same 
folder hierarchy I copied the java files under the flex folder 
itself this also did not worked


Error I am getting is : service ….. not found.

Side notes
•   I am using jrun4
•   I have created the whitelist entry for the remote object
•   Is it possible to deploy jar (containing java source code) ?


Thanks
Arjun







Aligining a panel

2005-03-05 Thread Arjun

Hello

I want show a panel that is centered in my application, but not sure 
how to do it, basically i have created a seprate .mxml file that 
displays some data which i need to vertically and horizontaly align 
to center, even though i have provided both the attributes in the 
panel component i am still not able to achive the desired 
functionality any help/sample would be appreciated.

horizontalAlign=center 
verticalAlign=middle 


info.mxml

mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml; 
width=300 
height=150 
dropShadow=true 
horizontalAlign=center 
panelBorderStyle=roundCorners
verticalAlign=middle 
title=Sign In

blah
/mx:Panel




Thanks
Arjun








MVC Framework for flex

2005-02-25 Thread Arjun

Hello

Does anybody know of MVC framework available for flex and have you 
used any in your project?

Thansk
Arjun