mdm.PDF() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to PDF Class Summary

Availability
Windows, Mac OSX

Constructor
mdm.PDF(x:String, y:String, width:String, height:String, pdf:String):Void

Parameters
x:String - X position in absolute pixel based or relative values
y:String - Y position in absolute pixel based or relative values
width:String - Width of instance in absolute pixel based or relative values
height:String - Height if instance in absolute pixel based or relative values

pdf:String - Initial PDF file to load

Returns
new instance of PDF capable reader

Description
Creates an instance of Adobe Acrobat Reader using the specified parameters. Multiple Instances can be created.

Notes
The PDF Class has been based on the 9.4.1 Interface. Adobe Acrobat Reader 9 must be installed on the users system for this command to function correctly.

The default behavior is to enable scrollbars and the toolbar.

For transparent projectors closing your application with key combinations (e.g. Ctrl+F4) will only work if the Flash content is in focus.

The PDF Class is not available when Direct Wmode (Stage Video) is Enabled.

Example Code
//Creates a new Instance with absolute positioning:
var myPDF = new mdm.PDF(new String(0), new String(0), new String(400), new String(350), "C:\\myFile.pdf")

//Creates a new instance with relative positioning:
// t = top
// b = bottom
// l = left
// r = right
// c = center
var myPDF = new mdm.PDF("c", "c", "50%", "50%", "C:\\myFile.pdf")

mdm.PDF Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page