MrGruff
03-12-2005, 11:19 AM
I have a mc called 'back' and it is on the _root timeline.
Attached to this 'back' mc are several buttons and other mc's.
The mc 'back' is set to scroll left and right with a key press.
This all works fine and the buttons on the mc back operate
ok. They take the playhead to fm labels.
Basicly there is a hit test game in one of the fm labels. Again it
all works fine. When the hit test is completed the user is taken
to a fm. I would like that when the hit test is completed
successfuly that the user returns to fm 1 of _root ( the scrollable 'back' mc)
The thing is that I would like that all of the buttons and mc's on the 'back mc' to have different properties when the hit test is complete.
I was thinking of an on enter fm event that either replaced the buttons and mc's on 'back' using linkages or some kind of 'if' statement fm 1 of my actions layer.
Basicly the user clicks a button when they play the game. If they have not performed the hit test they will not have a certain item and this button takes them to fm label 'return' if they have the item then I would like the button to take them to fm label 'escape'
I am sure that it is not all that difficlut. I am just really stuck with it.
I believe that in lingo there is a 'flag' that can be set to true or false on an event. Something like this in flash perhaps
Scuse the long winded post. Kinda new to posting.
Thanks for any info or assitstance it would really help me out
Attached to this 'back' mc are several buttons and other mc's.
The mc 'back' is set to scroll left and right with a key press.
This all works fine and the buttons on the mc back operate
ok. They take the playhead to fm labels.
Basicly there is a hit test game in one of the fm labels. Again it
all works fine. When the hit test is completed the user is taken
to a fm. I would like that when the hit test is completed
successfuly that the user returns to fm 1 of _root ( the scrollable 'back' mc)
The thing is that I would like that all of the buttons and mc's on the 'back mc' to have different properties when the hit test is complete.
I was thinking of an on enter fm event that either replaced the buttons and mc's on 'back' using linkages or some kind of 'if' statement fm 1 of my actions layer.
Basicly the user clicks a button when they play the game. If they have not performed the hit test they will not have a certain item and this button takes them to fm label 'return' if they have the item then I would like the button to take them to fm label 'escape'
I am sure that it is not all that difficlut. I am just really stuck with it.
I believe that in lingo there is a 'flag' that can be set to true or false on an event. Something like this in flash perhaps
Scuse the long winded post. Kinda new to posting.
Thanks for any info or assitstance it would really help me out