hi marco,
the problem is with the Object.registerClass, you must not register the
class in the class itself, but in the class from where you build the object.
like
Object.registerClass(WidgetSelectorItemForm.symbolName,
WidgetSelectorItemForm);
mc = WidgetSelectorItemForm(attachMovie
(WidgetSelectorItemForm.symbolName, "WidgetSelectorItemForm"+i,
this.getNextHighestDepth() ) );
class
class quovadis.MainApplication.receiver.view.WidgetSelectorItemForm
extends ArpXXForm {
public static var symbolName:String = "WidgetSelectorItemForm";
...
}
Marco Frank schrieb:
> Hi List,
>
> I'm trying to get a flv playing but I failed all time. I've got a video
> object that is included in a videoContainerMc. Tracing the video shows
> that the object is right up there. The sound works fine but any picture
> is displayed.
>
> The problem only occurs if my videoContainerMc (where the video is in)
> is placed on a movieclip that was dynamicly attached to runtime and was
> binded to a class.
>
> like
> mc = WidgetSelectorItemForm (attachMovie (
> WidgetSelectorItemForm.symbolName, "WidgetSelectorItemForm"+i,
> *this*.getNextHighestDepth() ) );
>
> class
> *class* quovadis.MainApplication.receiver.view.WidgetSelectorItemForm
> *extends* ArpXXForm
> {
>
> *public* *static* *var* symbolName:*String* = "WidgetSelectorItemForm";
> *public* *static* *var* symbolOwner:*Function* = WidgetSelectorItemForm;
> *public* *static* *var* symbolLinked =
> *Object*.registerClass(symbolName, symbolOwner);
>
> ...
>
> }
>
>
> If the videoContainerMc is located on a "normal class" that was not
> created to runtime all works fine and the video is playing.
>
>
> anybody an idea what I do wrong?
>
> best wishes,
>
> marco
>
>
>
--
MTASC : no more coffee break while compiling