A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Loading Movie-need Help

  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    30

    Loading Movie-need Help

    does anyone know how to make a loaded movie appear/begin at the top of the page...

    Im finding that the new movie loads ok but it load at the same part of the page that butto on the main movie is clicked...
    for ex.
    if a button on the top of the page is clicked it loads the new movie at the top...
    however if i scoll down the page and click on a button near the bottom it loads the new movie...but the new movie is at the bottom of the page when it comes on screen and i have to scoll up...

    how can i make the new page start at the top of the page no matter where the button is on the main movie pg...make sense...

  2. #2
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    try this on same frame the buttons are on
    PHP Code:
    this.createEmptyMovieClip("movieLoader",this.getNextHighestDepth())
    movieLoader._x where_ever_you_want_it
    movieLoader
    ._y same_as_above
    button
    .onRelease = function(){
       
    movieLoader.loadMovie("newMovie.swf");

    hope this helps

  3. #3
    Member
    Join Date
    Jun 2007
    Posts
    30
    Thanks for the code unfortunately it doesn't seem to be the one i need... I need the new movie to load at the top of the page...

    the document i m working with is w 1024 h 1600 ... and as mentioned when i click on a button on the bottom of the main movie it loads the new movie at the exact same spot-- that the original button was clicked...

  4. #4
    Senior Member EQFlash's Avatar
    Join Date
    Jun 2002
    Location
    where i'm at
    Posts
    2,735
    can you post the fla or some code?
    If you don't think you're going to like the answer, then don't ask the question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center