Hello. I have two problems that I have run into on a website, and have no idea what to do…
I have a slide show in the beginning that starts up and uses and external .as file, and everything works fine until I press the contact us page, which uses another external .as file. When I click on the contact us page, I get an error that says :
MC TWEEN ### Error on transition: there’s no “easeInOut” animation type.
and then the intro slide show no longer works after that. Here is the code I have for the intro slide show:
include “lmc_tween.as”
mc.brightOffsetTo(-100,0); mc.brightOffsetTo(0,2,”easeInOut”,0,startSlide()); function startSlide() { // starts the effect mc.brightOffsetTo(-100,1,”easeInOut”,3,backBright); } function backBright() { if (mc._currentframe<mc._totalframes) { // goto next frame i.e. next image mc.nextFrame(); // then bring brightness to ‘0’ mc.brightOffsetTo(0,2,”easeInOut”,0,startSlide()); } else { // goto first frame mc.gotoAndStop(1); // and set brightness to ‘0’ mc.brightOffsetTo(0,2,”easeInOut”,startSlide()); } }
And then for the buttons I have :
sticker = “home”
function homeClicked() { if (sticker != “home”) { _root.mcLoader.unloadClip(myLoader); _root.mc._visible = true; mc.brightOffsetTo(-100,0); mc.gotoAndStop(1); mc.brightOffsetTo(0,2,”easeInOut”,startSlide()); sticker = “home”; } } function contactClicked() { if (sticker != “contact”) { _root.mc._visible = false; removeMovieClip(_root.mc); _root.mcLoader.loadClip(“contact.swf”,myLoader); sticker = “contact”; } }
The other problem that im having is whenever I press another button in the menu, and then go back to the intro home, the slide show timing gets screwed up and it goes much faster than its supposed to.
Any help would be greatly appreciated. Im loosing my hair here trying to figure it out..
Thanks, Justin
- Bought between 10 and 49 items
- Exclusive Author
- Has been a member for 5-6 years
- Referred between 1 and 9 users
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 5 000 and 10 000 dollars
- Uruguay
Hi Justin, i supose i could help you. May be there are some classes that are you missing when compile, things and functions that are used in the “contact us” page and no in the others, so if a swf uses code, like an ease type, but it has no reference (the class it self), could causes some compile errors like yours. But, if i don´t see the fla and code i could not be completly sure.
I could take this as a freelance job, if you like it, contact me, send me the files, whatever….
pd: are you sure you have the “lmc_tween.as” (laco tweens) instaled or in same folder as your others fla’s?
Thank you for the reply… I am sure that I am using the laco tween… Its for the intro, to make the pictures burn from one to another.
If I were to only have the intro, and delete the include “contactPageForm.as”, or wise versa, everything works great, but the problem appears when I have them both up together.
The error message appears however from a file called mc_tween2.as, which is used within the contactPageForm.as file. I bought the contact form from this website, and so it was not me who decided to include those two .as files.
Here is how it looks in the mc_tween2.as file :
.... default: trace (“MC TWEEN ### Error on transition: there’s no \”“_animType”\” animation type.”); return 0; }
I just dont see how they would conflict with one another…
Thanks for the reply again!
It seems like after clicking on contact us page, the easeInOut tween is being searched for within the other .as files…
Hi,
never use mc_tween and laco_tween together.
It brings some bugs.
They don’t work the same way.
