MovieClip Button trouble
i've got 2 movie clips make pieces of illustrations. made these movie clips rollover, rollout, , click event listeners , when these buttons clicked expand take entire window , display appropriate information. clicking close button reverts original form , position.
the problem on 1 of these movie clips when expands still shows other movie clip sitting on top of it. want clicked on expanding movie clip visible.
as of right actionscript in first frame of each movie clip far works best keeping animation looping correctly doesn't allow me option of referencing other movie clip.
is there way of referencing other movie clip or have created jerry springer type child parent relationship nightmare?
the problem on 1 of these movie clips when expands still shows other movie clip sitting on top of it. want clicked on expanding movie clip visible.
as of right actionscript in first frame of each movie clip far works best keeping animation looping correctly doesn't allow me option of referencing other movie clip.
is there way of referencing other movie clip or have created jerry springer type child parent relationship nightmare?
give each movie clip instancename on root timeline.
then, edit onclick code following
_root.othermovieinstance._visible = false;
make sure place
_root.othermovieinstance._visible = true;
on close button click.
othermovieinstance being instancename gave opposite movieclip
then, edit onclick code following
_root.othermovieinstance._visible = false;
make sure place
_root.othermovieinstance._visible = true;
on close button click.
othermovieinstance being instancename gave opposite movieclip
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment