1 Reply Latest reply on Jul 7, 2006 7:58 AM by DazFaz

    website using flash

    dawndawg
      I'm trying to create a graphic design portfolio website. The basis of it is HTML/CSS, but I want to use Flash for buttons and for displaying the portfolio. For ex. logos.html will have HTML info with 1 or 2 swf movies.

      See this preview
      http://jtleonard.fastmail.fm/work/index2.html

      The logoSquares.swf works great! But I want the buttons to communicate with the portfolio side. I've created the following code. I don't get any error messages, but the button doesn't work.
        • 1. Re: website using flash
          DazFaz Level 1
          This is a very quick observation and have not looked in depth at this yet.

          THE BUTTON CODE IN logoSquares.SWF
          on (release) {
          myLocalConnection = newLocalConnection();//<--- space needed maybe "new LocalConnection()"
          myLocalConnection.send("incomingPersonalGardens", "onReceive");
          myLocalConnection.close();

          }
          THE CODE IN FRAME1 OF logos.swf
          myLocalConnection = newLocalConnection();//<--- space needed maybe "new LocalConnection()"
          myLocalConnection.onReceive = function() {
          movieClip.play();
          };
          myLocalConnection.connect("incomingPersonalGardens");