Monthly Archives: May 2007

Generating Word docs from a web app

These are the options I discovered when researching this subject. Number 2 was the best option but it depends on the situation. “Automation” – can use all features of Word (exposed through COM objects) but not recommended for web apps because they interact with the desktop (http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2). Windows only. Need Office installed on the server…. Read more »

Posted

AS3 Tweener classes

Theres is a current animation kit that is compatable with AS3. It is called Tweener and is available on Google code: http://code.google.com/p/tweener/ Its already in the code nmc directory so can be accesed directly from flash, (you should already have it linked in preferences) example: import caurina.transitions.Tweener; // it takes an object array with properties… Read more »

Posted

AS3 more tweening

there are files floating about on the net with the converted flex tween files for Flash 9 Alpha. or email me and i can get you a zip file with it in. for PC’s i put it in : C:\Program Files\Adobe\Flash 9 Public Alpha\en\First Run\Classes after more errors i realised it’s not like Flash 8,… Read more »

Posted

AS3 tweening problems

The majority of the problems im having with flash 9 alpha and AS3 are the changes in syntax and stupid error messages. In particular with the tween classes. Obviously Fuse is out of the question till they release an AS3 version not that it’s too important because with the event manager in flash 9 you… Read more »

Posted

Building Contribute-enabled sites

Basics Based around Dreamweaver templates. Create “Editable regions” – the end-user can edit these. Use “Repeating regions” e.g. http://www.ccdu.co.uk/news.htm for when users can add and remove similar areas. Create editable regions within headings if you want to restrict the user to a certain style for that area (again see the repeating regions and the h1… Read more »

Posted

AS3 masking

Instead of being a function of the movieclip class, it’s a setter of the display class of the movieclip class (phew!) so: mc.containerMC.mask(mc.maskMC) becomes: mc.containerMC.mask = mc.maskMC; remember to cache as bitmap if not already a bitmap to maintain alpha transparency effects.

Posted

AS3 no attachMovie

What a pain in the ass, Everything has been made more object based. Now to attach a movie using CS3 or Flash 9 beta (Flex does not have the library): add your linkage in the linkage identifier of the advanced properties of the symbol in the library. i.e ‘myLinkage’ create a new package and class… Read more »

Posted

AS3 no AttachBitmap

In AS3, the MovieClip method attachBitmap is removed. The documentation roughly states that addChild is the equivalent of attachBitmap… but only display objects can be “attached” using addChild. Running addChild(myBitmapData) within a MovieClip or Sprite class throws an error, because it appears that BitmapData is not considered a DisplayObject. edit: use the new Bitmap class… Read more »

Posted

More AS3 – MovieClips, Sprites and Shapes

Ok new to AS3 is the Sprite object, it is basically a Movieclip without timeline properties and methods. Think of it as a lighterweight object. You should extend Sprite in a class if your using it for something static with no frame based animation like a title or an image. (I’ve been using them for… Read more »

Posted

WordPress Email Sending Fix

Sending emails seemed to be broken on this WordPress installation. I’ve seen this before too. The fix is in includes/pluggable-functions.php function wp_mail() Set the from header to from@newmediacollective.com: “From: form@newmediacollective.com\n” WordPress tries to set it to something like wordpress@newmediacollective.com. Our server doesn’t send emails from addresses that don’t exist as a protection against sending spam…. Read more »

Posted