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?


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


More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support