Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

swtÓëopen flash chart

×òÌì¿´ÁËIBMÍøÕ¾ÉÏдµ½rcpÖÐÔËÐÐopen flash chart¾õµÃ²»´í×Ô¼º¾ÍÊÔ×ÅдÁËһϡ£
package com.chart.test;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.ole.win32.OLE;
import org.eclipse.swt.ole.win32.OleAutomation;
import org.eclipse.swt.ole.win32.OleControlSite;
import org.eclipse.swt.ole.win32.OleFrame;
import org.eclipse.swt.ole.win32.Variant;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
public class ChartTest {

/**
* Launch the application
* @param args
*/
public static void main(String[] args) {
String file="D:\\ÎÒµÄÎĵµ\\ѧϰ×ÊÁÏ\\SWT\\open-flash-chart-2-Lug-Wyrm-Charmer\\open-flash-chart.swf";
final Display display = new Display();
Shell shell = new Shell(display);
shell.setLayout(new FillLayout());
shell.setSize(500, 375);
shell.setText("SWT Application");
OleFrame oleFrame=new OleFrame(shell,SWT.NONE);

oleFrame.setLayoutData(new GridData(GridData.FILL_BOTH));

OleControlSite controlSite =
new OleControlSite(oleFrame, SWT.NONE, "ShockwaveFlash.ShockwaveFlash");
/**
* doVerb() Requests that the OLE Document or ActiveX Control
* perform an action; actions are almost always changes to the activation state.
*/
controlSite.doVerb(OLE.OLEIVERB_SHOW); //
//
final OleAutomation automation = new OleAutomation(controlSite);
/**
* getIDsOfNames()µÃµ½¿Ø¼þ·½·¨¶ÔÓ¦µÄ id Öµ
*/
int[] methodIDs = automation.getIDsOfNames(new String[] { "LoadMovie" });
System.out.println(methodIDs.length);
System.out.println("methodIDs[0]="+methodIDs[0]);
Variant[] methodArgs = {
new Variant(0), new Variant(file+"?data-file=/bar-3d.txt") };
System.out.println(methodArgs.length);

automation.invoke(methodIDs[0], methodArgs);
shell.open();
shell.layout();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sle


Ïà¹ØÎĵµ£º

flash »æÍ¼API£ºÊó±êÍ϶¯Ð¡Çò


ÏÖÔÚÓиöÁé¸Ð£¬ÄǾÍÊÇͨ¹ýÊó±êÍ϶¯ÕâЩСÇò£¬Êó±êÒÆ¶¯µÄʱºò£¬ÄÇЩСÇò»á¸ú×ÙÊó±êÄ¿±êÒÆ¶¯¡£ÕâЩֻҪʹÓÃflash »æÍ¼APIÖÆ×÷£¬
¾ÍÄܹ»Íê³É£»
µÚÒ»²½£ºËæ»ú´´ÔìһЩСÇò
private function creatBall():void
{
for (var i:int=0; i<10; i++)
{
var ball:Ball=new Ball();
addChild(ball);
l ......

¾«¼òFlashÎļþÌå»ýµÄ¼¸¸öС¼¼ÇÉ

±ÊÕß¾­¹ý³¤Ê±¼äµÄʹÓã¬×ܽáÁ˼¸ÌõΪFlash¼õ·ÊµÄС¼¼ÇÉ£¬Ï£ÍûÓë¸÷λÉÁ¿ÍÃÇ·ÖÏí¡£
¡¡¡¡1¡¢¾¡Á¿¼õÉÙÎÄ×ÖµÄÐðÊö¡£
¡¡¡¡2¡¢Ó¦¾¡Á¿°Ñͼ»­×ªÎª“µçÓ°¼ôÇД»ò“ͼÐΔ¡£
¡¡¡¡3¡¢µ¼ÈëµÄͼƬ¸ñʽ×îºÃÊÇ*.jpg»ò*.gifͼƬ¸ñʽ¡£
¡¡¡¡4¡¢Èç¹ûÐèÒªµ¼ÈëÒôÀÖÎļþ£¬×îºÃÊÇ*.MP3£¬ÕâÑùÄãµÄÔ´´úÂë²»»áÌ«´ó¡£
¡¡¡¡5 ......

BIOS FLASH ±£»¤»úÖÆÇ³Îö

Ò»£¬ÒýÑÔ
¶àÄêǰÓÐÒ»¸öºÜÖøÃûµÄ²¡¶¾Ãû½ÐCIH£¬µ±ÄêCIHµÄÁ÷ÐÐÔø¾­Ôì³ÉÁ˾޴óµÄ¾­¼ÃËðʧ¡£CIH¿ÉÒÔ¹¥»÷Ö÷°åÉϵÄBIOS FLASHоƬ£¬ÆÆ»µÀïÃæµÄÄÚÈÝ£¬´Ó¶øÊ¹µÃÊܺ¦ÕߵļÆËã»úÎÞ·¨Õý³£Ê¹Óá£ÕâÊÇÈËÀàÀúÊ·ÉϵÚÒ»¸ö¿ÉÒÔÆÆ»µÓ²¼þµÄ²¡¶¾¡£CIH¿ÉÒÔ¹¥»÷»ùÓÚIntel 430FXоƬ×éµÄÖ÷°å£¬ÓÉÓÚFXоƬ×éÔÚÄǸöÄê´úÊôÓÚÖ÷Á÷оƬ×飬ËùÒÔÎÞÊýµÄµçÄ ......

Gentoo°²×°64λflash player

    ֮ǰÔÚWindowsÏÂÓùýFirefoxµÄ64λ°æ±¾£­Shiretoko£¬µ«ÊÇÓÉÓÚ64λµÄflash player pluginÒ»Ö±°²×°²»ÉÏ£¬µ¼ÖºܶàÓ¦Óö¼Óò»ÁË£¬¾Ý˵¿ÉÒÔʹÓÃNSPlugin Wrapper°üºÍ32λµÄÀà¿âÀ´Ê¹ÓÃ32λµÄflash player£¬ÎÒûÓг¢ÊÔ¡£×î½ü°²×°ÁË64λµÄGentoo£¬operaºÍshiretoko»¹ÊÇÎÞ·¨×Ô¶¯°²×°64λµÄflash player plugin¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ