A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: LoadMovie Problem

  1. #1
    Junior Member
    Join Date
    Sep 2002
    Location
    Midlothian, VA
    Posts
    8

    LoadMovie Problem

    I'm having a lil problem getting this load movie script to work.
    I am getting no output error messages, the placeholder loads, but the movie does not load.
    (I have both movies in the same folder, and the Gallery.swf is not buggy.)

    on (release) {
    _root.Content.Placeholder.loadMovie("Gallery.swf") ;
    }
    on (release) {
    with (_root.Content) {
    gotoAndPlay("Gallery");
    }
    }

    Any suggestions?

  2. #2
    FK Robot Wrangler

    Join Date
    Aug 2000
    Posts
    536
    try:

    on (release) {
    loadMovie("_root.Content.Placeholder.Gallery.swf") ;

  3. #3
    Junior Member
    Join Date
    Sep 2002
    Location
    Midlothian, VA
    Posts
    8

    no dice,

    no dice.
    Can anyone send me a exampel clip, of a working loadmovie using placeholder example?
    mind_flex@hotmail.com
    Last edited by Creative_Chaos; 07-30-2003 at 03:07 PM.

  4. #4
    Lifesaver Lightwave Network's Avatar
    Join Date
    Sep 2002
    Location
    Denver, CO, USA
    Posts
    649
    try:

    on(release){
    loadMovie("Gallery.swf", _root.Content.Placeholder);
    }

    Sincerely,
    Junior Dev


    ... gimme just one more line of code to ease the pain.

    http://www.ln.tv
    http://www.davevillano.com
    http://www.premierloftsdenver.com
    http://www.backyard.cc -- coming soon!


  5. #5
    Junior Member
    Join Date
    Sep 2002
    Location
    Midlothian, VA
    Posts
    8
    That made the movie load, but for some odd reason, it's not centered on the placeholder.. What am i doing wrong?

    on(release){
    loadMovie("Gallery.swf", _root.Content.Placeholder);

    with (_root.Content) {
    gotoAndStop("Gallery");
    }
    }

  6. #6

    laodmovie

    Yeah ive had trouble with loadmovie too.

    ok 1st. make sure that you place the placeholder movie in the movie through the library... dont ask i just found that sometimes everything was perfect and once i replaced the placehpolder it worked.

    Also the aligning of the movie is no good in flash. try placing the place holder center (white dot) on the TOP LEFT extreem of the screen area you wnat it viewed in.
    Hendrik-Jan

    www.innov8.com.br

  7. #7
    Junior Member
    Join Date
    Sep 2002
    Location
    Midlothian, VA
    Posts
    8
    Sweet! It works!
    I also remembered the align window, and you can make the placeholder align to center ot upper left, like you pointed out.

    Right click placeholder, and click info, then you align the movie via the little black square.

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