473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

removing dynamic text field before second .flv streams

I am trying to figure out how to remove a dynamic text field from the stage that plays captions over an .flv from an XML file. I would like to find out how to remove the field before a second .flv video, containing embedded cuepoints streams through same component. The text field is also displaying the embedded cuepoints in the second .flv vids. Is it possible to remove a text field, either using removeListener or removeASCuePoint?

I'd really appreciate some feedback, as this has been boggling my mind for some time. Thank you.

Here is the code I am using before invoking second .flv:

captionsXML.load("captions.xml");

Vid.addEventListener("cuePoint", onCuePoint);

var cuePt:Object = new Object();
cuePt.time = 8.41;
cuePt.name = "";
cuePt.type = "actionscript";
Vid.addASCuePoint(cuePt);


function onCuePoint(evntObj:Object):Void {
txtCaption.text = evntObj.info.name;

if(evntObj.info.time == "8.41"){
txtCaption.close();
}
}
Vid.addEventListener("cuePoint", onCuePoint);
Nov 3 '07 #1
1 4380
rsdev
149 100+
I am trying to figure out how to remove a dynamic text field from the stage that plays captions over an .flv from an XML file. I would like to find out how to remove the field before a second .flv video, containing embedded cuepoints streams through same component. The text field is also displaying the embedded cuepoints in the second .flv vids. Is it possible to remove a text field, either using removeListener or removeASCuePoint?

I'd really appreciate some feedback, as this has been boggling my mind for some time. Thank you.

Here is the code I am using before invoking second .flv:

captionsXML.load("captions.xml");

Vid.addEventListener("cuePoint", onCuePoint);

var cuePt:Object = new Object();
cuePt.time = 8.41;
cuePt.name = "";
cuePt.type = "actionscript";
Vid.addASCuePoint(cuePt);


function onCuePoint(evntObj:Object):Void {
txtCaption.text = evntObj.info.name;

if(evntObj.info.time == "8.41"){
txtCaption.close();
}
}
Vid.addEventListener("cuePoint", onCuePoint);
Hi,

Use status event listener to check when the flv has finished and then set the dynamic text field = "".

Look in Flash Help file for FLVPlayback component and then check out the examples for statuschanged etc.

Hope this helps.
Nov 4 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: pizzy | last post by:
PROBLEM: I CAN'T GET THE LAST RESUTS TO WORK CORRECTLY. I WOULD PROVIDE THE CODE (AND WILL IF REQUESTED). BUT IN MY OWN WORDS I AM TRYING TO HAVE THE FIRST FORM DYNAMICALLY CREATE INPUT BOXES...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
3
by: Peter Bailey | last post by:
Could someone please tell me how to pass criteria as if it were a parameter. I have a routine now that creates the sql string (well almost). at present the parameter is so I can pass one item ie...
0
by: MattB | last post by:
Hi. I'm on my second redesign of a dynamic form I need to create and I'm looking for good examples and/or suggestions. I have a web application that is being distributed to different clients of...
4
by: Larry Grady | last post by:
Anyone up for a challenge? I've been struggling with this for a few days and was hoping someone could help me. Pouring through all the messageboards I just can't find the solution. We have a...
5
by: bwv539 | last post by:
I have to output data into a binary file, that will contain data coming from a four channel measurement instrument. Since those data have to be read from another C program somewhere else, the...
4
by: Philip_collins | last post by:
Hi! I have a dynamic query that has a form attached. I want to add up a field with the sum funtion, the field is netkg. Dim rec As Recordset Dim qdf As QueryDef Dim strsql Set db =...
2
by: remya1000 | last post by:
hai i'm using Vb.net. i'm creating 64 dynamic created buttons of 8 rows and 8 columns. And i have 1 Go button, 1 textbox. those were created dynamically. if i enter one number inside textbox and...
3
by: tokcy | last post by:
Hi, I have created dynamic row with text box i.e. initialy i have only one text box and add button when i clicked on add button it create another text box. and i want to append the values of...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.