Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : Do you have to insert a layer before...


trints
3/6/2004 9:23:24 PM
Do you have to insert a layer before you insert a frame? When I go to the timeline and insert a frame, I can't find where to put the second frames code.
Thanks,
malspach
3/6/2004 9:25:35 PM
no need for a second layer, i typically use a second layer inline with the
first just for actions myself though, so i dont confuse them and can find my
actions easily, so no, you dont have to insert a second layer, just click on
frame 2, (right mouse click) and select insert frame
malspach
3/6/2004 9:26:42 PM
trints
3/6/2004 9:36:28 PM
I can't get it...when I put this in frame 1:
var dateVars = new LoadVars();
dateVars.onLoad = function(ok) {
if (ok) {
date_txt.text = "High Bid $"+dateVars.day+" Bidder: "+dateVars.month;
}
};
dateVars.load("http://trinity/tribidz/highbid.txt");
gotoAndPlay(1);

and this in frame 2:
if (ok) {
date_txt.text = "High Bid $"+dateVars.day+" Bidder: "+dateVars.month;
}
};
dateVars.load("http://trinity/tribidz/highbid.txt");
}
loadVarsInt = setInterval(loadTheVars, 2000);

it just flashes and when the text file changes, it still doesn't change what
its flashing, which is the contents of the first page.
Thanks,
Trint
malspach
3/6/2004 9:39:12 PM
kglad replied to your other line, should maybe try wjat he said, with over
4000+ post, he is really really well versed in this stuff, macromedia needs to
hire this man to write their help sections, and tutorials..
trints
3/6/2004 11:15:34 PM
AddThis Social Bookmark Button