What I am trying to achieve is a graphic toggle effect so
clicking on PLAY makes it's display become PAUSE, and vice versa.
The app starts playing, showing a playing icon. When I click
that as exepected, the movie pauses and shows a paused icon. But
when I try to click on the paused icon, to resume play, nothing
happens and the movie does not resume staying on the play icon. Any
Files uploaded to www.simobile.com/uploads/videoplayer.zip
and here's some background info:
Dragged from the Flash's Window > Common Libraries
on the stage I have instances of the three buttons
- rounded green back, with instance name "buttonback"
- rounded green pause, with instance name "buttonpause"
- rounded green forward, with instance name "buttonforward"
- rounded green play, with instance name "buttonplay"
Not sure exactly but my guess is that you are making the
_alpha zero. Buttons with an alpha of zero can still be interacted
with. And if it is above another clip it will block the lower clip
from receiving the mouse action.
So instead set the _visible property to false. Should fix
that right up. You won't need to use enabled either.