Display an image, bun without import it ?

Jeanne A. E. DeVoto jeanne at runrev.com
Sat May 4 16:03:04 EDT 2002


At 11:19 AM -0700 5/4/2002, Ludovic Thébault wrote:
>In the Transcript Dictionary we could read this :
>
>Use the import command to place a sound, movie, or image in a stack,
>instead of creating a referenced control that uses an external file.
>
>I want create a referenced control that uses an external file. But how ?

There are two ways:

- In the File menu, choose New Referenced Control > Image File and select a
picture file.

- Create a new image and set its fileName property to the pathname of the
picture file you want to show. (This does the same thing as using the New
Referenced Control submenu - but this is how you do it in a script.)

For a movie or sound, use File > New Referenced Control >
QuickTime-Supported File instead (or create a new player and set its
fileName property).

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list