By john on April 17, 2008
In silverlight you can easily add images thru the XAML or the classes (ie: c#)
To add it thru the XAML all you have to write is this:
Here is the whole code:
 xmlns=”http://schemas.microsoft.com/client/2007″
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
Width=”400″ Height=”300″>
You can see a demo here:Â demo
Next I will explore a third party class TWEENER, that works very similar to the TWEENER class [...]
Posted in ActionScript 3, Silverlight |
By john on April 11, 2008
http://www.shu-player.com/Â
“Shu enables you to increase the power and reach of Adobe AIR. With Shu your AIR applications can quickly be converted into standalone applications to run on PC or Mac machines without the AIR runtime installed! Shu applications can also be run from a CD or network share and do not require installation.
In addition Shu [...]
Posted in ActionScript 3, Air |
By john on April 7, 2008
When using webservice classes in an “actionscript-only” Flex project, you have to make sure to include these lines of code before anything else in you class:
 var resourceManagerImpl:Object = ApplicationDomain.currentDomain.getDefinition(“mx.resources::ResourceManagerImpl”);
 Singleton.registerClass(“mx.resources::IResourceManager”, Class(resourceManagerImpl));
If you don’t include this code you will get an error like this:
Error: No class registered for interface ‘mx.resources::IResourceManager’.
at mx.core::Singleton$/getInstance()
at mx.resources::ResourceManager$/getInstance()
This is due to a bug [...]
Posted in ActionScript 3, Flex |
By john on April 4, 2008
Handy add-on to swfobject that allows the developer to specify a minimum width & height for a full-browser flash movie:http://blog.pixelbreaker.com/flash/swfforcesize/
“scrollbars are added to the browser window if the user has sized it under the specified width or height.”
Posted in ActionScript 2, ActionScript 3, Flash, Flash Tricks, Flex |
By john on March 31, 2008
When people hear Flex, they inmediately think about file size, and in my experience a Flex project starts to get heavy when you add components and when you use MXML. Flex lets you create two types of projects:
Actionscript-only
MXML
When creating actionscript only project, the file size is the same or smaller it would be if you [...]
Posted in ActionScript 3, Flash, Flex, MXML |
By john on March 31, 2008
Today I decided to test Silverlight 2.0 to see what’s is all about. I only created a small “Hello World” application, but in the next few days I plan to do the following tests:
How to load text from an xml
How to load images
How to load movies and sounds
How to do animations
My initial thoughts are that [...]
Posted in Flex, Silverlight |
By john on March 27, 2008
Since Flash CS3 and AS3 came out I been thinking about Flex, most of the projects I seen in Flex were impressive from an architecture/programming point of view but not visually. So that discourage me from using flex.At the same time in AS2 I was used to not having to have a FLA for my [...]
Posted in ActionScript 3, Flex |