By armand0 on
Hi. How can I use a flash movie?
I try to use a flash logo in the top of pages. I try swfobject_api but it dont work (it send me 'Sorry, you need to install flash to see this content.'). And if I try paste directly the flash code in the page theme, like:
Comments
___
Make sure that the flash player is installed.
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Sho...
Are you talking about a .flv flash movie or a .swf?
Where are you makeing the link to the js?
Swfobject is a java-script that you have in some folder correct? Make sure that your path to that file is correct. If that path is wrong you get the error you have described above.
I use swfobject in my (drupal) site for my door menus, here is a link for an example. http://www.lyndendoor.com/products The doors on the bottom grow and shrink. You can just view the page source if you want to see how I coded it.
Quick semirelated question
1) when i went to your site lyndendoor.com/contact page.. which module did you use and or how did you create the contact form (handcoded)?
usually the basic contact form is very limited.
however, you have address, fax, site, phone, etc.. html formatted nicely above the form proper. also the form proper itself has more fields than the average contact form..
2) it looks like every one of your product pages is hand coded html that you basically pasted into the body of each node used for that page - is that correct?
3) i ask #2 because i'm wondering how you got all of your product menus to exist somewhere in the middle of each page? did you have to cut n paste the js code into each and every page where you wanted that menu? i think you are just using the vanilla swfobject off of blog deconcept and NOT using any swfobject drupal module right?
4) In order to make the products swf menu load the appropriate page, i imagine you have it hard coded somewhere within the swf to actually call up the equivalent drupal paths to the product pages when you click on a door in the swf menu right? or do you configure this functionality outside the swf with xml or something?
any help greatly appreciated
thanks
I hard coded alot of stuff
1) The contact page is a custom version of the feedback module. With some html for the top section.
2) The product pages are hand coded for the most part. Have html/php will travel.
3) I just inserted the flash at the bottom of the page. I also used the swfobject script.
4) I hard coded the links in the flash. One day I plan to make a module that exports an xml file in order to have flash menus generate on the fly, but I am an IT guy so for now I just brute force it to work.
-Shmee
thanks..
I appreciate it..
Thanks
It Work!!
and without swfobject modules.
after I tried with this code:
Its been generated by mmflash8. but no worked. then i try with your customize code:
<object width="765" height="72"><param name="movie" value="/flash/top.swf"><embed src="/flash/top.swf" width="765" height="72" menu="false" salign="BR" scale="ExactFit"></embed></object>and work. Thanks.