Skip to main content
January 9, 2009
Answered

loading dynamic data into the component

  • January 9, 2009
  • 2 replies
  • 609 views
Hi,
Im having an issue with loading text into the component. Untill the new component came along i was loading data from a component called slideshowpro into a dynamic text field. my script looked like this (with the dynamic text field being t_txt):

import net.slideshowpro.slideshowpro.*;

function onImageData(event:SSPDataEvent) {
if (event.type=="imageData") {
t_txt.htmlText=event.data.caption;
}
}

my_ssp.addEventListener(SSPDataEvent.IMAGE_DATA, onImageData);


- I would like now to load the same data into the text layout component going by the same name (t2_text). How would i go about changing the above script to flow the data into the text layout component rather than the dynamic text field? thx.
This topic has been closed for replies.
Correct answer rdermer
The author of the component could look at the ImportMarkup example. That shows how to convert markup to text. TLF labs does not have html conversion. If its raw text look at the HelloWorld example.

2 replies

rdermerCorrect answer
Adobe Employee
January 9, 2009
The author of the component could look at the ImportMarkup example. That shows how to convert markup to text. TLF labs does not have html conversion. If its raw text look at the HelloWorld example.
January 31, 2009
Thanks for your answer. Unfortunatley im pretty green with actionscript etc. I wouldnt really know where to go from the hello world example back to my own mess. any suggestions?
January 9, 2009
anyone?