Pleased to hear finally working correctly.
![]()
Pleased to hear finally working correctly.
![]()
I am also very happy (and a bit tired trying to get this to process correctly).
A note of thanks to everyone who watches and contributes to these threads. Zen Cart would not be as successful and responsive to each of our needs without your help. It would be very, very difficult for the Zen masters to respond to all (and there are a lot of us) of our needs. Again, thank you.
hi all i will write a tutorial on how to use flash or swish and embbed it into zencart. witch also gets variables from Zen cart so i can have a working login and logout button with changing status and can get other variables into flash like shopping cart and prices... also it will be SEO friendly...
please let me know if you would be interested. i installed flash headers succesful in 2 shopping carts that i made... check it out
www.pong360.com/store
http://www.evadisplays.com/store/ind...adisplays_2008
best wishes,
Anton
p.s. let me know if you have any questions.
I believe that a good Tutorial, FAQ or addition to Wiki (Using Flash) would be beneficial to all. I believe that this information needs to be very specific, include examples and be complete in and of itself. Of course, links are to be provided, but the discussion need to be self contained, and timely. (I say this because, as I found, PHP code will very based on the JavaScript being used to execute the process.) In the discussion you may want to include:
- A discussion about why one would/would not use flash.
- A discussion about why one would/would not use audio with flash.
- A simple discussion as to various ways to use flash.
- A small discussion about the difference between FLA and SWF files.
- A discussion about various programs that one could use to convert various video files, say avi, mpg, wmv etc. to swf would be good.
- A discussion of typical problems and their solutions
- A discussion of best practices
I am sure that the forum would be able to add, advise, and enhance any material provided so that the final product would be accessible to the most people.
Good luck in your endeavor.
You sites look great
I was wondering if there is a simple way to make the flash header change with resolution sizes?
This is my flash banner code. I have the width set to 100% however I have the actually flash file at like 1700 pixles because it will work whenever thre resolution is much higher. The problem is it is hard to make a flash banner because it is such a huge width.
Here is the code for my image which replaces the flash banner on the other pagesCode:<div><script type="text/javascript" src="includes/templates/arch_shoppe/jscipt/swfobject.js"></script> <div id="flashcontent"> <center> <embed src="stxbanner.swf" width=100% height="110" allowscriptaccess="always" allowfullscreen="true" />
Code:<html> <body> <?php echo '<img src="images/Stxbanner image header.jpg" width=100% height=100% border="0" />'; ?> </body> </html>
Please let me know if there is anything I can do to get this working for other resolutions.
I can make Flash work on either IE7 or Fire Fox but not both
I got flash to work on FireFox with the HTML insert, but not on IE7, I swiched it to pull up the jscript now it work in IE7 but not on FireFox???
Please Help!
Hi 1fghjkl,
I am not a programer. However, I do know that my post 121 will work for both IE7 and Firefox 2. This may not help resolve your code problem, but it may give you a different path that will work.
Good luck.
Last edited by Sawhorse; 3 Sep 2008 at 02:53 AM.
You'll have better luck using swfObject 2.0.. Set swfObject to load with any other scripts you have... Place it in your javascapt folder and rename it to jscript_swfobject.js
Now use something like this where ever you want it to work..
This is how my newsletter swf works.. To make the size dynamic, you'll need to use some browser sniffer code.Code:<script type="text/javascript"> swfobject.embedSWF("flash/newsletter.swf", "myContent", "140", "100", "8.0.0"); </script> <div id="myContent"><img src="images/newsletter.gif" hight="100" width="140"/></div>
1fghjkl: In a nutshell, IE reads the Object tag for swf files and FF reads the Embed tag... the above swfObject code works on both types of browsers.
Sawhorse: If your looking for Flash tutorials and such, flashkit.com is good I get allot of ideas from them.
Dave
Always forward thinking... Lost my mind!
Thank you Davewest & Sawhorse for responding:) Unfortunately I still can't get it working.
I tried this script and I get a blank flash box in IE and nothing shows up in FireFox-
<script type="text/javascript">
swfobject.embedSWF("fitness_mega_flash.swf", "fitness_mega_flash.swf", "430", "390", "7.0.0");
</script>
<div id="myContent"><img src="images/large/fitness_mega_flash.swf" hight="430" width="390"/></div>
When I Try loading off of swobject.js all I get is "This Text is replaced by Flash movie" in both IE and FireFox. The good news is at least it's doing the same thing in both
<script type="text/javascript" src="includes/templates/template_default/jscript/swfobject.js"></script>
<div id="fitness_mega_flash.swf">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("images/large/fitness_mega_flash.swf", "fitness_mega_flash", "430", "390", "7", "#000000");
so.write("flashcontent");
</script>
Thanks in advance for the help-