Pocko.org – Rosen Ivanov

Everything is possible! The impossible just takes a little more time…

Firefox lagging

Hi,

I had in the last days. I use Firefox all the time and probably because of the cached files or something else it started to lag when I was browsing in more than 4-5 tabs.
I found good solution solving this problem.

Win 7 solution
1. Clear the whole cache of your browser
2. Go to C:\Users\{USERNAME}\AppData\Roaming\Mozilla\FireFox\Profiles
3. Find the folder of your default profile.
4. Delete all sessiostore*.js files

Restart the browser and then everything should be fine.

Hope this will help you. I made it and now it’s working a few times faster icon smile Firefox lagging .
P.S. I can’t imagine if I had to use Chrome LOL

Dynamic generated xml doesn’t work on IE

Hi guys,

I met this problem a few times already and I decided to write about it. I will start and repeat this again: DO NOT USE INTERNET EXPLORER AS YOUR DEFAULT BROWSER

The problem is simple: When you have a flash container which is loading xml data generated from php script, this data won’t be loaded properly in the flash because of missing headers. Of course this happens only with IE. The solution is simple. You should add a piece of code which will check if the requests are coming from MSIE browser and if yes, then you just add additional headers.

Here is the code you have to use before the script output the generated xml

if (strstr($_SERVER['HTTP_USER_AGENT'], "MSIE")) {
    header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
    header('Pragma: public');
}

Hope this will help you!

Cheers!

Flash can’t compile large .fla files

I met a problem a few days ago. My partner was trying to compile one very big project which has a lot of components, libraries etc …

He added a new component that we were making and try to compile it. But after the swf was compiled it was empty, there was nothing in it and it was half of the original size which had to be.

We had to find a way to solve this compiling problem and the solution was to increase the heap size of JVM. This is only for CS5

Here is how you can do that:

1. Got to C:\Users\{USERNAME}\AppData\Local\Adobe\Flash CS5\en_US\Configuration\ActionScript 3.0

2. Find a fila called jvm.ini

3. Open the file and find a line -Xmx128m

4. Change this to -Xmx512m

5. Save the file and start Flash CS5

Note: Flash must be stopped in the time you are changing this!

I hope this will work for you and you will be able to compile you big projects icon smile Flash cant compile large .fla files

Cheers!

Categories

Calendar

February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829