· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Red5 Install/Eclipse Tuto/Eclipse Flex

Eclipse 에서 Flex 사용하기


* http://www.brighthub.com/hubfolio/matthew-casperson/articles/78818.aspx
tcheun@enk:~/Downloads/eclipse-flex$ ./eclipse 
**** Error logged by plugin: org.eclipse.ui.workbench ****
Unable to create view ID com.adobe.flexbuilder.mxml.editor.AppearanceView: (class: com/adobe/flexbuilder/mxml/editor/views/appearance/ApplicationPropertiesModel, method: getEditor signature: ()Lcom/adobe/flexbuilder/editorcore/editor/CodeAndDesignEditor;) Wrong return type in function
Throwable: java.lang.VerifyError: (class: com/adobe/flexbuilder/mxml/editor/views/appearance/ApplicationPropertiesModel, method: getEditor signature: ()Lcom/adobe/flexbuilder/editorcore/editor/CodeAndDesignEditor;) Wrong return type in function
java.lang.VerifyError: (class: com/adobe/flexbuilder/mxml/editor/views/appearance/ApplicationPropertiesModel, method: getEditor signature: ()Lcom/adobe/flexbuilder/editorcore/editor/CodeAndDesignEditor;) Wrong return type in function
	at com.adobe.flexbuilder.mxml.editor.views.appearance.AppearanceView.getDefaultApplicationPropertiesModel(AppearanceView.java:323)
	at com.adobe.flexbuilder.mxml.editor.views.appearance.AppearanceView.createStyleContent(AppearanceView.java:298)
	at com.adobe.flexbuilder.mxml.editor.views.appearance.AppearanceView.createStyleGroup(AppearanceView.java:283)
	at com.adobe.flexbuilder.mxml.editor.views.appearance.AppearanceView.createMainControl(AppearanceView.java:466)
	at com.adobe.flexbuilder.mxml.editor.views.AbstractDesignOnlyView.createPartControl(AbstractDesignOnlyView.java:125)
	at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
	at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:529)
	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
	at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
	at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
	at org.eclipse.ui.internal.PartStack.updateContainerVisibleTab(PartStack.java:1657)
	at org.eclipse.ui.internal.PartStack.remove(PartStack.java:875)
	at org.eclipse.ui.internal.PartStack.replace(PartStack.java:920)
	at org.eclipse.ui.internal.PerspectiveHelper.removePart(PerspectiveHelper.java:1231)
	at org.eclipse.ui.internal.Perspective.hideView(Perspective.java:602)
	at org.eclipse.ui.internal.WorkbenchPage.hideView(WorkbenchPage.java:2387)
	at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.showViews(CodeAndDesignViewManager.java:679)
	at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.access$4(CodeAndDesignViewManager.java:632)
	at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener$1.run(CodeAndDesignViewManager.java:607)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
*******************************************

  • mx:lebel 에 / 추가
  • 오류 없어짐.
  • flash player 을 설치 추가 한 후의 상태 점검

* flash pyer 설치
tcheun@debian:~/Download/flashplayer$ ls -l
합계 21668
-rwxr-xr-x 1 tcheun tcheun 10199436 2010-07-28 16:57 flashplayer
-rwxr-xr-x 1 tcheun tcheun 11950976 2010-07-28 16:56 libflashplayer.so
  • mkdir flashplayer_debug
tcheun@debian:~/Download/flashplayer_debug$ ls -l
합계 23732
-rwxr-xr-x 1 tcheun tcheun 11195240 2010-07-28 16:57 flashplayerdebugger
-rwxr-xr-x 1 tcheun tcheun 13063388 2010-07-28 16:57 libflashplayer.so

  • after step 13
    • run 시킨 후 X icon 으로 끝내면 이상 없음.
    • run 시킨 후 file -> 종료로 끝내면 error
(flashplayerdebugger:12274): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(flashplayerdebugger:12274): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

* http://tboxmy.blogspot.com/2011/03/flex-4-on-eclipse-galileo-for-linux.html * http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html
	<mx:Panel title="Welcome" color="blue">
		
		<mx:Label text="Hello World"/>
		<mx:Button id="b1" label="Click Me">
		</mx:Button>
	</mx:Panel>
  • adobe air 을 설치후 성공
    • eclipse
    • file -> new -> project... -> Flash Builder -> Flex Project -> next
    • click Configure Flex SDKs...
    • add -> browse -> /home/tcheun/Downloads/Flex -> ok
    • check Flex 4.1 -> apply -> ok
    • Project name: HelloFlex
    • check Desktop (runs in Adobe AIR)
    • finish
    • Switch to the flash perspective -> yes
    • add 위의 mxml
    • File -> save
    • debug as
    • Desktop application -> ok


adobe air


* http://www.selikoff.net/2010/06/28/installing-the-adobe-air-2-sdk-in-eclipse/
root@enk:/home/tcheun/Downloads/air# ls
AIR SDK Readme.txt   AdobeAIRSDK.tar  frameworks  lib	    samples
AIR SDK license.pdf  bin	      include	  runtimes  templates

flash player in epiphany


* http://www.debian-administration.org/article/Flashplayer_for_epiphany
  • download from http://get.adobe.com/kr/flashplayer/
  • fp10.1_archive.zip
  • cd /usr/lib/mozilla/plugins
  • cp /home/tcheun/Download/flashplayerzip/fp10.1_archive/10_1r82_76/libflashplayer.so .



sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2011-04-09 01:32:18
Processing time 0.0089 sec