Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 º¯ÊýÊǺÜÇ¿´óµÄ»æÍ¼¹¤¾ß£¬Äܹ»´´½¨³öºÜ¶àÉñÆæµÄЧ¹û¡£×î½üżȻ·¢ÏÖÁËһЩ²»´íµÄ³ÌÐò£¬²âÊÔÁËһϸоõºÜÓÐȤ¡£Õⲿ·Ö²»ËãºÜÄÑ£¬Ö÷Òª¶®½èÓÃËûµÄÃüÁ¼ÓÉÏ×Ô¼ºÒ»µã´´Òâ¾ÍÄÜ·¢»Ó³öÒâÏë²»µ½µÄЧ¹û¡£½ÓÏÂÀ´£¬ÎÒÃǽñÌì̽ÌÖ»æÖƵÄһЩ»ù±¾µÄͼƬ£¬ÏÈ»æÖƾØÐΣ¬ÒòΪËüºÜ¼òµ¥£¬½ö½öʹÓÃһЩ¼òµ¥µÄ´úÂë¾ÍÄܹ»Í ......

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

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

FLASH°²È«É³Ïä·þÎñÆ÷¶Ë³ÌÐò´úÂë(¿çƽ̨,C++/JAVA)

Main.cpp  (Win/*nix)
#include "FlexSecurityBox.h"
int main(int argc, char ** argv) {

char * address;
short port;
if (argc == 2)
{
address = "0.0.0.0";
port = atoi(argv[1]);
} else if (argc == 3)
{
address = argv[1];
port = atoi(argv[2]);
} else
{
printf("Y ......

½â¾ö flash 10 ÖÐÎÄ×ÖÌåÏÔʾ³É·½¿éµÄÎÊÌâ

/etc/fonts/conf.d/
±à¼­µÄÎļþΪ
sudo gedit ./49-sansserif.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
If the font still has no generic name, add sans-serif
-->
    <match target="p ......

3D ±êÇ©ÔÆ Flash µÄʹÓÃ

3D ±êÇ©ÔÆµÄʹÓÃ
3D±êÇ©ÔÆ°üº¬Á½¸ö±ØÐëÎļþ,Ô´ÎļþÔÚÕâÏÂÔØ
http://download.csdn.net/source/2037774
 
1.       tagcloud.swf£ºÊDZêÇ©ÔÆÏÔʾµÄÖ÷flash³ÌÐò
2.       swfobject.js:  flashµÄ¿ØÖƳÌÐò
ÓÐÁ½ÖÖʹÓ÷½Ê½£¬µÚÒ»ÖÖÊÇͨ¹ýÔÚÍøÒ³ÉÏÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ