Hi guys,
I have text area with instance name “tekst”, on the right site of the text are i have a button with instane name “scroll_btn”, behind this button i have move clip with instance name “scroll_mc”.
In the action layer i have the folowing :
tekst.text = _parent.biotext;
if (tekst.maxscroll > 1)
{
scroll_btn._visible = true;
scroll_mc._visible = true;
}
else
{
scroll_btn._visible = false;
scroll_mc._visible = false;
} // end if
scroll_btn.useHandCursor = false;
scroll_btn.onRollOver = function ()
{
this.nextFrame();
};
scroll_btn.onRollOut = function ()
{
this.prevFrame();
};
scroll_btn.onPress = function ()
{
this.startDrag(false, this._x, scroll_mc._y + 1, this._x, scroll_mc._y + scroll_mc._height - this._height - 1);
this.onMouseMove = function ()
{
autput_y = tekst.maxscroll * (this._y - scroll_mc._y - 1) / (scroll_mc._height - this._height - 2);
tekst.scroll = Math.floor(autput_y + 0.500000);
updateAfterEvent();
};
};
scroll_btn.onRelease = scroll_btn.onReleaseOutside = function ()
{
scroll_block._y = Math.floor(scroll_block._y);
this.stopDrag();
this.onMouseMove = undefined;
};
This code works fine. The problem is i am having is that i want to rotate the complete text area 90 CW
If i choose command for rotation, my text isnt apearing. (Ctrl+Shift+9)
Could any1 help me with this.
Regards,
Rutin