dcsimg
A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: loadMovieNum

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    26

    Thumbs down

    Some flash guru person out there....HELP! I am creating my first real website.

    Why when I program a button to
    loadMovieNum ("currentissue.swf", 0);
    thisworks but when I try and do
    loadMovieNum ("currentissue.html", 0);
    this doesn't work.

    Anyone have any helpful hints in this area????

    Your help is greatly appreciated.

    Cheri

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    You cannot load an HTML page into Flash

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Posts
    26
    Then how do I go from one flash movie to another. I am using the html file created in flash as my main page. (I published the movie and one of the options to use is the html file). When I press the button in the first movie I want to then go to my second movie, where I want to use that html file. I don't want to link the button in the first movie to the swf file of the second movie because the overflowing borders show.

    Does that make any sense?

    So how do I go from one movie to the next?

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    ...overflowing borders show????

    You can allways try...

    getURL("http://www.yourserver.com/currentissue.html", "_self");

    ... But doubt you will like the results on that also!


  5. #5
    Junior Member
    Join Date
    Mar 2002
    Posts
    26

    Thumbs down

    This worked fine...

    on (press) {
    unloadMovieNum (0);
    getURL ("currentissue.html", "_top");
    }

    Overflowing borders...what I mean is that I can see outside the work area when I view the swf file. The items off the work space. I shouldn't be able to see the items outside the workspace but I do. Why is that? Are my settings screwed up?

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    The unloadMovieNum (0); action is useless in this case.

    As for seeing the "out of stage" area, was the second movie much smaller in size than the original main movie?

  7. #7
    Junior Member
    Join Date
    Mar 2002
    Posts
    26

    Thumbs down

    Same dimensions I gave above. Could you guide me on what my publish settings should look like? I don't mind linking swf files if the items outside my workspace don't show.

  8. #8
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Are you using the Flash Publish feature to output your html?
    If not, you should try it and set the Html (tab) dimensions (box) to Match Movie.
    This will embed your first movie, and at the end of this first movie, you simply have to add...

    loadMovieNum("your_second.swf", 0);
    stop();

    This will automatically unload the first movie, as it will be replaced by the second one.

  9. #9
    Junior Member
    Join Date
    Mar 2002
    Posts
    26

    Thumbs down

    Alright,

    take a look at http://www.nycompgraph.com. the main page is 550x400. If you rollover the button "radical history review" and choose current issue you will then see my second movie, whose dimensions are 550 x 1250. You will notice that a yellow strip goes outside the workspace and this area you shouldn't be able to see. Thats my first problem. Second problem, I need the width to fit to fit into the window. See how small the pages are.

    Thanks

  10. #10
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    What code are you using to load the second movie?

    If I have a look at your second movie alone, http://www.nycompgraph.com/currentissue.swf , I do see that yellow strip.

  11. #11
    Junior Member
    Join Date
    Mar 2002
    Posts
    26
    I'm using

    on (press) {
    loadMovieNum ("currentissue.swf", 0);
    stop ();
    }

    to load the second movie

  12. #12
    Junior Member
    Join Date
    Aug 2002
    Posts
    1
    what?

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