Please help, I’m very clueless at this point.
Here is the background:
Published in Flash 5.
Simple interface—5 buttons index, help, previous, replay & next.
Preloader (one frame)
script:
if (_framesloaded>=_totalframes) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}
Audio files are aif’s.
Audio is set to stream.
Project has minimal action script—very minimal!
Did not use load & unload movie, (because no one could offer me an idea as to how to make my navigation work the way it needed to, as the next back & replay buttons cannot come up until the last frame of the screen. I am doing learning modules for an LMS syste, & it is a client requirement that the student has to listen to the entire audio prior to hitting the next button.
Therefore my project is set up to run this way.
Clip 1 - layer 1 page elements.
attached script
onClipEvent(enterframe){
if(this._currentframe==this._totalframes){
_root.clip3.gotoAndPlay(2);
}
}
Clip 2 - layer 2 interface & help & index button.
Clip 3 - Next, back & replay button. Which are set up to run when clip one is complete.
Although this doesn’t utilize the most conventional way of running flash. It gets the needs of the project…for the most part.
So I am not so sure that this is the problem that I need to address.
Locally this runs flawlessly. HOWEVER
I seem to have a sporatic problem with the replay button.
Sometimes it works…sometimes it doesn’t. It was tested on the server yesterday & the person testing had to leave her desk & then came back & hit replay & the replay button worked But I had no sound?
On replay button I have this script:
on (release) {
_root.clip1.gotoAndPlay(1);
}
What would cause this sound issue?
If it plays the first time why not the second…& third & fourth?
Is there somethng I am missing somewhere in the mix?
Is there actionscript that would make my file less sporatic?
I was doing some reading online & was reading about a dude that had issues with streaming & a very secure firewall. I know for a fact that our client has a very secure server —could this possibly be a problem???
I don’t want to pin my problem somewhere else if I need to do something differently. We have been testing this for several months trying to find the most optimal way to meet the needs
of our client.
I don’t like the taste of eating crow which is what I will have to do if I have overlooked something essential.
Right now though I’m desperate for a definitive answer.
Since sound seems to be the sporatic problem where does a designer go from here?
Any thoughts or suggestions would be very much appreciated!
Janet