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


Back to RealMedia Class Summary

The RealMedia Class has been deprecated in Zinc 4.0. It is included for legacy support but is no longer maintained and maybe removed completely in a future 4.x update.

Availability
Windows

Constructor
mdm.RealMedia(x:Number, y:Number, width:Number, height:Number, file:String):Void

Parameters
x:Number - X position

y:Number - Y position

width:Number - Width of instance

height:String - Height of instance

file:String - Initial RealMedia file to load

Returns
Nothing

Description
Inserts a RealMedia instance using the specified parameters. Multiple instances can be created.

Notes
The RealMedia player must be installed on the users system for this command to function correctly.

Ensure there is no Flash content located beneath the space the instance will occupy.

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

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

Example Code
//Creates a new instance with absolute positioning:
var myRM = new mdm.RealMedia(0, 0, 400, 350, "C:\\myFile.ram")

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

mdm.RealMedia 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