Problem with loading external files

I have a problem :blush: The linkage buttons are within a movie clip. Must be why im getting error messages maybe?

Bleh. I’m so helpless at this :puzzle:

What do you mean? Why is that a problem and what does that have to do with the loading?

Be specific :P!

I put the loading code for a button, and when i click on the ‘check syntax’ button, it keeps coming up with this error:
Symbol=buttonsXXX, Layer=xxxRollOver, Frame=18: Line 3: Statement must appear within on handler
loadText = new loadVars();

It says it must be on and on handler. If it’s a button you have to add an on (release) { type of thing for any button code ;).

on (release) {
    loadText = new loadVars();
}

oh yeah, never realised. Thanks again Reefster! :smiley: it all works now!

Shoot Self

Common sense man :P!

Lol! Ok I’ll remember that next time. :slight_smile: