Topic: Insert SimpleViewer into a flash site

Hi there!
I have a very simple flash site (page) and I would like to insert SimpleViewer but I can't figure out.

The thing is that it is a very simple site that doesnt contains any code, just a text and I would like to use SimpleViewer gallery.

I tryed with this:

stop();
loadMovieNum("simpleviewer.swf", 2);

but it seems not work out (I have all SimpleViewer folders in the root).

Can anyone help me with this,

Thanks a lot  smile

ed

Re: Insert SimpleViewer into a flash site

Please see the 'Embedding in Flash' section of the 'Embedding SimpleViewer-Pro' page for details: http://simpleviewer.net/simpleviewer/pr … html#flash

Steven Speirs
SimpleViewer Support Team.

Re: Insert SimpleViewer into a flash site

Hi Steven,

thanks for your reply smile

the thing is that I'm just using the free version and not the "pro", is there any way to do it with the free version?

Thanks

Re: Insert SimpleViewer into a flash site

You should be able to embed the SimpleViewer Standard 'simpleviewer.swf' file into your container movie by using the code:

var svLoader:Loader = new Loader();
svLoader.load(new URLRequest("simpleviewer.swf"));
addChild(svLoader);

However, the SimpleViewer-Pro API is used to set the size of the gallery via the setSize( width: int, height: int ) method (and for many other purposes).

Steven Speirs
SimpleViewer Support Team.