Flex/Flash
Populating A TileList On Creation Complete Using XML In Flex
Fri, 11/07/2008 - 11:36 | by philipnorton42A TileList is part of a group of elements that allow you to add components in a specific order and orientation. The TileList controls the displaying of a number of items set out as tiles and so it best suited to displaying images as thumbnails.
There are many ways to do this, but none of the examples on the Flex site seemed to be very useful, or very well explained. What I wanted to do was to create a TileList that displayed the tiles in a certain way and used an XML file to fill up the list of items with images, each image having a label associated with it.
External Script Files And Printing Objects With Flex
Thu, 11/06/2008 - 11:36 | by philipnorton42Yesterday I talked about using the Flex Script element to run code within the mxml file, you can also use the source attribute of the Script element to reference external files. To create an external script file FlashDevelop go to the File->New and select Blank Document. You can also do this by pressing Ctrl+N.
The Script Element, Adding An Action To A Button And Functions In Flex
Wed, 11/05/2008 - 11:18 | by philipnorton42Yesterday I talked about creating some simple Flex elements in your application. Today I will introduce a new element called Script.
The Script element, if you haven't already guessed is used to run your application function and should be contained within the Application element. You can either put script inline like this.
Creating Some Simple Flex Interface Elements
Tue, 11/04/2008 - 12:21 | by philipnorton42Following on from my previous blog post about installing Flex on Windows I thought I would go through how to create an interface using mxml. When you create a Flex 3 project the first file you are given is called Main.mxml, which has the following content.
Installing Flex 3 On Windows
Mon, 11/03/2008 - 17:04 | by philipnorton42Flex is a powerful SDK that allows you to build Flash applications that can then be embedded into any web page. The SDK is that Flex uses quite large and covers a whole range of things from interface controls to data processing. To program in Flex you need to use ActionScript 3. What Flex creates as output is swf files, which can be run separately or embedded into a web page.
Create A Simple Flash Presentation
Thu, 02/28/2008 - 14:18 | by philipnorton42One common thing that can be done with Flash is to create presentations. These presentations can then be exported to a swf file and viewed by just about everybody.
To make a presentation create a new flash document and create a new layer. This layer will be used to keep the next and previous buttons in a consistent place.
On the first frame add the following code to stop the animation running at the first frame.