Web Analytics Made Easy -
StatCounter Linking with flash - CodingForum

Announcement

Collapse
No announcement yet.

Linking with flash

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    This is a discussion forum for all issues related to macromedia flash and shockwave, fireworks, development

    Tutorials on all of the above.
    Enjoy!

    I take no responsibility for the above nonsense.


    Left Justified

    Comment


    • #3
      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.

      Comment

      Working...
      X