A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loadmovie Help

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    17

    loadmovie Help

    Hi,
    really new to swishmax, seems very simple but i can´t get it working.
    i have to make a list of movies and every title is like a link for a different movie. The movie is made by a friend by imporing lixo.avi into Flash MX, and it alone plays very nice in the player. (is it compatible with Swishmax?)the resulting movie "lixo.swf" is stored in the same folder.
    So i aded this script to the titel "lixo" of the main movie "titel.swf":

    on (press) {
    loadMovieNum("lixo.swf",1);
    play();
    }

    ...but nothing happens. Im shure i´m missing something obvious.
    Somebody can help?

    very thankful in advace

    Hiero
    pardon my bad english

  2. #2
    Senior Member
    Join Date
    Jan 2003
    Location
    United States
    Posts
    892
    Hi Hiero,

    You could try loading your "lixo.swf" into a sprite called, say, container. You can place this empty sprite (container) on your stage wherever you desire.

    The script for your button might look like this:

    on (release) {
    container.loadMovie("lixo.swf");
    }

    It should auto play when it is loaded providing theer isn't a "stop" action at the beging of your "lixo.swf".

    Hope this helps.

    jwr
    When all is said and done -- "You MUST be Born Again!" John 3:3

  3. #3
    Junior Member
    Join Date
    Apr 2001
    Posts
    17

    Yes it worked!

    Yes it worked!
    Thanks a lot for your kind Help.

    Hiero

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