Stage.align = "LT";
// 플래시를 상단 왼쪽으로 이동합니다.
Stage.scaleMode = "noscale";
// 플래시 무비 크기를 고정합니다.
numOfMenu = 4;
// 메뉴 개수
_global.current = 1;
myURL = "";
// 로드할 swf 파일이 존재하는 절대주소를 입력하세요.
//메인이 되는 화면의 스테이지 크기
var mainW = 922;
var mainH = 350;
//로드되는 화면의 스테이지 크기
var subW = 922;
var subH = 350;
moveView();
prevBtn.onRelease = function() {
if (current == 1) {
_global.current = numOfMenu;
} else {
_global.current--;
}
moveView();
};
nextBtn.onRelease = function() {
if (current == numOfMenu) {
_global.current = 1;
} else {
_global.current++;
}
moveView();
};
function moveView() {
emptyMC.loadMovie(myURL+"swf/category2"+current+".swf");
pointBox.point._x = (current-1)*20;
pointBox.point._y = 0;
}
var that = this;
function moveSet(){
that.prevBtn._y = Stage.height/2;
that.nextBtn._y = that.prevBtn._y;
that.nextBtn._x = Stage.width-that.prevBtn._x;
that.bg._width = Stage.width;
that.bg._height = Stage.height;
that.emptyMC._x = Stage.width/2 - subW/2;
that.emptyMC._y = Stage.height/2 - subH/2;
if(Stage.width < 600){
that.emptyMC._x = 0;
}
if(Stage.height < 400){
that.emptyMC._y = 100;
}
trace(that.emptyMC._width);
that.llii._y = that.emptyMC._y;
}
myListener = new Object();
Stage.addListener(myListener);
myListener.onResize = function() {
moveSet();
/*
_root.onEnterFrame = function() {
myText._x += (Stage.width/2-myText._width/2-myText._x)/4;
myText._y += (Stage.height/2-myText._height/2-myText._y)/4;
// 창크기가 조절이 되면 텍스트의 위치를 창 위치에 맞도록 수정합니다.
};
//*/
};
addListener.onResize();
//moveSet();
소스는 이렇구요! 외부파일을 연동해서 클릭시 다음swf파일을 load하는데 클릭안하고
일정시간후엔 자동으로 넘어가게하는 기능도 하고 싶은데요!!
고수님들에 가르침 부탁드립니다
댓글 1개
1초 --> 1000
3초 --> 3000
callback_function(){
//todo
}
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 392 | ||
| 7929 | 9년 전 | 299 | ||
| 7928 | 9년 전 | 395 | ||
| 7927 | 9년 전 | 318 | ||
| 7926 | 9년 전 | 652 | ||
| 7925 | 9년 전 | 334 | ||
| 7924 | 9년 전 | 315 | ||
| 7923 | 9년 전 | 331 | ||
| 7922 | 9년 전 | 351 | ||
| 7921 | 9년 전 | 384 | ||
| 7920 | 9년 전 | 306 | ||
| 7919 | 9년 전 | 324 | ||
| 7918 | 9년 전 | 480 | ||
| 7917 | 9년 전 | 323 | ||
| 7916 | 9년 전 | 392 | ||
| 7915 | 9년 전 | 391 | ||
| 7914 | 9년 전 | 396 | ||
| 7913 | 9년 전 | 542 | ||
| 7912 | 9년 전 | 397 | ||
| 7911 | 9년 전 | 346 | ||
| 7910 | 9년 전 | 384 | ||
| 7909 | 9년 전 | 488 | ||
| 7908 | 9년 전 | 400 | ||
| 7907 | 9년 전 | 344 | ||
| 7906 | 9년 전 | 364 | ||
| 7905 | 9년 전 | 344 | ||
| 7904 | 9년 전 | 332 | ||
| 7903 | 9년 전 | 330 | ||
| 7902 | 9년 전 | 538 | ||
| 7901 |
|
9년 전 | 722 | |
| 7900 | 9년 전 | 556 | ||
| 7899 | 9년 전 | 360 | ||
| 7898 | 9년 전 | 364 | ||
| 7897 | 9년 전 | 321 | ||
| 7896 | 9년 전 | 341 | ||
| 7895 | 9년 전 | 448 | ||
| 7894 | 9년 전 | 366 | ||
| 7893 | 9년 전 | 306 | ||
| 7892 | 9년 전 | 360 | ||
| 7891 | 9년 전 | 740 | ||
| 7890 | 9년 전 | 1183 | ||
| 7889 | 9년 전 | 739 | ||
| 7888 |
limsy1987
|
9년 전 | 533 | |
| 7887 | 9년 전 | 523 | ||
| 7886 | 9년 전 | 415 | ||
| 7885 | 9년 전 | 386 | ||
| 7884 | 9년 전 | 389 | ||
| 7883 | 9년 전 | 378 | ||
| 7882 | 9년 전 | 413 | ||
| 7881 | 9년 전 | 417 | ||
| 7880 | 9년 전 | 543 | ||
| 7879 | 9년 전 | 439 | ||
| 7878 | 9년 전 | 1189 | ||
| 7877 | 9년 전 | 729 | ||
| 7876 | 9년 전 | 463 | ||
| 7875 | 9년 전 | 536 | ||
| 7874 |
|
9년 전 | 793 | |
| 7873 | 9년 전 | 499 | ||
| 7872 | 9년 전 | 650 | ||
| 7871 | 9년 전 | 462 | ||
| 7870 | 9년 전 | 593 | ||
| 7869 | 9년 전 | 406 | ||
| 7868 | 9년 전 | 418 | ||
| 7867 | 9년 전 | 401 | ||
| 7866 | 9년 전 | 469 | ||
| 7865 | 9년 전 | 426 | ||
| 7864 | 9년 전 | 496 | ||
| 7863 | 9년 전 | 492 | ||
| 7862 | 9년 전 | 449 | ||
| 7861 | 9년 전 | 610 | ||
| 7860 | 9년 전 | 606 | ||
| 7859 | 9년 전 | 388 | ||
| 7858 | 9년 전 | 687 | ||
| 7857 | 9년 전 | 1046 | ||
| 7856 | 9년 전 | 497 | ||
| 7855 | 9년 전 | 725 | ||
| 7854 | 9년 전 | 710 | ||
| 7853 | 9년 전 | 565 | ||
| 7852 | 9년 전 | 486 | ||
| 7851 | 9년 전 | 482 | ||
| 7850 | 9년 전 | 569 | ||
| 7849 | 9년 전 | 339 | ||
| 7848 | 9년 전 | 392 | ||
| 7847 | 9년 전 | 627 | ||
| 7846 | 9년 전 | 434 | ||
| 7845 | 9년 전 | 392 | ||
| 7844 | 9년 전 | 377 | ||
| 7843 | 9년 전 | 392 | ||
| 7842 | 9년 전 | 381 | ||
| 7841 | 9년 전 | 367 | ||
| 7840 | 9년 전 | 380 | ||
| 7839 | 9년 전 | 417 | ||
| 7838 | 9년 전 | 499 | ||
| 7837 | 9년 전 | 340 | ||
| 7836 | 9년 전 | 378 | ||
| 7835 | 9년 전 | 455 | ||
| 7834 |
|
9년 전 | 1179 | |
| 7833 | 9년 전 | 397 | ||
| 7832 | 9년 전 | 394 | ||
| 7831 | 9년 전 | 530 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기