When i try to use my loadMovie function, to load a separate game, my hitTest functions and my inventory/stats buttons arent working at all :S any ideas what i should do?
im using...
if showgame is a movieclip that you are trying to load it into
you forgot the "" "showgame" which will have to be the name
of the target movie instance
otherwise it is probably just loading it into level0
when i run my game.swf externally, all the buttons and item pick ups work, but then when they get run within the movie clip, they just stop working... you cant open the inventories or anything
ok another problem
loading externally
if you use loadmovieNum and the external movie works
then the problem is with loadmovie
if you are loading an external movie which is larger in
filesize than the target movieclip it will choke or load up
to the target clips size
but this problem doesn't occur with load movie num
a way around this is to add fake library items to the first clip so
that it is larger than the second or use loadmovienum...but that is no good if you want the second clip to be in a certain area of the screen
does that make sense
ok the first moveie loads on layer 0
so loadmovienum("my.swf",1) say would load on the
top of the first layer if its screensize is smaller
the first layer will show behind it
you would use unloadmovie(1) to remove the second movie
leaving the first intact
if you load "my.swf",0 it would load on the same layer
as the first movie thus replacing it