Jason van Zyl wrote
> o Come up with some sort of FlashScreen that will
> do the substitutions in the backend and output
> the modified SWF stream. I know there was some
> talk of this, I'll look throught the archives.
> But there is an ImageScreen or something that
> I could use as the basis for binary output.
Screens that output binary data are easy to write. The ImageServer
screen is a good example of what you have to do. Basically you have to
overid the getLayout() method of your screen so it will return null.
Then the doBuild(data) method may look like:
//pseudo code
response = data.getResponse();
response.setContentType("application/x-flash");
out = response.getOutputStream();
out.write(myswf).
I have written a simple helper class that do this basic stuff for you
and that you just have to extends for your binary screens. If you want
it...
Regis
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]