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:
Code: Select all
p2fdoc.DocArea.vScrollPolicy="off"
p2fdoc.DocArea.hScrollPolicy="off"
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.