1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
//
// 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 ();
};
|