//File: UserEvents.as
package events { import flash.events.Event; import vo.User;
public class UserEvents extends Event {
public static const USER_SUBMIT:String = userSubmit;
public var user:User; public function UserEvents(type:String,
bubbles:Boolean=false, cancelable:Boolean=false) {
A!!!
Bingo, thanks everyone... Coming from the a very linear programming
background the OO stuff is getting me...
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org
Yeah, as Tracy says, the constant only helps to avoid mis-spelling, by
having the compiler help out. You could have done this as well:
win.addEventListener(userSubmit, onSubmit);
-TH
--- In flexcoders@yahoogroups.com, Alan Rother alan.rot...@... wrote:
A!!!
Bingo, thanks everyone...
3 matches
Mail list logo