Greetings! I am using the following code to load an external SWF into my main movie with LoaderMax:
import com.greensock.*;
import com.greensock.loading.*;
import com.greensock.events.LoaderEvent;
import com.greensock.loading.display.ContentDisplay;
progressBar.scaleX = 0;
var powerpointmovie:SWFLoader = new SWFLoader("powerpoint.swf",
{container:this, alpha:0, onprogress:progressHandler, onComplete:completeHandler});function progressHandler(event:LoaderEvent):void
{
progressBar.scaleX = powerpointmovie.progress;
}
function completeHandler(event:LoaderEvent):void
{
trace(event.target.content);
var powerpointmovie:ContentDisplay = event.target.content;
TweenLite.to(powerpointmovie, 0, {alpha:1});
TweenLite.to(progressBar, 0, {alpha:0});
TweenLite.to(incubateblinker, 0, {alpha:0});
TweenLite.to(progressbartitle, 0, {alpha:0});
TweenLite.to(progessbarcasing, 0, {alpha:0});
TweenLite.to(spawnprogresstitle, 0, {alpha:0});
}
powerpointmovie.load();
The loader bar functions as it should, and the SWF comes up in the main movie as expected with all of its functionality intact. However, the loaded SWF does not play from frame 1. Instead, it appears that upon completion, the loaded movie "skips" to the last frame. To this end, the loaded SWF appears rather "abruptly" without any of the tweens and other animations contained in all of the prior frames.
Hopefully, I have described my problem clearly. It is probably a very small issue, but one that is quite confounding (at least to me anyways!). Thanks in advance for any assistance you might afford me in this matter.