Re: [Flashcoders] Creating a list from actionscript cue points in Flash video

2008-06-05 Thread Viktor Hesselbom

Congratulations on fixing it. ;)

/ Viktor H

On Thu, 05 Jun 2008 18:08:46 +0200, Paul Jinks <[EMAIL PROTECTED]>  
wrote:



Fixed it. I think all I had to do was set mainText.multiline = true;

Cheers

Paul



On Thu, June 5, 2008 3:05 pm, Paul Jinks wrote:

Aaaargh! There's a typo in my code there. It should read


mainText.htmlText = mainText.htmlText+texthtml;



I had a stray text field called secondText in there previously. This
isn't/wasn't the source of the problem. Many apologies.

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders








--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Creating a list from actionscript cue points in Flash video

2008-06-05 Thread Paul Jinks
Fixed it. I think all I had to do was set mainText.multiline = true;

Cheers

Paul



On Thu, June 5, 2008 3:05 pm, Paul Jinks wrote:
> Aaaargh! There's a typo in my code there. It should read
>
>>  mainText.htmlText = mainText.htmlText+texthtml;
>
>
> I had a stray text field called secondText in there previously. This
> isn't/wasn't the source of the problem. Many apologies.
>
> Paul
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


-- 

Check out my website: http://www.pauljinks.co.uk :o)


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Creating a list from actionscript cue points in Flash video

2008-06-05 Thread Paul Jinks
Aaaargh! There's a typo in my code there. It should read

>   mainText.htmlText = mainText.htmlText+texthtml;


I had a stray text field called secondText in there previously. This
isn't/wasn't the source of the problem. Many apologies.

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Creating a list from actionscript cue points in Flash video

2008-06-05 Thread Paul Jinks
I'm something of a noob, so bear with me here. I think this is pretty
straightforward, but I'm stuck.

I have a 'talking head' flv with actionscript cue points whose names I
want to appear in a textfield named mainText to act as a summary of what's
being said, a bit like powerpoint. Thus:

mainText.wordWrap = true;
var vidList:Object = new Object();
vidList.cuePoint = function(cues) {
if (cues.info.type == "actionscript") {
var texthtml = cues.info.name;
mainText.htmlText = secondText.htmlText+texthtml;
}
};
vid.addEventListener("cuePoint", vidList);

So far so good, except that I get a continuous stream of text, not the
nice list I yearn for. Every time I try to format mainText.htmlText I get
an error. I've tried

mainText.htmlText = mainText.htmlText+''+texthtml;
and variations on this on without success.

Thanks in advance for your help.

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders