Archive for September, 2007

Sep 28 2007

Problems with getURL.

Published by under Flash

This issue was mainly caused by some server side configuration (i think) but here is what the problem was, we were trying to implement a bandwidth sniffer to redirect the user depending on their connection speed but for some reason after detection of the bandwidth accurately we couldn’t redirect.

 

After lots of frustrations and numerous attempts, even tried using loadvars.send method it still wasn’t working. Finally someone came up with a suggestion that lets use “allowscriptAccess” parameter in our html and set it to “always” and there it was.

 

The redirection was working fine and everything else was as expected. So for some reason if getURL fails for you try adding this html parameter and try it out.  

No responses yet

Sep 20 2007

Using Interfaces with Actionscript 3.0

Published by under AS 3.0

This is a very basic example of how you can use interfaces in Actionscript 3.0. The complete set of file can be downloaded here.

Specified file is not in uploads folder, does not exists, or not a file.

No responses yet

Sep 16 2007

WordPress First Impressions

Published by under General

Ok now that i have published two blogs i have decided to publish this blog describing my WordPress experience.  I was looking for a blog publishing system and thought of creating mine in Flex but i wasn’t sure if google would catch the pages since i intend to publish bunch of Flash tutorials. So after few searches i decided to with WordPress. Installing and setting up WordPress was really easy and went without any hassles whatsoever.After selecting the theme, I decided to publish some blogs and found the editor to be little annoying, here is why.I like to format things and since i know basic HTML i prefer to write in code mode but then once i switch to visual mode and back all my p tags go away……also creating links with the graphical interface was pain so i decided to stick completely to the code mode and not use the visual tab at all…..lets see how it goes, also if you have other suggestions please let me know.I hit save and continue editing, it takes me to visual tab and hence i loose all my p tags and formatting *sigh*ok so i have decided to use hr tags to differentiate because they seem to get saved.

No responses yet

Sep 16 2007

Why isn’t removeMovieclip isn’t working

Published by under AS 2.0,Flash

This is one of the most annoying problems i faced, its very easy to attach movies on stage using following, 

myMovie.attachMovie("movName","newName",myMovie.getNextHighestDepth()); 
 

all is fine with this and no matter how many movies i add they will be on stage but when i want to remove the movies from stage i just do this

myMovie.newName.removeMovieClip();
 

however this line of code won’t remove the movie if the depth is greater than 1048575, usually this could happen while using version 2 components.It is really well documented by Adobe but hey who reads documentation unless necessary. I avoided this problem by just using fixed numbers for depths and it has worked beautifully. It might look simple but when this problem hits you it can be really frustrating.

No responses yet

Sep 16 2007

My Flash Experiences….

Published by under Flash

Hi All, I have been working in Flash since 2000 but mainly as a hobby until June 06. Since that time i am working with Cyberflow Solutions  as Flash Developer. It has given me enough exposure to Flash so that i can call myself advanced programmer maybe not a thorough expert. I intend to post some of the general problems i have faced in Flash and how i have overcome them. Some of them might seem trivial to you but for many people out there it can be frustrating and really annoying.Also I want to move towards creating architectures for large scale projects and therefore i intend to publish a series of articles on Design Patterns and how can they be implemented in Flash along with few simple Flash tutorials. I hope you all might find them helpful and entertaining.

3 responses so far

Sep 16 2007

Hello world!

Published by under General

Hi All, I have decided to blog on my personal site and mainly i created this blog to put up flash stuff and  tutorials etc. I will be putting up some more stuff as well. Watch out for this space……..

No responses yet