Thursday, June 9, 2011

How to import a mysql database?

Dump your source database to a file using
mysqldump --database <databasename> -h <server> -u <username> -p > c:\dump.sql

Enter password when prompted.

Now execute the script in the target using
source c:\dump.sql

Could not resolve myComponent to a component implementation problem

Check your package name in the component.

Friday, June 3, 2011

Error #2130: Unable to flush SharedObject. at Error$/throwError()

Check your application url for some extra /. For me something like http://<ip>/<context>//index.html caused the error.

Invalid Embed directive in stylesheet - can't resolve source 'Embed(source = "my_resource.swf", symbol = "my_skin")'

If you are getting just one or two errors in your css, check the path of those resources.

Are you getting hundreds of such errors in your css, for all the resources? Then your css might be good ;-) Just comment out the css file in your source and take a look, you might have some broken embed resource path in your code (mxml or as). Fix it, you will be good.