I might have a problem here then....
instance text4_mc.
and still no alpha.....
"Peter Blumenthal" <mm_pete@phageinteractive.com> wrote in message
news:bv059o$fk7$1@forums.macromedia.com...
> hmm - from your script i would not expect the motion to work, unless
box1_mc
> is nested within the clip you are assigning the onEnterFrame handler to -
i
> would imagine you should use _parent.box1_mc or _root.box1_mc
>
> Other than that, there's nothing wrong with the script. I created a new
> movie, made an mc called text4_mc and put this as on the main timeline:
>
> text4_mc._alpha = 0;
> text4_mc.onEnterFrame = function() {
> this._x++
> this._y ++
> if (this._alpha<101) {
> this._alpha += 10;
> }
> };
>
>
> and it works as expected.
>
>
>
> --
> ---------------------------------------
>
http://www.phageinteractive.com > PhageInteractive Ltd.
> remove mm_ to mail
> ---------------------------------------
> 'I wish we lived in a world where it was possible to be religious and
think
> at the same time.' - Jonh Graves
>
>
> "FayeC" <fayec_nospam@sympatico.ca> wrote in message
> news:buvf1i$pe3$1@forums.macromedia.com...
> > I am having a hard time figuring out how to create a script that will
> handle
> > both alpha and motion.
> > The script I have for motion works just fine but if I add the alpha
script
> > to it either the alpha won't work but the motion does or none of them
work
> > at all.
> > the script in question is:
> >
> > text4_mc._alpha = 0;
> > text4_mc.onEnterFrame = function() {
> > this._x-=(this._x-box1_mc._x)*.1
> > this._y-=(this._y-box1_mc._y)*.1
> > if (this._alpha <101) {
> > this._alpha += 10;
> > }
> > };
> >
> > Can anybody help me solve this problem?
> >
> >
> >
> > Thank you in advance,
> >
> >
> >
> > FayeC
> >
> >
>
>