i made thing in flash, i don't know what to call it as, but this thing that there is a word and when u click the audio it says the word, so the problem is when i do next and previous. the first and the second time when i go back and forth, there is no problem, but he third time, it starts to skip like from word 1 to word 3 or like from 5 to 7, i don't know what is the problem, if anyone could help this, that will most appreciated, thanks in advance and i have attached the flash file. here is an example you can test out:
completenotebooksale.com/Untitled-1.html
Last edited by AlvinChacko; 01-08-2011 at 12:28 PM.
r u sure, did u test it out, try going to this link:
completenotebooksale.com/Untitled-1.html
and try clicking "next" till the end then "previous" till the begining keep doing it and you will see after a while, it skips from 1 to 3 instead of going to 2
Now I see what you mean. It has to do with the strange way how you wrote the event listener. When I changed the script it disappeared, when I went through 3 times.
PHP Code:
function forward (evt:MouseEvent):void { trace ("next frame"); nextFrame (); }
thnkx for the code, but the next button is not working, u didn't tag button1 in the code, so i am not really good so can u give me another code that fixes the problem and both next and previous works
oh i figured it out but1.addEventListener (MouseEvent.CLICK, forward); was missing in the first line thank you so much
Last edited by AlvinChacko; 01-09-2011 at 04:42 PM.