4 Replies Latest reply on Apr 30, 2006 7:52 AM by Newsgroup_User

    testing my movie

    batgirl_Sa
      Ok i am testing my movie... when i got to test movie from going to the menu
      (control---> test movie) my movie works fine... things are moving like they should be and text is being loaded where it should be .

      (i am actually loading a movie dynamically using loadmovie and that movie is loading text into it dynamilcally using the loadvariables)

      anyway all of it looks fine when i test it.... but then when i do a publish preview in HTML the text is not loaded and somethings arent moving.... does any one have any idea what the problem could be? why when i do test movie it runs fine BUT when i preview in HTML OR run the swf file on its own it is not working??


      HELP
        • 1. Re: testing my movie
          kglad Adobe Community Professional & MVP
          you could have a path problem because of the location of your html file, swf file and the files that are loaded or you could have a timing problem if you failed to use (and need to use) preloader code or an onData handler.
          • 2. Re: testing my movie
            batgirl_Sa Level 1
            thanks for you r qucik response

            Ok i spotted the items i am having a problem with but problem is i dont know why.



            i am loading a movie dynamically in my main movie using load movie

            loadMovie("menu.swf",_root.i_dress2.i_content);


            and in the actual movie menu.SWF i am loading a text dynamically using loadvariable... but i am actually loading it into the movie that has already been loaded into my main movie... maybe it i will make sense when you see my line of script that is in the menu.sef movie....


            loadVariables("menu.txt",_root.i_dress2.i_content.arg.maskedText.scrollpage);


            so i guess it is like i am loadingthe txt into the text file after it is loaded into the main movei so that is why it is referring ot the text field that way...

            anyway it works fine when i go thorugh test movie but when i preview in HTML the text doenst come out...

            am i doing this thewrong way.? is there something i am missing?

            Thanks...any help will be appreciated!!

            • 3. Re: testing my movie
              kglad Adobe Community Professional & MVP
              is there an i_dress2.i_content movieclip in menu.swf, as well as, in your main swf?
              • 4. Re: testing my movie
                Level 7
                You may be hitting a Flash 8 security issue that you cannot load external
                data using file:////path_to_your_movie/youmoviehtml in a web browser. You
                may need to use http://thedomain.com/yourmovie.html.



                --
                Lon Hosford
                www.lonhosford.com
                May many happy bits flow your way!
                "batgirl_Sa" <webforumsuser@macromedia.com> wrote in message
                news:e2uujg$sdb$1@forums.macromedia.com...
                Ok i am testing my movie... when i got to test movie from going to the menu
                (control---> test movie) my movie works fine... things are moving like they
                should be and text is being loaded where it should be .

                (i am actually loading a movie dynamically using loadmovie and that movie
                is
                loading text into it dynamilcally using the loadvariables)

                anyway all of it looks fine when i test it.... but then when i do a publish
                preview in HTML the text is not loaded and somethings arent moving.... does
                any
                one have any idea what the problem could be? why when i do test movie it
                runs
                fine BUT when i preview in HTML OR run the swf file on its own it is not
                working??


                HELP