Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Simple AVI player, not quite.

Author
Message
300c
18
Years of Service
User Offline
Joined: 15th Feb 2006
Location:
Posted: 13th Mar 2006 06:42
We are trying to make an AVI player with warnings if the files are not found, the problem is that it repeats the same warning. Anyone have an Idea how to fix this?
Thanks


driftman
19
Years of Service
User Offline
Joined: 7th Aug 2005
Location: Somewhere Outside of Sanity
Posted: 13th Mar 2006 08:59 Edited at: 13th Mar 2006 09:42
it looks like your variables are never being reset, so stage always will = something once you set it. example in this
you set stage to, but you never set it back to 0, and seeing how you never set warned to anything, it always = 0, so the code

will always execute as long as stage = 1

I have a lil' white jacket that lets me hug myself forever.
300c
18
Years of Service
User Offline
Joined: 15th Feb 2006
Location:
Posted: 14th Mar 2006 04:21
I understand what you have said, I just do not know how to fix it.
Thanks for the help.

Login to post a reply

Server time is: 2024-11-27 01:58:37
Your offset time is: 2024-11-27 01:58:37