Skip to main content
March 21, 2011
Question

How to insert videos and sounds into a TLF?

  • March 21, 2011
  • 2 replies
  • 691 views

Hi, I just want to know if you can inserta a video and a sound into a Text Layout?? Does TLF support it?

Thanks

Mau0113

This topic has been closed for replies.

2 replies

Inspiring
March 21, 2011

In order to have video and sound in TLF, you will need to implement your own methods of doing it.  In other words, TLF doesn't have any built-in components for this.  I have been able to successfully have a video player embedded inside markup text that was handle with TLF.  Directly below is a post that has the code to do this (the reason why I created the post was with an issue I had with TLF at that time.  If you are using TLF 2.0 you shouldn't have this issue.):

http://forums.adobe.com/message/3025496

To have sound in TLF, depends on how you implement it.  You can have a sound player, with minimal controls: play and pause.  Or just an icon that acts as a link, that when clicked on, it will play a sound or audio file.  If you plan to implement the former of the 2, then you will probably need to create your own sound player in Flash.  Which means you would need to compile the .fla to a .swf, which will then be embedded in the TLF similar to the way I embedded the VideoDisplay object in the link above.  If you plan to have an icon, as I mentioned prior, then look at this post:

http://forums.adobe.com/thread/603707

Let us know what you think.

Known Participant
March 21, 2011

Hello there,

This should answer your question: http://blogs.adobe.com/tlf/2010/12/tlf-flowelement-linkelement-events-and-eventmirrors.html

FTQuest