1 person found this helpful
anything you want to control with actionscript needs to be converted an object. right click the note>convert to symbol>movieclip and assign its registration point to the top left. in the properties panel assign an instance name, eg note_mc.
then add a mask (converted to a movieclip with top-left reg point and assign an instance name, eg mask_mc) to the stage that masks note_mc and displays what the viewer to see.
you can then use:
mask_mc.onRollOver = overF;
mask_mc.onRollOut = outF;
note_mc._y=this._yMouse*this.m+this.b; // or note_mc._y=.5*note_mc._y+.5*(this._yMouse*this.m+this.b); for easing
// and i don't understand anything you stated about components.
So the mask has two faces, rollon and the roll off, hiding the document under it, mask is to my knowledge never visible because its a mask that allows the bottom to be seen to its masks dimension, now you saying mask has two faces, when on document is seen to the dimensions when off its seen without the dimensions, im worried now why have a mask then if the object can be drawn to thatt dimension, but in my case it defeating my object, which is to add a scrollbar to the document to be seen in a mask.
I think i cant read code proberbly and need your reply back to tell me that coding is sometimes not as its written,
that code uses the mouse position to scroll note-mc, not a scrollbar.
cool thank you.
scrolling helps, but component info shifting, and creating a table of components thats can keep being used and a storage for new component copies, in a page i can scroll yes i like that idea.