Add navigation buttons on top of every scene
Hello,
I've got a Flash movie with quite a few scenes and I'd like to add navigation buttons (prev\next) with AS3 to move from scene to scene.
Sounds easy but...
If I write this on first frame of first scene :
this.addChild(play_btn);
buttons will appear OK on this first scene but will disappear under objects of the second scene
If I change to
stage.addChild(play_btn);
button will appear OK over every scene but, as my SWF is loaded in an e-learning software that produces SWF, the buttons will remain on the "stage" of every slide of the final module ! I can't remove them when the user changes slide because I can't run AS3 when changing slide...
Is there way of adding the buttons "inside" my movie but on top of everything that might appear afterwards ? No more depth or Z order in AS3 ?
Thanks.
Please don't tell me using scenes is bad because I've been using them for years and I've always read that all scenes become a long timeline at runtime. They're just very handy to me. ![]()
