[flexcoders] Re: creating a class - question extending

2008-11-19 Thread Amy
--- In flexcoders@yahoogroups.com, luvfotography [EMAIL PROTECTED] wrote: Hi, I'm trying to create a class that extends the image class, I need to associate a username with the image, Here is what I have: package { import mx.controls.Image; public class imageWithData

[flexcoders] Re: creating a class - question extending

2008-11-19 Thread Amy
--- In flexcoders@yahoogroups.com, Michael VanDaniker [EMAIL PROTECTED] wrote: Image, like all UIComponents, has a zero argument constructor. Unless your imageWithData knows what its username is going to be without any outside info, it wouldn't make sense to do much of anything with the

[flexcoders] Re: creating a class - question extending

2008-11-18 Thread Michael VanDaniker
Image, like all UIComponents, has a zero argument constructor. Unless your imageWithData knows what its username is going to be without any outside info, it wouldn't make sense to do much of anything with the username in the constructor. If you're going to be instantiating your images in