kk so the last one is a little wordy so how about this:
this.ANIMopen._alpha = _global.tempAlpha;
i put this code into frame 15 of an animated clip
in the clip there are 3 key frames : 1, 15 and 30 with a
motion tween between 1 and 15 and 15 and 30
i used the above code piece to try and set the alpha level
for the instance in frame 15
if i put a trace(_global.tempAlpha) in the 15th frame of that
clip IT DOES correctly return a 20
any help on how to get that instance named ''ANIMopen'' in
frame 15 to go clear when i run the MC would be most
appreciateda simple question
and trace(this.ANIMopen) shows you have the correct instance
name? if so, then something else must be controlling your
movieclip's alpha. eg, there's an alpha tween started on frame
15.a simple question
i just tried the trace(this.ANIMopen); and it returns
undefined..
i have NO clue whats up
and a trace(this.ANIMopen._alpha); should return a 100 if its
visible right??
it returns a ''undefined''
your movieclip instance name is incorrect. click on your
movieclip and check the properties panel.
i dont think it is...
i used the location tool in the actionscripting window ( the
thing that looks like a target)
and i located the clip that way then just put a ._alpha on
the end of it
i just went and added a instance name to the first frame of
this anim and it returned a value
which leads me to think its a scope problem ... but these are
all in the same MC????
how would it not have access to that variable?
what does trace(this.ANIMopen) on frame 15 show now?
_level0.OUTER.ANIMopen
is what we get returned from that
actually i just figured out how to get the alpha to work
now my next question is how do i actually get it to FADE
through the frames 1-15 to the 0 alpha in frame 15?
id assume something like declaring the _alpha of the clip in
the first frame would do something like that?
so it doesnt look like i can declare the alpha of the
instance on frame 15 in frame 1
is there any selector that i can use to specify what frame an
instance is in?
what was causing the problem that you figured out?
i really didnt FIX the problem but what i did is i declared a
variable in the first frame ( which pulled its value from outside
the clip)
then set the _alpha to the value of the variable
easiest way i can think to describe what i did is :
instead of pushing the _alpha value from the first frame in
to the 15th i had the 15th pull the variable from another layer on
frame 15 and set it equal to the alpha pulled from the first frame.
but the thing still stands that i cant get the fade to
ANIMATE
frames 1-14 its solid and then in 15 it just goes clear --
how can i get the animation to ease in the _alpha change?
then you still don't have the correct name for that
movieclip.
on the first frame of your movieclip (that you want to fade),
put:
trace(this);
what's that reveal?
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment