3个回答
展开全部
Stage.showMenu = false;
abc = "http://www.xxx.com/xxx/xxx/ab" + (random(14) + 1) + ".swf";
loadMovieNum(abc, 1);
Stage.showMenu = false;
//不显示菜单
abc = "http://www.xxx.com/xxx/xxx/ab" + (random(14) + 1) + ".swf";
//生成 “http://www.xxx.com/xxx/xxx/ab1~15.swf“的中的一个swf文件名,并赋于变量abc。
loadMovieNum(abc, 1);
//载入abc变量所指定的影片.
function bigPicMove()
{
var temp_numx;
var temp_numy;
var over_numx = (900 - Stage.width) / 2 + 40;
var over_numy = 325 - bigPicMc._height / 2;
bigPicMc.onEnterFrame = function ()
{
temp_numx = (over_numx - this._x) / 2;
temp_numy = (over_numy - this._y) / 2;
if (Math.abs(temp_numx) <= 0.080000 && Math.abs(temp_numy) <= 0.080000)
{
this._x = over_numx;
this._y = over_numy;
delete this["onEnterFrame"];
}
else
{
this._x = this._x + temp_numx;
this._y = this._y + temp_numy;
} // end if
};
} // End of the function
function smallPicMove()
{
var temp_numx;
var temp_numy;
var over_numx = Stage.width / 2 + 450 - smallPicMc._width - 38;
var over_numy = (650 - Stage.height) / 2 + 115;
smallPicMc.onEnterFrame = function ()
{
temp_numx = (over_numx - this._x) / 2;
temp_numy = (over_numy - this._y) / 2;
if (Math.abs(temp_numx) <= 0.080000 && Math.abs(temp_numy) <= 0.080000)
{
this._x = over_numx;
this._y = over_numy;
delete this["onEnterFrame"];
}
else
{
this._x = this._x + temp_numx;
this._y = this._y + temp_numy;
} // end if
};
} // End of the function
System.useCodepage = true;
Stage.scaleMode = "noScale";
getURL("FSCommand:allowscale", false);
var stageListener = new Object();
stageListener.onResize = function ()
{
smallPicMove();
bigPicMove();
};
Stage.addListener(stageListener);
var nowAlbum = _global.albumName;
ssp.xmlFileType = "Director";
ssp.xmlFilePath = "photo/images.php?album=" + nowAlbum;
ssp.directorLargeImageSettings = [85, 1, 100];
ssp.directorThumbImageSettings = [80, 2];
ssp.navLinkPreviewSize = [50, 50];
ssp.navLinkPreviewScale = "Crop to Fit";
ssp.displayMode = "Manual";
ssp.width = 630;
ssp.height = 630;
ssp._visible = false;
var sspListener = new Object();
var theArr = new Object();
var albumArr = new Object();
var lgPath;
var tnPath;
var albumCount;
var albumID;
var thumbLdr = new MovieClipLoader();
var largeLdr = new MovieClipLoader();
sspListener.onGalleryData = function (eventObject)
{
theArr = eventObject.data;
};
ssp.addEventListener("onGalleryData", sspListener);
sspListener.onAlbumData = function (eventObject)
{
albumArr = eventObject.data;
lgPath = albumArr.lgpath;
tnPath = albumArr.tnpath;
albumCount = albumArr.totalImages;
smallPicMc.createThumb(albumCount);
smallPicMc.titleText = theArr[0][1][0].title;
bigPicMove();
smallPicMove();
play();
};
ssp.addEventListener("onAlbumData", sspListener);
stop();
abc = "http://www.xxx.com/xxx/xxx/ab" + (random(14) + 1) + ".swf";
loadMovieNum(abc, 1);
Stage.showMenu = false;
//不显示菜单
abc = "http://www.xxx.com/xxx/xxx/ab" + (random(14) + 1) + ".swf";
//生成 “http://www.xxx.com/xxx/xxx/ab1~15.swf“的中的一个swf文件名,并赋于变量abc。
loadMovieNum(abc, 1);
//载入abc变量所指定的影片.
function bigPicMove()
{
var temp_numx;
var temp_numy;
var over_numx = (900 - Stage.width) / 2 + 40;
var over_numy = 325 - bigPicMc._height / 2;
bigPicMc.onEnterFrame = function ()
{
temp_numx = (over_numx - this._x) / 2;
temp_numy = (over_numy - this._y) / 2;
if (Math.abs(temp_numx) <= 0.080000 && Math.abs(temp_numy) <= 0.080000)
{
this._x = over_numx;
this._y = over_numy;
delete this["onEnterFrame"];
}
else
{
this._x = this._x + temp_numx;
this._y = this._y + temp_numy;
} // end if
};
} // End of the function
function smallPicMove()
{
var temp_numx;
var temp_numy;
var over_numx = Stage.width / 2 + 450 - smallPicMc._width - 38;
var over_numy = (650 - Stage.height) / 2 + 115;
smallPicMc.onEnterFrame = function ()
{
temp_numx = (over_numx - this._x) / 2;
temp_numy = (over_numy - this._y) / 2;
if (Math.abs(temp_numx) <= 0.080000 && Math.abs(temp_numy) <= 0.080000)
{
this._x = over_numx;
this._y = over_numy;
delete this["onEnterFrame"];
}
else
{
this._x = this._x + temp_numx;
this._y = this._y + temp_numy;
} // end if
};
} // End of the function
System.useCodepage = true;
Stage.scaleMode = "noScale";
getURL("FSCommand:allowscale", false);
var stageListener = new Object();
stageListener.onResize = function ()
{
smallPicMove();
bigPicMove();
};
Stage.addListener(stageListener);
var nowAlbum = _global.albumName;
ssp.xmlFileType = "Director";
ssp.xmlFilePath = "photo/images.php?album=" + nowAlbum;
ssp.directorLargeImageSettings = [85, 1, 100];
ssp.directorThumbImageSettings = [80, 2];
ssp.navLinkPreviewSize = [50, 50];
ssp.navLinkPreviewScale = "Crop to Fit";
ssp.displayMode = "Manual";
ssp.width = 630;
ssp.height = 630;
ssp._visible = false;
var sspListener = new Object();
var theArr = new Object();
var albumArr = new Object();
var lgPath;
var tnPath;
var albumCount;
var albumID;
var thumbLdr = new MovieClipLoader();
var largeLdr = new MovieClipLoader();
sspListener.onGalleryData = function (eventObject)
{
theArr = eventObject.data;
};
ssp.addEventListener("onGalleryData", sspListener);
sspListener.onAlbumData = function (eventObject)
{
albumArr = eventObject.data;
lgPath = albumArr.lgpath;
tnPath = albumArr.tnpath;
albumCount = albumArr.totalImages;
smallPicMc.createThumb(albumCount);
smallPicMc.titleText = theArr[0][1][0].title;
bigPicMove();
smallPicMove();
play();
};
ssp.addEventListener("onAlbumData", sspListener);
stop();
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
AiPPT
2024-09-19 广告
2024-09-19 广告
随着AI技术的飞速发展,如今市面上涌现了许多实用易操作的AI生成工具1、简介:AiPPT: 这款AI工具智能理解用户输入的主题,提供“AI智能生成”和“导入本地大纲”的选项,生成的PPT内容丰富多样,可自由编辑和添加元素,图表类型包括柱状图...
点击进入详情页
本回答由AiPPT提供
2013-07-17
展开全部
图片的中心点在画出来之后是不会动的,肯定是你报告团动图片的时候移动了。只有将中心点再移回去了。或者利用“信息”这个功能。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-07-17
展开全部
用脚本实现.......
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询