stop all sounds in Flash AS3

You can call it the global mute as well. What this line of code does is actually just turning down the entire flash’s volume down to 0. This is great for websites or games alike when a “Sound Off” or “Mute” feature is needed.

SoundMixer.soundTransform = new SoundTransform(0);

AS3 Fur/Hair Generator

Stumbled upon this great flasher’s blog recently while trying to research for something I want to do:

http://en.nicoptere.net/?p=574

The speed and quality of the fur generator is, I believe, the best out there right now.

Awesome stuff.

Other generators:

http://blog.inspirit.ru/?p=131

http://projects.stroep.nl/fur/

Update your Flash CS4

If, for some reason, you’re still on Flash CS4 10.0, upgrade to 10.0.2 NOW.

My Flash has slowed down dramatically since my FLA got huge. Clicking on elements on the stage was agony as it takes a few seconds for Flash to react.

Little did I realise that Adobe released a fix for it, and I didn’t get it because I didn’t update my Flash! So if you’re still on 10.0, get 10.0.2 now.

http://www.adobe.com/support/flash/downloads.html

I’ve never known updates to be so important till now.

Edit: The new version should be 10.0.2. not 10.2. Credits to Eric for pointing it out to me.

Overlapping Movieclips in AS3

Back in AS2, when a MovieClip(MC) is underneath another one, as long as the MC that is on top doesn’t have any button actions (eg. onRollOver, onRelease etc), assigning button actions to the MC below will work.

Not anymore in AS3.

A quick fix is to give the following properties to the MC on top in AS3:

mc.mouseEnabled = false;
mc.mouseChildren = false;

Hope this will help someone!

Illustrator to Flash

I’m trying to post solutions to problems I face during my work – both for myself and for anyone who might be facing the same problem.

Today, I found the solution to a problem I’ve always faced – Copying and pasting items from Illustrator to Flash changes the colours of the vector objects!

The solution:

In Illustrator, go to Edit > Color Settings > Working Spaces > RGB, Select sRGB from the dropdown list provided. Remember to click OK after that or the program won’t register your settings.

Next, sometimes if you notice your vector files losing quality after pasting it in Flash, try going to View > Preview Mode, make sure that Full is set. If it is set to Outline, before exporting, you’ll realise that the edges of your vectors are jagged and ugly.

If this post helped you in any way, help me in return by clicking on the ad below:

Updates coming soon

I’m planning to update DesignFission more as I start to get my career back on track after the 2 years of National Service to my good old country.

Expect more Flash and web related posts coming up!

Zhang Jingna Photography won awards!

A recent flash site for a local photographer, Zhang Jingna, which was done with a designer, Yanda, won some recognition at some websites. It was a pleasant surprise to know that we won, especially since I thought we could do much better things with the site given more time.

http://www.designlicks.com/web-awards/1799-zhang-jingna-photography
http://www.designcharts.com/
http://www.webdesignfile.com/zhang-jingna-photography/
http://lancamento.jugem.cc/?eid=3013

Winning these “awards” tells me I’m doing the right thing. Undeniably, it makes me happy, but I must remind myself not to be driven by awards!

Oh, and view the site here.

Google Chrome: First Impressions

Finally some tech related news!

I’m posting this using the extremely fast Google Chrome, Google’s latest product – a web browser.

I’m just going to make this a short one and list down some first impressions and things I’ve noted while using it for the past 30mins.

Firstly, the browser is extremely fast when rendering pages! Even faster than Firefox in fact. Booting up the browser for the first time, Chrome prompts you to transfer your bookmarks/passwords/everything from Firefox. And everything they transferred alright. Even the history! Installation was fast, easy, and required little to next prompting.

Now, the first thing that prompted me to make a post is, Chrome doesn’t require users to install Flash as a plugin. Flash works right out of the box. I’m not sure if it’s because I already have Flash installed on Firefox or IE. But on my experience with Firefox, I still need to install the plugin even if I have installed it in IE. And vice versa of course.

This is a sweet little move that shows how much Google supports RIA in their browser.

Next, there’s this sweet little option called the “Create application shortcuts…”. Again, another feature to make RIA “more in sync” and working more like desktop applications. I can create a shortcut for my blog’s admin page, and you can choose to make it appear in Start/Desktop or Quick Launch. Works just like a application – even though IE’s shortcut URLs do the same thing. I guess Google made it sound much nicer – Application shortcuts. =P

Opening a new tab gives you 5 thumbnails of your Most Visited pages. A very handy feature that I never thought I would have need.

Lastly, I tried to access a music site which requires IE due to DRM reasons. And sadly, it still doesn’t work for Chrome as well. What is interesting though, is that the javascript that website is using seem to detect Chrome as Apple’s Safari on Windows.

Take a look for yourself: Nokia Music Store

Other things worth mentioning that perhaps you would have known by now is, tabs appear on the top of the address bar for Chrome, instead of under it. I don’t really see the benefits of this little change in the layout of the UI yet, but after more use, maybe I will prefer/hate it compared to the usual below the address bar tabs.

Conclusion
Chrome is fast becoming a replacement of Firefox for me. What it lacks right now, is the amount of Add-Ons that Firefox has. Time will tell if Chrome will replace Firefox completely for me, but for now, Chrome has impressed me a lot. It’s definitely made a good first impression.

Edit:
Chrome still doens’t support Java integration. That means that iBanking doesn’t work, and so does some upload managers for photo websites that uses Java.

And there is a new incognito Window thing, this is a very useful window to use if you’re in an internet cafe or in office!