I haven't tried a marriage between Paypal & SV, however in its basic format it wouldn't bee too hard. In a standard Paypal buy button the price is preset so you would simply store the buy link in your XML and have that linked to a buy button in the gallery. Now in a more complex Paypal shopping cart where people can set sizes, options etc, I would need to set up a fake shopping cart to see all the different variables then I would need to pass them and then make a plugin so simple viewer could pass them through the same way a shopping cart button would. This is basically what I did with Mal's E-commerce so that you can purchase through simpleviewer and pay using anyone of their payment systems which include Paypal. With mal's you can also set up complex shipping options like UPS, postal etc very easily.

-Halegrafx

I am continually updating my site and would like to add a section were I put al my useful code snippets from flash etc. I will post my code inserts there at some point without compromising the actual simpleviewer source which requires purchase.

-HaleGrafx ;)

:D  Hey just wanted to share my customization of simpleviewer.
=========================================

Basically my mod is an xml menu initiated by a "buy products" button
in my simple viewer gallery. The button can be me made visible/invisble via an xml variable on an image by image basis. So if I have portfolio items that I want to sell prints of for example, I can turn on the button and then set xml options accordingly and likewise turn off the button for Portfolio items I do not have available for sale at my site. The product options are then forwarded to my stores for further order processing.

The version on my site works well as is, but I have a more complex version I have created that can be implemented/ modified to work with mal's ecommerce.

To see it in action go to my illustration portfolio at:

http://www.halegrafx.com

some items will have the purchase feature... some will not...

-Halegrafx 8)

Though Geoff Stearn's script works wonderfully in it's native form,
I found that it was not very flexible when trying to implement the
PostCardViewer into my website design. Things such as CSS & tables
would fail to contain the script into a smaller area, centered on the
screen because of the scripts write method.

;) I have a script directly from adobe, that functions in the very
same way except you can table it, CSS it etc more flexibly & it seems to
work in multiple browsers fine (tested in ie 5, 6 & firefox).

for full details & download on the script check out:

http://www.adobe.com/devnet/activeconte … etter.html

to see a sample of how I implemented it go to :

http://www.halegrafx.com  ---> portfolio --> photography

the rest of the portfolios use simpleviewer :) awesome I might add :)


example usage:
---------------------------------------------------------------------
if this was your normal embed:

<object classid="clsid&#58;d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http&#58;//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="550" height="400" align="middle">
    <param name="allowScriptAccess" value="sameDomain" /> 
    <param name="movie" value="foo.swf" /> 
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
<embed src="foo.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="foo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http&#58;//www.macromedia.com/go/getflashplayer" />
</object>

then it would change to:

<head>
<script src="&#91;path&#93;/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

and call the flash where ever you want to (in a div, table etc.)....

<body>
<script type="text/javascript" >
AC_FL_RunContent&#40;'codebase','http&#58;//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','550','height','400','align','middle','src','foo','quality','high','bgcolor','#ffffff','name','foo','allowscriptaccess','sameDomain','pluginspage','http&#58;//www.macromedia.com/go/getflashplayer','movie','foo' &#41;;
</script>
</body>

Thoughts, opinions ??

-HaleGrafx