Flash Q

Out of context: Reply #4

  • Started
  • Last post
  • 11 Responses
  • lvl_130

    well, the example you showed could be created pretty easy. create two movie clips (1 for the main content, 1 for the timeline content) and you could create a couple more for the backgrounds they have going on if you wanted.

    1. the content:
    you could put all content in one clip. give it an instance name of content. add this code to the mc:
    onClipEvent (load) {
    speed = 5;
    }
    onClipEvent (enterFrame) {
    _x += (_parent.contnet-_y)/speed;
    //_x+= (_parent.content-_x)/speed;
    }

    to target this code just use this on your timeline buttons:
    on(release){
    _root.content=400;
    }

    it looks as if the movies are inserted and play only after the shift of content is complete, so you would need an empty mc that would load in the content after it made sure the content was at the right xcord by usinf an if statement.

    that's the jist of it anyway. that any help?

View thread