Highlighted

MessageClient

goat_boy

26-06-2008

Is it possible to create your own class and have it extend
the MessageClient class? This link
http://www.adobeforums.com/webx/?14@613.7AB1iHHMWmV@.59b56dc2/1
basically describes the same issue I am having. I'm trying to
access the subtopic for a messageClient but they are protected.
They say you can extend the source by extending MessageClient but
when I do that I get an error saying "cannot find symbol"
"constructor MessageClient()".



Could someone please explain how I can extend this class to
access the subtopics?

Replies

Highlighted

anirudhs

03-07-2008

Hi,



Your class should read:




quote:



import flex.messaging.MessageClient;

public class MyMessageClient extends MessageClient

{

public MyMessageClient()

{

}

}