2009-12-06, 07:36
I am wanting to know if the skinning engine can handle an object made from smaller images.
below is roughed out code to show what i am trying to achive.
object = movie frame
object x = 1000
object y = 1500
frame top left image = ("../top_left.png" w=200px h=200px)
align = top left (location inside object)
aspectratio = keep
frame top center image = ("../top_center.png" w=1px h=200px)
align = top (location inside object)
xrepeat = true
aspectratio = keep
frame top right image = ("../top_right.png" w=200px h=200px)
align = top right (location inside object)
aspectratio = keep
below is an image to show what i want to achieve
basically an image that i can just specify the width and height and the images inside the object repeat etc instead of just scaling an image.
I want to use it for a outline that dynamically changes size based on the content inside.
thanks
below is roughed out code to show what i am trying to achive.
object = movie frame
object x = 1000
object y = 1500
frame top left image = ("../top_left.png" w=200px h=200px)
align = top left (location inside object)
aspectratio = keep
frame top center image = ("../top_center.png" w=1px h=200px)
align = top (location inside object)
xrepeat = true
aspectratio = keep
frame top right image = ("../top_right.png" w=200px h=200px)
align = top right (location inside object)
aspectratio = keep
below is an image to show what i want to achieve
basically an image that i can just specify the width and height and the images inside the object repeat etc instead of just scaling an image.
I want to use it for a outline that dynamically changes size based on the content inside.
thanks