2 Replies Latest reply on Jun 9, 2010 6:52 PM by sbplutoanim

    Troubleshooting Basics in CS4

    sbplutoanim

      Hello. I'm in the process of teaching myself Flash CS4 beyond the smattering I've received in related courses in college. The following I'm sure are fairly basic problems, but for the life of me I've been having difficulty solving. (Operating in CS4 using Actionscript 3 on a G5 Mac)

       

      I have created an animation in which the textured background moves in several different directions to simulate the illusion of movement. Elements of the animation come off the stage, but are never removed, just taken off of what should be the viewable area. When I go to publish it it appears fine, when I go to import it into another file I get everything, including the elements that I didn't want seen. Any suggestions on how to get Flash to constrain the area in which it publishes or anything that would allow me display only desired elements?

       

      I also looked into creating a scrolling gallery in which the user can scroll either to the left or right of the gallery when the mouse is within the appropriate bounds, can stop the gallery from scrolling by hovering on the middle, and can view enlarged versions of the thumbnails by clicking on the appropriate image. I have found tutorials that have been illustrated how to do this, but only in Actionscript 2, which is not compatible with the larger file I am working with in Actionscript 3. Can anyone point me in the direction of an appropriate tutorial or explain it themselves?

       

      Many thanks for any and all suggestions.

        • 1. Re: Troubleshooting Basics in CS4
          Ned Murphy Adobe Community Professional & MVP

          As far as the swf displaying beyond its boundaries, when you load the file into another file, the file doing the loading defines the stage, and your loaded file essentially gives its stage up.  One thing that you can try is to add a mask for the loaded movie.  That should help to only display things under the mask.

           

          For the slideshow, one thing you could try to do is to translate the AS2 version into an AS3 version.  It would be a worthy learning experience.  Otherwise, the best I can suggest is to search Google using "AS3 slideshow tutorial" and similar terms.

           

          Also, you could create the slideshow as an AS2 file and load it into an AS3 file and still have it function.

          • 2. Re: Troubleshooting Basics in CS4
            sbplutoanim Level 1

            Thanks. I was kicking myself as soon as you mentioned masking it, because I should have thought of it myself. As for the slideshow I'm exploring other options for it while pursuing an AS3 equivalant. I *DO* however have another issue I would like to offer up to the Flash community.

             

            I have a movieclip playing within another movieclip in a Flash file. The file deepest nested (a logo) works fine by itself. The movieclip that the logo is part of (an ad) works fine as does the logo within it. Once I put the ad onto a larger Flash file, however the logo movieclip doesn't play. It displays it's first frame, waits the length of the movieclip, then displays it's last frame with none of the inbetweens. It may be that I am overcomplicating something that should be simpler, but is there any way of resolving this issue short of reanimating the logo within the ad animation? (For those interested, the logo animation was initially designed to go with several different things, not just the ad, hence why it was it's own movieclip and not integrated)