Hi!

I have a tiny little problem with the following:

I have two classes that should have the same dataType in order to use them
in a third class. So I created an Interface that both of them implement.
The two classes extend Sprite because they have a visual representation.
However, when I try to add them to the displayList flash doesn't recognise
them as a displayObject.
I read that many people at this moment cast them back to a displayObject but
that to me feels like a workaround.

Anybody any suggestions?

Thanks!

Tom
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to