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>

use flashvars in Flex html

when you want to pass flashVar to lunch flex html file, take a look
at clint317's blog

Saturday, September 8, 2007

move child from one parent to another - as3

saw it on Flashcoders,Greetz Erik reply "Copy and paste a movieClip?"
here is quote from him:

Yes in AS3 you can move DisplayObjects to other parents without problems.
One thing to note is that you need to remove it from the current display
list before you add it to the other.

Something like this:

parent1.removeChild(theClip);
parent2.addChild(theClip);

i didn't know it, i will give it a try

opensource AlivePDF- PDF creation AS3 classes.

yesterday, Thibault Imbert released the opensource
lib for PDF creation, it works great in our project.
check it out here

it based on http://www.fpdf.org/

Friday, September 7, 2007

Bill Reiss's Development Environment for Silverlight

http://silverlightrocks.com/cs/blogs/silverlight_games_101/archive/2007/09/06/7.aspx#257
* Microsoft Visual Studio Codename "Orcas" Beta 2
* Microsoft Silverlight Tools Alpha for Visual Studio codename "Orcas" Beta 2
* Microsoft Silverlight 1.1 Alpha Refresh for Windows
* Expression Blend 2 August Preview

programing with Silverlight,Air and JavaFx

here is a good example how 3 projects are created
check here

as3 Display List

if you want to port as2 to as3, take a look at this article wrote by Josh Tynjala

Wednesday, September 5, 2007

Flash game tutorial sites

here a are lots of useful links for flash game tutorial

TODO_FIXME plugin for Flex Builder 2

if you want to see TODO and FIXME on task view, check
this out, Dirk did a great job.

Bruce Eckel's blog of Creating Flex Components

take a look at here if you
want to creat a flex component

Saturday, September 1, 2007