Forum Moderators: open

Message Too Old, No Replies

what is the real url for this flash

         

syatt

1:26 am on Jun 9, 2006 (gmt 0)

10+ Year Member



Hi

Any one can help me with finding the real url of the flash from the following action scirpt? and how to download it? Thanks

// Action script...

// [onClipEvent of sprite 73 in frame 2]
onClipEvent (enterFrame)
{
this.onRollOver = function ()
{
trace("on hover");
this._parent.Slider._alpha = 100;
};
this.onRollOut = function ()
{
trace("off hover");
this._parent.Slider._alpha = 0;
};
}

// [Action in Frame 1]
_root.select = "episode_01";
_root.videotype = "streaming";
_root.appurl = "abcasiapacific/livingenglish";

my_video.clear();
netStream4c.play(false);
netStream4c.close();
netStream4c.onStatus = null;
abccon_nc.close();
abccon_nc.onStatus = null;
Slider.seeking.gotoAndStop(1);
stop();

// [Action in Frame 2]
function endmoveintro()
{
trace("at endmoveintro");
stopDrag();
if (this.Slider.frameScrubber._x >= 304)
{
_root.movieend();
}
else
{
this.netStream4c.seek(this.Slider.frameScrubber._x / 304 * _root.moviedur);
} // end if
_root.mydrag = "No";
_root.slidereset = 1;
} // End of the function
function movieend()
{
_root.gotoAndStop(1);
} // End of the function

function playStream()
{
buffertext.gotoAndStop(1);
netStream4c = new NetStream(abccon_nc);
my_video.attachVideo(netStream4c);
netStream4c.onStatus = function (infoObject)
{
if (infoObject.code == "NetStream.Play.Start")
{
buffertext.gotoAndPlay(2);
Slider.seeking.gotoAndPlay(2);
} // end if
};
netStream4c.setBufferTime(5);
netStream4c.play(streamName2);
if (infoObject.newseektime >= 1 && infoObject.prevvideo!= "yes")
{
netStream4c.seek(infoObject.newseektime);
delete infoObject["newseektime"];
} // end if
netStream4c.onMetaData = function (obj)
{
_root.moviedur = Number(obj.duration) - 1;
};
} // End of the function
_root.videoplaying = _root.select;
trace("video playing-" + _root.videoplaying);
_root.soundcontrol = new Sound(my_video);
abccon_nc = new NetConnection();
streamName2 = _root.videoplaying;
abccon_nc.onStatus = function (info)
{
var _l1 = info.code;
if (_l1 == "NetConnection.Connect.Success")
{
playStream();
}
else if (_l1 == "NetConnection.Connect.Rejected")
{
errormsg.gotoAndStop(3);
abccon_nc.onStatus = null;
}
else if (_l1 == "NetConnection.Connect.Closed")
{
errormsg.gotoAndStop(2);
}
else if (_l1 == "NetConnection.Connect.Failed")
{
errormsg.gotoAndStop(2);
} // end if
};
if (_level0.videotype == "local")
{
streamName2 = "video/" + _root.videoplaying + ".flv";
abccon_nc.connect(null);
}
else if (_root.videotype == "streaming")
{
abccon_nc.connect("rtmpt://flash.abc.net.au:80/" + _root.appurl);
} // end if
stop();

oxbaker

1:51 am on Jun 9, 2006 (gmt 0)

10+ Year Member



your saying you want the video at this url?

rtmpt://flash.abc.net.au:80/?

why not email them and ask them for it. Chances are if your supposed to have it, they'd give it to you.

syatt

3:49 am on Jun 9, 2006 (gmt 0)

10+ Year Member



Thanks buddy. I'd tried this url rtmpt://flash.abc.net.au/abcasiapacific/livingenglish/video/episode_01.flv
but couldn't download the file. Just don't know why.