1 Reply Latest reply on Sep 19, 2006 8:39 AM by mercl

    url Linking

    Mijanur
      Hi guys im kinda stuck...i am trying to direct one flash website to another flash website on a click of a button...i can do the followoing action

      on (press) {
      getURL();

      }

      but i need this lionk to be linked to a specific scene once it directs to that site....please give me an example of how i can acheive this..


      thank you guys..
        • 1. Re: url Linking
          mercl
          Oo, Ok,
          I think you you need to use javascript/PHP or something like that to send a parameter to another page...

          getURL("dom.com?scene_label=sceneName");

          in the SWF on dom.com
          you have in the embed tag
          myMovie.swf?my_scene=scene_label

          when it loads you it 'll need to look for scene_label var
          so it loads, and checks the var scene_label which wil contain the scene id

          then:
          gotoAndPlay(scene_label, 1); // passed from the embed tag
          playing the scene given by scene_label frame 1

          the complex part is getting the parameter to this other domain...
          (i would not know how to do that now...)

          h.i.h

          ML