Hi all.
i'm have Photoshop Panel test_panel.swf and file test_panel.jsx.
In file test_panel.swf, i define a function test_function().
How to call function test_function in test_panel.swf from file test_panel.jsx?
i used Flex 4 and CSXSLibrary.swc
Thanks.
Help me: how to Call function in panel from jsx
Help me: how to Call function in panel from jsx
Example
test_panel.mxml
Code: Select all<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
width="242" height="580"
minWidth="274" minHeight="580"
maxWidth="274" maxHeight="580"
verticalScrollPolicy="off" horizontalScrollPolicy="off"
>
<mx:Script>
<![CDATA[
import com.adobe.csxs.core.CSXSInterface;
public function test_function():void{
// TODO code here
}
]]>
</mx:Script>
</mx:Application>
how to call function test_function() from file test_panel.jsx?
plz help me.
test_panel.mxml
Code: Select all<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
width="242" height="580"
minWidth="274" minHeight="580"
maxWidth="274" maxHeight="580"
verticalScrollPolicy="off" horizontalScrollPolicy="off"
>
<mx:Script>
<![CDATA[
import com.adobe.csxs.core.CSXSInterface;
public function test_function():void{
// TODO code here
}
]]>
</mx:Script>
</mx:Application>
how to call function test_function() from file test_panel.jsx?
plz help me.
Help me: how to Call function in panel from jsx
You can read this Adobe CookBook, it'll help you.
Regard,
Davide
Regard,
Davide