|
Post by justme on Nov 26, 2015 14:00:54 GMT
Hi,
I am trying to create a button with two images using:
- timeline object -- hotspot -- image 1 -- image 2
It is for the tictactoe game. On startup the timeline is stopped at frame 0 which is empty. Click on it while it is your turn and it will show your icon.
I have analyzed the memory game in the showcase section and noticed they have created a new object of everything for each card.
Following the KIS(S) approach to programming I have created one object and added 9 instances of this object to the board and gave each of them an unique ScriptID.
The only thing I need now is for the hotspot to 'know/be aware' of the ScriptID of the timeline object it is in? I tried some combinations of 'this' but couldn't get it to work.
Is it possible?
|
|
|
Post by justme on Nov 27, 2015 6:37:55 GMT
Changed my approach to having 9 instances of the formentioned timeline object and 1 button for each instance.
|
|
|
Post by Hippani on Dec 2, 2015 16:46:21 GMT
This is a feature that's currently on our request list.
|
|
|
Post by justme on Dec 4, 2015 16:44:35 GMT
Thanks, I am looking forward to using it. It will make some scenarios a lot easier to maintain.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Apr 8, 2016 15:50:34 GMT
|
|