Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2003
    Location
    California
    Posts
    231
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Linking with flash

    1)I have a flash interface that i want to be my index.html file..but its not a html file so how do i make it the first page on the site?

    2) how do i link flash buttons to html pages?

    3) How do i link flash with other flash files?


    ...What i am trying to do is have an entire website done in flash,
    thats why i ask.

  • #2
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    www.flashkit.com
    Tutorials on all of the above.
    Enjoy!

    I take no responsibility for the above nonsense.


    Left Justified

  • #3
    New Coder
    Join Date
    Feb 2004
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1) you dont have your index file as a flash file. put the flash file in the same web-folder as the index.html (i dont know what i'm supposed to be calling it, but you know what i mean) and add the following code to index.html in notepad.

    <object width="550" height="400">
    <param name="movie" value="MOVIENAMEHERE.swf">
    <embed src="MOVIENAMEHERE.swf" width="550" height="400"></embed>

    all this does is tells the browser to load the flash movie. note that there are two commands to embed the movie there, one of them is supposedly for Netscape, but i dont have it, so i cant check it, so i put it in there anyway.

    2) add the following code to a button to link it to an external web page: -

    on (release) {
    getURL("http://www.google.com/");
    }

    there are other parts to that command to do things like open the url in another window, so if you're interested, look it up in the actionscript dictionary.

    3) you dont. or at least i dont think you do... it seems like alot of pages do that because they either just link to another url with another flash movie on it, or they use scenes. there is a scenes window you can open by pressing shift+f2. i wont go into details about how to use it because it's pretty self explanitory.

    wow, i cant believe how bored i was to write all that. hope it helps and was in some way coherent.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •