Posted
Filed under Action Script

[Flash] /attachment/1097207770.swf



stop();
//환경 설저
var line_count:Number =3 ; //선 개수 총 3일 경우 점 6개 성성됨 aa0 ~ aa5;
var id:Number=0;
var temp:MovieClip=null;
var lineptr:MovieClip=null;


for(var i:Number=0; i<line_count; i++){
 this["aa"+ i].loc=-1;
 
 this["aa"+ i].onRelease=function(){
  create_line_object(this);
 }
 //group 설정
 this["aa"+ i].ngroup=i;
 
 //대상 group 설정
 this["aa"+ ((line_count)+i)].loc=-1;
 this["aa"+ ((line_count)+i)].ngroup = i;
 this["aa"+ ((line_count)+i)].onRelease=function(){
  line_to_line(this);
 }
}

function line_to_line(mc:MovieClip){
 if(temp.Status=="on" &&  temp.ngroup == mc.ngroup){
  trace("동일그룹");
  //이벤트 처리
 
 }else{
  trace("서로다른그룹");
  //이벤트 처리
 
 // remove_object(temp);
 // remove_ojbect(lineptr);
 }
 
 if(mc.loc==-1 &&  temp.Status=="on" &&  temp.ngroup == mc.ngroup ){
   
   this["aa"+temp.anum].loc = mc._name.substr(2,3);
   
   mc.loc = this["aa"+temp.anum]._name.substr(2,3);
   
   Mouse.show();
   lineptr=null;
   temp.onMouseMove=null;
   temp.null;
   temp.Status="off";
  }//inner if end
 
  if(is_line_draw_complate()==true){
   if(_check()==true){
    trace("complate");
    mx.behaviors.DepthControl.bringToFront(answer_0);
    answer_0.gotoAndPlay(2);
   }else{
    trace("try_again");
    mx.behaviors.DepthControl.bringToFront(answer_x);
    answer_x.gotoAndPlay(2);
   }
 
   //이벤트 풀어버리기
   for(var i:Number=0; i<line_count; i++){
    this["aa"+ i].onRelease=this["aa"+ ((line_count)+i)].onRelease=false;
   }
  }//inner if end
 }


function create_line_object(mc:MovieClip){
 if(temp.Status=="on"){
 
 }else{
  if(mc.loc==-1){
   duplicate_object(mc);
  }
 }
}


function remove_object(mc:MovieClip){
 trace("객체 삭제:"+mc);
 mc.onMouseMove=null;
 removeMovieClip(mc._name);
 Mouse.show();
}


function duplicate_object(mc:MovieClip){
 temp = mc.duplicateMovieClip("mc"+id,++id);
 temp.ngroup = mc.ngroup;
 temp.Status = "on";
 temp.anum = Number(mc._name.substr(2,3));
 Mouse.hide();
 
 temp.onMouseMove = function() {
  this._x = this._parent._xmouse;
  this._y = this._parent._ymouse;
 // lineptr.moveTo(_xmouse - Number(lineptr._x) ,_ymouse-Number(lineptr._y)); //y좌표
  lineptr.clear();
  lineptr=null;
  crate_line();
  lineptr.lineTo(_xmouse - Number(lineptr._x) ,_ymouse-Number(lineptr._y)); //x좌표;
  lineptr.moveTo(0,0);
 };
}


//라인생성
function crate_line(){
 trace("temp:"+temp.anum);
 this.Mouse.show();
 lineptr=this.createEmptyMovieClip("line_mc", ++id);
 lineptr.lineStyle(5, 0xff00ff, 50, true, "normal", "square", "miter", 1);
 lineptr._currentx = lineptr._x=this["aa"+temp.anum]._x;
 lineptr._currenty =lineptr._y=this["aa"+temp.anum]._y;
}


//정답 체크

function _check():Boolean{
 var retval:Boolean=false;
 for(var i:Number=0; i<line_count; i++){
  trace("target_group:" + this["aa"+this["aa"+i].loc].ngroup );
  if(this["aa"+this["aa"+i].loc].ngroup == this["aa"+i].ngroup){
   retval = true;
  }else{
   retval = false;
   break;
  }
 }
 return retval;
}

function is_line_draw_complate():Boolean{
 var retval:Boolean=false;
 for(var i:Number=0; i<line_count; i++){
  if(this["aa"+i].loc!=-1){
   retval = true;
  }else{
   retval = false;
   break;
  }
 }
 return retval;
}

2009/10/01 11:34 2009/10/01 11:34
Posted
Filed under Action Script
function _check():Boolean{
 var retval:Boolean=false;
 //정답의 단어가 문장에 포함 되어 있는지 비교
 var temp:String="";
 for(var i:Number=0; i<_global.troot.tbox.txt.text.length; i++){
    _temp = _global.troot.tbox.txt.text.substr(i,_result[_global.troot.id].length);
   
  if(_temp ==_result[_global.troot.id] ){
   _global.troot.temp[_global.troot.id] =_global.troot.tbox.txt.text;
   retval =true;
   break;
  }
 }
 return retval;
}
2009/08/27 19:51 2009/08/27 19:51
Posted
Filed under Action Script
//배열 특정 위치 값 제거하기
function array_slice(target_array:Array, target_num:Number){
 for(var i=0; i<target_array.length; i++){
   if(i==target_num){
    target_array.splice(i,1);
   }
 }
}
2009/08/19 11:52 2009/08/19 11:52
Posted
Filed under Action Script
[actions script 2.0 ] 라이브러리에서
rand 7 일 경우 0에서 7 까지 생성

function get_srand(randNum:Number){
 return Math.floor(Math.random() * randNum);
}
2009/08/19 11:14 2009/08/19 11:14
Posted
Filed under Action Script

  
 Advertise|About us|Site map|Syndicate|Search site|Mailing list|View Authors|Become an Author Home  Tutorials  Forums  Articles  Blogs  Movies  Library  Employment  Press  Buy templates
 
 
   home » actionscript library » Search Results
   
 


 Search Results
Your search returned 0 categories and 8 Scripts Actionscripts: 


 Tab control for flash email form 
 
Selection.setFocus("_level0.name");
stop();

// sets tab order down the page of text fields
on (keyPress "<Tab>") {
        if (Selection.getFocus() == "_level0.name") {
                Selection.setFocus("_level0.email");
        } else if (Selection.getFocus() == "_level0.email") {
                Selection.setFocus("_level0.comments");
        } else if (Selection.getFocus() == "_level0.comments") {
                Selection.setFocus("_level0.name");
        }
}


Posted by: Flash Harry | website http://www.webdesignlab.co.uk 
 
 
 
 Setting TextFields to listen for 
 
//Function by missing-link

//create the function with the TextField object, and give it a single parameter
TextField.prototype.setEnterDetection=function(enterFunction){
        //when the text field is selected, it will get the current focus to compare later
        this.onSetFocus=function(){
                tempFocus=Selection.getFocus();
        }
       
        //then, if a key is pressed, this function is run
        this.onKeyDown=function(){
                //if the current focus is on the this textfield
                if(Selection.getFocus()==tempFocus){
                        //if the key pressed was the "enter" key
                        if(Key.isDown(Key.ENTER)){
                                //run the function to be called
                                eval(enterFunction)()
                               
                        }
                }
        }
        //!!!Must add the listener to this object
        Key.addListener(this);
}


Posted by: missing-link | website http://www.evolutionar-e.com 
 
 
 
 Table maker 
 
/////////////////////////////////////////
/////////// CREATE TABLE ////////////////
/////////////////////////////////////////
var tableFormat:TextFormat = new TextFormat();
var tableFormat2:TextFormat = new TextFormat();
tableFormat.font = "_sans";
tableFormat.size = 11;
tableFormat.align = "center";
tableFormat2.bold = true;
tableFormat2.font = "_sans";
tableFormat2.align = "center";
//
this.createTextField("columns_txt", 1, 5, 10, 50, 20);
columns_txt.type = "input";
columns_txt.border = true;
columns_txt.background = true;
columns_txt.text = "3";
//
columns_txt.setTextFormat(tableFormat);
//
columns_txt.onSetFocus = function() {
        columns_txt.text = "";
};
columns_txt.onChanged = function() {
        columns_txt.setTextFormat(tableFormat);
};
//
space = 5;
this.createEmptyMovieClip("tbaleMakerHolder_mc", _root.getNextHighestDepth());
makeHeaders = function () {
        columns_txt.setTextFormat(tableFormat);
        _root.createTextField("rowNum_txt", _root.getNextHighestDepth(), space, 40, 50, 20);
        _root.rowNum_txt.type = "input";
        _root.rowNum_txt.background = true;
        _root.rowNum_txt.border = true;
        _root.rowNum_txt.text = "5";
        rowNum_txt.setTextFormat(tableFormat);
        c = Number(columns_txt.text);
        function doThis() {
                setColumnFunction(c, _root.rowNum_txt);
        }
        if (c != NaN) {
                for (i = 0; i < c; i++) {
                        _root.createTextField("columnHeader" + i, _root.getNextHighestDepth(), (100 * i) + space, space, 90, 20);
                        _Hdr = _root["columnHeader" + i];
                        _Hdr.type = "input";
                        _Hdr.border = true;
                        _Hdr.background = true;
                        _Hdr.html = true;
                        _Hdr.htmlText = "true";
                        _Hdr.text = "Clmn " + Number(i + 1) + " Hdr";
                        _Hdr.setTextFormat(tableFormat2);
                        setHandlers(_Hdr, tableFormat2);
                        _root.header_array.push(_Hdr.text);
                }
                //after column titles have displayed:
                _root.columns_txt.removeTextField();
        }
        makeButton("Add Number of Rows", doThis, 5, 65);
};
//
function setColumnFunction(_c, _txt) {
        _txt.onSetFocus = function() {
                _txt.text = "";
        };
        //_txt.onChanged = function() {
        r = Number(_txt.text);
        _r = 0;
        __c = 0;
        totalRC = r * _c;
        for (z = 0; z < totalRC; z++) {
                _root.createTextField("field_" + __c + "_" + _r, _root.getNextHighestDepth(), (100 * _r) + space, (30 * __c) + (space * 7), 90, 20);
                _T = _root["field_" + __c + "_" + _r];
                _T.type = "input";
                _T.border = true;
                _T.background = true;
                _T.html = true;
                _T.htmlText = "true";
                _T.text = "R " + Number(__c + 1) + " : C " + Number(_r + 1);
                _T.setTextFormat(tableFormat);
                setHandlers(_T, tableFormat);
                __c++;
                if (__c > r - 1) {
                        __c = 0;
                        _r++;
                }
                currentX = _T._x;
                currentY = _T._y;
        }
        //after all is done:
        _txt.removeTextField();
        makeButton("Make A Nice Table", makeTable, 5, currentY + 30);
        //};
}
//
function setHandlers(t, f) {
        t.onSetFocus = function() {
                t.text = "";
                //trace(this);
        };
        t.onChanged = function() {
                t.setTextFormat(f);
        };
        t.onKillFocus = function() {
        };
}
//
var header_array:Array = new Array();
//
//
//
//
//
//
//
//
/////////////////////////////////////////
/////////// POST TABLE //////////////////
/////////////////////////////////////////
//Output
columnSpace = 100;
function makeTable() {
        //make hearders
        traceOutput();
        //function makeOutPut() {
        var tableFormat:TextFormat = new TextFormat();
        _root.createTextField("table_txt", 1, 20, 350, 1100, 600);
        table_txt.wordWrap = true;
        table_txt.multiline = true;
        table_txt.html = true;
        tableFormat.font = "_sans";
        //
        rowHeaders = "";
        for (ttl = 0; ttl < c; ttl++) {
                thisHeader = _root["columnHeader" + ttl];
                rowHeaders += "<b>" + thisHeader.text + "\t</b>";
        }
        rowHeaders += "";
        var _rowHeaders = rowHeaders;
        //make rows
        for (rowNum = 0; rowNum < r; rowNum++) {
                var thisRow = "";
                for (col = 0; col < c; col++) {
                        thisField = _root["field_" + rowNum + "_" + col];
                        //trace(thisField.text);
                        thisRow += thisField.text + "\t";
                }
                if (rows_init != true) {
                        rows_init = true;
                        rows = thisRow + "" + newline;
                } else {
                        rows += thisRow + "" + newline;
                }
        }
        var _rows = rows;
        //make column spacing
        cSpace = "<textformat tabstops='[";
        for (cS = 0; cS < c; cS++) {
                if (cS < c - 1) {
                        cSpace += (Number((cS + 1) * columnSpace)) + ",";
                } else {
                        cSpace += (Number((cS + 1) * columnSpace));
                }
        }
        cSpace += "]'>";
        _cSpace = cSpace;
        //
        table_txt.htmlText += _cSpace;
        table_txt.htmlText += _rowHeaders;
        table_txt.htmlText += _rows;
        table_txt.htmlText += "</textformat>";
        table_txt.setTextFormat(tableFormat);
}
//
function traceOutput() {
        //c comes from set tables as
        rowHeaders = "\"";
        for (ttl = 0; ttl < c; ttl++) {
                thisHeader = _root["columnHeader" + ttl];
                rowHeaders += "<b>" + thisHeader.text + "\t</b>";
        }
        rowHeaders += "\"";
        ttl_init = false;
        for (rowNum = 0; rowNum < r; rowNum++) {
                var thisRow = "";
                for (col = 0; col < c; col++) {
                        thisField = _root["field_" + rowNum + "_" + col];
                        //trace(thisField.text);
                        thisRow += thisField.text + "\\" + "t";
                }
                if (rows_init != true) {
                        rows_init = true;
                        rows = "table_txt.htmlText +=\"" + thisRow + "\";" + newline;
                } else {
                        rows += "table_txt.htmlText +=\"" + thisRow + "\";" + newline;
                }
        }
        rows_init = false;
        cSpace = "table_txt.htmlText = \"<textformat tabstops='[";
        for (cS = 0; cS < c; cS++) {
                if (cS < c - 1) {
                        cSpace += (Number((cS + 1) * columnSpace)) + ",";
                } else {
                        cSpace += (Number((cS + 1) * columnSpace));
                }
        }
        cSpace += "]'>\";";
        outPut = "var tableFormat:TextFormat = new TextFormat();" + newline;
        outPut += "this.createTextField(\"table_txt\", 1, 0, 0, 800, 600);" + newline;
        outPut += "table_txt.wordWrap = true;" + newline;
        outPut += "table_txt.multiline = true;" + newline;
        outPut += "table_txt.html = true;" + newline;
        outPut += "tableFormat.font = \"_sans\";" + newline;
        outPut += cSpace + newline;
        outPut += "table_txt.htmlText +=" + rowHeaders + ";" + newline;
        outPut += rows;
        outPut += "table_txt.htmlText += \"</textformat>\";" + newline;
        outPut += "table_txt.setTextFormat(tableFormat);";
        trace(outPut);
}
//
function makeButton(_nm, _fncn, X, Y) {
        removeMovieClip(_root.button);
        _root.createEmptyMovieClip("button", _root.getNextHighestDepth());
        var btnTxt_frmt:TextFormat = new TextFormat();
        btnTxt_frmt.font = "_sans";
        btnTxt_frmt.size = 11;
        btnTxt_frmt.bold = true;
        btnTxt_frmt.align = "left";
        button.createTextField("button_txt", 1, 5, 5, 1000, 25);
        button.button_txt.text = _nm;
        tX = button.button_txt.textWidth + 30;
        button.button_txt.setTextFormat(btnTxt_frmt);
        button.beginFill(0x0000ff, 30);
        button.lineStyle(.5, 0xff0000, 100);
        button.moveTo(0, 0);
        button.lineTo(tX, 0);
        button.lineTo(tX, 25);
        button.lineTo(0, 25);
        button.lineTo(0, 0);
        button.endFill();
        button._x = X;
        button._y = Y;
        button.onPress = function() {
                _fncn();
        };
}
makeButton("Add Number of Columns", makeHeaders, 5, 35);

Posted by: John Glynn | website http://www.leadminepond.com 
 
 
 
 TextField.prototype.numberOnly 
 
TextField.prototype.numberOnly = function() {
        this.onChanged = function() {
                lastInput  = this.text.length-1
                cValue   = this.text.charCodeAt(lastInput)
                if(cValue < 48 || cValue > 57) {
                        trace("illegal character: "+cValue);
                        trace("removed: "+this.text.charAt(lastInput));
                        this.text = this.text.substring(0,this.text.length-1);
                } else {
                        trace("allowed character: "+cValue);
                        trace("substring: "+this.text.charAt(lastInput)+","+lastInput)
                }
        }
       
}

// FLASHMX - SHiZNiT@ef/#FLASH
//
// create textfield
createTextField("myInput", depth++,0,0,100,21);
myInput.border = true;
myInput.type = "input";
myInput.numberOnly();

// set focus
Selection.setFocus(field)


Posted by: SHiZNiT | website http://www.developemental.com 
 
 
 
 Copy the contents of one textfield and paste them into another 
 
onClipEvent (enterFrame) {
        if (Key.isDown(17) && Key.isDown(67)) {
                Selection.setFocus("_root.text") && Selection.setFocus("_root.text2");
        } else if (Key.isDown(17) && Key.isDown(86)) {
                Selection.setFocus("_root.text2");
                _root.text2 = _root.text;
        }
}

First the user presses control C to copy, then control V to paste to a textfield.
The above example works in HTML and gets around the focus problem by setting the focus at the begining.

Unfortuanately it's not very practical as it doesn't set the focus on the first textfield properly. Maybe when I've a little more time I'll try and work it out.
Posted by: No name | website http:// 
 
 
 
 Make the TAB button setFocus of the next text box in (LEVEL5)- for example 
 
In the following example I load my movie with the text boxes into level5. All the actions focusing the text boxes are in the level 5 movie:
Level 5 Movie:
1) First set the focus of your text box in frame 1: Selection.setFocus("box1");
This means the end user will be presented with a blinking cursor when the movie first loads. 2) Place the following action on an 'invisible button': on (keyPress "<Tab>") {
        if (Selection.getFocus() == "_level5.box1") {
                Selection.setFocus("box2");
        } else if (Selection.getFocus() == "_level5.box2") {
                Selection.setFocus("box3");
        } else if (Selection.getFocus() == "_level5.box3") {
                Selection.setFocus("box4");
        } else if (Selection.getFocus() == "_level5.box4") {
                Selection.setFocus("box1");
        }
}

Change the variable names to the ones of your choice. You could have box1 leading onto box4 etc.
Posted by: No name | website http:// 
 
 
 
 SelectionManager 
 
/**
* @author: Eric Feminella
* @url: http://www.ericfeminella.com
* @copyright: (c)2004 - 2006 code.ericfeminella.com
*/

import mx.controls.TextArea;


class com.displays.SelectionManager
{
       
        public static var caretIndex:Number;
        public static var mouseEvent:Boolean;
        public static var lastIndex:Number = 0;
       
       
        public function SelectionManager()
        {
                this.initUserEvent();
        }
       
       
        private function initUserEvent():Void
        {
                var mouseListenerObject:Object = {};
                mouseListenerObject.onMouseUp = SelectionManager.onSetFocus;
                Mouse.addListener(mouseListenerObject);
        }
       
       
        public static function onSetFocus():Void
        {
                if (Selection.getCaretIndex() != -1)
                {
                        SelectionManager.caretIndex = Selection.getCaretIndex();
                        SelectionManager.mouseEvent = true;
                        SelectionManager.lastIndex = 0;
                }
        }
       
       
        public function insertAtSelectedIndex(stringToInsert:String, selectedTextArea:TextArea):String
        {
               
                var index:Number = this.getIndex(stringToInsert.length);
               
                var originalString:String = selectedTextArea.text;
                var originalStringLength:Number = originalString.length;
               
                var selectionStart:String = originalString.substring(0, index);
               
               
                var selectionEnd:String = originalString.substring(index, originalStringLength);
               
                var newString:String = selectionStart + " "  + stringToInsert + " " + selectionEnd;
               
                return newString;
        }
       
       
        private function getIndex(stringToInsertLength:Number):Number
        {
               
                if (SelectionManager.mouseEvent)
                {
                        var index:Number = SelectionManager.caretIndex;
                        SelectionManager.lastIndex = index + stringToInsertLength + 2;
                }
                else
                {
                        var index:Number = SelectionManager.lastIndex + stringToInsertLength;
                        SelectionManager.lastIndex = index + 2;
                }
               
                SelectionManager.mouseEvent = false;
               
                return index;
        }
}

Posted by: Eric Feminella | website http://www.ericfeminella.com 
 
 
 
 Setting the tab key 
 
onClipEvent (keyDown) {
        if (Selection.getFocus() == "_level0.movieClip.textboxVariable1"&&Key.isDown(Key.TAB)) {
                Selection.setFocus( "_level0.movieClip.textboxVariable2");
        } else if (Selection.getFocus() == "_level0.movieClip.textboxVariable2"&&Key.isDown(Key.TAB)) {
                Selection.setFocus( "_level0.movieClip.textboxVariable3");
        } else if (Selection.getFocus() == "_level0.movieClip.textboxVariable3"&&Key.isDown(Key.TAB)) {
                Selection.setFocus( "_level0.movieClip.textboxVariable1");
        }
}

//Or if you'd rather place the actions on a button, try this:


on (keyPress "") {
        if (Selection.getFocus() == "_level0.movieClip.textboxVariable1") {
                Selection.setFocus( "_level0.movieClip.textboxVariable2");
        } else if (Selection.getFocus() == "_level0.movieClip.textboxVariable2") {
                Selection.setFocus( "_level0.movieClip.textboxVariable3");
        } else if (Selection.getFocus() == "_level0.movieClip.textboxVariable3") {
                Selection.setFocus( "_level0.movieClip.textboxVariable1");
        }
}

 
 
 

   
  

2009/08/19 09:35 2009/08/19 09:35
Posted
Filed under Action Script

1. jdk 설치

- http://java.sun.com/javase/downloads/index.jsp 에서 최신버전을 다운받습니다.

jdk를 설치한 후 환경변수를 설정합니다. (JAVA_HOME, path, classpath) 

 

 

2. Eclipse 설치

- http://www.eclipse.org/downloads  에서 3.2 이상의 이클립스를 다운받아 설치합니다.

이클립스는 custom 플러그인을 설치해서 확장 사용할 수 있습니다.



3. Flex builder3 Eclipse plug-in 설치

- http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3email 에서 Flex Builder Eclipse plugin 버전을 다운받아 설치합니다.  

 

- 빌더가 설치될 폴더를 선택

 

 

- 이클립스가 설치되어 있는 폴더를 선택 (3.2 버전 이상이어야 함)

 

 


4. 프로젝트 생성

- 이클립스를 열고 File>New>Project 메뉴로 들어갑니다.

팝업창이 뜨면 Flex Builder 아래 Flex Project를 선택합니다.

 


- 프로젝트 이름, 위치를 입력하고 Finish버튼을 클릭합니다.

 

 

 - 이클립스 화면 구성이 플렉스 개발화면으로 바뀝니다.

 


- 소스에디터에서 아래소스를 코딩합니다.


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
 <mx:Panel x="10" y="10" width="400" height="350" layout="absolute">
  <mx:TextArea x="60" y="120" id="txt01" height="25" width="180"/>
  <mx:Button x="250" y="120" label="Button" click="mx.controls.Alert.show('Hello~'+txt01.text)"/>
 </mx:Panel>
</mx:Application>


- 디자인탭을 클릭하면 코딩한 것이 화면으로 나타납니다.

 

 

- 윈도우 cmd창에서 ppcom.mxml 파일을 컴파일 합니다.

(플렉스 빌더를 설치하였으므로 flex_sdk를 따로 설치할 필요가 없습니다.  플렉스 빌더 설치폴더\sdks\3.0.0\bin 을 환경변수 path에 잡아줍니다.)

 


- 컴파일이 완료되면 swf 파일이 만들어집니다.

2009/07/17 20:39 2009/07/17 20:39
Posted
Filed under Action Script
var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success:Boolean) {
    if (success) {
    trace(this.toString());
    } else {
    trace("Error loading/parsing LoadVars.");
    }
};
my_lv.load(http://www.helpexamples.com/flash/params.txt);


//로컬경 뿐만 아니라 웹 경로 까지 가능
2009/07/17 19:14 2009/07/17 19:14
Posted
Filed under Action Script

[출처]: http://adnaru.com/99 <-- 이덕님 블로그
지난번 "Flash Player 10 Feature&난상토론회에 놀러오세요"라는 글을 올리고 약 2주만인가요? 바로 어제 신촌의 모처에서 재미있게 행사를 잘 치루고 돌아왔습니다. 참여해주셨던 분들도 모두 잘 들어가셨나요? 히히

사실 일요일이고, 날씨도 추운만큼 2~3분정도 오실것으로 예상했는데, 예상보다 많은 분들께서 참석해 주셔서 감사했습니다 (__)
(다음번엔 정말 편한곳에서 모셔서, 재미난 이야기 나눠보아요~)

이번 Flash Player 10 Feature&난상토론회에서는, 참석자분들끼리 인맥을 쌓는시간(ice-breaking), Flash Player 10 및 Adobe RIA신기술에 알아보는시간, 그리고 재미난 난상토론까지 총 2시간여의 시간동안 진행되었습니다.

특히, 난상토론의 경우 재미있는 얘기들이 많이 나왔습니다. 이 다음글에서 바로 후끈한(!) 난상토론회의 현장을 보실 수 있습니다.

사용자 삽입 이미지

아쉽게도 참석하시지 못하신분(예비 순위도 있었습니다 -ㅅ-), 그리고 Adobe RIA기술에 관심이 많으신 분들을 위해, 당일 프리젠테이션 내용(저의 육성도 들어가있다능-_-!)을 함께 공개합니다.

다만, 행사 당일 신청하셨으면서도, 저에게 아무런 안내도 하시지 않고 오시지 않으셔서 저의 지갑사정을 피말리게 하셨던 분들은, 아래의 동영상을 보시지 마세요!!! (흥, 다 기억했어요. 이제부터 미워할거에요!)


아래는 예제입니다 : )
당일엔, 예제도 함께 보여드리면서 여기엔 어떤부분이 들어갔고 설명도 했는데,

아쉽게도 동영상엔 예제를 함께 담질 못했네요 ㅜㅜ
그날 오셨던 분들은 아래의 예제가 어떤 원리로 돌아가셨는지 이해하셨죠? +ㅁ+

3D Effects
스타워즈 엔딩영상

Dynamic Sound Generate
모스부호 생성기

Local-File Access
로컬 이미지 열기

Flash Text Engine
"Flash Player 10" 가지고 놀기

Adobe MAX New Featue Cocomo
라이브 낚서판

Adobe MAX New Feature Alchemy
C++코드, 실행예제


잇힝!
그럼 다음번엔 더 재미나고 멋진 행사로 찾아뵙도록 할게요 +ㅁ+ 하악하악

2009/07/17 19:13 2009/07/17 19:13
Posted
Filed under Action Script

윈도우 2000의 테스트서버에서는 잘돌아가던것이 갑지가 호스팅 2003서버로 이전했을때
동영상이 나오지 않았다.
이때 해결하는 방법

2003에서의 flv 확장자에대해서는 다음과 같이  셋팅을 해야 한다.

iis 관리자 열고,
서비스 중인 웹서버를 선택해
특정 폴더에서만 인식하게하려면
그 폴더를 찾아 선택하고
걍 사이트 전체에서 허용하려면
사이트를 선택하면 되고
오른클릭하고 HTTP 헤더 탭 선택
등록정보에서
그럼 젤 아래에 MIME 형식 이라고 있을거야
마임 형식 버튼 클릭하고
새형식 한 다음
확장명에 .flv
mime type 형식은 flv-application/octet-stream

2009/07/17 19:13 2009/07/17 19:13