A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Movie problem - URGENT!!!

  1. #1
    Tomatos
    Join Date
    Aug 2001
    Location
    Vejle, Denmark
    Posts
    85
    Hi,
    I have a main movie, in which I from the navigation bar calls another movie by this into another level:
    Code:
    on (release) {
    	loadMovieNum("../flash/galleri/galleri.swf",2);
    }

    http://www.thomas-udbye.dk/abstrakticum/html/

    As you can see by pushing the button "Galleri", the movie loads in, but the scrollphotos cover the whole main movie, even though this galleri movie has a dimension of 642x206 pixels. How do I avoid the pictures from scrolling down the entire screen - try push one of the other buttons, there are placed as the "galleri" should be.

    The one who can solve this is a hero of this month!

    Thanks a lot,
    Thomas


    http://www.thomas-udbye.dk/abstrakticum/html/

  2. #2
    Senior Member
    Join Date
    Oct 2001
    Posts
    1,053
    if you used setProperty to set the width and height of it would that work?

  3. #3
    Tomatos
    Join Date
    Aug 2001
    Location
    Vejle, Denmark
    Posts
    85

    Set property

    Hi,
    Set property could be a way, I haven´t tried it out yet, but how would you write it - just an example if you like :-)

    Thanks
    Thomas

  4. #4
    Junior Member
    Join Date
    Jan 2002
    Posts
    5
    Originally posted by Tomatos
    Code:
    on (release) {
    	loadMovieNum("../flash/galleri/galleri.swf",2);
    }
    http://www.thomas-udbye.dk/abstrakticum/html/

    As you can see by pushing the button "Galleri", the movie loads in, but the scrollphotos cover the whole main movie, even though this galleri movie has a dimension of 642x206 pixels. How do I avoid the pictures from scrolling down the entire screen - try push one of the other buttons, there are placed as the "galleri" should be.


    http://www.thomas-udbye.dk/abstrakticum/html/
    Instead of loading the SWF into a level, create an empty movie clip and place it on the stage, then you can simply mask the empty clip and give it an instance name (for this example call it 'gallery'). You then select TARGET instead of LEVEL for the location and you give the name of the target from the root! This should cover your needs.. however you may also need to update your scrolling script!
    ------- button script -----
    on (release) {
    loadMovie("../flash/galleri/galleri.swf", "_root.gallery");
    }
    --------------------------
    good luck



  5. #5
    Senior Member
    Join Date
    Oct 2001
    Posts
    1,053
    on (release) {
    loadMovieNum("../flash/galleri/galleri.swf",2);
    setProperty("galleri", _height, 600);
    setProperty("galleri", _width, 600);
    }

    then change the 600 to whatever you need....
    i dont know if it will work but you can try

  6. #6
    Tomatos
    Join Date
    Aug 2001
    Location
    Vejle, Denmark
    Posts
    85

    hi Dropfrog

    Hi Dropfrog,
    I´m not sure what you mean - could I send my galleri.fla file to you and perhaps you could help me with the masking container thing?

    Thanks,
    Thomas

  7. #7
    Tomatos
    Join Date
    Aug 2001
    Location
    Vejle, Denmark
    Posts
    85

    Doesn´t work

    hi,
    this here doesn´t work :-(

    Code:
     on (release) { 
    loadMovieNum("../flash/galleri/galleri.swf",2); 
    setProperty("galleri", _height, 600); 
    setProperty("galleri", _width, 600); 
    }

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