-
Combining two flash files or playing them on sequence
I have just created a timeline file (check http://www.flashden.net/files/25747/preview.swf
and I have also created another seperate file with a slideshow animation (see http://www.flashden.net/files/38139/preview.swf.
What I have in mind is that first I load the slideshow animation on my website and then after the slideshow is finished I load the timeline file. Can anyone please help me on this since I cannot use the loadmovie(); function since I cannot find any timeframes on the slideshow animation file!
I am new at flash so I appreciate your help since I really need this project for an assigment
-
Ryan Thomson
can u post the code from the slideshow? I assume if there's no timeline, there's probably one frame that has almost all the code.
-
The code - There is no timeline
Which file shall I upload since I have the following files with the pakcage:
old_movie_slideshow_CS3.fla - Flash CS3 Flash File.
Dot.as - ActionScript File.
Line.as - ActionScript File.
MyPicture.as - ActionScript File.
MyUtils.as - ActionScript File.
ImageLoader.as - ActionScript File.
Overlight.as - ActionScript File.
my_images.xml - XML file.
'images' folder - directory with images.
I am attaching the old_movie_slideshow_CS3.fla and the code here:
// *************
// Your settings
// *************
// Number of images in library
var xmlPath:String = 'my_images.xml';
// ********************
// End of your settings
// ********************
Stage.scaleMode = 'noscale';
Stage.align = 'TL';
Stage.showMenu = false;
//
_global.slShow = this;
//
function init():Void{
this.attachMovie('pic_mc', 'pic_mc', 0);
this.createEmptyMovieClip('dust_mc', 10);
this.attachMovie('overlight_mc', 'overlight_mc', 20);
var i:Number;
for (i=0; i<_global.lineTotal; i++) {
this.dust_mc.attachMovie('line_mc', 'line'+i, this.dust_mc.getNextHighestDepth());
this.dust_mc['line'+i].init(_global.lineColor);
this.dust_mc.attachMovie('dot_mc', 'dot'+i, this.dust_mc.getNextHighestDepth());
}
if (myURL != '' && myURL != undefined) {
this.createEmptyMovieClip('url_mc', 1000);
MyUtils.drawRectangle(url_mc, Stage.width, Stage.height, 0);
url_mc.cacheAsBitmap = true;
url_mc._alpha = 0;
url_mc.onRelease = function():Void {
getURL(myURL, myMethod);
};
}
}
// start
var imgLoader:ImageLoader = new ImageLoader(xmlPath, _global.slShow);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|