91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

這是一個java編寫的swf文件播放器,并且包含所用編寫的類庫,你可以用類庫的類編寫屬于自己的flash播放器,也可以使用已經編好的模版播放器。

資源截圖

代碼片段和文件信息

import?java.awt.*;
import?java.awt.event.*;
import?javax.swing.*;
import?javax.swing.filechooser.FileFilter;
import?java.io.*;?
//?import?the?JFlashPlayer?package
import?com.jpackages.jflashplayer.*;

/**
?*?Example?code?demonstrating?JFlashPlayer
?*?
?*?Copyright?(c)?2001-2009
?*?Company:?VersaEdge?Software?LLC
?*?Site:?http://www.jpackages.com/jflashplayer
?*/
public?class?Example?extends?Jframe?implements?FlashPanelListener?{
//?handle?to?a?FlashPanel?instance
FlashPanel?flashPanel;

/**
?*?An?example?Java?method?that?will?be?called?from?Flash?Actionscript?code
?*?using?ExternalInterface.call.??These?methods?must?be?public?to?be?accessible?from?Flash.
?*?
?*?For?this?method?to?be?callable?from?Flash?you?must?use?the?
?*?FlashPanel.setFlashCallobject?method?as?is?done?below?in?the?creatFlashPanel?method.
?*/
public?String[]?testFunction(String?text?boolean?b?double?d?String[]?array)?{
//?output?some?of?the?demo?variables
System.out.println(“Flash?has?called?testFunction“);
System.out.println(“?received?text:?“?+?text);
System.out.println(“?received?boolean:?“?+?b);
System.out.println(“?received?double:?“?+?d);
for?(int?i=0;?i? System.out.println(“?received?array[“?+?i?+?“]:?“?+?array[i]);
}

SwingUtilities.invokeLater(new?Runnable()?{
public?void?run()?{
String?message?=?“Flash?has?executed?ExternalInterface.call?on?Java?testFunction?method.“;
JOptionPane.showMessageDialog(null?message
“ExternalInterface.call?executed“?JOptionPane.PLAIN_MESSAGE);
}
});
return?new?String[]?{?“aloha“?};??//?change?aloha?to?stop?to?cause?the?Flash?movie?to?stop?on?this?method?call
}

/**
?*?Called?from?Flash?by?ExternalInterface.call?to?indicate?mouse?over?and?out?events?on?a?Flash?symbol.
?*/
public?void?notifyFlashMouseEvent(String?event)?{
System.out.println(“Flash?mouse?event:?“?+?event);
}

/**
?*?This?method?is?called?from?Flash?to?launch?a?web?site.
?*/
public?void?launchIE(String?site)?{
try?{
System.out.println(“launching?IE?to?“?+?site);
Runtime.getRuntime().exec(“explorer?“?+?site);
}?catch?(Exception?e)?{
}
}

/**
?*?FlashPanelListener?event?method?which?receives?FSCommand?Flash?events.
?*?
?*?You?should?use?ExternalInterface.call?instead?of?FSCommand
?*?with?the?latest?Actionscript?version.??Older?Actionscript?versions
?*?will?only?have?access?to?FSCommand.
?*/
public?void?FSCommand(String?command?String?arg)?{
System.out.println(“FSCommand?event?received:?“?+?command?+?“?“?+?arg);

if?(command.equals(“javalink“))?{
launchIE(arg);
}?else?if?(command.equals(“javaExecute“))?{
SwingUtilities.invokeLater(new?Runnable()?{
public?void?run()?{
JOptionPane.showMessageDialog(null
“Flash?FSCommand?events?can?be?received?by?Java“);
}
});
}
}



/**
?*?Create?a?FlashPanel?instance?and?add?it?to?the?frame
?*/

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????84992??2002-01-05?05:18??jflashplayer-trial\atl2k.dll

?????文件?????102400??2002-01-05?05:18??jflashplayer-trial\atl98.dll

?????文件???????1476??2009-01-13?12:40??jflashplayer-trial\docs\allclasses-frame.html

?????文件???????1376??2009-01-13?12:40??jflashplayer-trial\docs\allclasses-noframe.html

?????文件???????7544??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\class-use\FlashCallListener.html

?????文件???????5811??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\class-use\FlashPanel.html

?????文件???????8652??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\class-use\FlashPanelListener.html

?????文件???????8364??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\class-use\JFlashInvalidFlashException.html

?????文件???????9405??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\class-use\JFlashLibraryLoadFailedException.html

?????文件???????8694??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\FlashCallListener.html

?????文件??????82669??2009-01-13?12:41??jflashplayer-trial\docs\com\jpackages\jflashplayer\FlashPanel.html

?????文件???????9111??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\FlashPanelListener.html

?????文件??????10441??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\JFlashInvalidFlashException.html

?????文件??????10933??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\JFlashLibraryLoadFailedException.html

?????文件???????1905??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\package-frame.html

?????文件???????7803??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\package-summary.html

?????文件???????6853??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\package-tree.html

?????文件???????7550??2009-01-13?12:40??jflashplayer-trial\docs\com\jpackages\jflashplayer\package-use.html

?????文件???????7751??2009-01-13?12:40??jflashplayer-trial\docs\constant-values.html

?????文件??????10520??2009-01-13?12:40??jflashplayer-trial\docs\deprecated-list.html

?????文件???????9536??2009-01-13?12:40??jflashplayer-trial\docs\help-doc.html

?????文件??????33177??2009-01-13?12:40??jflashplayer-trial\docs\index-all.html

?????文件???????1337??2009-01-13?12:40??jflashplayer-trial\docs\index.html

?????文件???????6684??2009-01-13?12:40??jflashplayer-trial\docs\overview-tree.html

?????文件?????????28??2009-01-13?12:40??jflashplayer-trial\docs\package-list

?????文件?????????57??2007-04-17?15:26??jflashplayer-trial\docs\resources\inherit.gif

?????文件???????1420??2009-01-13?12:40??jflashplayer-trial\docs\stylesheet.css

?????文件?????????60??2008-12-20?20:30??jflashplayer-trial\example\buildClasses.bat

?????文件????????732??2011-04-30?11:54??jflashplayer-trial\example\classes\Example$1.class

?????文件????????514??2011-04-30?11:54??jflashplayer-trial\example\classes\Example$10.class

............此處省略53個文件信息

評論

共有 條評論