Wednesday, August 4, 2010

Using FlexBuilder 3 and Flash CS3 to Build Your Skin in Flex–KingnareStyle skin produce introduction


It could control the style by using CSS in Flex3.0 component. Of course the CSS mentioned here is different with the CSS which used in writing the website. It is the style sheet which is tailored for Flex specially. By using ActionScript could realize the powerful display effect. It will be introduced in following example


Monday, June 21, 2010

Flash Game Development with Flex and Actionscript - Getting Started

  • 1. Flash Game Development with Flex and Actionscript - Getting Started
  • 2. Flash Game Development with Flex and Actionscript - Double Buffer Rendering
  • 3. Flash Game Development with Flex and Actionscript - Embedding Resources and Adding Game Objects
  • 4. Flash Game Development with Flex and Actionscript - User Input and an Animated Background
  • 5. Flash Game Development with Flex and Actionscript - Adding Weapons
  • 6. Flash Game Development with Flex and Actionscript - Collision Detection
  • 7. Flash Game Development with Flex and Actionscript - Bitmap Animations
  • 8. Flash Game Development with Flex and Actionscript - Music and Sound FX
  • 9. Flash Game Development with Flex and Actionscript - Defining a Level
  • 10. Flash Game Development with Flex and Actionscript - Tiled Background Rendering


  • Read more: http://www.brighthub.com/internet/web-development/articles/11010.aspx#ixzz0rTEiYMHf

    Read more: http://www.brighthub.com/internet/web-development/articles/11010.aspx#ixzz0rTEV91SI

    InfoQ: Building Web and Desktop Applications with BlazeDS and AMF

    You will need the following software installed:

    To create a simple Remoting Application:

    1. Unjar the blazeds.war file from BlazeDS into your application server's deployment folder. For instance, on JBoss use /server/default/deploy/blazeds.war
    2. Start Eclipse / Flex Builder
    3. Create a new Java Project that you can use to configure BlazeDS and add Java classes to your web application.
      1. Use a project name like "blazeds_server"
      2. Create the project from existing source; use the path of the WEB-INF directory of your deployed BlazeDS WAR, such as: /server/default/deploy/blazeds.war/WEB-INF/
      3. Add the src directory to the build path
      4. Use the WEB-INF/classes directory as the output folder
    4. Create a new Java class called HelloWorld.java with the following code:
    5. public class HelloWorld {
      public String sayHello(String name) {
      return "hello, " + name;
      }
      }
    6. Configure BlazeDS to allow remoting requests to the HelloWorld class by adding a destination to the remoting-config.xml file found in the WEB-INF/flex directory. Use the following destination configuration:


    7. HelloWorld

    8. Start your application server and verify your web application is configured by going to the following URL (The port may vary depending on your application server configuration): http://localhost:8080/blazeds/
      (If your server is not configured to display directory contents, you might see a 404 error. This is OK.)
    9. Create a new Flex Project
      1. For the project name, type "testHelloWorld"
      2. Select "J2EE" as the Application Server Type
      3. Select "Use remote object access service" and LiveCycle Data Services
      4. Specify the Root folder to be to location of your deployed WAR file
      5. Specify the Root URL to be: http://localhost:8080/blazeds (Your port name may be different depending on your application server configuration)
      6. Specify the Context Root to be: /blazeds
      7. Verify the configuration and click Finish
    10. Create the Flex application by updating the testHelloWorld.mxml file with the following source code:





    11. Run the application and test it by typing your name into the TextInput box. You should see "hello, " displayed beneath the TextInput like the image below.
    More info at:
    InfoQ: Building Web and Desktop Applications with BlazeDS and AMF

    Tuesday, February 23, 2010

    Why the Flex AdvancedDataGrid sucks?!!

    Well i was wondering from a while about why flex is not as programmer friendly as possible.
    I am getting links that support my opionion. Here is one more:

    AdvancedDataGrid ~ removing the sorting icons from the column header

    Just add sortItemRenderer="{null}" in your AdvanceDataGrid tag and
    will get rid of sorting icon(like a verticle line) in your
    AdvanceDataGrid header.

    Saturday, February 20, 2010

    How to get absolute x and y from element inside HBox?

    So you want the buttons inside the HBox, but the arrows outside the HBox, and therefore need a way of converting the local x,y coordinates of your buttons to global ones?

    This will give you a global point:
    myButton.localToGlobal( new Point( myButton.x, myButton.y ) );


    Notes:
    * localToGlobal shold be invoked from the button's inmmediate parent (hbox).
    * this.globalToLocal needed to translate the obtained coords for the app
    * use contentToGlobal and globalToContent instead to avoid problems with padding from the hboxes

    Saturday, February 13, 2010

    Putting a Flex Face on Alfresco

    The two best opensource frameworks are ready for integration. The best UI experience Adobe Flex is being supported by the best backend services from Alfresco CMS.

    Freelance