You are attempting to create a QT object. In the "new" handler of your script, you are checking for QT being installed. In the case where it is not installed, your new method is issueing a go to frame xxx.
My guess is that you are creating the object like this:
global gQTObject
gQTObject = new(script "QTObject script")
then the sprites are trying to use the global gQTObject.
If this is the case, then your problem is that you are issueing the go to before the gQTObject is assigned a value. That is, in the code of the "new" handler, you are doing the go to before you do the "return me".
If this is the case, then you should split up the code into a new handler and a separate handler to check for QT:
on new me -- any initialization code that runs once return me end
on IsQTInstalled me if <QT is installed> then return TRUE else return FALSE end if end
Then you initialization code would be something like this:
gQTObject = new(script "QTObject script") OK = gQTObject.IsQTInstalled() if not(fOK) then go frame "Missing QT" return end if -- Carry on ....
If I am wrong about your structuring, please post some code so we can see what is happening.
Irv
At 5:22 PM -0600 4/2/03, [EMAIL PROTECTED] wrote:
Ok, now that I've got your attention, has anyone else experienced this -
I have a child object being birthed at the very onset of a movie. All works well. blah blah blah.
I've now uninstalled qt on this pc - this app uses qt, and if qt isn't installed I'm to go to the 'hey you need this frame'.
Well I just stepped through the entire birthing of the object - it happens fine, right at the beginning. And the object itself then GOES TO A FRAME where sprites request what's needed. But they're getting a freaking 'void' error that there's no object to call from, EVEN THOUGH THE OBJECT ITSELF CALLED THE FRAME!
This only happened when I uninstalled qt?
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
--
Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.)
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]