| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help - Using Flash to display products | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Does anyone know how to use swf files as the product images and not just gifs or jpgs?
I have a problem where i want to be able to dynamically write the price onto a handwriten style price tag. The flash bit i can do, its just making x-cart work that i'm strugling with - any help would be greatly appreciated. I'm using the latest version of xcart on a unix server. cheers, David ![]() |
|||||||
#2
|
|||||||||
|
|||||||||
![]() ![]() I just released the above, I'm sure this same exact setup could be done for product images and detailed images. I had actually planned on making a second mod for such. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Arh not bad thanks.
I managed to get flash to work for product listing ![]() If anyones interested how i can post the source. D |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Nice touch, defiantly not a bad idea. My only concern would be customers whom have Flash disabled or a previous version of the .swf's used on the product images. Are you doing a plugin detect to adjust to IMG tags incase? Another approach might be to use the GD library in PHP to generate JPG/GIF's instead, since they are more friendly. But nice none-the-less.
Here's the Macromedia Technote on passing local variables: ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() hmm hadnt thought of gd libary - thanks i'll look into it.
about the version problem.. defintaly.. in the process of scaling it back to version 5 from 6 and putting some sniffer code in there as well. Thanks for the link |
|||||||
#6
|
|||||||
|
|||||||
![]() Quote:
I have the latest flash plugin and the images do not load. Only white space. Mac OS 10.3.4 Browser - Safari 1.2.2 Activity monitor shows not found errors for these files: http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16501&price=$%a029.95&watchURL =product.php?productid=16501&cat=103&page=1&tagX=9 8&tagY= http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16503&price=$%a029.95&watchURL =product.php?productid=16503&cat=103&page=1&tagX=9 8&tagY= http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16504&price=$%a029.95&watchURL =product.php?productid=16504&cat=103&page=1&tagX=9 2&tagY= http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16505&price=$%a029.95&watchURL =product.php?productid=16505&cat=103&page=1&tagX=9 0&tagY= http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16506&price=$%a029.95&watchURL =product.php?productid=16506&cat=103&page=1&tagX=9 0&tagY= http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16507&price=$%a029.95&watchURL =product.php?productid=16507&cat=103&page=1&tagX=9 2&tagY= http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16508&price=$%a029.95&watchURL =product.php?productid=16508&cat=103&page=1&tagX=9 2&tagY= http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16512&price=$%a029.95&watchURL =product.php?productid=16512&cat=103&page=1&tagX=9 5&tagY=10 http://www.watchmarket.com.au/skin1/images/watch_fla.swf?imageFilename=/image.php?productid=16513&price=$%a039.95&watchURL =product.php?productid=16513&cat=103&page=1&tagX=9 7&tagY= |
|||||||
#7
|
|||||||
|
|||||||
![]() hmmm thanks for your post.
Not sure whats going on here - unfortunatly i dont have a mac to test with so i'm glad to get your feedback. Does anyone know of any cavets i should know of when working with flash like this on macs? Thanks in advance. (the flash is currently in version 6) |
|||||||
#8
|
|||||||||
|
|||||||||
![]() Why is your activity monitor reporting /skin1/images/watch_fla.swf when it should be just watch.swf ?
dleaston, You may want to watch out using two question ? marks in the filename since it may be causing the problems. Also make use of the FlashVars parameter added in flash 6 to help pass local vars. ![]() |
|||||||||
#9
|
|||||||
|
|||||||
![]() arh.. the fact that theres two ?'s in the string doesnt work on a mac?
damn. Ok - changing over now - let you know once its uploaded. Cheers, David |
|||||||
#10
|
|||||||
|
|||||||
![]() "Why is your activity monitor reporting /skin1/images/watch_fla.swf when it should be just watch.swf ?"
This was probably my problem - thanks for picking that up and your help with this guys, i had the Object Tag as watch.swf, but forgot to change the embed tag to watch.swf from the orginal watch_fla.swf i was using. I've also changed it over to the FlashVars method you provided info on boomer. Could you guys have a look now for me and tell me if you see the watches with the price tags? Thanks again, David |
|||||||
|
|||
X-Cart forums © 2001-2020
|