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
}
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 3030 | 14년 전 | 1177 | ||
| 3029 |
|
14년 전 | 1297 | |
| 3028 | 14년 전 | 1047 | ||
| 3027 | 14년 전 | 856 | ||
| 3026 | 14년 전 | 1042 | ||
| 3025 |
마케팅메지션
|
14년 전 | 1162 | |
| 3024 | 14년 전 | 866 | ||
| 3023 | 14년 전 | 853 | ||
| 3022 |
|
14년 전 | 1227 | |
| 3021 | 14년 전 | 1023 | ||
| 3020 | 14년 전 | 915 | ||
| 3019 | 14년 전 | 1072 | ||
| 3018 | 14년 전 | 1242 | ||
| 3017 |
마케팅메지션
|
14년 전 | 942 | |
| 3016 |
|
14년 전 | 977 | |
| 3015 | 14년 전 | 670 | ||
| 3014 | 14년 전 | 889 | ||
| 3013 | 14년 전 | 1104 | ||
| 3012 | 14년 전 | 932 | ||
| 3011 | 14년 전 | 928 | ||
| 3010 | 14년 전 | 1148 | ||
| 3009 |
마케팅메지션
|
14년 전 | 1660 | |
| 3008 | 14년 전 | 590 | ||
| 3007 | 14년 전 | 1024 | ||
| 3006 |
마케팅메지션
|
14년 전 | 1003 | |
| 3005 |
마케팅메지션
|
14년 전 | 902 | |
| 3004 | 14년 전 | 884 | ||
| 3003 |
마케팅메지션
|
14년 전 | 996 | |
| 3002 | 14년 전 | 783 | ||
| 3001 | 14년 전 | 2011 | ||
| 3000 | 14년 전 | 780 | ||
| 2999 | 14년 전 | 1683 | ||
| 2998 | 14년 전 | 769 | ||
| 2997 |
|
14년 전 | 860 | |
| 2996 | 14년 전 | 948 | ||
| 2995 | 14년 전 | 897 | ||
| 2994 | 14년 전 | 1601 | ||
| 2993 |
마케팅메지션
|
14년 전 | 1013 | |
| 2992 |
마케팅메지션
|
14년 전 | 963 | |
| 2991 |
마케팅메지션
|
14년 전 | 1135 | |
| 2990 | 14년 전 | 974 | ||
| 2989 | 14년 전 | 797 | ||
| 2988 |
|
14년 전 | 946 | |
| 2987 | 14년 전 | 826 | ||
| 2986 | 14년 전 | 1040 | ||
| 2985 | 14년 전 | 587 | ||
| 2984 | 14년 전 | 970 | ||
| 2983 | 14년 전 | 969 | ||
| 2982 | 14년 전 | 911 | ||
| 2981 | 14년 전 | 836 | ||
| 2980 |
마케팅메지션
|
14년 전 | 1175 | |
| 2979 |
마케팅메지션
|
14년 전 | 909 | |
| 2978 |
|
14년 전 | 851 | |
| 2977 |
|
14년 전 | 877 | |
| 2976 | 14년 전 | 818 | ||
| 2975 | 14년 전 | 821 | ||
| 2974 | 14년 전 | 906 | ||
| 2973 | 14년 전 | 1299 | ||
| 2972 | 14년 전 | 685 | ||
| 2971 | 14년 전 | 737 | ||
| 2970 | 14년 전 | 906 | ||
| 2969 | 14년 전 | 919 | ||
| 2968 | 14년 전 | 781 | ||
| 2967 | 14년 전 | 1355 | ||
| 2966 | 14년 전 | 862 | ||
| 2965 |
|
14년 전 | 1093 | |
| 2964 | 14년 전 | 1485 | ||
| 2963 | 14년 전 | 960 | ||
| 2962 |
|
14년 전 | 986 | |
| 2961 |
|
14년 전 | 891 | |
| 2960 | 14년 전 | 841 | ||
| 2959 | 14년 전 | 1193 | ||
| 2958 | 14년 전 | 941 | ||
| 2957 |
|
14년 전 | 834 | |
| 2956 |
|
14년 전 | 1203 | |
| 2955 |
|
14년 전 | 2347 | |
| 2954 | 14년 전 | 941 | ||
| 2953 | 14년 전 | 1055 | ||
| 2952 |
senseme
|
14년 전 | 1189 | |
| 2951 |
뱌미3059
|
14년 전 | 905 | |
| 2950 |
|
15년 전 | 950 | |
| 2949 | 15년 전 | 1000 | ||
| 2948 | 15년 전 | 874 | ||
| 2947 |
|
15년 전 | 964 | |
| 2946 |
개발조각사
|
15년 전 | 2452 | |
| 2945 |
개발조각사
|
15년 전 | 1776 | |
| 2944 |
개발조각사
|
15년 전 | 6062 | |
| 2943 |
개발조각사
|
15년 전 | 1308 | |
| 2942 |
개발조각사
|
15년 전 | 1573 | |
| 2941 |
개발조각사
|
15년 전 | 1933 | |
| 2940 |
개발조각사
|
15년 전 | 3664 | |
| 2939 |
개발조각사
|
15년 전 | 2995 | |
| 2938 |
개발조각사
|
15년 전 | 2076 | |
| 2937 |
개발조각사
|
15년 전 | 1576 | |
| 2936 |
개발조각사
|
15년 전 | 4026 | |
| 2935 | 15년 전 | 1107 | ||
| 2934 | 15년 전 | 881 | ||
| 2933 | 15년 전 | 1057 | ||
| 2932 | 15년 전 | 983 | ||
| 2931 | 15년 전 | 980 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기