ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

ScriptUI add image in string mode

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Rainier Raydán
ScriptUI add image in string mode
on Feb 27, 2018 at 2:44:03 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!


Return to posts index

Dan Ebberts
Re: ScriptUI add image in string mode
on Feb 27, 2018 at 5:10:43 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



Return to posts index

Rainier Raydán
Re: ScriptUI add image in string mode
on Feb 27, 2018 at 7:09:24 pm

It worked ! Thanks!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]