i have 3 files... called
flags.fla - contains 2 movieclip buttons (german flag(instance=deClick_mc and an english flag(instance=enClick_mc)
welcome.fla - is a greeting in english
welcome_de.fla - is a greeting in german!!
in the flags.fla file, in the first frame of the actions layer i have experimented by putting lots of different combinations of code ive found from the internet... none to my joy...
how do i link flags.fla to either welcome.fla or welcome_de.fla depending on which flag is selected?
the code ive written so far is:
deFlag_mc.addEventListener(MouseEvent.CLICK, deClicks);
enFlag_mc.addEventListener(MouseEvent.CLICK, enClicks);
deFlag_mc.onRelease = function()
{
loadMovie("welcome_de.swf")
}
enFlag_mc.onRelease = function()
{
loadMovie("welcome.swf")
}
- deFlag_mc.addEventListener(MouseEvent.CLICK, deClicks);
- enFlag_mc.addEventListener(MouseEvent.CLICK, enClicks);
-
- deFlag_mc.onRelease = function()
- {
- loadMovie("welcome_de.swf")
- }
-
- enFlag_mc.onRelease = function()
- {
- loadMovie("welcome.swf")
- }
-
is the code correct has i have errors which are:
1120: access of undefined property deFlag_mc
1120: access of undefined property enFlag_mc
1180: call to a possibly undefined method loadMovie
please help me if you can
