Creating Players & Palettes

Kevin Miller kevin at runrev.com
Sat Jan 5 14:43:16 EST 2002


On 3/1/02 2:15 am, Retiarius <lists at retiariusenterprises.com> wrote:

> I'm trying to create a player via script in a standalone with a few palettes
> open.  When "create player" script is evoked it draws the player in a
> palette.
> 
> I've tried:
> 
> create player "QTplayer" of cd 1 of stack "Stage"
> 
> to no avail.
> 
> Is there something else I can do?
> 
> You help is greatly appreciated.

You need to set the defaultStack to the stack you want to create in:

set the defaultStack to the topStack

Look up defaultStack and topStack in the Transcript dictionary for more
info.

Kevin

Kevin Miller <kevin at runrev.com> <http://www.runrev.com/>
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.




More information about the Use-livecode mailing list