Diff for "FlashWorkBook" UserPreferences
 
Help Info Print View Search Diffs Edit
 À妽º   Ã£±â   Freeboard   Subjectless   Images   ÃÖ±Ù±Û 

Differences between version dated 2004-11-10 18:46:48 and 2004-12-25 21:42:09 (spanning 6 versions)
Deletions are marked like this.
Additions are marked like this.

===== ¿ÀÈÄ 4:41 2004-11-10 =====

'''¾îÇø®ÄÉÀ̼ǿ¡¼­ Ç÷¡½Ã È£ÃâÇϱâ'''

 

ÀÚ. À̹ø¿£ ¹Ý´ë »óȲÀÌ´Ù.

 

===== ¿ÀÈÄ 5:39 2004-11-08 =====

C#¾îÇø®ÄÉÀ̼ǿ¡¼­Ç÷¡½Ã¿ÀºêÁ§Æ®»ç¿ëÇϱâUsingFlashObjectInC#Application

 

¿ÀÈÄ 4:40 2004-11-10. ÀÏ¹Ý ¾îÇø®ÄÉÀ̼ǿ¡ Flash·Î ¸¸µç UI¸¦ µÚÁý¾î ¾º¿öº¸ÀÚ´Â ¸ñÀûÀ¸·Î ÀÛ¼ºµÇ¾úÀ½.

 

'''Ç÷¡½Ã¸¦ Æ÷ÇÔÇÏ´Â ¾îÇø®ÄÉÀÌ¼Ç »ý¼º'''

 

¸ÕÀú 'µµ±¸ »óÀÚ'¿¡¼­ ¿ìŬ¸¯ -> 'Ç׸ñ Ãß°¡/Á¦°Å' ¸Þ´º¿¡¼­

´ÙÀ½°ú °°ÀÌ Shockwave Flash Object¸¦ Ãß°¡ÇÑ´Ù :

 

Upload:flash/20041108_01.gif

 

±× ´ÙÀ½ Shockwave Flash Object ÄÁÆ®·ÑÀ» Ãß°¡ÇÑ´Ù :

(±×³É ´õºíŬ¸¯Çϸé axShockwaveFlash1À̶ó´Â À̸§À¸·Î Ãß°¡µÈ´Ù)

 

Upload:flash/20041108_02.gif

 

Movie ¼Ó¼º¿¡ Ç÷¡½Ã ÆÄÀÏÀÇ °æ·Î¸¦ ¹Ì¸® ÁöÁ¤ÇØÁ൵ ÁÁÁö¸¸

KenialÀÇ °æ¿ì¿£ ÇÁ·Î±×·¥À» ¹èÆ÷ÇÒ ¶§ ÇÁ·Î±×·¥ÀÇ °æ·Î¿¡ °°ÀÌ ³Ö¾îÁÙ ¿¹Á¤À̹ǷÎ,

´ÙÀ½°ú °°ÀÌ ÄÚµùÇØÁÖÀÚ.

===== ¿ÀÈÄ 9:03 2004-12-25 =====

¹¹°¡ ÀÌ·¸°Ô º¹ÀâÇϳÄ..

{{{

private void Form1_Load(object sender, System.EventArgs e)

{

 axShockwaveFlash1.Movie = System.IO.Directory.GetCurrentDirectory() + "\\test.swf";

}

// ¿©±â¼­ºÎÅÍ ÇÊ¿äÇÑ ÄÚµå

var kioskdata = _global.kioskdata;

var wsc = kioskdata.wsc;

 

// Å×½ºÆ® ÄÚµå

kioskdata.GetServiceStatus();

kioskdata.WebServiceResultCallBack(

 function()

 {

  switch(kioskdata.GetWebServiceCallStatus())

  {

   // ¾ÆÁ÷ ÁøÇàÁß

   case 'Progress':

    break;

   // À¥¼­ºñ½º ÀÀ´ä ¾øÀ½

   case 'ConnectionFail':

    trace('server down');

    break;

   // °á°ú ¹ÞÀ½

   case 'Stop':

    trace('results:' + kioskdata.WebServiceResults);

    break;

  }

 }

);

}}}
 

±×¸®°í Ç÷¡½Ã ¹«ºñ¸¦ Çϳª ¸¸µé¾îº¸ÀÚ.

ÀÏ´Ü Ç÷¡½Ã ¹«ºñ¿Í ¾îÇø®ÄÉÀ̼ÇÀÇ ¿¬µ¿À» ÇØ¾ß ÇÏ´Ï,

°¡Àå ¸¸¸¸ÇÑ ¹öÆ°À» Çϳª Ãß°¡Çغ¸µµ·Ï ÇÏÀÚ :

 

Upload:flash/20041108_03.gif

Upload:flash/20041108_04.gif

 

ÇÁ·Î±×·¥ÀÌ ½ÇÇàµÇ´Â °æ·Î¿¡ ¸¸µé¾îÁø test.swf ÆÄÀÏÀ» ³Ö¾î³õÀ¸¸é

ÀÏ´Ü Ç÷¡½Ã ¹«ºñ°¡ ¶ß´Â ¾îÇø®ÄÉÀ̼ÇÀ» ½ÇÇàÇÒ ¼ö ÀÖ´Ù.

 

¸¸µé¾îÁø ¾ÖÇø®ÄÉÀÌ¼Ç È­¸é :

 

Upload:flash/20041108_05.gif

 

 

'''Ç÷¡½Ã¿¡¼­ ¾îÇø®ÄÉÀÌ¼Ç È£ÃâÇϱâ'''

°ªÀ» °¡Á®¿À´Â ÄÚµå´Â À§Ã³·³ ÁÙ¿©³õ±ä Çߴµ¥, ´öºÐ¿¡ ó¸®ÇÏ´Â Äڵ尡 ¿­¶ó ¸¹¾ÆÁ³´Ù.

 

ÀÏ´Ü Ç÷¡½Ã ¹«ºñ°¡ ¾îÇø®ÄÉÀ̼ǿ¡ ¾ñ¾îÁö±â´Â ÇßÁö¸¸,

À̰͸¸À¸·Î´Â ´ÜÁö Á»´õ ÇÁ·¹ÀÓ ¼ö°¡ ¸¹Àº Animated GIF¿¡ ºÒ°úÇÒ »ÓÀÌ´Ù.

¾Æ±î Ç÷¡½Ã ¹«ºñ¿¡ Ãß°¡ÇÑ ¹öÆ°À» °¡Áö°í C# ¾îÇø®ÄÉÀ̼ǰú ¿¬µ¿µÇµµ·Ï ¸¸µé¾î º¸ÀÚ.

 

Ç÷¡½Ã ¹«ºñ¿¡¼­´Â ±× ÀÚ½ÅÀ» Æ÷ÇÔÇÏ´Â ÄÁÅ×À̳Ê(=À¥ ºê¶ó¿ìÀú)¿ÍÀÇ ¿¬µ¿ÇÏ´Â ¹æ¹ýÀ¸·Î º¸Åë FSCommand¸¦ »ç¿ëÇÑ´Ù. ÀÚ¹Ù½ºÅ©¸³Æ®¿¡¼­ ¾µ ¼ö ÀÖ´Â ½ºÅ¸ÀÏ°ú ºñ½ÁÇÏ°Ô »ç¿ëÇÒ ¼ö ÀÖÀ¸¹Ç·Î À¥¿¡¼­ FSCommand¸¦ »ç¿ëÇØ º» °æÇèÀÌ ÀÖ´Â »ç¶÷Àº Á» ´õ ÆíÇÏ°Ô »ç¿ëÇÒ ¼ö ÀÖ°Ú´Ù. ±×¸®°í ActiveXÀÇ Event°¡ ±¸ÇöµÇ¾î ÀÖÀ¸¹Ç·Î, ±×´ë·Î C#ÀÇ Delegate¿¡ ÇÒ´çÇÏ¿© »ç¿ëÇÒ ¼ö ÀÖ´Ù.

 

»ç¿ë¹ýÀº °£´ÜÇÏ´Ù.

Ç÷¡½Ã ¹«ºñÀÇ ActionScript¿¡¼­ fscommand(command, param); ¸¦ È£ÃâÇϸé

axShockwaveFlash1.FSCommand Delegate°¡ È£ÃâµÇ°í,

¾îÇø®ÄÉÀ̼ǿ¡¼­´Â Delegate¿¡ ÇÒ´çÇÑ ÇÔ¼ö¿¡¼­ Àü´Þ¹ÞÀº command¿Í paramÀÇ °ªÀ» ó¸®Çϵµ·Ï ÄÚµùÇÏ¸é µÈ´Ù.

 

¸ÕÀú Ç÷¡½Ã ¹«ºñÀÇ ¹öÆ°¿¡ fscommand() ÇÔ¼ö¸¦ ³ÖÀÚ :

 

Upload:flash/20041108_06.gif

{{{

// À¥ ¼­ºñ½º °ü·Ã ÀÎÀÚ

public var wsc;

private var wsc_callback_interval;

public var WebServiceCallStatus:String = 'Stop';

public var WebServiceResults:String = '';

 

ActionScript¿¡ ÀüÇô ¹®¿ÜÇÑÀÎ »ç¶÷À» À§ÇØ Ã·¾ðÇÏÀÚ¸é,

À§ È­¸éÀº ¹öÆ°ÀÇ click À̺¥Æ®¿¡ ¹ÝÀÀÇÏ´Â Äڵ带 ÀÔ·ÂÇÑ »óÅÂÀÌ´Ù. vs ±â¹ÝÀÇ ÇÁ·Î±×·¡¸Ó ÀÔÀå¿¡¼­ º¸ÀÚ¸é °³¹ß ȯ°æÀÌ Á» ¸¾¿¡ ¾Èµé ¼öµµ ÀÖ°ÚÁö¸¸, ÀÏ´Ü Ç÷¡½Ã¿¡¼­ÀÇ ÄÚµù ȯ°æÀº Á» ÀÌÁúÀûÀ̹ǷΠÀûÀÀÇصεµ·Ï ÇÏÀÚ.

// wsc(À¥¼­ºñ½ºÄ¿³ØÅÍ)ÀÇ status À̺¥Æ®¿¡ È£ÃâµÊ

public function WebServiceOnStatus(code)

{

 // ¿¬°á ÀÚü°¡ ºÒ°¡´É!

 if(code =='WebServiceFault')

 {

  WebServiceCallStatus = 'ConnectionFail';

 }

 trace('WebServiceOnStatus:' + code);

}

 

¾î·µç Ç÷¡½Ã¿¡¼­ÀÇ ÄÚµùÀº Àú°ÍÀ¸·Î ³¡ÀÌ´Ù.

// wscÀÇ result À̺¥Æ®¿¡ È£ÃâµÊ

public function WebServiceOnResult(results)

{

 WebServiceCallStatus = 'Stop';

 WebServiceResults = results;

 trace('WebServiceOnResult:' + results);

}

 

±× ´ÙÀ½ vs.net¿¡¼­´Â FSCommandÀÇ Delegate¿¡ ÇÔ¼ö¸¦ ÇÒ´çÇÏ°í :

// À¥¼­ºñ½ºÀÇ ÇöÀç »óŸ¦ üũ

// È£ÃâÀÌ Ã³¸®µÇ°í ÀÖ´Â °æ¿ì ProgressÀÌ°í,

// ±× ÀÌ¿ÜÀÇ °æ¿ì¿£ wsc_callback_intervalÀ» Ŭ¸®¾îÇؼ­ È£ÃâÀ» ¸ØÃá´Ù.

public function GetWebServiceCallStatus()

{

 switch(WebServiceCallStatus)

 {

  // À¥¼­ºñ½º ÀÀ´ä ¾øÀ½

  case 'ConnectionFail':

  // °á°ú ¹ÞÀ½

  case 'Stop':

   clearInterval(wsc_callback_interval);

   wsc_callback_interval = undefined;

   break;

 }

 return WebServiceCallStatus;

}

 

Upload:flash/20041108_07.gif

// ÄݹéÇÔ¼ö ½ÇÇà ´ë¸®ÇÔ¼ö

public function WebServiceResultCallBack(callbackfn)

{

 if(undefined==wsc_callback_interval)

  wsc_callback_interval = setInterval(callbackfn, 100);

}

 

´ÙÀ½ Äڵ带 ÀÔ·ÂÇϵµ·Ï ÇÏÀÚ :

{{{

private void axShockwaveFlash1_FSCommand(

 object sender, AxShockwaveFlashObjects._IShockwaveFlashEvents_FSCommandEvent e)

// À¥ ¼­ºñ½º È£Ãâ

private function CallWebService(op, param)

{

 if(e.command=="test")

 if(WebServiceCallStatus == 'Progress')

 {

  System.Windows.Forms.MessageBox.Show(e.args);

  Application.Exit();

  trace('CallWebService fail - it is progress');

  return;

 }

 WebServiceCallStatus = 'Progress';

 wsc.operation = op;

 wsc.params = param;

 wsc.trigger();

}
}}}
 

À§ ÄÚµå´Â param °ªÀ» ¸Þ½ÃÁö¹Ú½º·Î º¸¿©ÁÖ°í ¾îÇø®ÄÉÀ̼ÇÀ» Á¾·áÇÏ´Â ÄÚµåÀÌ´Ù.

½ÇÇà È­¸é :

ÀÌ°Å ³­¸®µµ ¾Æ´Ï±¸¸¸..

 

Upload:flash/20041108_08.gif

===== ¿ÀÈÄ 4:21 2004-12-24 =====

_root.onLoad(); ¾ÈµÇ´Â Çö»ó ÀÎÁöÇÒ °Í

µÇµµ·ÏÀ̸é onClipEvent()¸¦ »ç¿ëÇÏ°í, Äݹé ÇüÅ·Πµî·ÏÇÏ´Â _root.onLoad = function () {...} ÇüÅÂÀÇ ÇÔ¼ö´Â »ç¿ëÀ» ÀÚÁ¦.

µð¹ö±× ¸ðµå(ctrl + shift + enter)¿¡¼­ ÀÛµ¿ÇÏ´ÂÁö È®ÀÎÇÏ´Â ½À°üÀ» µéÀÌÀÚ.

 

===== ¿ÀÈÄ 3:31 2004-11-11 =====

Macromedia - Flash Flash MX 2004 Documentation

http://www.macromedia.com/support/documentation/en/flash/

 

ÀÌ·± ½ÄÀ¸·Î ¾ÖÇø®ÄÉÀ̼ÇÀÇ UI ºÎºÐÀº Ç÷¡½Ã·Î ¸¸µé°í, ÇÊ¿äÇÑ ±â´É ÀÚü´Â ¾ÖÇø®ÄÉÀÌ¼Ç ³»ºÎ Äڵ忡¼­ ±¸ÇöÇÏ´Â ¹æ¹ýÀ¸·Î dzºÎÇÑ UI¸¦ Á¦°øÇÏ´Â ¾ÖÇø®ÄÉÀ̼ÇÀ» Á¦ÀÛÇØ º¸µµ·Ï ÇÏÀÚ.

===== ¿ÀÈÄ 5:39 2004-11-08 =====

C#¾îÇø®ÄÉÀ̼ǿ¡¼­Ç÷¡½Ã¿ÀºêÁ§Æ®»ç¿ëÇϱâ [UsingFlashObjectInC#Application]

----
[WorkBook] [ÇÁ·Î±×·¡¹ÖºÐ·ù]

PythonPowered ShowText of this page
EditText of this page
FindPage by browsing, searching, or an index
Or try one of these actions: DeletePage, DeleteUploadedFile, LikePages, SpellCheck, UploadFile