Hi

I am using flash in my web application and currently using the example given
at
http://cwiki.apache.org/WICKET/object-container-adding-flash-to-a-wicket-application.html

This works fine but my swf files are stored in a database and when displayed
now is converted back into a swf file and stored in a temperory folder on
the server. Then the image path is given to the swf file as provided in the
example. But I would like to make this more efficient and like to pass the
swf file stored in the db as a 'Resource'. I currently do this with the
image files stored in the database like

BlobImageResource blobImageResource = new BlobImageResource()
{
        @Override
        protected Blob getBlob() 
        {
                return images.getImageFile();
        }
};  
Image uploadImage = new Image("uploadImage",blobImageResource);

to display the images in the webpage.

How can I do something similar with the 'ShockWaveComponent' class so that a
'Resource' can be passed as a constructor parameter

Thanks

-- 
View this message in context: 
http://www.nabble.com/flash-with-resource-tp20698407p20698407.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to