These forums are provided for community interactions only. For official support please submit a support ticket.
You are not logged in.
Heres the code:
import flash.external.ExternalInterface;
import net.slideshowpro.thumbgrid.*;
function onThumbEvent(event:TGThumbEvent) {
trace(event.data.id);
trace(event.data.description);
trace(event.data.lgpath);
trace(event.data.num);
trace(event.data.title);
trace(event.data.tn);
trace(event.data.tnpath);
trace(event.data.totalImages);
//ExternalInterface.call("loadSSP", event.data.id);
}
my_tg.addEventListener(TGThumbEvent.CLICK_THUMB, onThumbEvent);
Essentially, I am trying to pass the ID of the clicked gallery thumbnail in the thumbgrid to a javascript on the page. The javascript passes the ID to load a SSP instance in a popup with the passed ID.
on all the trace, this is all I can get:
undefined
my description
undefined
undefined
My Awesome Gallery Title
http://galleries.MYSITE.com/slideshowpr … 1313786985
undefined
undefined
Anyone know why it is always undefined on the other elements on the albumData object?
thanks for anyone who can pitch in!
Last edited by jdfcreative (2011-10-21 14:47:50)
Offline