• Resolved jrelgin

    (@jrelgin)


    I’ve had a difficult time implementing a flash movie file into my wordpress template. I have learned that you need to put all of your flash related files in the root WP directory so I have a .swf file and a .js file and I have called them as such:

    <script src="https://localhost/carpetandhardwood/intromovie.js" language="javascript" type="text/javascript"></script>
    Note: this I have entered just below <?php get_header(); ?> and then I have called the .swf with this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    It shows up but I cannot style that div that has a class of promo-movie. Currently the movie file is resting against my navigation bar but I want to add padding. No matter what CSS I write nothing happens. I wonder if it doesn’t have something to do with the .js file being in the body of the page rather than in the header but I didn’t want to put it in my header.php file because I don’t want to call that file on every page of my website. Any help would be greatly appreciated! Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problrem putting Flash movie in a template’ is closed to new replies.