473,767 Members | 7,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flash Cue points Problem

1 New Member
Does any one know much about cue points in for a video file in flash?My que points work fine for the first 9 seconds, if i make a cue point after the ten second mark none of the cue points seem to register except for the last one! Can any one help me?



my_xml.onLoad = function(succes s) {
for (i=0; i<my_xml.childN odes[0].childNodes.len gth; i++) {
my_Time.push(my _xml.childNodes[0].childNodes[i].childNodes[1].firstChild.nod eValue);
my_Sub.push(my_ xml.childNodes[0].childNodes[i].childNodes[3].firstChild.nod eValue);
my_HyperT.push( my_xml.childNod es[0].childNodes[i].childNodes[2].firstChild.nod eValue);

var cueTime:Number = my_Time[i];
cuePt.time = cueTime;
cuePt.name = "elapsed_ti me";
cuePt.type = "actionscri pt";
// Add AS cue point.
my_flvPb.addASC uePoint(cuePt);
trace("A");
}
trace(my_Time);
trace(my_Sub);

};
my_xml.load("ht tp://nuseilatan.com/lol/cue_points.xml" );

var listenerObject: Object = new Object();
listenerObject. cuePoint = function(eventO bject) {
{
trace("lololo") ;
if (my_HyperT[0+cuePtCounter] == "0") {
trace("hyper 0");
my_ta.html = false;
{
if (my_Sub[0+cuePtCounter] == "pork") {
my_ta.text = "";
cuePtCounter++;
trace("AAAA");
} else {
my_ta.text = my_Sub[0+cuePtCounter];
cuePtCounter++;
trace("BBBB");
}
};

} else if (my_HyperT[0+cuePtCounter] != "0") {
trace("hyper1") ;
myformat.url = my_HyperT[0+cuePtCounter];
my_ta.html = true;

{
if (my_Sub[0+cuePtCounter] == "pork") {
my_ta.text = "";
my_ta.setTextFo rmat(myformat);
cuePtCounter++;
trace("AAAA");
} else {
my_ta.text = my_Sub[0+cuePtCounter];
my_ta.setTextFo rmat(myformat);
cuePtCounter++;
trace("BBBB");
}
}
};
};


};


my_flvPb.addEve ntListener("cue Point",listener Object);
Jul 22 '08 #1
0 1804

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

Similar topics

8
3883
by: tmb | last post by:
1 - Can you build an entire web page or site with Java... sorta like you can with Flash? 2 - Can you do... .. Drag & Drop .. Push Buttons .. Hot Spot .. Hot Object .. Pull Down's (combo boxs) .. data entry fields
6
4775
by: Gustav Medler | last post by:
Hello, there is a known problem with Opera and the execution of content shown in <NOSCRIPT> tag. Everythings works fine, if there is only one simple script like: http://www.dr-wald.de/test/Opera-NOSCRIPT.html Switching off Javascript will show the alternative content. Javascript enabled will only show the JS-content, _not_ the <NOSCRIPT> content.
18
12699
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes state, the HTML page URL would change from default.html to default.html#stateA. example: http://pearstudios.com/javascript/locationHashAndFlash.html This has worked perfectly within HTML and javascript alone, however, when connecting Flash and...
5
1429
by: Andy G | last post by:
I have a client that is really pushing me to start using Flash MX Professional to replace VS.NET. Main arguement is that it looks better and flows nicer than visual studio developed applcations (this client is a designer not a programmer). I believe that Flash is a 'Tool' not a 'Solution'. My 'Solution' is an ASP.NET application but I would like to use Flash as a 'Tool'. I am having very hard time seeing any documentation on the...
0
1382
by: Vladi | last post by:
Hello everybody, I have a asp.net 1.1 page which has the following controls: 4 Images whose src points to an image.aspx file which returns a different jpg from a DB 1 flash object on top of those which contains buttons with links embedded in them to another pages (each having the same layout, identical to the page I'm talking about). The transfer is realised with some url_get method in the flash. I don't know because I didn't make it and...
1
1552
by: Steve Belanger | last post by:
Hi, i am creating a 'design online' flash tool that allows me to design something with flash, throwing graphics and text elements. i then export that using XML data and have PHP create a jpeg version of what the flash contained. my problem is that i use imagettftext to render my text elements (it can be bolded, italic, different font sizes and different fonts).
1
8033
by: Sura | last post by:
Hi I have a flash interactive window which has html links and this appears on an html page. This window can be moved with the mouse on the html page. The html page has an iFrame too. When the flash window comes above the iframe area the html links stop working. Yet the links remain active when the flash window is outside the iFrame area. This problem is coming in Firefox, but running fine in IE. If anybody has any solution, please...
2
3744
elamberdor
by: elamberdor | last post by:
Hi All! Well, i'm modifying a dynamic map, with lat and long datapoints, my problem is it loads in text perfectly onto exact points I specify on the map, ..well now I want to load in icons(images) instead of text. (yes i'm being difficult) and i'd like the text to load into a static placeholder symbol instead. Problem is, I can get images to load in a separate file, text to load in a separate file, and text to appear in a static...
0
1328
by: Tim Southerwood | last post by:
Hi I'm in need at work of a PHP drivable flash chart generator which can ploy min/max data as two lines with shaded infill between the lines. The best charting libs I've come across thus far are: Fusion Charts http://www.fusioncharts.com/ and Open Flash Chart http://teethgrinder.co.uk/open-flash-chart/
0
9407
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10014
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9960
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8840
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7384
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5280
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3534
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.