editing actionscript

Specific Q&A about the new Flash export
Locked
cudney
Posts: 5
Joined: Wed Mar 07, 2007 2:49 pm

hi there,

is there anyway of editing actionscript in this program, everytime i load the movie into another swf file it goes ontop and i can't get a border round it. i am creating it as a cylinder. would it work better if i used another type

thank you
Noisy
Posts: 35
Joined: Wed Apr 04, 2007 12:49 am
Location: Scotland

Hi Cudney

I asume you are creating your border on the stage and then loading the new clip?

Forgive me as i haven't even had time to try one of these yet. and won't for a while....

But generally clips created at Author time are placed in negative depth levels.
and ones that are loaded by scripts have positive depth levels.

The solution (I hope) is to move your frame up to a level above the pano.

assuming have given it an instance name of myFrame then adding

myFrame.swapDepths(50);

will move the frame up the stacking order to a depth of 50.

You can also just swap the two clips (hopefully)
myFrame.swapDepths(vr);
Locked