View Full Version : loadmovie into presentation
Brown
April 28th, 2003, 06:45 PM
hi all.
anyone know how to loadmovie into target mc which is 1 frame of actionscript into a presentation template that comes with flash?
an example is i tried to load the 'falling snow' tutorial swf with this
loadMovie("snowfinal.swf", "1");
where '1' is the empty mc instance name.
it comes up blank upon testing.
I can load any other movie with no actionscript OK but for some reason a 1 frame actionscript driven mc loads but doesnt do any animation.
anyone help me please?
Coolidge
April 28th, 2003, 07:39 PM
is the snowflake the same color as the background maybe?
Brown
April 29th, 2003, 06:12 PM
No
the snowflake is just an example.
I have about 10 different loadmovie's that do the same thing, and none of them work.
Coolidge
April 30th, 2003, 12:19 PM
if you can post your code, (and your project perhaps) I can take a look at it. I'm not promising anything, but two minds working on this are better that one.
Brown
May 6th, 2003, 04:59 AM
Here are the 2 fla.s
I didnt post whole project because its huge.
I know this is an easy one, but im a noobie.
Anyway, "test.fla" has the one frame with one actionscript to load "snowfinal.swf" into "g" target. thats all.
Snowfinal is the one from this site, and works when testing by itself (obviously), but doesnt work in the target loadmovie.
thanks for any help!
Brown
May 6th, 2003, 05:00 AM
sorry, didnt know how to attach 2 files. heres the other fla.
kode
May 6th, 2003, 05:19 AM
change the script in the timeline of snowfinal to:
for (k=0; k<50; k++) {
duplicateMovieClip(snow, "snow"+k, k);
}
=)
Brown
May 6th, 2003, 10:28 PM
Still doesnt work, Kax.
Any other ideas?
Brown
May 6th, 2003, 10:38 PM
think ive worked it out....
sorry, kax & coolidge, you were right.
the problem was even though the snowfinal.swf had a light blue background, it didnt load the background colour so the background was white, as in test.fla, which is the same colour as the snow! so by changing the background colour of test.fla, the white snow fell beautifully.
thanks for the help!
Coolidge
May 7th, 2003, 11:54 AM
No sweat.
I've done it before too.:tb:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.