Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions ScriptUI add image in string mode

  • ScriptUI add image in string mode

    Posted by Rainier Raydán on February 27, 2018 at 2:44 pm

    Hi guys!

    I’m trying to add an png image to my scriptIU but the problem is that I’m ussing the resource string method… Is there a way to add an png image to this method?

    I have this:


    res = "group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
    mainGroup: Group{orientation:'column',\
    langGroup: Group{orientation:'row',\
    latButton: RadioButton{text:'LAT'},\
    braButton: RadioButton{text:'BRA'},\
    THIS IS THE PLACE I WANT TO ADD THIS PNG IMAGE
    },\
    },\
    }"

    Thanks guys!

    Rainier Raydán replied 8 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    February 27, 2018 at 5:10 pm

    I just define a group where I want the image to be, and add the image to the group after processing the resource string.

    Dan

  • Rainier Raydán

    February 27, 2018 at 7:09 pm

    It worked ! Thanks!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy