Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking from exe to dxr and back again? 1

Status
Not open for further replies.

styleBunny

Technical User
Jun 20, 2002
133
AU
Hi gang,

I have created an exe file and 3 dxr files.

from the exe (to be on the root of a cd-rom, i link to my dxr files via:

play movie "dswmedia\img.dxr"
quit -- to close this instance of the exe.

All of my media, dxr and cxt files are in a dswmedia folder.

to go back to the stub projector, which is my menu, is completed via:

open the applicationpath & "..\myApp.exe"
quit --to close this instance of the dxr.

Though sometimes i get a generic script error when the exe is loaded again, the exe and dxr files share common casts for sounds, I think this is causing the problem, as the script error dialouges appear when sound cues should occur.

Should i even need to be quitting and re-loading all the time?

I'm probably way outta my leauge here but any help would be ace!

cheers
paul.
 
To play a Director file from a stub projector, you simply use
Code:
play movie
or
Code:
go movie
. There’s no need for quitting the stub projector.

You can move about freely among your Director files after that - but you cannot go back to the stub Projector exe, as this means you are opening the same exe again from itself. Therefore your stub Projector should not contain things like menu. It should only contain nothing but one line of Lingo such as:
Code:
--
on startMovie
   go movie “menu”
end
--
In this case “menu.dir (dxr)” would be your menu movie.

By the way you don’t need to use “dswmedia” directory unless your project is Shockwave.
 
Hi kenneth,

I had that revelation after a while, moving my menu out of the exe file and navigating around the dxr files only. Thanks for confirming this is the 'done thing'

Cheers
paul.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top