Previous - imgFromClipboard Section Home - Images Next - imgSave


imgFromObject ( )

Copies the image stored in a Director image object into Rosetta's image buffer

Usage:

imgFromObject (object me, object imageObject)

Parameters:

imageObject (director image object) - a Director image object containing image data

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.imgFromObject( member(3).image )

Notes:

This function only works with Director 8.5 or higher.

This function is not supported in Authorware.


Previous - imgFromClipboard Section Home - Images Next - imgSave