1 //
2 // Description:
3 //    SWFMovie Interface
4 //
5 // Authors:
6 //    Jonathan Shore <jshore@e-shuppan.com>
7 //    Based on php wrapper developed by <dave@opaque.net>
8 //
9 // Copyright:
10 //    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
11 //    modify this code provided that the original copyright notice is included.
12 //
13 //    This software is distributed with no warranty of liability, merchantability,
14 //    or fitness for a specific purpose.
15 //
16 
17 
18 
19 
20 
21 
22 
23 //
24 //  SWFMovie Interface
25 //	top-level swf movie interface
26 //
27 //  Notes
28 //    -	too bad the notion of movie and sprite aren't the same.  Effectively
29 //	they should be.
30 //
31 //    -	we should add coordinate system specification and perspective options
32 //	to give this more flexibility
33 //
34 public interface SWFMovieI extends SWFObjectI {
35 
setScale(float scale)36     public void			setScale (float scale);
setCubicThreshold(int v)37     public void			setCubicThreshold (int v);
38 
setRate(float rate)39     public void			setRate (float rate);
setDimension(int width, int height)40     public void			setDimension (int width, int height);
setNumberOfFrames(int nframes)41     public void			setNumberOfFrames (int nframes);
42 
setBackground(int r, int g, int b)43     public void			setBackground (int r, int g, int b);
setSoundStream(SWFSoundStream sound_stream)44     public void			setSoundStream (SWFSoundStream sound_stream);
45 
add(SWFObjectI object)46     public SWFDisplayItemI	add (SWFObjectI object)			throws SWFException;
add(SWFObjectI object, int depth)47     public SWFDisplayItemI	add (SWFObjectI object, int depth)	throws SWFException;
remove(SWFDisplayItemI item)48     public void			remove (SWFDisplayItemI item);
49 
nextFrame()50     public void			nextFrame();
labelFrame(String label)51     public void			labelFrame (String label);
52 
setCompression(int level)53     public int 			setCompression(int level);
save(String file)54     public void			save (String file);
output()55     public byte[]		output ();
56 };
57 
58 
59 
60 
61