Page 1 of 1
Merge stacks
Posted: Wed May 23, 2018 8:47 am
by Gurki
Hello,
Is there a way to merge stacks? - or to copy complete cards with included files, buttons, pictures and sounds?
The children created each an one-card stack about a month and I would like to put them together to have one stack with 12 cards.
G.
Re: Merge stacks
Posted: Wed May 23, 2018 10:14 am
by jmburnod
Hi,
Is there a way to merge stacks? - or to copy complete cards with included files,
buttons, pictures and sounds?
Files: Do you mean text in fields ?
Pictures are external files (referenced images) or paint images ?
Sounds are audioclips or external files ?
What about scripts ?
Of course ou may use copy and paste cd but its depends what is your final project.
In my practice with children, each user have his own folder with images and sound files.
Best regards
Jean-Marc
Re: Merge stacks
Posted: Wed May 23, 2018 12:21 pm
by Gurki
Hi jmburnod
There are
- fields with text
- buttons
- pictures imported as File -> Import As Control -> Image File
- sound imported as File -> Import As Control -> Audio File
In this objects is some small code as on mouseUp, etc.
As all have the same background picture (a landscape) in a different month, the idea was to put it together to have one stack with the possibility to move from one card/month to the next and explore it (buttons/text fields explains plants and animals).
G.
Re: Merge stacks
Posted: Wed May 23, 2018 1:11 pm
by MaxV
Use
copy, example
Code: Select all
copy card 1 of stack "Childstack1" to stack "dad"
Re: Merge stacks
Posted: Wed May 23, 2018 1:54 pm
by jmburnod
Hi,
If you copy/paste a card, you copy all objects with script and script card but not
audioClip.
I never used audioclip, I use external files for all sounds
Not sure.there is a way to export audioclip to external file
http://forums.livecode.com/search.php?k ... +audioclip
Jean-Marc
Re: Merge stacks
Posted: Wed May 23, 2018 4:35 pm
by jacque
One way to make sure all resources are included would be to make each stack a substack of a new mainstack. The new mainstack could have a list of each substack and clicking on a list line would open the correct substack.