Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c01/h12/mnt/44487/domains/blog.wintondeshong.com/html/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c01/h12/mnt/44487/domains/blog.wintondeshong.com/html/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c01/h12/mnt/44487/domains/blog.wintondeshong.com/html/wp-includes/theme.php on line 540

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c01/h12/mnt/44487/domains/blog.wintondeshong.com/html/wp-includes/vars.php(195) : eval()'d code on line 306
Winton DeShong Blog, Flash Development, Web Development, Search Engine Marketing, Flash Remoting, Database Design, Web Hosting, Web Design, Interactive Development, Interface Development

Winton DeShong
Web / Flash Development

Jan 8

Apple Magic Mouse and USB Overdrive

Category: Apple, Hardware

I received an Apple Magic Mouse over Christmas and to my surprise I had issues getting my system to recognize the device. After uninstalling USB Overdrive and restarting 2-3 times it still wouldn’t work. It took quite a bit of looking with the help of Sir Google to determine that there was a “USBOverdrive.kext” file lingering in my System/Library/Extensions folder. Simply deleted the file, restarted, and was golden.

1 comment

May 5

Resolving “Could not load file or assembly ‘FluorineFx’ or one of its dependencies.”

Category: AMF, ASP.NET, IIS, Software

Problem:

Could not load file or assembly ‘FluorineFx’ or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0×80131045)

Description:

This issue isn’t a problem inherent to the FluorineFx package, but is caused by any libraries that use signing. If an assembly that uses signing is requested, IIS checks against the GAC to make sure it has record of the assemblies “Public Key Token”. This is used so IIS can serve different versions of the same assembly across different applications.

Solution

(1) Install the .NET Framework 2.0 Software Development Kit if it is not already.
http://www.microsoft.com/downloads/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a244-c96d69c35dec&DisplayLang=en

NOTE: This installation does NOT require a restart.

(2) Install the appropriate version of the FluorineFx package OR whichever library that is causing the issue.

(3) Go to Control Panel > Administrative Tools > .NET Framework 2.0 Configuration > “Manage the Assembly Cache” > “View List of Assemblies in the Assembly Cache”.

(4) Right-click “Assembly Cache” in the left column and select “Add…”.

(5) Browse to the newly installed DLL. If you try to reference the DLL that is in your application you may run into issues.

In the case of FluorineFx, the default path is “C:\Program Files\FluorineFx\Bin\net\3.5\FluorineFx.dll”

With the DLL added to the GAC you should be good to go!

4 comments

Mar 23

FlexFormatter Eclipse Plug-in

If you are a MXML and/ or ActionScript developer using Eclipse, you must use FlexFormatter. Head over to sourceforge and grab this eclipse plug-in NOW! Finally, an end to the war between new-liners and same-liners.

1 comment

Feb 28

ActionScript Message Format Presentation

A few weeks back I gave a presentation at the Central Pennsylvania Flash User Group (CPFUG) on the ActionScript Message Format, or AMF. Below is a screen capture of the presentation along with audio. You can also download a higher quality 800×600 version here.

Adobe Flash Player version 9 or higher is required.

4 comments

Feb 11

External Harddrive Fail

Category: Apple, Hardware, Workflow

Over the last several months I have been migrating to a different approach for routine backups. For longer than I can remember, I have manually backed up data from my various computers to a centralized Fedora Core Linux file server. My box only required a power and network cable to work. Pressing the power button would start her up and again to begin the shut down procedure. Occasionally I’d SSH in to make sure my RAID was working and to do any necessary updates.

Over time, even that process has become a chore for me. In an attempt to become lazier than I already am, I have been using large external drives with time machine to do routine backups of my primary systems.

Though time machine is a breeze, finding an external hard drive that is reliable hasn’t been so easy. After using a mix match of different enclosures and smaller hard drives I had laying around, I decided to consolidate. I looked around and decided to get the LaCie d2 quadra 500GB hard drive. At the time the quadra was attractive because of the price vs. storage ratio and the fact that I could use several interfaces besides USB.

Sadly, it only took 2-3 months of use for it to FAIL. One day, conveniently when I was going to upgrade the hard drive in my laptop for work, the drive decided it wouldn’t start. So, I talked with support and requested a new power cable. Apparently, it is common for their drives to have faulty power cable. No big deal, two weeks and a reminder to LaCie (they forgot to ship it), I received a new cable. For the time being, all was well.

Flaming hard drive

Again, after about 2-3 months of use, my drive would not start. This time it came with an added bonus, the connection to the drive shot off sparks when connecting the power cable.

So, the next time you are in the market for an external hard drive, I’d avoid LaCie products if I were you. In turn, check out the following external drives that I’ve used:

1. Western Digital My Passport External Hard drives - Perfect if you need a drive that is extremely compact and reliable, but don’t require a fire wire, or esata interface. I’ve had the 60GB version of this drive for over 3 years and it still runs perfect!

2. Macally G-S350SUA Hi-Speed eSATA/FireWire/USB2.0 Storage Enclosure - This enclosure has several interfaces and is relatively light. It comes in two different models depending on if you want fire wire in addition to eSATA and USB. You can actually pair one of these enclosures with a 1TB Seagate drive for less than $200!

3. Western Digital My Book - Finally, there is the My Book. This option is probably the most popular of the three I’m describing. The enclosure is double the thickness of the Macally, or 2nd option, described above, but it comes with a few more flavors.

2 comments

Feb 10

PureMVC Debug Console by Kap Lab

I recently stumbled upon a pretty cool project released by Kap Lab called PureMVC Console. The debugging console allows you to track various aspects of your single/multi-core PureMVC applications in a convenient manner. Setup is simple and the developer guide shows you how to easily switch your project between production and debug mode via compiler directives. During run-time of your application, you can hit a simple key command to bring the debug console up. This project is definitely worth a look!

No comments

Jan 30

File uploading in a PureMVC application

Problem Summary

File browsing/uploading/saving is a common task. What is the best way to implement file handling while using the PureMVC framework?

Solution Summary

Below I propose a foundation for handling file browsing/uploading/saving in a single-core PureMVC application.

Explanation

In both single-core and multi-core PureMVC applications, I tend to keep all of the FileReference/FileReferenceList event handling in a Proxy. This allows for application/module -wide handling/presentation of errors related to file uploading. It also abstracts the code for re-use in all of your components in the application.

For more, check out my Flex Cookbook post at http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postid=12706&loc=en_US&productid=2.

Project source files

No comments

Jan 25

Managing your code with Git and the EGit plug-in

Problem

I’ve been migrating to Git for my SCM needs. Using the command line is fine and all, but it would be nice to have a more accessible and streamlined approach. One that works with eclipse/flex builder?

Solution

The EGit project is an eclipse plug-in for managing projects that use Git. Though the project is somewhat new, it has come a long way. It is simple to use and the project is constantly being improved.

Explanation

For more information, see my flex cookbook article at http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postid=12606&loc=en_US&productid=2.

No comments

Jan 19

Using AMF and RemoteObject without services-config.xml

Problem Summary

The most common approach to configure your environment to talk to amf services is through a file called services-config.xml and RemoteObject. The problem is that services-config.xml is used at compile-time. This creates annoyances when using multiple developers and/or multiple platforms for development, deployment, etc…

Solution Summary

In my case, I decided to migrate the endpoint-uri from the services-config.xml file into a configuration XML file that is used at run-time. Each site can then have it’s own config file and I only need to compile the application once.

Explanation

For this example, I’m going to assume you already know how to create, load, and parse XML files and feed that data throughout your application. In my case, I created a singleton with a static property of ‘endpointURI’ that can be referenced through the application.

See my post on the Flex Cookbook for more details.

No comments

Jan 11

Playstation 3 DLNA, MediaLink, and Apple Airport Express

I finally decided on software to transcode various media types for use with the Playstation 3. After trying various packages, such as; MediaTomb and EyeConnect, I decided to use NullRiver’s MediaLink. Though many people have had success with EyeConnect and MediaTomb, I felt MediaLink had the easiest interface, produced the best results for my situation, and was cost effective. For only $20, you can turn your Mac into a Playstation 3 compatible media server.

Now, it might not be as simple as it sounds. My first attempts during this process were using my existing network consisting of a Fedora Core Linux server, two Apple Macbook’s, and some other devices networked with a Linksys wireless router. The combination of the increased traffic from those devices and the quirkiness with the Linksys router resulted in random connection issues and heavy latency. Even with proper port forwarding, my wireless devices would fail or my entire segment would go down and require a restart.

In the end, I decided to work around this issue and make a separate network entirely with an Apple Airport Express (which I had). Anytime I want to handle media distribution throughout my apartment, I switch over to this network and can communicate with the Playstation or remote speakers via airTunes. This segment extends the other so I can still communicate with my file server and other devices. Having the Playstation always working off of the airport express eliminated the issues I was having. With the Airport Express configured, I connected the playstation and my laptops with the MediaLink server wirelessly to that access point.

Now I can browse those systems for any media I want to view on my HDTV. For the _best_ performance, I recommend atleast using a wired connection for the playstation 3. It works for me either way, but when it comes to larger files it may take your PS3 longer to queue them up.

7 comments

Next Page »

google

google

asus