FORUMS: list search recent posts

Palette Window not showing up

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mohit Kapoor
Palette Window not showing up
on Feb 20, 2020 at 12:20:07 pm

I have three .jsx files. One has data and it calls a function which is in another .jsx file. This function in turn calls new Window function which is in yet another .jsx file.
The problem is when in data if type=Dialog is passed, window appears. However if in data type=palette is passed, window does not appears.
Rought Sample:

1.jsx
#include 2.jsx
var obj = obj_handler( data );

2.jsx
#include 3.jsx
function obj_handler( data ) {
if( data['type'] == "window " ){
var win_obj = call_win( data );
win_obj.show();
}
}

3.jsx
function call_window( data ) {
#programming logincs ...
var win_obj = new Window( type, win_name, undefined, { borderless: border_exists } );
return win_obj;
}


Return to posts index

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