View Single Post
  #6 (permalink)  
Old Nov 7th, 2003, 23:18
rvktam rvktam is offline
New Member
Join Date: Nov 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Sirkent, but I've tried your code without any luck unless there's something else that I did incorrectly.

I'm working in a file called "Kungfoo.fla" and trying to load "test.swf". In kungfoo.fla, all I have is a background image on layer 1, and the action script on layer 2 (all in frame 1). This is your code I used with minor tweaks:

loadMovie("test.swf", _root.level1)
_root.level1.onLoad = function() {
tellTarget (_root.level1) {
gotoAndPlay(2);
}
}

All I get is a blank screen which I'm guessing is frame 1 of "test.swf" with a stop action. The animation starts on frame 2.

Hmmm... I'll give it another go. Thanks.