PDA

View Full Version : As doesn't fire on jump to frame



simononestop
March 10th, 2009, 07:53 AM
My web sites content (5 pages) are in 5 frames in a movie clip.
when you click the nav buttons it jumps to frame 1 - 5 to change the content etc
Can any one help me I need to fire this code on frame 1 or every time the movie clip jumps to frame 1

_root.popup_pressed = 1;
_root.scrHEIGHT = 280;
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Some Health Facts";
_root.READ = 3;
_root.scroller.gotoAndPlay("s1");

if I simply add it to frame one it doesn't fire the code? is it because its not playing the frame? because it jumps to the frame?

how can I do it? (ive tried adding another movie clip and playing that with just the code at the end??)

oldgreymare
March 10th, 2009, 09:26 AM
Hi there
I've had the same problem and really don't understand why it shouldn't work. Sometimes putting it in a function though, fixes it.

miyijura
March 13th, 2009, 09:18 PM
I really canīt understand your code.
Place a .zip with your fla to check.