loading problem. can you help?

  • jeffmorris81
  • Born
  • Born
  • jeffmorris81
  • Posts: 1

Post 3+ Months Ago

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:
Code: [ Select ]
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")
}
 
  1. deFlag_mc.addEventListener(MouseEvent.CLICK, deClicks);
  2. enFlag_mc.addEventListener(MouseEvent.CLICK, enClicks);
  3.  
  4. deFlag_mc.onRelease = function()
  5. {
  6.     loadMovie("welcome_de.swf")
  7. }
  8.  
  9. enFlag_mc.onRelease = function()
  10. {
  11.     loadMovie("welcome.swf")
  12. }
  13.  


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 :)
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 16 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.