Friday, December 30, 2011

Debug Flex RSL in Intellij Idea

make sure to set -static-rsls="true"

ref:
http://youtrack.jetbrains.net/issue/AS-220

Tuesday, December 13, 2011

shortcut for intellij idea

Ctrl+F12 => quick method outline for current project
Ctrl+N => open class
Ctrl+Shift+N => open file
Ctrl+Alt+Shift+N => open symbol for whole workspace
Alt+F1 => then + 1 =>select file in Project
Ctrl+Y => delete the line at caret.
Ctrl+Alt+Left Arrow => previous cursor position
Ctrl+Alt+Right Arrow => next cursor position
Alt+Left Mouse Click => show object value of current mouse cursor when debug
Ctrl+F3 : find word at caret
Ctrl+Shift+[numeric+key]: set/remove bookmarkCtrl+Q : Quick Doc
Shift+Del: delete a line
Ctrl+Shift+Arrows: switch position between 2 lines
Ctrl-} will move to the close bracket.
Ctrl-{ will move to the open bracket.
F11 : Toggle bookmark
Shift+F11 : bookmark view

Thursday, November 10, 2011

config charles web proxy Map Remote


Example:

Map from (yellow), Path /epc-guideline-swf/*.*

Map to(wsdev002), path /epc-guideline-swf/





Thursday, September 13, 2007

flexMDI

Ben Clinkinbeard, Brian Holmes and Brendan Meutzner have announceed flexmdi
it's a framework creating and managing MDI interfaces in Adobe Flex.

source code : http://code.google.com/p/flexmdi/

sample : http://www.returnundefined.com/flexmdi/explorer/

loading resource swf in AS3

if you want to put all the resource( movieclip, font,sound..) in external swf and
want to load it later and then extract the content at run time, you should check this
article from Wildwinter site

Wednesday, September 12, 2007

flex component compiler parameters

today i need to build a flex swc, so create a new flex lib project and put

compc -source-path . -output bin/MySwc.swc -namespace http://www.mynamespace.com myManifest.xml -include-namespaces http://mynamespace.com

if compile form flex builder, use -namespace http://www.mynamespace.com myManifest.xml -include-namespaces http://mynamespace.com

the myManifest.xml will looks similiar as ( from adobe help sample)
<?xml version="1.0"?>

<!--
SimpleManifest.xml -->
<
componentPackage>
<
component id="MyButton" class="MyButton"/>

<
component id="MyOtherButton" class="MyOtherButton"/>
</
componentPackage>


then in another felx project you want to use the lib

<?xml version="1.0"?>

<
mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:myns="http://mynamespace.com">
<
myns:MyButton/>

<
myns:MyOtherButton/>
</
mx:Application>