PDA

View Full Version : It should be sooo simple


nievvy16
11-06-2001, 06:16 AM
Can somebody please tell me what is wrong with these actions!!!

on (release) {
getURL ("header3.html", "header");
tellTarget ("header2.swf") {
gotoAndPlay ("header1", 4);
}
}

I have placed this into a button instance, and I have no idea why it doesn't work...

The getURL line works ok - it loads the header3.html frame into the frame titled "header"

"header2.swf" is the full file with all the necessary mc's on separate layers and different frames.

"header1" is the scene name, and I'm trying to get the header2.swf to play frame 4. Each clip has a stop action, and every time header3.html loads, it loads the first frame of header2.swf and not frame 4.

Can somebody please help me, I have been trying to figure it out all day.

Thanks in advance...

Billy T
11-06-2001, 07:20 AM
so is your button inside header2.swf which is already loaded?

if so try

tellTarget ("_root") {
gotoAndPlay ("header1", 4);
}
}

nievvy16
11-06-2001, 10:08 AM
Thanks for your reply

I have the buttons placed in a different html frame. I can load the header2.swf file from the navigation frame, but I can't get it to load the appropriate frame (4). I've also tried to target it using frame labels and this didn't work either.

Cheers

Billy T
11-06-2001, 02:29 PM
I dont think it is possible:(

do you really need to load them into frames? Why not lay them all out in flash and load the various movies into target clips?

tg
11-06-2001, 04:39 PM
i don't use tellTarget(), so this may not help, but i don't believe you can do tellTarget("blah.swf"). if you loaded the swf into a mc then you need to target that mc's instance name. if a layer you need to be targeting the layer(not sure bout this one, don't use layers too much either).