Skip navigation
TPStudent2010
Currently Being Moderated

Urgent help on  adobe flash cs4 animation problem

May 6, 2012 10:59 PM

I am currently working on amimation project, currently after i refer to:


http://www.pixelhivedesign.com/tutorials/Flash+Matrix+-+Animated+Code+ Effect/


,and successfully make a matrix animated background, then the problem occur, whatever object or symbol or animation i put on the background will automatically become "transparent", which can see the matrix word pass through it, i am completely newbie on this software and any help is welcome

 

BTW, I am using adobe flash  cs4

 
Replies
  • Currently Being Moderated
    May 7, 2012 5:38 AM   in reply to TPStudent2010

    My guess is that you are not actually creating the matrix animation as a background.  If you do not have that animation coded to happen inside of a movieclip, then it is dynamically adding content above anything else that you place on the stage.  You need to code that animation to be inside a movieclip that you place on a bottom layer so that you can place content on layers above it.

     

    In a quick look at the tutorial code, I would say that you want to change the code for this line....

     

      

    codeLine = this.createEmptyMovieClip('codeLine',curLines);

     

    to be more like...

     

     

    codeLine = backgroundMC.createEmptyMovieClip('codeLine',curLines);
    
    where backgroundMC is the instance name of the movieclip I mentioned you need to manually add on the lowest layer of your timeline
     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2012 6:35 PM   in reply to TPStudent2010

    You need to create an empty movieclip manually and place it on the stage in the upper left hand corner on a bottom layer of the main timeline.  Then assign it an instance name of "backgroundMC"  This movieclip is where the code will be placing all of the matrix pieces that get created.

     

    To create an empty movieclip, in the top toolbar select Insert -> New Symbol -> Movieclip... assign it a symbol name like "blank mc" or something so you know what it is   Then go back to the main document choosing Edit -> Main Document and drag a copy of this new movieclip to the upper left hand corner of the stage. 

     

    While it is still selected, assign it an instance name "backgroundMC" in the Properties panel where it says "<Instance Name>"  (you can name it anything you like, but I am just using background MC for this example to work.

     

    If you have done this correctly, the matrix will now be restricted to be within that background movieclip and you can place other object above it in other layers.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points