Groups | Blog | Home
all groups > flash actionscript > january 2004 >

flash actionscript : Odd _alpha disparities



Screenweasel
1/21/2004 10:38:37 PM
I have a pair of buttons, essentially 'pause' and 'play', and they both feature in two separate movies embedded in another mc. I want them (pause and play) to swap differences in their alpha value when the other is clicked. It might be important to remember that these two movies operate on the same layer and timeline (appended, obviously) and are accessed separately through a series of gotoandplay commands.

Here is the code for the 'play' button:

on (release) {
_root.firstMovieClip.secondMovieClip.pause._alpha = 100;
_root.firstMovieClip.secondMovieClip.playon._alpha = 40;
_parent.stop();
}

Now, this code (and the code for the pause button) works in the first movie, but despite a thorough checking of the proper path/syntax/etc., I cannot get the same code to work in the second movie. I've tried changing the instance names, or the path from absolute to relative, and nothing works.

Something I might be missing? Thanks for any help.

-screen

Developer Exemplar
1/22/2004 5:32:08 AM
if you can provide the fla ill be able to tell u whats wrong.... cant figure out what ur trying to state..

N Kiran Kumar Kowlgi
AddThis Social Bookmark Button