Does anyone know how to make a component snap to the width of clip it is dropped on, like the scrollbar component does? I am pretty sure the code needs to go into the live preview swf, and I have already tried—
trace(this._parent[xch._targetInstanceName]._width);
but that doesnt work, because “this” ends up referring to the _root of the live preview movie, not the component clip on the stage in the authoring environment. So, “this._parent” doesn’t exist.
Even if you can point me to some good reference material or sites I would be grateful. Thanks,
Clown