Hello, again me
I apply scale transformations on my generated print2flash document and horizontal and vertical scrollbars are shown when the content does'nt fit with the container object.
Is there a way to have no scrollbar at all, even when the content is too zoomed?
THanks
I don't want scrollbars
Re: I don't want scrollbars
Currently there is no function in Document API to turn off toolbars. However, if you used Print2Flash documents from ActionScript 2, this can be done with the code like this:
but as you are loading documents from Flex, this would not work as cross-scripting between AS2 and AS3 movies is not allowed. A possible solution is to embed a Print2Flash document into a "wrapper" AS2 movie (created with Macromedia Flash Professional or Adobe CS3 with AS2 support) which would load your document and turn off toolbars using the code above. Then you could load that wrapper movie instead of the document itself into Print2FlashDoc Flex component.
Code: Select all
p2fdoc.DocArea.vScrollPolicy="off"
p2fdoc.DocArea.hScrollPolicy="off"
Re: I don't want scrollbars
Ok thank you.
As a temporary issue, I've put a mask on the scrollbars
As a temporary issue, I've put a mask on the scrollbars