TDOT Blog Touchwood Creative

Register | Forgot password?


Touchwood is continuing to grow!

We are looking for talented Flex developers to join our Interactive Group. If you have any interest we would love to meet you. Please email your resume to us at:

jobs@touchwoodcreative.com


Actionscript 2

Cross platform Zinc projects

One of the biggest challenges of developing crossplatform applications using Flash and MDM Zinc is properly loading external assets. Typical assets include images, data (css, xml, txt etc...) and video (flv typically). The main outline of our task is as follows:

  1. Determine what type of path
    we need to properly load each type of asset on each operating system. This
    is the most time consuming part.
  2. Develop a method of
    determining which operating system we are on (without having to change any
    code).
  3. Put together a package of
    classes that detects operating system and returns the proper path. At this
    point it is also helpful to plan on future platforms, such as the AIR
    runtime environment or running on a web server.

So without further ado, let's get on with it...

 

 

Syndicate content
© Touchwood Creative 2007 | We use Firefox