ActiveDen

Full Screen video background template v2

Hi, very nice file. I want to set a default scan line value into the fla, without chooser (I removed it from the movie). How to?

Please take a look at the lines 265-266 , there you will find this code.

// load the first tile from the library , when the movie loads. 
var tile:BitmapData = BitmapData.loadBitmap('scan_lines_cross');

Replace the “scan_lines_cross” with another linkage identifier for the pattern ( inside the bitmaps folder , there are images of patterns and if you right click on them and choose “properties” you will see their names in the linkage property).

- For centering your external content, try after you load your content  to use my class for aligning elements on the stage.

Align.center(yourswf)

 

How can I stop the video on the last frame of the VIDEO ?

Find these lines , somewhere around line 401 (depends on the code editor you are using).

if (info.code== "NetStream.Play.Stop"){ // playback has stopped.         //videoHolder.clear();         //playMovie();      }

I want to loop one movie over and over , how can I do that?

find this line of code, around line 400

if (info.code == "NetStream.Play.Stop")
{
    // remove : playMovie();
    // remove : videoHolder.clear();

    //add
    ns.seek(0);

}

After refreshing the page, flash file fails to load properly.

This is the issue with the swfObject. You can fix it by changing this line of code in index html.

// original code.
swfobject.embedSWF('preview.swf' , 'myContent', '100%', '100%', '9.0.0',false,flashvars, params, attributes);

// changed code
swfobject.embedSWF('preview.swf?'+Math.round(Math.random()*10000) , 'myContent', '100%', '100%', '9.0.0',false,flashvars, params, attributes)
by
by
by
by
by