Error #1010......???????

  • olyve911
  • Born
  • Born
  • olyve911
  • Posts: 1

Post 3+ Months Ago

Hello everyone,

voila, I'm blocked complement, and I Marrache hair for 3 days and 3 nights. I am a beginner, and I built my site with tutorials, which work a lot till then!
but it gets stuck there !!!!!

(im a beginner, and im trying to build my website by working on tutorial! until now, it was working allright, but now i have some "error messages", and ive been trying to work it out for 3days and night, with no Success! )

Here is my code in AS3
(here are my AS3 code):

Code: [ Select ]
import fl.transitions.Tween;
import fl.transitions.easing.*;


var currentPage:MovieClip = menu_mc.acceuil_mc;


var acceuilPage:pageAcceuil = new pageAcceuil();
var bioPage:pageBio = new pageBio();
var actuPage:pageActu = new pageActu();
var photosPage:pagePhotos = new pagePhotos();
var videosPage:pageVideos = new pageVideos();
var musiquePage:pageMusique = new pageMusique();
var contactsPage:pageContacts = new pageContacts();


menu_mc.acceuil_mc.cibleMC = acceuilPage;
menu_mc.bio_mc.cibleMC = bioPage;
menu_mc.actu_mc.cibleMC = actuPage;
menu_mc.photos_mc.cibleMC = photosPage;
menu_mc.videos_mc.cibleMC = videosPage;
menu_mc.musique_mc.cibleMC = musiquePage;
menu_mc.contatcs_mc.cibleMC = contactsPage;


acceuilPage.x = 382;
bioPage.x = 382;
actuPage.x = 382;
videosPage.x = 382;
photosPage.x = 382;
musiquePage.x = 382;
contactsPage.x = 382;

acceuilPage.y = 303;
bioPage.y = 303;
actuPage.y = 303;
videosPage.y = 303;
musiquePage.y = 303;
contactsPage.y = 303;

addChild(acceuilPage);

/*menuligne_mc.y = acceuil_mc.y;
buttonbg_mc.y = acceuil_mc.x;
*/

menu_mc.acceuil_mc.buttonMode = true;
menu_mc.bio_mc.buttonMode = true;
menu_mc.actu_mc.buttonMode = true;
menu_mc.contacts_mc.buttonMode = true;
menu_mc.photos_mc.buttonMode = true;
menu_mc.musique_mc.buttonMode = true;
menu_mc.videos_mc.buttonMode = true;

menu_mc.musique_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
menu_mc.acceuil_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
menu_mc.bio_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
menu_mc.actu_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
menu_mc.contacts_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
menu_mc.photos_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
menu_mc.videos_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);

menu_mc.musique_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
menu_mc.acceuil_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
menu_mc.bio_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
menu_mc.actu_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
menu_mc.contacts_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
menu_mc.photos_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
menu_mc.videos_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);

menu_mc.bio_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
menu_mc.acceuil_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
menu_mc.actu_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
menu_mc.photos_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
menu_mc.contacts_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
menu_mc.musique_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
menu_mc.videos_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);

menu_mc.bio_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
menu_mc.acceuil_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
menu_mc.actu_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
menu_mc.photos_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
menu_mc.contacts_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
menu_mc.musique_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
menu_mc.videos_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);

function moveMenuligne(e:MouseEvent):void
{
new Tween(menu_mc.menuligne_mc,"y",Strong.easeOut,menu_mc.menuligne_mc.y,e.currentTarget.y,10,false);
}

function moveMenuligneBack(e:MouseEvent):void
{
new Tween(menu_mc.menuligne_mc,"y",Strong.easeOut,e.currentTarget.y,e.currentTarget.y,10,false);
}

function boutonOver(e:MouseEvent):void
{
//e.currentTarget.gotoAndPlay("over");
new Tween(menu_mc.menuligne_mc,"alpha",Strong.easeOut,1,1,3,false);
}

function boutonOut(e:MouseEvent):void
{
e.currentTarget.gotoAndPlay("out");

}

menu_mc.acceuil_mc.addEventListener(MouseEvent.CLICK, newPage);
menu_mc.bio_mc.addEventListener(MouseEvent.CLICK, newPage);
menu_mc.actu_mc.addEventListener(MouseEvent.CLICK, newPage);
menu_mc.musique_mc.addEventListener(MouseEvent.CLICK, newPage);
menu_mc.photos_mc.addEventListener(MouseEvent.CLICK, newPage);
menu_mc.contacts_mc.addEventListener(MouseEvent.CLICK, newPage);
menu_mc.videos_mc.addEventListener(MouseEvent.CLICK, newPage);

function newPage(e:MouseEvent):void
{
new Tween(menu_mc.buttonbg_mc,"y",Strong.easeOut,menu_mc.buttonbg_mc.y,e.currentTarget.y,20,false);
currentPage = MovieClip(e.currentTarget);
new Tween(menu_mc.menuligne_mc,"alpha",Strong.easeOut,1,0,3,false);
}
  1. import fl.transitions.Tween;
  2. import fl.transitions.easing.*;
  3. var currentPage:MovieClip = menu_mc.acceuil_mc;
  4. var acceuilPage:pageAcceuil = new pageAcceuil();
  5. var bioPage:pageBio = new pageBio();
  6. var actuPage:pageActu = new pageActu();
  7. var photosPage:pagePhotos = new pagePhotos();
  8. var videosPage:pageVideos = new pageVideos();
  9. var musiquePage:pageMusique = new pageMusique();
  10. var contactsPage:pageContacts = new pageContacts();
  11. menu_mc.acceuil_mc.cibleMC = acceuilPage;
  12. menu_mc.bio_mc.cibleMC = bioPage;
  13. menu_mc.actu_mc.cibleMC = actuPage;
  14. menu_mc.photos_mc.cibleMC = photosPage;
  15. menu_mc.videos_mc.cibleMC = videosPage;
  16. menu_mc.musique_mc.cibleMC = musiquePage;
  17. menu_mc.contatcs_mc.cibleMC = contactsPage;
  18. acceuilPage.x = 382;
  19. bioPage.x = 382;
  20. actuPage.x = 382;
  21. videosPage.x = 382;
  22. photosPage.x = 382;
  23. musiquePage.x = 382;
  24. contactsPage.x = 382;
  25. acceuilPage.y = 303;
  26. bioPage.y = 303;
  27. actuPage.y = 303;
  28. videosPage.y = 303;
  29. musiquePage.y = 303;
  30. contactsPage.y = 303;
  31. addChild(acceuilPage);
  32. /*menuligne_mc.y = acceuil_mc.y;
  33. buttonbg_mc.y = acceuil_mc.x;
  34. */
  35. menu_mc.acceuil_mc.buttonMode = true;
  36. menu_mc.bio_mc.buttonMode = true;
  37. menu_mc.actu_mc.buttonMode = true;
  38. menu_mc.contacts_mc.buttonMode = true;
  39. menu_mc.photos_mc.buttonMode = true;
  40. menu_mc.musique_mc.buttonMode = true;
  41. menu_mc.videos_mc.buttonMode = true;
  42. menu_mc.musique_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
  43. menu_mc.acceuil_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
  44. menu_mc.bio_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
  45. menu_mc.actu_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
  46. menu_mc.contacts_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
  47. menu_mc.photos_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
  48. menu_mc.videos_mc.addEventListener(MouseEvent.ROLL_OVER, moveMenuligne);
  49. menu_mc.musique_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
  50. menu_mc.acceuil_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
  51. menu_mc.bio_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
  52. menu_mc.actu_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
  53. menu_mc.contacts_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
  54. menu_mc.photos_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
  55. menu_mc.videos_mc.addEventListener(MouseEvent.ROLL_OUT, moveMenuligneBack);
  56. menu_mc.bio_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
  57. menu_mc.acceuil_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
  58. menu_mc.actu_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
  59. menu_mc.photos_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
  60. menu_mc.contacts_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
  61. menu_mc.musique_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
  62. menu_mc.videos_mc.addEventListener(MouseEvent.ROLL_OVER, boutonOver);
  63. menu_mc.bio_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
  64. menu_mc.acceuil_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
  65. menu_mc.actu_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
  66. menu_mc.photos_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
  67. menu_mc.contacts_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
  68. menu_mc.musique_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
  69. menu_mc.videos_mc.addEventListener(MouseEvent.ROLL_OUT, boutonOut);
  70. function moveMenuligne(e:MouseEvent):void
  71. {
  72. new Tween(menu_mc.menuligne_mc,"y",Strong.easeOut,menu_mc.menuligne_mc.y,e.currentTarget.y,10,false);
  73. }
  74. function moveMenuligneBack(e:MouseEvent):void
  75. {
  76. new Tween(menu_mc.menuligne_mc,"y",Strong.easeOut,e.currentTarget.y,e.currentTarget.y,10,false);
  77. }
  78. function boutonOver(e:MouseEvent):void
  79. {
  80. //e.currentTarget.gotoAndPlay("over");
  81. new Tween(menu_mc.menuligne_mc,"alpha",Strong.easeOut,1,1,3,false);
  82. }
  83. function boutonOut(e:MouseEvent):void
  84. {
  85. e.currentTarget.gotoAndPlay("out");
  86. }
  87. menu_mc.acceuil_mc.addEventListener(MouseEvent.CLICK, newPage);
  88. menu_mc.bio_mc.addEventListener(MouseEvent.CLICK, newPage);
  89. menu_mc.actu_mc.addEventListener(MouseEvent.CLICK, newPage);
  90. menu_mc.musique_mc.addEventListener(MouseEvent.CLICK, newPage);
  91. menu_mc.photos_mc.addEventListener(MouseEvent.CLICK, newPage);
  92. menu_mc.contacts_mc.addEventListener(MouseEvent.CLICK, newPage);
  93. menu_mc.videos_mc.addEventListener(MouseEvent.CLICK, newPage);
  94. function newPage(e:MouseEvent):void
  95. {
  96. new Tween(menu_mc.buttonbg_mc,"y",Strong.easeOut,menu_mc.buttonbg_mc.y,e.currentTarget.y,20,false);
  97. currentPage = MovieClip(e.currentTarget);
  98. new Tween(menu_mc.menuligne_mc,"alpha",Strong.easeOut,1,0,3,false);
  99. }


HERE'S my message taken for mistakes
(here is the error message i got):
TypeError: Error #1010: A term not defined nest and didn't property.
at index008_fla: MainTimeline/frame1 ()
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1827
  • Loc: In the Great White North

Post 3+ Months Ago

Do you get this error when you publish the file or when you view the swf on your website?

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 6 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
 
cron
 

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