//
// Description:
//    SWFMovie Interface
//
// Authors:
//    Jonathan Shore <jshore@e-shuppan.com>
//    Based on php wrapper developed by <dave@opaque.net>
//
// Copyright:
//    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
//    modify this code provided that the original copyright notice is included.
//
//    This software is distributed with no warranty of liability, merchantability,
//    or fitness for a specific purpose.
//




import SWFSoundI;
import SWFDisplayItemI;
import SWFObjectI;



//
//  SWFMovie Interface
//	top-level swf movie interface
//
//  Notes
//    -	too bad the notion of movie and sprite aren't the same.  Effectively
//	they should be.
//
//    -	we should add coordinate system specification and perspective options
//	to give this more flexibility
//
public interface SWFMovieI extends SWFObjectI {

    public void			setScale (float scale);
    public void			setCubicThreshold (int v);
    
    public void			setRate (float rate);
    public void			setDimension (int width, int height);
    public void			setFrames (int nframes);

    public void			setBackground (int r, int g, int b);
    public void			setSoundStream (SWFSoundI sound)	throws SWFException;

    public SWFDisplayItemI	add (SWFObjectI object)			throws SWFException;
    public SWFDisplayItemI	add (SWFObjectI object, int depth)	throws SWFException;
    public void			remove (SWFDisplayItemI item);

    public void			nextFrame();
    public void			labelFrame (String label);

    public void			save (String file);
    public byte[]		output ();
};



    
