Expand my Community achievements bar.

Problem importing flex.messaging.FlexSession

Avatar

Level 1
Hello Everyone,

I am new to developing applications using Flex 2.0



I cant import flex.messaging.*; in my eclipse intelisence I
only see namespaces(packages) like mx, adobe, com, flash but no
FLEX.

I found out that those classes that are of my need like
FlexSession and FlexCreator are available inside a .jar file named
"flex-messaging.jar" which is placed inside lib folder of my flex
application(flex.war) deployed on Tomcat.



Now what to do? Any idea?



Basically I am trying to create a Login Application inside
Flex, so any help would be appreciated.
2 Replies

Avatar

Level 1
add all the *jar you need to your class path

my project structure example



/project

/project/flex

/project/flex/WEB-INF/lib/(all flex jars, added to classpath
for this project)



when deploying with ant i just specify

<webinf dir="flex/WEB-INF"/> inside of my <war>
target