1 Reply Latest reply on Dec 18, 2006 7:26 AM by DazFaz

    Passing variables to flash

    bexlhoward1
      Hi, I have some navigation that needs to show what page is currently active e.g. by showing a pink dot. I am passing the variable to flash on the end of the swf e.g. picker.swf?tag=web

      I then have a series of if statements to make the dots invisible/visible depending on the content of the variable. The problem i am having is that they are always visible. What am i doing wrong?

      http://dev.westhill.co.uk/Westhill_2006/services/websites.htm

      just click on the right panel, websites and cd roms only. You will see the two random dots, I will place these later. I also have a text box to track the variable.

      The as I have used is:

      if (_root.tag==web){

      this.g_active1._visible=true;
      this.g_active2._visible=false;



      } else if (_root.tag==cdrom){
      this.g_active2._visible=false;
      this.g_active2._visible=true;

      }

      If anyone can tell me what I should be writing that would be great!

      Cheers

      Bex