Improved Flex Flv Player with XML playlist

March 30th, 2008

Improved Flv player with XML playlist

Example (Flash ActionScript 3.0 w/ Flex 3 - right click for source)

This is an improvement on the previous .flv player found here:
I had comments (thanks for the feedback!) asking for a way to have the player loop through the playlist, playing one vid after another. Since the Flv player was made using a local connection between two .swfs, one flex and one flash, this required a little thought, but the solution was easier than I imagined it would be.

Read the rest of this entry »

Working with the Repeater component

March 30th, 2008

Working with the repeater component:

I’ve been using the repeater component alot lately, and wanted to share some of what I’ve learned. First off

Here’s what the Flex 2 language reference has to say:

The Repeater class is the runtime object that corresponds to the <mx:Repeater> tag. It creates multiple instances of its subcomponents based on its dataProvider. The repeated components can be any standard or custom controls or containers.

Read the rest of this entry »

Flex Community Blog Aggregator

March 27th, 2008

We’ve decided to keep all our favorite Flex blog feeds in one place, so we’ve started to build a blog aggregator. Check it out here http://blog.flexcommunity.net/planet/

FlexPal CoverFlow Store

March 24th, 2008

This is cool! Combining Doug McCune’s CoverFlow

with FlexPal to create a paypal store with iTunes-style display.

Sample hereĀ 

Read the rest of this entry »

An introduction to Adobe Flex for beginners - Part 1

March 11th, 2008

(Here’s an article I wrote for another website, thought I’d go ahead and post it here)

Adobe Flex is a development platform for rich internet applications (RIA), based on the Adobe Flash platform. Flex projects, (like flash) compile into the .swf format, and therefore boast cross-browser compatibility (assuming the user has the flash player installed). Flex comes in two forms, for experienced developers, the open source sdk (software development kit), and a commercial IDE (integrated development environment) built on Eclipse. Here I will focus on the IDE, Flex Builder. In this article I will very briefly go over the basics of what Flex is and how to put a Flex application together.
Read the rest of this entry »

Flex - xml photo gallery with different sized photos

March 5th, 2008

example

Right click to view source

The (IN)Security of Flash Part 2

February 25th, 2008

Hacking Flash Website Templates

by pythagoras

Here is a method of easily obtaining a flash website template for free. This is of course, for information purposes only and I in no way condone stealing. These template peddlers need food and shelter too.
With that said, Let’s get started. This method is so easy, I kind of feel bad. First you will need two applications, a packet sniffer, and a swf decompiler. For this example I recommend HTTPScoop and Trillix.

Read the rest of this entry »

Flex and Paypal - Adding a payPal “buy now” button in Flex

February 21st, 2008

Adding a payPal “buy now” button in Flex

example

I’m in the early stages of developing a paypal shopping cart system in Flex. A cursory glance on the web told me that many of you have questions about this topic. I’ve seen many questions from people using thee HTTPService class to try to do this. It seems (although I’ve only been looking at this for a very short time) that HTTPService will not redirect after a “POST”. So for those wanting to crack this open a bit, here’s a method of sending data to paypal with a redirect from a paypal button using flash.net.URL request. Although this example is very basic, and a full shopping cart app integrated with paypal is obviously alot more work, one can see that doing a simple “buy now” is pretty easy. Most of the (not working) examples I saw were making it much harder than it is. After all the HTML is just:

Read the rest of this entry »

Flex - creating an xml photo gallery

February 18th, 2008

This is a method of creating a photo gallery in Flex with a main photo, and scrolling thumbnails, populated by an external XML file. This is a continuation of the concept in this article: http://blog.flexcommunity.net/?p=24

This shows how easy it is to create things of this nature using the repeater component, and one simple function. I’ll leave out the detailed explanation, as it’s almost identical to the above cited article.

example here

here’s the application code:

Read the rest of this entry »

Flex - Creating an .flv video player with xml playlist

February 15th, 2008

Flex - Creating an .flv video player with xml playlist

[edit: improvement here]

This is a method of creating a video player with a playlist (with thumbnails) populated by an external xml file, with flash and flex. This experiment also explores integrating Flex 3 with flash AS2 .swfs.
In order for an .swf compiled from Actionscript 2 to communicate with an .swf compiled from AS3 (a flash 8 swf embedded in a flex project) we have to make a LocalConnection(); and specify the way they are to communicate. Here, I called a function to change the source path to the flash fvlPlayback component.

Read the rest of this entry »