[index]
Import Command
Syntax
import <filename> into
<bitmap| dataSheet | field | pickList | sound | card | background| field | "card" | "bkgnd">
| field | "card" | "bkgnd"
Applies to bitmaps, paint layer, fields, dataSheets, fields, sounds, cards, backgrounds
Description
For all of the objects listed, the import command puts the contents of <filename> into the specified object. or the paint layer of a card or background. For fields, the import command places a text file into a field
MS-Windows: .BMP, .PCX Macintosh: PICT, PICT2, MacPaint
Oracle Media Objects supports the MS-Windows and Macintosh: AIFF,
data values to stand for tabs and returns. following graphics file formats:
following sound file formats:
AIFC (with no compression), WAVE
Notes
Oracle Media Objects double buffers the imported data of any media type. This means that you need two times the space of the data when importing.
Examples
Type the following into the Message Box and press Enter:
import "person.bmp" into bitmap 1
The following handler imports a Macintosh text file stored in the same folder as Oracle Media Objects, and places that file into the script of a button:
on mouseUp
set the script of button 1 to field 1
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.