Top 5 Flex Example Resources

Writing by on Sunday, 6 of January , 2008 at 9:32 pm

Here are some of the Top 5 Flex Examples for beginners.

Leave a comment

Category: Adobe

ClassCastException while dealing with FlexBuilder States

Writing by on Sunday, 11 of November , 2007 at 11:27 pm

Do you get this exception in the states view?

	at com.adobe.flexbuilder.mxmlmodel.ComponentInstance.getStates(
	at com.adobe.flexbuilder.mxmlmodel.ComponentInstance.getDerivedStates(
	at com.adobe.flexbuilder.editors.mxml.views.states.StatesViewContentProvider.hasChildren(
	at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(
	at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(
	at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(
	at org.eclipse.jface.viewers.AbstractTreeViewer$

Looks like its FlexBuilder is Case Sensitive and is confused between these tags

<mx:state> … <mx:state>
<mx:State> … </mx:State>

Use <mx:State> … </mx:State> and you should be fine.

Leave a comment

Category: Adobe

Flex Builder 2 complains about NPSWF32.dll

Writing by on Sunday, 11 of November , 2007 at 10:15 pm

Are you getting an annoying warning message that says

C:\Program Files\Mozilla Firefox\plugins\NPSWF32.dll
Flex Builder cannot locate the required version of Flash Player. You may need to install Flash Player 9.0 or reinstall Flex Builder. Do you want to try to run your application with the current version?

Solution: (that worked for me)
Copy the file NPSWF32.dll manually from C:\WINDOWS\system32\Macromed\Flash to C:\Program Files\Mozilla Firefox\plugins

This worked for me and got rid of that annoying popup. But I’m not sure, what consequences this will have in the future after further installs/updates of Firefox/Flash etc.

Adobe’s Solution: to this problem can be found at
Flex Builder 2: Installed Adobe Flash Player is Not a Debugger

Another Discussion: (also talks about copying the file manuallY)
new flash player?

Leave a comment

Category: Adobe

PDF Files

Writing by on Tuesday, 30 of October , 2007 at 12:11 am

My Operating Systems professor at Ohio University (a big Microsoft basher) told us, “In the real world, there are just 3 ways to send documents PDF, PostScript and TXT. Thats how I’m going to accept your assignments. And extra points to those who submit their homework in PostScript. I don’t read DOC files.” Hmm… that tone sound familiar? I loved Microsoft Office since it was quick and easy to use, and it was installed in the labs but free PDF Creators weren’t so common, nor could I afford a PDF software like Adobe Acrobat so that was out of question, TXT did not support images so I used LaTeX and submitted my assignments in PS. And boy, was that painful?

These days, PDFs can be created so easily and no wonder why they’re so popular. Here are some of the advantages of PDF files that make me a big fan.

  • Simplicity– One single document holds it all, as opposed to HTML which needs images, stylesheets, scripts etc.
  • Multi-platform – The same document can be viewed on Windows, Mac, Linux, Solaris etc. and look exactly the same.
  • “Read Only” – Cannot be altered without leaving an electronic footprint. As opposed to images that can be easily altered.
  • Consistent – Preserve information like text, drawings, fonts, color graphics, photos regardless of the applications used to create them
  • Searchable – Full-text support for keywords.
  • Interactive – Can be used as Forms for user input as used by US Government for IRS Forms, USCIS, etc.
  • Extensible – Generated programmatically for PDF based business solutions like Investor Statements etc.
  • Secure – Allow digital signatures and password protection.

The PDF is the de facto standard for secure and dependable electronic exchange and used by industries and governments worldwide. Its a sensation in the printing world.

Leave a comment

Category: Adobe,Rants/Raves

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.