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

Likes
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
Avatar
Level 1
monkeynote
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
monkeynote
- Adobe LiveCycle
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

191

Likes

0

Replies

0