Flash tutorials | AS3 Drag and Drop Flash Source | Tween Sound Object
1

Flash Tutorials | Flash and Silverlight Effect

Tutorials


Flash and Silverlight, Adobe and Microsofts. Who is win ? Who is become number one ? Waiting and see…

This post  collects articles focus on comparing both Flash and Silverlight by posting various kind of samples and source code

1.Flash and Silverlight: 3D Text Space

This is one of the most stunning effect I experienced many years ago. The code is very simple, but yet astonishing. Both of the applications are made as identical as possible (even the function name, comments, position are identical) for the ease of comparison.

Comparison

Flash implementation: 2 hours
Silverlight Implementation: 1 hour
Blog Writing: 1.5 hours
Code Variation:

  • Enter Frame Event [AS3] vs DispatcherTimer [C#]
  • Math.random() [AS3] vs new Random(seed) [C#]

9-3-2008 10-31-09 AM

Read more

2.Flash vs Silverlight: Sponge Image

When it comes to Image Manipulation, Flash and Silverlight has much more advantages over Javascript and DHTML. In this example, when you click on the image, it will produce an amazing sponge effect. What’s more? Just to use your imagination!

It included both Flash and Silverlight version with complete source codes.

Comparison

Flash implementation: 45 minutes
Silverlight implementation: 30 minutes
Code variation in the source code:

  • rotation [AS3] vs RotateTransform [C#]

9-3-2008 10-43-14 AM

Read more

3.Flash vs Silverlight: 3D Image Navigation

Here is another 3D application without using any 3D Library. You may navigate the application via a mouse click or mouse wheel. A spring effect is also applied. Let’s see how brilliant it is!

It included both Flash and Silverlight version with complete source codes.

My Recent Updates

Today, I was asked to convert an application, written by me in Silverlight Beta 1,  to Silverlight Beta 2. I am so amazed that the project created in Beta 1 can’t be opened in Visual Studio (with the latest Silverlight Beta 2 Tool).

OK, that’s fine. I try to create a new project and copy and paste the files one by one. However, things didn’t go smoothly. Most of the Controls I created before can’t be reused again due to some syntax problem, double/int problem and some Initialization problems. Actually, I really want to say some swear words to Silverlight at that time. (Just imagine that you can’t open a Flash 8 FLA by Flash 9.)

But may be I can think in another way. Because Silverlight is such a lovely Software, it makes me the only one that can master it a little bit better than my colleague. HaHa.

If you have the same experience as me, please feel free to  share with me. (Or even tell me if is there any effective way to convert Beta 1 to Beta 2.)

Comparison

Flash implementation: 1 hour 30 minutes
Silverlight implementation: 30 minutes
What’s the difference?

9-3-2008 11-12-37 AM

Read more

4.Flash and Silverlight: Fish Eye Menu

This is a a Simple Fish Eye Menu (or Dock Menu). The logic is simple and you may further customize it as your own menu. It included both Flash and Silverlight version with complete source codes.

You can find similar resources from ComponentOne as well.

Comparison

Flash implementation: 1 hour
Silverlight implementation: 1 hour
Code variation in the source code:

  • Attach Mouse Event: MouseEvent.MOUSE_MOVE [AS3] vs MouseEventHandler [C#]

9-3-2008 11-17-19 AM

Read more

5.Flash and Silverlight: Explode Image Rotator

This is an advanced image rotator effect. If you always use fade in/out effect only, you probably have to look into this one. It included both Flash and Silverlight version with complete source codes. This is just one of the rotator effects in my hand, I will continue to post more in the coming days.

The images used in the example below were taken in 2007 during my trip to Mongolia.

Comparison

Flash implementation: 45 minutes
Silverlight implementation: 1.5 hour
Blog writing: 20 minutes
Code variation in the source code:

  • Image Cropping: copyPixels [AS3] vs Image.clip [C#]

9-3-2008 11-18-28 AM

Read more

6.Flash and Silverlight: Mystery Magic Background

This sample is extracted previously from my Silverlight Project. The source codes are highly configurable and you may customize it for you needs. Though it’s pretty simple but yet very good to act as a background for you application.

Comparison

Flash implementation: 40 Minutes
Silverlight implementation: 1 hour
Blog writing: 30 Minutes
Code variation in the source code:

  • Color Setting: RGB to int [AS3] vs Color.FromArgb [C#]

9-3-2008 11-19-49 AM

Read more

7.Flash and Silverlight: 3D Image Rotation

This is not a very impressive effect since there are dozen of free source codes for making the image rotation. However, it’s good to have a brief comparison on the differences of AS3 and C#. The samples created below are all re-organized for the ease of configuration and testing.

Comparison

Flash implementation: 1 hour
Silverlight Implementation: 1 hour
Blog Writing: 1 hours
Code Variation:

  • Children Sorting: setChildrenIndex [AS3] vs ZIndex Property [C#]
  • Loading images from library [AS3] vs Loading images from folder [C#]

9-3-2008 11-21-15 AM

Read more

  • Share/Bookmark
 

Story by admin

Tags: , , , , , , , , , , , , ,

One Comment

  1. Terence (Reply) on Wednesday 3, 2008

    Hello. This is Terence from shinedraw.com. Firstly, thanks for referring my post in your blog.

    I love to see your blog as well. And happy to see that we have common interest. I would like to make friend with you~~

     

Leave a Comment

Banner
Banner Banner