Frame 50
stop();
Symbol 11 MovieClip [holder] Frame 1
holder_down.setMask(masc);
Symbol 36 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 37 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 38 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 39 MovieClip [__Packages.incarcator_mc] Frame 0
class incarcator_mc
{
var incarcator, ascultator;
function incarcator_mc (nume_film, holder, text_percent, are_text) {
incarcator = new MovieClipLoader();
ascultator = new Object();
ascultator.onLoadStart = function () {
if (text_percent != undefined) {
text_percent._visible = true;
}
};
ascultator.onLoadProgress = function (target, bytesLoaded, bytesTotal) {
this.percent = Math.round((bytesLoaded / bytesTotal) * 100);
if (text_percent != undefined) {
if (are_text == true) {
text_percent.percent_txt.text = this.percent + "%";
}
}
};
ascultator.onLoadInit = function (target) {
if (text_percent != undefined) {
text_percent._visible = false;
}
if (text_percent != undefined) {
text_percent._visible = false;
}
};
incarcator.loadClip(String(nume_film), holder);
incarcator.addListener(ascultator);
}
}
Symbol 40 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 41 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 21 Button
on (release) {
getURL ("steve.html", "_self");
}
Symbol 22 MovieClip Frame 40
stop();
Symbol 27 Button
on (release) {
stopAllSounds();
}
Symbol 28 Button
on (release) {
stopAllSounds();
gotoAndStop (41);
}
Symbol 30 Button
on (release) {
gotoAndPlay (39);
}
Symbol 31 MovieClip Frame 39
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_hollywood2", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.hollywood2 = new Sound(this._parent.BS_hollywood2);
} else {
this.createEmptyMovieClip("_hollywood2_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.hollywood2 = new Sound(this.BS_hollywood2);
}
_global.Behaviors.Sound.hollywood2.attachSound("hollywood2");
_global.Behaviors.Sound.hollywood2.start(0, 1);
Symbol 31 MovieClip Frame 40
stop();
Symbol 31 MovieClip Frame 41
stop();
Symbol 35 MovieClip Frame 1
function init() {
var _local2 = 0;
while (_local2 < numOfItems) {
var _local3 = this.attachMovie("holder", "holder" + _local2, _local2, {_xscale:Xscale, _yscale:Yscale, _alpha:30, id:_local2});
new incarcator_mc(myXML.firstChild.childNodes[_local2].childNodes[0].firstChild, _local3.holder_up.holder.hold, _local3.holder_up.loader, true);
new incarcator_mc(myXML.firstChild.childNodes[_local2].childNodes[0].firstChild, _local3.holder_down.holder);
titlu[_local2] = myXML.firstChild.childNodes[_local2].childNodes[1].firstChild.nodeValue;
continut[_local2] = myXML.firstChild.childNodes[_local2].childNodes[2].firstChild.nodeValue;
_local3.angle = _local2 * ((Math.PI*2) / numOfItems);
_local3.onEnterFrame = mx.utils.Delegate.create(this, out, over, pressd);
_local3.onEnterFrame = mover;
_local3.holder_up.holder.onRollOver = over;
_local3.holder_up.holder.onRollOut = (_local3.holder_up.holder.onReleaseOutside = out);
_local3.holder_up.holder.onPress = pressd;
trace(_local3);
_local2++;
}
}
function mover() {
this._x = (Math.cos(this.angle) * radiusX) + centerX;
this._y = (Math.sin(this.angle) * radiusY) + centerY;
var _local3 = (this._y - Xscale) / ((centerY + radiusY) - Xscale);
this._xscale = (this._yscale = _local3 * Xscale);
this.angle = this.angle + (((_xmouse - (_parent._width / 2)) / 100) * speed);
this.swapDepths(Math.round(this._xscale + 100));
}
function over() {
var _local3 = this._parent._parent._parent;
var _local2 = 0;
while (_local2 < numOfItems) {
if (_local2 == this._parent._parent.id) {
if (pressdTxt == false) {
titlu_mc.titlu_mc1.titlu_txt.text = titlu[this._parent._parent.id];
new mx.transitions.Tween(titlu_mc.titlu_mc1, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 0.5, true);
new mx.transitions.Tween(titlu_mc.titlu_mc2, "_alpha", mx.transitions.easing.Regular.easeOut, 100, 0, 0.5, true);
pressdTxt = true;
} else if (pressdTxt == true) {
titlu_mc.titlu_mc2.titlu_txt.text = titlu[this._parent._parent.id];
new mx.transitions.Tween(titlu_mc.titlu_mc2, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 0.5, true);
new mx.transitions.Tween(titlu_mc.titlu_mc1, "_alpha", mx.transitions.easing.Regular.easeOut, 100, 0, 0.5, true);
pressdTxt = false;
}
new mx.transitions.Tween(_local3["holder" + this._parent._parent.id], "_alpha", mx.transitions.easing.Regular.easeOut, _local3["holder" + this._parent._parent.id]._alpha, 100, 0.5, true);
} else {
new mx.transitions.Tween(_local3["holder" + _local2], "_alpha", mx.transitions.easing.Regular.easeOut, _local3["holder" + _local2]._alpha, 30, 0.5, true);
}
_local2++;
}
}
function out() {
var _local3 = this._parent._parent._parent;
var _local2 = 0;
while (_local2 < numOfItems) {
new mx.transitions.Tween(_local3["holder" + _local2], "_alpha", mx.transitions.easing.Regular.easeOut, _local3["holder" + _local2]._alpha, 100, 0.5, true);
titlu_mc.titlu_mc1.titlu_txt.text = "rollover a film";
titlu_mc.titlu_mc2.titlu_txt.text = "rollover a film";
_local2++;
}
}
function pressd() {
var _local2 = this._parent._parent._parent;
var _local3 = this;
trace(continut[this._parent._parent.id]);
getURL (continut[this._parent._parent.id], "_self");
}
info._visible = false;
var Xscale = 50;
var Yscale = 50;
var radiusX = 340;
var radiusY = 100;
var centerX = 382;
var centerY = 280;
var speed = 0.005;
var numOfItems = 10;
var referinta = this;
var titlu = new Array();
var continut = new Array();
var presd = "1";
var pressdTxt = false;
var myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function () {
intrari_totale = this.firstChild.childNodes.length;
numOfItems = intrari_totale;
init();
};
myXML.load("contentc.xml");