Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: Newsgroup User
If you put this on the frame within the clip itself (rather than on the
clip), you could use:
this.onEnterFrame=function() {
_root[ovalue]._x=xValue;
_root[ovalue]._y=yValue;
}
But maybe that's something you can implement when you get the initial
problem fixed.
Patrick
Patrick B wrote:
> Your notation is a bit archaic but we can work with it :)
>
> onClipEvent (enterFrame) {
> setProperty(_root[oValue],_x,xValue);
> setProperty(_root[oValue],_y,yValue);
>
> }
>
> Better still:
>
> onClipEvent (enterFrame) {
> _root[oValue]._x=xValue;
> _root[oValue]._y=yValue;
>
> }
>
> Just make sure xValue and yValue exist and are numbers and you should be
> okay. How does that work out?
>
> Patrick
>
>
Copy link to clipboard
Copied
quote:
Originally posted by: Newsgroup User
> If you put this on the frame within the clip itself (rather than on the
> clip), you could use:
>
> this.onEnterFrame=function() {
> _root[ovalue]._x=xValue;
> _root[ovalue]._y=yValue;
> }
>
> But maybe that's something you can implement when you get the initial
> problem fixed.
>
> Patrick
>
> Patrick B wrote:
> > Your notation is a bit archaic but we can work with it :)
> >
> > onClipEvent (enterFrame) {
> > setProperty(_root[oValue],_x,xValue);
> > setProperty(_root[oValue],_y,yValue);
> >
> > }
> >
> > Better still:
> >
> > onClipEvent (enterFrame) {
> > _root[oValue]._x=xValue;
> > _root[oValue]._y=yValue;
> >
> > }
> >
> > Just make sure xValue and yValue exist and are numbers and you should be
> > okay. How does that work out?
> >
> > Patrick
> >
> >
>
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more