-
hi Gathanderoth
The new erorrs are about defining the datatype.
You can't define the datatype of a variable new(maybe possible if you can delete it and declare it new),
For instance
PHP Code:
var somevar:String = "var of scene 1";
and then
PHP Code:
somevar:String = "var of scene 2";
Sorry that was my mistake I made in my first post. But I edited it.
It should be
PHP Code:
somevar = "var of scene 2";
-
tried this but I still get errors.
-
When I declare the variables twice in both scenes I get the duplicate variable error but if I only declare the variables once in one scene it removes the duplicate variable error but then I end up getting loads of errors that are to do with other parts of my code. I assume these errors are related to the variables because as soon as I only declare the variables once I end up getting all these errors.
Could you take a look at my .FLA file and see what is wrong.
Cheers,
Gathanderoth