A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    20

    Flash Website Links as External SWFs

    I want one animation of a content area but i want the menu to run the animation and put in a certain .swf so i can have something like:
    when u click a button that is suposed to goto Home then it plays a MC that has Home as an external .swf loaded into it and when i click another link like Portfolio it starts that MC over but with Portfolio as an external .swf in it

    That can be done right? if so plz help me
    www.flash-matic.com

  2. #2
    Inspector General
    Join Date
    May 2001
    Posts
    493
    do some research on loadMovie and loadMovieNum. the flash help F1 should be a good start.

    what you want to do is totally possible.

    in plain english you will most likely have your navigation menu on the stage and your content area will be blank movie clip with an instance name of "holder" or "content".

    so on nav buttons you would have something like this:

    on(press){
    loadMovie("portfolio.swf", holder_mc);
    }

    if you want a transition animation between movieclips you can set up the animation movieclip to call the appropriate movie clip to load. this info can be passed to the transition on the button press as well.

    in the loadMovie section of flash help there are a bunch of links to loadMovieNum and the movieClipLoader class. plenty of info to get you rollin.

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