Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

monkeynote
monkeynote
Offline

Badges

Badges
0

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
1

Questions

Questions
0

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by monkeynote
Customize the badges you want to showcase on your profile
Problem with my DataTransfer Class - Adobe LiveCycle 02-09-2008
hello guys!im new to FLEX and im trying to access a data service createdin asp.net.my problem is that, i can't figure out this error aboutaccessing my class. here is my code[code] import mx.rpc.events.ResultEvent; import mx.collections.ArrayCollection; import DataTransfer.UserClass; [Bindable] private var userData:ArrayCollection; [Bindable] private var userObject:ArrayCollection; private function objectHandler(event:ResultEvent):void { userObject = event.result as ArrayCollection; for (var i:int=0; i < userObject.length; i++) { var currentUser:UserClass = new UserClass(); /*Type was notfound or was not a compile-time constant: UserClass*/ currentUser = new UserClass(userObject.getItemAt(i)); /*Call to a possibly undefined method UserClass.*/ userObject.setItemAt(currentUser, i); } } [/code][code]/*DataTransfer.as*/package DataTransfer{ [Bindable] public class UserClass { public var username:String=""; public var fullname:String=""; public var useraccess:String=""; public function Users(obj:Object = null) { if (obj != null) { this.username= obj.username; this.fullname= obj.fullname; this.usera...

Views

235

Likes

0

Replies

0