I found a hacky but working way to make this work and want to share it.
Add this code in the main stack:
Code: Select all
on resizeStack nw, nh, ow, oh, force
if force or the liveResizing of this stack then
pass resizeStack
end if
if "afterResize" is not in the pendingMessages then
send "afterResize" to the target in 1 tick
end if
end resizeStack
on afterResize
dispatch "resizeStack" to the target with the width of me, the height of me, the width of me, the height of me, true
end afterResize