Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Progressive Video Download Question



So, I have to upload my video to a web server to preview my website if I'm using progressive download for video? I don' t have a hosting service yet, so I can't preview my site until I get one?

I currently have embedded video, but it runs slowly. I'd like to try progressive, but.....



FlashKit > Flash Help > Flash Newbies
Posted on: 07-10-2008, 01:40 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

[F8] Progressive Bar For Progressive Download Video
I am very new to flash!!!
I want to create progressive download video. I know how to create the one , but I don't know how to put progressive bar ( show loading number before video playing) before progressive download video.
Please help me ASAP!! Because I need to create it for business. Thank you!

[F8] Progressive Bar For Progressive Download Video
I am very new to flash!!!
I want to create progressive download video. I know how to create the one , but I don't know how to put progressive bar ( show loading number before video playing) before progressive download video. I want to make it to determine internet connetion speed and load video.
Please help me ASAP!! Because I need to create it for business. Thank you!

Progressive Video (QT .mov) Download?
Is it possible to have my QT .mov file download progressively in flash site? I got it all linked and working but it wants to download the whole thing before starting to play. (On my old html page the progressive download works and the video plays as soon as it is buffered enough.)
Thanks

Progressive Download For .flv Video Files?
Any way to create a progressive download situation with .flv files similar to what can be done with a Quicktime movie that plays as it downloads?

Incidentally, Is it just me or do flv files download MUCH slower than an equivalent size Quicktime movie?

Preloader For FLV Video(progressive Download)?
I want to create preloader for long FLV video(progressive download), because it run over 10 minutes.

I found tutorial website.

http://tutorialoutpost.com/count/5763

Is it right tutorial for progressive video??

Video: Progressive Download Vs. FMS Hosting Vs. Red 5
I am creating a Video Production Company's portfolio website, and I want to show high quality videos of the work. I am new to Flash Video, and I was wondering if anyone had any suggestions/preferences for how to play the video. This is a small-scale application with 10-25 videos that would be no more than 2min in length. Ideally, I want the videos to be able play consecutively with minimal delays.

Can you get reliable, steady, high quality video using progressive downloading?

Is Red 5 a good alternative to using FMS?

Is FMS hosting worth the expense?

Video Snapshot With Progressive Download
I'm creating an application were you are able to take snapshots of a video, but have ran into a security error " Error #2123: Security sandbox violation: BitmapData.draw".

So I have done the follow,
1) Tried playing a file locally- FAILED
2) Used the following crossdomain.xml

PHP Code:



<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFileHttp.xsd">
    <allow-access-from domain="*" />
    <site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>



I did find that flash wasn't requesting this file on first load , so i did Security.loadPolicy, but this FAILED also.
3) Tried using netstream.checkPolicyFile=true - FAILED
4) Tried the following hack:

PHP Code:



video.attachNetStream(null)
bmp.draw(videoContainer) // A sprite
video.attachNetStream(netStream)

also tried drawing from the video object directly. 




So now neither a video played locally or a video delivered from my server will allow me to take snapshots. After debugging some more I found that my netStream is dispatching "NetStream.Play.Start" twice, I think this might be the problem but I don't see how or why it would be dispatching it twice for a file played locally.

The strange this is that this application was working fine for 2 weeks, Decided to open it up today to do some work and now it wont function like it's suppose to. If anyone has any guidance to this problem it would greatly appreciated.

Thanks

Flash Video Progressive Download
I would like to us a flash video in a web page, and don't want to use streaming. If I use the Flash Video Encoder to make a medium quality video that is about six minutes long, will progressive download work okay, or is it too long to work without problems? If this is too long, what would be a good maximum length to use?

Video Snapshot With Progressive Download
I'm creating an application were you are able to take snapshots of a video, but have ran into a security error " Error #2123: Security sandbox violation: BitmapData.draw".

So I have done the follow,
1) Tried playing a file locally- FAILED
2) Used the following crossdomain.xml
quote:
<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy xmlns:xsi="

Video Snapshot With Progressive Download
I'm creating an application were you are able to take snapshots of a video, but have ran into a security error " Error #2123: Security sandbox violation: BitmapData.draw".

So I have done the follow,
1) Tried playing a file locally- FAILED
2) Used the following crossdomain.xml

PHP Code:



<?xml version="1.0" encoding="UTF-8"?><cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFileHttp.xsd">    <allow-access-from domain="*" />    <site-control permitted-cross-domain-policies="all"/></cross-domain-policy>



I did find that flash wasn't requesting this file on first load , so i did Security.loadPolicy, but this FAILED also.
3) Tried using netstream.checkPolicyFile=true - FAILED
4) Tried the following hack:

PHP Code:



video.attachNetStream(null)bmp.draw(videoContainer) // A spritevideo.attachNetStream(netStream)also tried drawing from the video object directly. 




So now neither a video played locally or a video delivered from my server will allow me to take snapshots. After debugging some more I found that my netStream is dispatching "NetStream.Play.Start" twice, I think this might be the problem but I don't see how or why it would be dispatching it twice for a file played locally.

The strange this is that this application was working fine for 2 weeks, Decided to open it up today to do some work and now it wont function like it's suppose to. If anyone has any guidance to this problem it would greatly appreciated.

Thanks

Flash Video Progressive Download
Hi guys,

Can anyone tell me what the performance overhead is for using progressive download to deliver Flash videos rather than streaming them? I undertsnad that concurrent users is where it starts to have problems compared with streaming, but I can't find any data that quantifies the performance hit.

Anyone out there help?

Cheers,

NickJ

Progressive Download Video Question
Using the MediaPlayBack component in MX 2004 Pro, i have uploaded my .flv to my server, and using the component loaded it into my main .swf. Perfect. Now, is the there a way to do something when the video is done playing? So say, when it's done, the main timeline plays, or something simple. Just don't know how to invoke an action on video complete.

Beginner Progressive Download Video Problem
I can't figure out why my video's won't play online. If I use import video and use progressive download. It al works fine on my computer. I placed everything in the same root folder both on my computer and on the server. If I play the main swf or index.htm directly from the ftp server it also works fine. The problem is when I type in the url of my site it isn't playing. I just get my website without all the video. Because it is playing both on my computer and from the ftp I'm guessing that the realtive location stuff is ok right? I can't seem to figure it out.

I'm on a deadline and I'm not getting anywhere at the moment. It seems like a real beginner problem so I hope someone can help me. It would realy save my day.

Thanks in advance

When Do I Use Streaming Vs. Progressive Download For Flash Video?
Hi there!

I'm new to this forum & kind of intermediate when it comes to flash and the web. Anyways... I'm developing a web TV thing for this client (www.cylinda.se) and they have around 5000-6000 hits/day on their site. The web TV thing will come up as an extra window when you click on a link so every visitor might not visit the tv. The site itself is normal html but the web tv is entirely in flash. There are 4 movies (flv's) in total and each of of them will be 30 seconds. The sizes are between 4-8 Mb in size. My question is:do I need to stream these using Flash Media Server or can I use progressive download for this amount of traffic? Does someone have some experience regarding this? Input would be highly appreciated...

Niklas

Dial-up User For Progressive Download Video
High speed internet is no problem to view big size video(progressive download), but how about for dial-up user??
I want to create flash video for business for all deaf people.

Should I put preloader for progressive download? If so, please help me how to do it!!!! I have been struglling for over 1 months. Thank you!!

Flash Video: Preloader For Progressive Download
Hi,

I want to make a preloader bar for an FLV that I load externally into flash. Only, I dont want the preloader to display the download for the entire movie rather I want the preloader bar to display the progress the movie is making towards starting. Here is my code:

function checkBytesLoaded(my_ns:NetStream)
{
//the flv is 17 seconds long and my buffer time is set to 10. I want to get the percentage of the buffertime relative to the total time
var temp = 10/17;
//calculates the amount of bytes that need to download to reach the 10 second point of the video
var pctStart:Number = Math.round(temp*my_ns.bytesTotal);
var pctLoaded:Number = Math.round(my_ns.bytesLoaded/pctStart*100);
loaded_txt.text = Math.round(my_ns.bytesLoaded/1000)+" of "+Math.round(pctStart/1000)+" KB loaded ("+pctLoaded+"%)";
progressBar_mc.bar_mc._xscale = pctLoaded;
if (pctLoaded>=100)
{
_root.progressBar_mc.removeMovieClip();
_root.loaded_txt.text = "";
clearInterval(loaded_interval);
}
}


ok so this runs and the preloader rewaches 100% and then the video is still loading and starts about 3 or 4 seconds later. What's the deal? Is there a better way to do this?

Flash Video Progressive Download Performance
I've rendered a series of Flash Video movies selecting the HIGH Quality, Progressive Download settings.

Even with a cable modem connection speed of 8 Mbps, these movies choke badly on playback.

http://www.reikoproductions.com/


I don't imagine the SWF publish settings have anything to do with this, but I have them set to JPEG Quality 100, and the Compress Movie checkbox is UNCHECKED.

I am presently rendering a set of movies at MEDIUM Quality settings, but I'd like to know why these movies choke like this, with this fast of a connection. I don't know much about the web hosting server these are posted on, but could it be a slow server?

Something in the HTML code I've missed?

Thanks!

What Fps For Capturing Analog Video For Flv Progressive Download
I want to use the progressive download technique with Flash MX 2004 Professional, but am getting very poor results. I think it is because I am not capturing my analog video at the proper frame rate and I cannot find any information anywhere (including Adobe Premiere) to help me with this. If anyone out there has done this, PLEASE help me out with this.

Thanks,
Joan

What Fps For Capturing Analog Video For Flv Progressive Download
I want to use the progressive download technique with Flash MX 2004 Professional, but am getting very poor results. I think it is because I am not capturing my analog video at the proper frame rate and I cannot find any information anywhere (including Adobe Premiere) to help me with this. If anyone out there has done this, PLEASE help me out with this.

Thanks,
Joan

Progressive Download Video Bitrate Matter?
Hi guys,

I'm trying to come up with an answer to whether the bitrate matters when it comes to progressively-downloaded Flash video. I appreciate that if you bump up a video's bitrate then the filesize is going to increase, but aside from this and the fact that if you increase the bitrate it means people on slower connections may have to wait longer before viewing any video, does the bitrate matter if serving the content over HTTP (i.e. not streaming)?

It's not the case that if you have two different video files; one is encoded at 256kbps, the other at 512kbps and BOTH are 2MB in filesize, that it costs more regarding bandwidth to serve the larger bitrate file, is it? They both get served from the master server at the same speed, don't they?

I need the answer today if possible, sorry to act impatient. Any help is much appreciated...

How To Create A "Click To Load" For Progressive Video Download
I am placing videos on a webpage using Progressive Downloading. Some of the videos are 30+ MB so i would like a click to load function instead of having the video automatically load when the user goes to the page. Does anyone know of a good tutorial on how to do this?

How To Create A "Click To Load" For Progressive Video Download
I am placing videos on a webpage using Progressive Downloading. Some of the videos are 30+ MB so i would like a click to load function instead of having the video automatically load when the user goes to the page. Does anyone know of a good tutorial on how to do this?

Progressive Download
Hi:
I'm new to video and could use some help. I'm not sure if this is a server question or not. I'll post it in general also. have a video clip which plays fine localy but when played from the server (in progressive download mode) it starts and stops? I've tried different buffer times without success. I started with 400kbps (i have dsl and I tested it at 700k) I also tried 150kbps thinking slower data rate would not stop as much ---but it does the same thing? I just had my boss check it, he has cable and it still stops. I can't figure out whos turning off my stream? The website host says its not them same with the isp. Anyone have any ideas how I can figure out where the interuption is? (maybe its local somehow).


Thanks very much

Mick

Progressive Download JPG's
Hello Everyone,

My question is this: I have a portfolio page of my website that needs to download over 100 photos (jpgs) I would like them to look good, and so the file sizes are around 75-100 KB. They are downloaded in groups of 3-8 in a swf. into a container in my 'portofolio' swf. page. I would like to have them load progressively somehow so that it wouldn't take so long to see the full swf. after it had completely downloaded. I've seen how the progressive download works for a move clip, but not for a jpg. Also...they have to be able to be downloaded from a swf. inside a swf. Can this be done?? I apologize if this is too confusing....any help would be greatly appreciated!

-Carmen

Progressive Download
I'm looking for a code to play a progessive download inside of a flash template that will, upon click, stop existing music and load automatically, resize from an image on the page to full screen and then exit back to original page starting up music again. I don't have any code right now except the flv file in place.

Does anyone know how to do this or point me in the right direction?

Thanks

Progressive Download
helllo frnds,
I have created a FLV player which uses XMOOV to stream video.It is possible to use this as streaming and as progressive download.And I have also develop a player which will start from any position in the stream.And it is also possible to seek any position in downloded portion.The problem is it needs a good PHP server.

My doubt is it possible with the media server?To use as streaming and progressive download?

pls help me
harilal

Progressive Download With FMS
Hi there People,


How can I playback recorded .FLVs stored in my FMS3 hosting server using progressive download instead of streaming ?


Thanks
Alex

Progressive Download A .swf
I have searched around, and will continue searching for new things, but I was wondering if anyone had tried to progressively download an .swf. I have a little experience with the code that works for progressively downloading an .flv, but my brain has not yet discovered a way to accomplish this. One of the things that i was thinking was that this might be a way to working around embedding the .flv in my main .swf - which is the best way to create a seamless loop. By creating an embedFLV.swf that has the .flv embedded, then progressively download the embedFLV.swf into my main .swf, I might be able to both decrease load time for the main .swf, and also have a seamless loop in my videos.

i appreciate any ideas or help on this issue!!

Progressive Download Of Non-flv?
Hi everyone

Two questions regarding progressive downloaded videos (I'm on Flash 8 BTW) . . .

1. Can Flash only do that with flvs? I have a customer who want to upload videos to his site and stream them through the player. I'm right in saying he'll have to manually encode every video aren't I (there's no flv encoder on his server)?

2. Is it easy / possible to dynamically specify which flv is downloaded based on a GET variable? Example scenario:

/playvideo.php?video=video1 would play video1.flv
/playvideo.php?video=video2 would play video2.flv
/playvideo.php?video=video3 would play video3.flv

. . . etc

Thanks.

Progressive Download
I am very new at this. I am making a movie with three scenes. It will be self playing. The middle scene will have a short video the will progressive load. I used the netconnection code that i found on this site and it worked when i tested scene 2 only. However, when I played the entire movie, it played the audio from scene 2 and the images from scene three.

The video only takes up one frame in scene 2. Is that the problem? Or is there some code missing to tell it to not to play scene three yet?

Thanks

Progressive Download Of FLV
This is a followup question to my post of June 13 06.
I managed to create a progressive download FLV from my movie clip.
This particular FLV is password protected (only specific viewers can access this FLV).

Everything is working except when I test the swf file, I get the following error message: 1000: Unable to make connection to server or to find FLV on server. All of the files related to the FLV are in one folder. Is there some additional actionscript required that needs to be applied to the FLV, and is there some way that I can test the file (other than uploading to a server) in order to ensure it plays properly.

Thanks

Progressive Download Bar For Mp3 Player
im making an mp3 player for my site driven by an xml file...im wondering how i can make a progressive download bar for it...ive made an mp3 player before that loaded external mp3s, but it never had a download progress bar, they were just played after it loaded...i need these to stream...check it out at http://www.youdontevenknow.us, the orange bar is going to be the download progress, and the yellow is the playing progress

[F8] Progressive Download Script
I want to use component FLV playback from flash pro 8.

can you give me script for progressive download.

SHould I type instant name of FLV video in my_video.attach( )??

Preloader With Progressive Download?
How large should a videofile (flv) be before I should use a preloader? When using progressive download it seems like a 10mb(!) file starts playing immediately on a 1mbps broadband line.

Help Seeking A Progressive Download FLV
I have a built a mp3/video player. The scrub bar has a loaded bar that shows the amount that has been downloaded. That load bar has the mouse event that will update the playhead. The reason I chose the loadbar to have the mouse event is so a user cant seek past what is already loaded.
code:
function updateMediaPosition(e:MouseEvent):void
{
pBar.scrubber.width = e.localX * pBar.width;
vPos = e.localX * videoLength;
v.seek(vPos);
}


The code currently works playing locally since it loads right away. If I test it online, e.localX keeps changing until its fully loaded, therefore resulting in invalid seek times. Can anyone shed some light on this? Here is an example:

http://ronnieswietek.com/flashden/mp.../version5.html

FLV Progressive Download Player
i got this to work. im just trying to find out how to pause and resume...

before i just embedded the video (because my boss wanted that). after i convinced her that i MUST be able to use an external file, now i need the code to get the position to store, and then start again. i was thinking it probably works similar to the sound object, but i dont know.

any push in the right direction would be greatly appreciated!

Need Examples Of Progressive Download
I'm giving a presentation about the Progressive Download feature at a conference in a couple of weeks, and would like to show off some great examples. My examples are all higher education-related, and honestly not all that visually exciting. I think a little ooo-ing and ahh-ing would be a nice touch.

If you know for certain that progressive download is being used on a site, and don't mind if I link to it as an example, please post the link in this thread. I am especially interested in sites where the name-recognition is high, but open to pretty much anything, as long as it's presentable in a professional setting.

Thanks in advance!

IE Progressive Download Issue
Hi all,
Has anyone run into the following issue. It's fairly random and a real show stopper...

This only appears to happen in IE, both 6 and 7, and in both flashplayer 8 and 9.

I have a youtube like website that lets users watch a number of videos via progressive download. Sometimes in IE, flashplayer basically freezes while the entire FLV is downloaded, then it plays normally. Obviously, it should download the first few seconds then start playing. Not a whole lot of fancy code going on with my player. Just your basic progressive video player. (This problem happens on just a few systems)

In a similar project I noticed that if a large FLV (50+MB) was completely downloaded to temporary internet files in IE, the next time you access the video, IE freezes for several seconds while the large cached file is pulled from cache. (This problem was consistent across several computers and versions of IE)

Not sure if the two scenarios are related but worth noting. Anyone run into something like this or have any ideas? Also, one solution is to force a new file download each visit (by appending date string to video) but this defeats the purpose of caching.

Thanks in advance!
Joe

Progressive Download Question
If I have it correct, progressive download means that the server DL's data to the users computer while the file is being viewed.

If this is right, with NetStream and Video, is it possible to replay a video without redownloading the Video?

Help Seeking A Progressive Download FLV
I have a built a mp3/video player. The scrub bar has a loaded bar that shows the amount that has been downloaded. That load bar has the mouse event that will update the playhead. The reason I chose the loadbar to have the mouse event is so a user cant seek past what is already loaded.

ActionScript Code:
function updateMediaPosition(e:MouseEvent):void
{
    pBar.scrubber.width = e.localX * pBar.width;
    vPos = e.localX * videoLength;
    v.seek(vPos);
}

The code currently works playing locally since it loads right away. If I test it online, e.localX keeps changing until its fully loaded, therefore resulting in invalid seek times. Can anyone shed some light on this? Here is an example:

http://ronnieswietek.com/flashden/mp.../version5.html

Progressive Download Issues
Hello,

I've been fighting with this "progressive download" all night and it's time to break down and ask for help. I have followed several different help files and tutorials on this subject, but obviously I'm missing something.

I started with following this tut:
http://www.communitymx.com/content/article.cfm?page=1&cid=A93B648DECD7574E

I've upload the .FLV file to my server, Opened the Component Inspector and set the url of the flv video. Changed my publish settings to desired settings (Flash Player 7, Bottom up, AS 1.0, Protect from import, Omit Trace, Compress) and put the files on my server. And I get nothing. When I inspect the page further, the flv is not being called at all. I have an example of my project here:

http://mat.is-a-geek.com/mattest/progressive/Stream2.html

Any help would be greatly appreciated.
Regards,
MP

Streaming Vs Progressive Download
I am trying to find an answer to something that I posted to the "Flash Media Server" forum. That seems like the most relevant forum but gets a lot less traffic than the General forum.

Can anyone with streaming / pd experience provide any insight? Please post to the other forum...

I apologize if this is conidered cross-posting, but I have yet to see the preferred method of dealing with topics that fit under multiple forums. I have read lots of complaints of cross-posting, but no solutions. And "post and stick to it" as I have read on occasion is simply lame...

Abort Progressive Download
I am looking for a way to abort the "progressive download" of a flv file.

I am using a .swf to call in the flv source and assigning it to flvplybk through a flashvar. I am using a metadatareceived listener object to load the flashvars from param tags. The flv file is 150Meg. The flv is downloading no matter what occurs client side short of the computer being turned off. Destruction of the object programmatically has no effect. Any attempt by the client browser (IE7 or FF 2.0) to clear the cache results in complete system failure leading to hard reboot.

***Here is the actionscript***

import mx.video.*;
Stage.scaleMode = "noScale";

my_FLVPlybk.contentPath = _level0.myVideo;
my_FLVPlybk.skin = _level0.mySkin;
my_FLVPlybk.autoPlay = false;

var listenerObject:Object = new Object();
listenerObject.metadataReceived = function(eventObject:Object):Void {
my_FLVPlybk.width = _level0.myWidth;
my_FLVPlybk.height = _level0.myHeight;
my_FLVPlybk.skinAutoHide = false;
Stage.align = "TL";
Stage.width = _level0.myWidth;
Stage.height = _level0.myHeight;

}
my_FLVPlybk.addEventListener("metadataReceived", listenerObject);

***Here is the object embed code***

Progressive Download Not Working
This so weird. I have encoded many .mov and .avi videos using Flash Video Encoder with On2 VP6. I then upload the .flv to a webserver. I import the video selecting progressive download. I point the content path to the absolute url on the webserver , publish the project, upload the .swf and voila! enjoy a progressive download.

HOWEVER, now I have a file that insists on downloading completely before it can be played. Here is a link to a page containing 2 videos. Both were created using the exact same process. One downloads progressively, the other doesn't. http://www.pgtest.photonicsg.com/pmkt/podcasts/03page.htm The source files for both videos were Quicktime videos compressed the h264 codec.

Any ideas why this is happening?

Progressive Download Freeze Up
I have a betasite I am working on and I have a flv player on it. My movies are freezing up mid way and I get the Buffering Line animation.( Barber Pole) but I know the movie has completely loaded. Has anybody had experience with this?

please check out the beta and give advice. any would be appreciated. http://beta.opticflare.com/video/video_room.html

thanks
tw

Progressive Download And Sound
Hi. I've created a flash file with two buttons. One to play a sound and one to stop a sound. It loads in an mp3 using SWFObject. Thats all fine and it plays. But it plays fine in Firefox, but when I view it in IE the file sounds like the chipmonks are talking. Can anyone give me an idea as to why this is happening?

Thanks

Kieran

Progressive Download Issue
I asked this before and got no reply. Perhaps I wasn't being clear. I have a
flash file that is an flv video player. Presently it serves up 2 videos of
about 18mb each. I used the flv playback component to create the player and
they are served up using progressive download.

The problem is that the download seems to take over the browser and freezes
the page until the download is complete. If the user decides they want to
move on to another page before the download has finished, they must use the
back button as none of the page links will work until the video downloads
have completed. Is there any way in flv playback actionscript to allow for
an interruption of the progressive download if the user clicks on a link in
the page while the download is in progress?

Thanks
-mark

Progressive Download Not Playing
I am stuck. I have done this lots of times, but for some reason, my
progressive download flash video won't play on the server, but plays find on
my local IIS development server.

http://palmettogolfclub.net/test/test.html (ignore the blank 'images' --
just a test for the flash).

I have uploaded the swf, flv, /scripts directory&files but still I still
cannot see it.

Any advice on troubleshooting?


--
Tami Burke
Honey House Web Designs

FLV Progressive Download SeekNavCue
Hello! I have been working on this issue for a couple days now and cannot seem to find the resolution. I have a flash movie that includes three FLV files that are progressively downloaded. I have no problems playing them, but when I get to a certain point in one, I want to switch to the other, but start the second FLV at a certain cue point. The test works when I play from my hard drive, but Since the files are progressive download, they don't jump to the correct cue point when viewed online. Any suggestions on what I should try next? My code for the FLV switch is below:

This is on the first frame (checks to see if the root var is set to 1, if not then it should jump to a specific point in the FLV):

import mx.video.FLVPlayback;
var pam_vid:FLVPlayback;

if (_root.link == 1) {
pam_vid.play();
}

if (_root.link == 2) {
pam_vid.seekToNavCuePoint(repeatStory);
pam_vid.play();
}


This script is put on the last frame (detects when the video file is done playing, then jumps to frame 1 and checks the root var):

import mx.video.FLVPlayback;
stop();

//
var listenerObject:Object = new Object();
pam_back.addEventListener("cuePoint",listenerObject);
listenerObject.cuePoint = function(infoObject:Object):Void {
if(infoObject.info.name == "cue2"){
trace("cue2");
_root.link = 2;
gotoAndPlay(1);
}
}
//


thanks,
Christy

Copyright © 2005-08 www.BigResource.com, All rights reserved