Stefan_Lesik,
[quoted text, click to view] > I have just created a movie of a scrolling menu in a
> seperate document to my main website.
Okay.
[quoted text, click to view] > If I publish the movie into an .swf and then import it
> into my main document, it doesn't scroll as it should.
Hmm.
[quoted text, click to view] > Does anybody know the best way to import the movie
> with all its layers and script into the main document,
> without having to do it all again?
Aha. Well, it will help you to know that imported SWFs do not retain
their ActionScript or sound. The only things that remain after an import
are shapes, symbols, and tweens (and other visuals like fonts, etc.).
It is possible, though, to bring all your assets from one movie to
another. Open both FLAs in Flash and copy or drag the desired assets from
one FLA's Library to the other's -- or, alternatively, select all the frames
in the main timeline of one movie, copy frames, then paste into the other.
You may want to create a new movie clip in the destination FLA first, so
that you can paste your incoming frames in the movie clip's timeline rather
than the main timeline. This will give you an asset in your Library that
contains elements from the other FLA, but in a nice, convenient package that
you can drag from the Library and easily position where you like.
Another way, less work that the above suggestion, is to load the SWF
into your main FLA dynamically. The the MovieClip.loadMovie() method of the
ActionScript Language Reference for details and sample code.
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/ "Luck is the residue of good design."