9 Replies Latest reply on Aug 19, 2009 3:09 PM by kglad

    Movie File Path

    teachntrade

      Hi all,
        I found this fla on flashkit.com  and wanted to understand  something....
      If you load the main movie "derle"
      you will see buttons at  the top that load mini swf of bitmaps into the main
      path of  _root.papermove.paper.white.list

       

      How would I put a button on the  "subtitle" movie file under lets say
      Products A-D that would load the same  type of mini bitmap swf. onto
      _root.papermove.paper.white.list.

       

      When  I try the same type of button...I just get a blank page...
      on (release)  {
      if (four == true) {
        loadMovie("http://www.website.swf",  "_root.papermove.paper.white.list");
        _root.papermove.gotoAndStop(1);
         _root.papermove.paper.gotoAndStop(1);
        _root.subtitles.gotoAndStop(5);
         _root.arrows.gotoAndPlay(14);
        one = true;
        two = true;
        three =  true;
        four = false;
        five = true;
        six = true;
        seven =  true;
        scroll = true;
      }
      if (bar == true) {
         _root.aboutusbar.gotoAndPlay(7);
        bar = false;
      }
      }

       

      and it is  not that there is no swf to be found...I have uploaded a dummy one
      and put a  direct http file path.

       

      what am I doing wrong...should I not load it into  _root....is it a layer
      issue?

       


      thanks for any help

       

      tnt

        • 1. Re: Movie File Path
          kglad Adobe Community Professional & MVP

          are you trying to load a swf from another domain?

          • 2. Re: Movie File Path
            teachntrade Level 1

            No,

              i just tried one online....I just want to load one of the movies included....just to see the file path from the "Subtitles" movie...

             

            Try to load "welcome" from a button on frame 3 of "subtitles"

             

            thanks for the quick response

             

            -TNT

            • 3. Re: Movie File Path
              kglad Adobe Community Professional & MVP

              then use a local path to the swf.

              • 4. Re: Movie File Path
                teachntrade Level 1

                Its not working,

                    I am still geting a blank result....I have tried the local path and am making the display path "_root.papermove.paper.white.list"

                But it is from another movie "subtitles"   What am I doing wrong....?  Is it the "Stops"  on frame 1 of subtitles?

                 

                in the files I uploaded...I made a text box (but did not convert to button) titled "button to load movie in"

                it is on frame 3 of subtitles....under products A-D.  I have made it a button...but still nothing

                 

                I am so confused on file paths....it should work?  if I specify to load in root....or should i load in a different layer?

                 

                Any help on this code would be appreciated

                 

                thanks

                 

                -TNT

                • 5. Re: Movie File Path
                  kglad Adobe Community Professional & MVP

                  are you having a problem loading a swf?  if so, show the code you're using to load the swf.

                  • 6. Re: Movie File Path
                    teachntrade Level 1

                    Here is the .fla  I am playing with....

                    I have linked to an outside swf (testbitmap.swf) on the buttons ProductsD-M and ProductsM-T..you will see it load a sample bitmap text

                     

                    Under ProductsA-D  I created a button called "Button to loa movie in"   I scripted the button the same as if it were the ProductsA-D button at the top

                    on (release) {
                        if (three == true) {
                            loadMovie("http://lbsites.org/mcorrigan/testbitmap.swf", "_root.papermove.paper.white.list");
                            _root.papermove.gotoAndStop(1);
                            _root.papermove.paper.gotoAndStop(1);
                            _root.subtitles.gotoAndStop(3);
                            _root.arrows.gotoAndPlay(14);
                            one = true;
                            two = true;
                            three = false;
                            four = true;
                            five = true;
                            six = true;
                            seven = true;
                            scroll = true;
                        }
                        if (bar == true) {
                            _root.aboutusbar.gotoAndPlay(7);
                            bar = false;
                        }
                    }

                     

                    with no luck....

                     

                    any advise would be great

                    -TNT

                     

                     

                    • 7. Re: Movie File Path
                      kglad Adobe Community Professional & MVP

                      use:

                       


                      on (release) {
                          if (three == true) {
                             

                      _root.papermove.paper.white.list.loadMovie(use a local path to your swf);

                              _root.papermove.gotoAndStop(1);
                              _root.papermove.paper.gotoAndStop(1);
                              _root.subtitles.gotoAndStop(3);
                              _root.arrows.gotoAndPlay(14);
                              one = true;
                              two = true;
                              three = false;
                              four = true;
                              five = true;
                              six = true;
                              seven = true;
                              scroll = true;
                          }
                          if (bar == true) {
                              _root.aboutusbar.gotoAndPlay(7);
                              bar = false;
                          }
                      }

                       


                      • 8. Re: Movie File Path
                        teachntrade Level 1

                        Thank you so much.....I got it working with this code and the local file path

                         

                        on (press) {
                        loadMovie ("testbitmap.swf", "_root.papermove.paper.white.list");
                        _root.arrows.gotoAndPlay(14);
                        one = true;
                        two = true;
                        three = false;
                        four = true;
                        five = true;
                        six = true;
                        seven = true;
                        scroll = true;
                        bar = false;
                        stop ();
                        }

                         

                        kglad....you are a real asset to this forum!!!

                         

                        -TNT

                        • 9. Re: Movie File Path
                          kglad Adobe Community Professional & MVP

                          you're welcome.