23 Replies Latest reply on Jan 22, 2008 7:40 AM by kglad

    HELP NEWBIE

    Angel3m
      Hi all

      I am a newbie in flash and i cam in here after i am trying in like flashkit, actionscript site or search in google...
      I am trying to load external images in template. but i dont know what to do?
      i tried flash help but i couldn't reach at the solution...
      Kindly HELP me in this

      here is the file i am attaching

      Template File
        • 1. Re: HELP NEWBIE
          kglad Adobe Community Professional & MVP
          that's a poorly orgainized flash project. ask the author of it what code needs to be changed.
          • 2. Re: HELP NEWBIE
            Angel3m Level 1
            thnx for the reply kglad

            i tried to contact the organization... but no reply... thats why i came here..

            here i tried to add this AS. in the thumbnail mc... after removing the thumbnail pic...

            this.createEmptyMovieClip("target_mc", this.getNextHighestDepth());
            target_mc._x = -35;
            target_mc._y = -35;
            target_mc.loadMovie("animals/01.jpg");

            but when i go for the 2nd thumbnail.. it dosent appearing...

            any sugestions?
            • 3. Re: HELP NEWBIE
              kglad Adobe Community Professional & MVP
              i gave up trying to find the place where the code needs editing: that was coded by an intermediate level coder with poor orgainizational skills.

              but somewhere in that fla are attachMovie() methods. that's the code that needs to be changed to loadMovie().
              • 4. Re: HELP NEWBIE
                Angel3m Level 1
                Hi,

                i have solved the problem for loading the thumbnails and big pics.

                now i am facing another problem....

                if i click on the thumbnails in sequence it works fine and loads the related pictures but if i jump to random numbers it dont show the images only white space...

                Any idea ?

                please help me

                i have attached the file


                Attched File
                • 5. Re: HELP NEWBIE
                  kglad Adobe Community Professional & MVP
                  have you indicated the location of the loadMovie() code?
                  • 6. HELP NEWBIE
                    Angel3m Level 1
                    i didnt find any loadMovie() code in it....

                    i can put all the codes that are used in this file.

                    i am using Adobe Flash CS3 OR Flash 8 Pro.
                    • 7. Re: HELP NEWBIE
                      kglad Adobe Community Professional & MVP
                      then how are you loading external images?
                      • 8. Re: HELP NEWBIE
                        Angel3m Level 1
                        well, if u open the library.... and see p1, p2, p3, ......., p10....
                        before there was an image inside them...i removed them and in timeline... i put this code:

                        this.createEmptyMovieClip("target_mc#", this.getNextHighestDepth());
                        target_mc#._x = -35;
                        target_mc#._y = -35;
                        target_mc#.loadMovie("animals/01.jpg");

                        where:
                        # is movie number.....

                        and this code what i added.... it wasnt in it before....

                        now only the problem is:

                        When i click to see the random images... it wont work..... but if i go in a sequence starting from thumbnail 01.... it works fine....

                        im really thankfull to u man, for being stick with me...

                        Thnx again
                        • 9. Re: HELP NEWBIE
                          kglad Adobe Community Professional & MVP
                          ok. now where's the onRelease or on(release) code for the thumbnails?
                          • 10. Re: HELP NEWBIE
                            Angel3m Level 1
                            hmmmm...ok if u open the thumbs mc...

                            there are thumbnails animation... here on each thumbnail has an ActionScript....

                            and here is the code:

                            onClipEvent(load) {
                            im_num=3;
                            }


                            on(rollOver) {
                            this.gotoAndPlay("s1");
                            }


                            on(rollOut, releaseOutside) {
                            this.gotoAndPlay("s2");
                            }


                            on(release) {
                            if(_root.im_anim==1) {
                            _root.im_anim=0;
                            _root.im_num_prev=_root.im_num;
                            _root.im_num=im_num;
                            _parent._parent.gall.play();
                            }
                            }

                            thnx for quick reply

                            Regards
                            • 11. Re: HELP NEWBIE
                              kglad Adobe Community Professional & MVP
                              where's _parent._parent.gall?
                              • 12. Re: HELP NEWBIE
                                Angel3m Level 1
                                in library... open mc thumbs...
                                lock all the layers... and open only 2nd layer from top.... named Layer 3....

                                u will see all thumbnails are selected.... click any of it and check its AS. u will find
                                _parent._parent.gall
                                in it .... :)

                                hope this reply will help u to find the code....

                                Thnx
                                • 13. Re: HELP NEWBIE
                                  kglad Adobe Community Professional & MVP
                                  i know where that code is located: you've already told me in a previous message.

                                  the current question is what timeline contains _parent._parent.gall?
                                  • 14. Re: HELP NEWBIE
                                    Angel3m Level 1
                                    i ve looked in the file... and i didnt find this _parent._parent.gall code in nay timeline....

                                    now what to do? :(
                                    • 15. Re: HELP NEWBIE
                                      kglad Adobe Community Professional & MVP
                                      ask for your money back. that template is very poorly coded. how much did you pay?
                                      • 16. Re: HELP NEWBIE
                                        Angel3m Level 1
                                        its been years i bought this template....

                                        and i already tried to ask them this help... but no use....

                                        this is the reason i came in this place with a hope....

                                        if i knew anything about the inside coding... i wud discuss with them before buying....

                                        there must be some way to solve this problem..... :(

                                        and i hope u will solve this problem....

                                        Thnx alot for helping me with great patience...

                                        Warmest Regards

                                        HAPPY NEW YEAR

                                        Have a great Holiday
                                        • 17. Re: HELP NEWBIE
                                          kglad Adobe Community Professional & MVP
                                          oh, your problem is solvable. it just takes time to find all the code locations.

                                          for example, it could easily take a few hours to go through that swf carefully enough to find what's needed to make the changes you want. i've already spent close to 1/2 hour looking at that thing trying to help.

                                          and while i give a lot of free assistance in this forum, spending more time on that fla for no pay is beyond my limit.

                                          p.s. i've found _parent._parent.gall (it's _level0.main.gall) but, of course, there's more code stuffed into that movieclip.
                                          • 18. Re: HELP NEWBIE
                                            Angel3m Level 1
                                            oh....i see....

                                            So, how much wud u demand to solve this problem.... Im sure it will be very small problem infront of u....
                                            • 19. Re: HELP NEWBIE
                                              kglad Adobe Community Professional & MVP
                                              you're correct, it's a trivial problem. but time is the issue, not difficulty.

                                              you can send email from my website to discuss hiring me to solve the problem.
                                              • 20. Re: HELP NEWBIE
                                                Angel3m Level 1
                                                Hi,
                                                I ve sent you an email from ur website. And Im still waiting for ur reply..

                                                Regards
                                                • 21. Re: HELP NEWBIE
                                                  kglad Adobe Community Professional & MVP
                                                  i've responded to your email twice and sent a private message.
                                                  • 22. Re: HELP NEWBIE
                                                    Angel3m Level 1
                                                    i ve send u the email... plz respond...

                                                    • 23. Re: HELP NEWBIE
                                                      kglad Adobe Community Professional & MVP
                                                      responded.