2652 readersContinuing my rant about styles in the Adobe Flex world I'd like to review programmatic drawing of assets. Just for fun I'll be drawing jelly beans. First up I'll take a stab at drawing one with the regular ole drawing api. This may sound odd to our Flex audience but a long long time ago
28943 readersCreate a new FLA file in Flash Professional CS5 and write the following frame action: var test:World = new World(); [Test Movie] generates the compile error #1136: Incorrect number of arguments. Expected 2. I have never defined the class World but tried to solve the errors by adding several functions as follows: var test:World =
18680 readersAdvertise here with BSAFriends, have a good time here on “Graphic Mania”. In this tutorial we are going to deal with the HTML5 “Canvas”. We will see how this HTML5 specific “Canvas” tag is capable of drawing graphics when used along with Java Script. This tutorial for beginner HTML5 developers and will cover both HTML5
1122 readersIn this Flex tutorial, let’s see how to create a Popup window. 1. Create a new flex project named PopUpWindow, set the name of the main MXML application file to main.mxml and set its layout to vertical. 2. In the main.mxml file, add a button that when the user clicks on it will launch the window by
430 readersThis Flex tutorial will show you how to build a slideshow that will change the images automatically with a special appearance effect. 1. Create a new flex project named Slideshow, set the name of the main MXML application file to Main.mxml and set its layout to vertical. 2. First add an Image component and give it
2818 readersNot many people actually know that you can use MXML in pure AS3 projects. Here’s an example. Create a new AS3 project, create a new file in package cp. Call it App.mxml. Flex Builder will not allow you to create an MXML component in a pure AS3 project, so you have to do it manually.
2424 readersIn Flex 4, Adobe introduced new MXML language improvements that make it much easier to work with states. However, you might also want to create view state in ActionScript, either in an MXML file or in an ActionScript file.
7884 readersThe following example shows how you can display an FXG file in a Spark BitmapImage control in Flex 4 by setting the source property using data binding or MXML. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2010/10/10/displaying-an-fxg-file-in-a-spark-bitmapimage-control-in-flex-4/ --> <s:Application name="Spark_BitmapImage_source_FXG_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:layout> <s:VerticalLayout horizontalAlign="center" verticalAlign="middle" /> </s:layout> <fx:Script> <![CDATA[ import assets.*; ]]> </fx:Script> <s:BitmapImage
2261 readersHello world of all things ColdFusion, Flex and Air! We are officially opening up the list of topics for the community to vote on! Our keen and trusty Advisory Board have voted on some of these topics already. Some of the topics they are voting on as we speak (blog). But we want to hear
1004 readersThis tutorial will show you how to add a nice hide/show sliding panel at the top of your flex application that when clicked will reveal itself. 1. Create a new flex project named SlidingPanel, set the name of the main MXML application file to Main.mxml and set its layout to absolute. 2. First let’s create the
Empowering, Informing, Connecting Creative Professionals™
The Workflow Network is a collection of Websites, services, and communities built to Empower, Inform, and Connect Creative Professionals. The websites in the Network cover a broad range of topics, services, and functions for creative professionals of many disciplines.