Dreamweaver CS4 crashes on startup (another solution)

dw

So if you are experiencing this problem with Dreamweaver here’s a few good places to start troubleshooting:

I struggled with this problem for about a month. I found a lot of “solutions” but none of them worked for me. Boy was I frustrated.

I also contacted adobe support with no luck. Here’s the mail:

“This problem started about a month ago. Until then it worked just fine. When I try to start DW it loads just fine until “initializin files”. Then it just freezes and comes unresponsive. I have even tried uninstalling and reinstalling but the problem remains the same. I am totally lost. I have tried everything including this http://forums.adobe.com/thread/417116. No luck so far.”

Finally I found a solution. For me removing the “configuration” folder was not enough. I had to remove the “Sites” from Windows registry to get Dreamweaver working again. So here is what I did (Windows XP):

  1. Press Windows Button + R (Start menu -> Run)
  2. Type “regedit” and hit enter
  3. navigate to “HKEY_CURRENT_USER\Software\Adobe\Common\10\Sites” and remove it and all of its contents (it will be recreated when you start DW again, but notice that all “Sites” data will be lost. No files will be deleted though.)
  4. Your done

Continue reading

3D Sliding Puzzle Game in Flex

puzzle

The Tech Labs just published my 3D Sliding Puzzle tutorial.

“Flash Platform is a great tool to create games, either for internet or mobile content. With the introduction of Flash 3D Engines, the ability and success of creating flash games is even bigger. In this tutorial we are going to build up a simple sliding puzzle. Puzzle images are dynamically loaded and sliced so you can easily use your own images if you like. Learn, try and leave a comment showing your results.”

If you’re interested in making a simple interactive puzzle game with Flex go check the tutorial :). Have fun.

A* pathfinding

astar21

Path-finding is really an interesting topic and luckily there is loads of information available on the Internet. Implementing the algorithm, however,  is a different thing. Don’t get me wrong. The algorithm itself is pretty easy to digest. Making it fast and efficient is a bit harder. That would involve advanced data structures,  some pre calculations and probably more. Anyway, here’s what I managed to put together. It uses Vector class so FP10 is needed.

Notes about the settings

Map mode:
In this mode you can modify the tiles. White tile equals to “walkable“. Click on a tile to toggle its state.

Path mode:
In this mode you can select the starting and ending points of the path.

Use Manhattan method:
Manhattan method is a fast (thus more inaccurate) method for calculating the distance  between two points. It is the total number of squares moved horizontally and vertically to reach the target square from the current square, ignoring diagonal movement and any obstacles that may be in the way. If this option is unchecked Euclidean Method will be used instead. It is slower but better.

Continue reading

Brain Man (Papervision3D)

brainman2

Don’t ask me about the name / post title :).

Here is demo I made at Talvi Digital a few weeks ago. I got the idea from Audis microsite.

I guess there a few ways you can do this but here’s my solution. I did this demo by reading the models geometry (vertices) into an array. Then I mapped the points to the corresponding positions in 3D space and added the “avoid mouse” behavior. You can do pretty impressive effects with this technique.

Flex Component Kit And Flash CS4

This issue was driving me crazy. I had the “Flex component kit” installed in my previous version of Flash (CS3) and it worked perfectly. However, I couldn’t get it to work with Flash CS4 even though I am pretty sure I installed the extension correctly. And seriously it is pretty trivial task :) . Adobe extension manager claimed that the extension was succesfully installed. Even so there was no extra commands added in the “Commands” menu as I would have expected. But here is what I found out.

It seems that this problem is related to having two different Adobe Extension Managers installed on one computer (even though I only could find one installation). One is saying that extensions are enabled and another is claiming the opposite. See below the screen captures.

Adobe Extension Manager CS4 (Finnish)
fi

Adobe Extension Manager CS4 (English)
en

So here is what you should do. Navigate to Flash CS4 Help menu and select Manage extensions.

Flash CS4 -> Help -> Manage Extensions

Continue reading

Check domain demo

dc

I made this small app a while ago. I figured this could be useful for someone so I decided to post it here with the source. It is relatively simple so I guess no in depth explanation is needed here. :) However, if you are new to Zend framework I recommend watching this tutorial from Lee Brimelow.

You can also download the ZendAMF bootstrap file and other related files needed to get the application work properly. I included Sven Wageners amazing  domain.class.php script in the download. That is the place where the actual search happens.

» LIVE DEMO | » VIEW FLEX SOURCE | » DOWNLOAD AMF SOURCE

Zend Framework / Zend AMF downloads:
Continue reading