AS3 Custom Video Controller Update
August 3rd, 2007
The video controller is done (well … in beta stage) and using the FlexComponent kit it was easy to bring it into Flex where it indeed acted as a “first class citizen”. Events, traces, setters …. the works. One problem was that when I selected the VideoController movieclip in the library and then selected the “Make Flex Component” command it changed the base class to “mx.flash.UIMovieClip” which caused it to break since the videoController needs to be bound to my custom VideoController class. I ended up putting the VideoController movieclip into a “wrapper” movieclip. This worked fine, but required an extra level to dig into it from within Flex. Example wrapper.video.clear();
Categories: Uncategorized


Would it have worked if you subclassed UIMovieClip and put your VideoController logic in there? I know the kit allows for that (supply your own class).
Stefan, you make a good point!