<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Extension callback issue</title>
    <link>https://forums.adobe.com/community/creativesuites/extensionbuilder?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Fri, 29 Aug 2014 07:01:07 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-08-29T07:01:07Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Extension callback issue</title>
      <link>https://forums.adobe.com/message/6683567?tstart=0#6683567</link>
      <description>&lt;!-- [DocumentBodyStart:15285d42-33da-4bc2-9354-9026a94ae6ca] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Sorry, I was checking with Photoshop. My bad for not noticing you are asking about After Effects.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:15285d42-33da-4bc2-9354-9026a94ae6ca] --&gt;&lt;img src='/beacon?t=1415939019875' /&gt;</description>
      <pubDate>Fri, 29 Aug 2014 07:01:07 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6683567?tstart=0#6683567</guid>
      <dc:date>2014-08-29T07:01:07Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Re: Extension callback issue</title>
      <link>https://forums.adobe.com/message/6683510?tstart=0#6683510</link>
      <description>&lt;!-- [DocumentBodyStart:f275331e-3f9f-452b-9517-789502fd183f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Here the code;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;HTML&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;-------------&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;!doctype html&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;html&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta charset="utf-8"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="./ext.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script src="./lib/CSInterface-4.0.0.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;link rel="stylesheet" type="text/css" href="./style.css"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/head&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body onLoad="onLoaded()"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;button id="popAlert" onClick="onClickButton('AEFT')"&amp;gt;Pop An Alert&amp;lt;/button&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/html&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;javascript&lt;/p&gt;&lt;p&gt;-------------&lt;/p&gt;&lt;p&gt;function onClickButton(ppid) {&lt;/p&gt;&lt;p&gt;&amp;nbsp; var extScript = "$._ext_"+ppid+".popAlert()";&lt;/p&gt;&lt;p&gt;&amp;nbsp; evalScript(extScript, function(a){alert(a);});&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;jsx&lt;/p&gt;&lt;p&gt;------&lt;/p&gt;&lt;p&gt;$._ext_AEFT = {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; popAlert : function()&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("hi im in After Effects!");&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return "hi. im in javascript callback!";&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;};&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #333333; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;"Returning strings to the callback function works for me."&amp;nbsp; &lt;/span&gt;&lt;span aria-label="Confused" class="emoticon-inline emoticon_confused" style="height:16px;width:16px;"&gt;&lt;/span&gt; on After Effects?? &lt;strong style="font-size: 12pt;"&gt;I'm using AFX CC 2014, version 13.0.0.214.&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f275331e-3f9f-452b-9517-789502fd183f] --&gt;</description>
      <pubDate>Fri, 29 Aug 2014 05:53:45 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6683510?tstart=0#6683510</guid>
      <dc:date>2014-08-29T05:53:45Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Extension callback issue</title>
      <link>https://forums.adobe.com/message/6682963?tstart=0#6682963</link>
      <description>&lt;!-- [DocumentBodyStart:0d752fc4-2165-444b-8656-8d851061a7bb] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Would be able to have a look if you could post a bare-minimum code snippet, both JSX and Javascript. Returning strings to the callback function works for me.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0d752fc4-2165-444b-8656-8d851061a7bb] --&gt;</description>
      <pubDate>Fri, 29 Aug 2014 00:43:36 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6682963?tstart=0#6682963</guid>
      <dc:date>2014-08-29T00:43:36Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Extension callback issue</title>
      <link>https://forums.adobe.com/message/6680985?tstart=0#6680985</link>
      <description>&lt;!-- [DocumentBodyStart:c476f838-83fc-427c-92b4-a783f59c903a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;just string! even i tried by returning as an object. all those ways are working perfect in InDesign (jsx to javascript). even in "after effects" i can get control back to callback function. the only issue is, it is not getting the returned value.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:c476f838-83fc-427c-92b4-a783f59c903a] --&gt;</description>
      <pubDate>Thu, 28 Aug 2014 10:08:06 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6680985?tstart=0#6680985</guid>
      <dc:date>2014-08-28T10:08:06Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Extension callback issue</title>
      <link>https://forums.adobe.com/message/6680625?tstart=0#6680625</link>
      <description>&lt;!-- [DocumentBodyStart:1a9a5a16-6e10-4a52-80c9-88614adbc1f8] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;What is the type of the return (a string, etc)? It's hard to guess the cause without seeing any code.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1a9a5a16-6e10-4a52-80c9-88614adbc1f8] --&gt;</description>
      <pubDate>Thu, 28 Aug 2014 05:57:02 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6680625?tstart=0#6680625</guid>
      <dc:date>2014-08-28T05:57:02Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Extension callback issue</title>
      <link>https://forums.adobe.com/message/6680275?tstart=0#6680275</link>
      <description>&lt;!-- [DocumentBodyStart:25a7c322-9b61-404b-830a-baecd54828f1] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi All&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I just got the problem with (&lt;strong style="font-style: inherit; font-family: inherit;"&gt;html + javascript + jsx&lt;/strong&gt;) html5 extension. Actually callback works; the control comes back to the javascript from jsx. But its not getting the value returned from jsx. But the same works out perfect in indesign; javascript callback gets the value returned from jsx.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;can any one please suggest immediate!&lt;/p&gt;&lt;p class="jive-thread-reply-btn" style="min-height: 8pt; padding: 0px; margin: 15px 0 -10px; font-size: 0.9em; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif; color: #333333;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="jive-thread-reply-btn-correct" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;a class="jive-link-thread-small" data-containerId="3265" data-containerType="14" data-objectId="1544497" data-objectType="1" href="https://forums.adobe.com/thread/1544497"&gt;Extension callback issue&lt;/a&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:25a7c322-9b61-404b-830a-baecd54828f1] --&gt;</description>
      <pubDate>Thu, 28 Aug 2014 01:26:29 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6680275?tstart=0#6680275</guid>
      <dc:date>2014-08-28T01:26:29Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

