A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Load movie doesnt work and I've tried everything..

  1. #1
    Senior Member
    Join Date
    Feb 2001
    Posts
    382
    I have the MAIN Movie done.... with scrolling navigation. When the navbar follows the mouse.
    Scroll navigation is a separate clip which has 2 clips in it... the buttons with the slide menu, and the highlighter clip

    The nav bar is placed on the MAIN stage. it works fine BUT it doesnt load the swf's files.
    If I put a GetURL on the button it catches it but for some reason it doesnt work with the LoadMovie command....
    I have empty clips placed on the MAIN stage to load the clips into... 1 called services_clip as the target.
    I also have the separate MC saved 1 called services.swf

    This is what I have on the button.
    Code:
    on (release) {
        loadMovie ("services.swf", "_root.services_clip");
        gotoAndStop ("Scene 1", "serviceslabel");
    }
    This is where I have the file to look at in case you wanna see it...Crazy file
    I want to load the movies into the small grey rectangle...

    Can you guys help??? I've gone crazy with this and I'm out of ideas. I know that the problem is somewhere in the Actions for sure.... How smart???

    If you wanna take a look at the *.fla just tell me how to post it.
    This is the link to it, but for some reason it opens some code in the browser.
    FLA

    J


  2. #2
    Senior Member
    Join Date
    Mar 2000
    Location
    London
    Posts
    961
    When specifying a target in Flash 5 dot syntax, you don't need quotes. This should work:

    loadMovie ("services.swf", _root.services_clip);

  3. #3
    Senior Member
    Join Date
    Feb 2001
    Posts
    382
    you are d man... How can I repay you???
    You bastard you solved something I couldn't slove for 2 days


    I loooooove you man....


    J

  4. #4
    Senior Member
    Join Date
    Feb 2001
    Posts
    382
    Okay the happiness was to soon...now check this out.
    Crazy file
    Click on Contact

    It loads nice and fast but moves with the navbar.
    Why???

    this is my code on the button
    Code:
    on (release) {
    	loadMovie ("contact.swf", _root.contact_clip);
    	gotoAndPlay ("Scene 1", "contact_,label");
    }

    Any help is appreciated...I'm really out of ideas
    I've tried positioning it with _x _y it goes lower, but still follows the navigation bar...
    should I load it in the background clip something like this???
    Code:
    on (release) {
    	loadMovie ("contact.swf", _root.background.contact_clip);
    	gotoAndPlay ("Scene 1", "contact_,label");
    }

    J

  5. #5
    Senior Member
    Join Date
    Mar 2000
    Location
    London
    Posts
    961
    Loading it into a 'background' clip should work. At the moment it seems to be replacing the navigation text.

  6. #6
    Senior Member
    Join Date
    Feb 2001
    Posts
    382
    I've tried that and the movie starts running...
    I got no control over it..

    See that rectangle is called background and it's a clip sitting on the main stage.

    What I did is this...
    I nested the an empty clip within the background clip on the top layer so the swf i'm loading is on top of the background clip. I thought this will fix it but no this DAMN thing is still not good.

    Any ideas Little B?

    J

  7. #7
    Senior Member
    Join Date
    Feb 2001
    Posts
    382
    I fixed it... loading it into a Target didn't cut it so I had to settle for a level instead of a target...


    OHHHHHHHHHhhhhh yeah...


    Thanks for your help Little B.
    J

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