Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
  1. #1
    Junior Member
    Join Date
    Apr 2003
    Location
    IN
    Posts
    7
    Member #
    1171
    I created a flash movie to be the intro for my church's website. Its mostly just fading text and such, pretty small. The only way I could figure out how to post it was to create a new blank page, drop the movie on it, and make that page the home page. When it concludes, it redirects to the top page of the church's navigation structure (that used to be the church's home page). I have two questions:

    1.) Is there a way to put this movie on the actual homepage? Keep in mind that I probably don't want it to play if a user is just clicking back to "home" from a page within the structure. I did create a skip intro button too.

    2.) I would love for the "real home page" to be loading while the movie is playing, is there a way to do this?

    The second question is more important to me than the first, as I think the former will be more difficult to accomplish. Thanks in advance for helping me out!

    -XpTraveler

    By the way, what's with the "dollar offer" can someone explain that to me?

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    It's getting repetative for me to keep explaining the dollars so I'm going to post an announcement.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Done: http://www.webdesignforums.net/annou...p?s=&forumid=8 . It's at the top of every forum now.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    #2 is easy to do. Just create your "real home page" as your index page, and in the <HEAD> section, put this:
    Code:
    <script language="javascript">
    var introWindow = window.open("intro.htm", null,
        "width=600,height=400,statusbar=no,resizable=no,scroll=no");
    </script>
    Replace "intro.htm" with whatever the name of your page will be that has the flash intro, and replace the width and height values with the width and height of your flash movie. This way, if they want to "skip" the intro, they can just close the window.

    You can also add some actionscript to your flash movie for the button click event. Something along the lines of:
    Code:
    on (release) {
        getURL ("javascript:window.close()");
    }
    Note that this part is unnecessary, but will make everything flow better.

  6. #5
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    NOTE: Remove any extra line breaks and spaces added by the forum software into the script samples above.

  7. #6
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    (side note: "java script" should be typed as "javascript"; the forum breaks it up for security reasons)
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  8. #7
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    That note is gonna be my first canned text ;-)

  9. #8
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Ok, now as for #1, you can EMBED a flash OBJECT into an HTML page as if it were any other type of HTML element. Here's how you would do it:
    Code:
    <object 
        width="400" height="0"
        classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=3,0,0,0">
        <param name="movie" value="flash.swf">
        <param name="quality" value="high">
        <embed
            src="flash.swf"
            quality="high"
            bgcolor="#FFFFFF"
            width="400"
            height="300"
            type="application/x-shockwave-flash"
            pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
        </embed>
    </object>
    Of course, replace the "width", "height", "src" and "movie" values with your own. You can treat this snippet of HTML script like you would any IMG element. Put it in a table, div, or whatever.

  10. #9
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    NOTE: I added a space in the "classid" value after clsid: because it was registering the colon / D as a smilie face. Remove this space when you add it to your script.

  11. #10
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Also note in the "codebase" that this example is set for Flash "version" 3.0. If you want to change it to a later version, change the sequence at the end to "version=X,0,0,0", where X represents the version of flash that you're using.


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:21 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com