I'm trying to write a very simple/minimal custom video player in Flash CS3
I have a .fla file with 2 MovieClips in my library, Player and PlayButton. The PlayButton movieclip is found on the first frame inside the Player movieclip. Player is exported to actionscript and linked to a Player.as class which dynamically creates a video object.
My document class is MPlayer.as and it adds an instance of Player to the stage. This works well, and the video will play automatically. However, the PlayButton movieclip that is inside my library item Player does not show up...and I have no idea how to access it or get it to show. it is not in the same position as the video, so it shouldn't be under it...I tried addChild(playbutton_instance_name) from Player.as but I get errors. The Player movieclip is exported for actionscript, but the PlayButton movieclip is not since it's inside Player.
Am I setting this up correctly?