a little fireworks CS3 bug

Well in my opinion incorrect user-interface behaviour rather than a bug. I just used Adobe’s report a bug form, but ironically my Safari crashed when I hit the submit button, so I’ve currently got no idea if this went forward.

The issue concerned is not new and not really a big deal, but I just had to process a pile of images and it bit me so many times I had to get it out of my system by writing about it…

The interpretation of the tab key within the properties panel for certain selected tools is in my opinion incorrect and is inconsistent with established convention.

Example 1: Marquee tool selected:

1. Set the style to Fixed Ratio or Fixed size
2. Double-click the marquee width property
3. Type with desired width.
4. Hit tab

At this point I’d expect the focus to tab across to the Marquee height property. But it doesn’t. It sets the focus on the marquee width property and selects it. I need to hit Tab a second time to get to the height property.

I’ve been caught by this so many times. It is impossible to learn to accommodate to this odd behaviour because in every other application I have ever used, tab takes focus to the next input field.

Example 2 : Eraser tool selected:

This shows more clearly the logic which has been implemented.

1. Double-click the value of the Size property
2. Type a new value
3. Hit tab

Again, instead of tabbing to the next input field (Edge) the focus remains at the Size property – value selected.

4. Double-click the Edge property
5. Type a new value
6. Hit tab

At this point instead of tabbing to the next field (Opacity), you tab back to the Size property!

In summary, it seems the implemented behaviour is that the first use of tab within a field-set of the properties panel always tabs to the first item of that field-set, the tab sequence is thereafter obeyed until you leave the field-set. I feel the behaviour should always be to tab from the current field to the next.

I’m a programmer rather than graphics dude and I use Fireworks infrequently. So many times I’ve typed a width, tab, then a height only to find I’ve just overwritten the width with the height – no big deal – but a tad annoying!

Posted by creacog in Adobe, Bug, CS3, Fireworks, 1 comment

endurance (other people’s) for charity

This seems to be the month for it. Two events of endurance. Both have personal friends participating…

1. Trailwalker 2007 : 14th July 2007: A sponsored 100Km 30 hour hike in aid of Oxfam and the Gurkha Welfare Trust. Two teams from Sun Microsystems are taking part. I’m sponsoring “Team Niagra Fallouts”. More information on the event on their blog here.

2. Sponsoring the ‘puntourists’ in their “Capital to Coast Bike Ride” on 15th July 2007. Raising funds for norwood, children’s and families trust, cystic fibrosis trust and downs syndrome association. More information on their JustGiving page.

Feeling the need to get off my backside and do something worthy myself – maybe next year.

Posted by creacog in Charity, 0 comments

essential actionscript 3 published today?

I don’t have my hands on it yet. I do have it on pre-order. Although at time of writing, Amazon is still showing it as ‘not yet published’, today is the official publish date. If it’s predecessors are anything to go by, this really will be the one book any ActionScript programmer should always have to hand. For more information and samples, check the author’s blog.

Update: Must be in high demand! Going to have to wait until at least 11th July 2007 for my copy.

Update (14 July 2007): my new “Estimated arrival date: 25/07/07 – 30/07/07” from Amazon.

Posted by creacog in ActionScript, Adobe, CS3, Flash Platform, Flex, Flex 2, Flex 3, 0 comments

my experience with Adobe UK Licensing – horrible

I really didn’t want to write this post. Much of my time is used advocating Adobe tools and technologies to colleagues and clients. I’d rather be exploring and blogging on the integration of work-flow of CS3 and Flex. But after exchanging with Adobe UK License Support, something in the order 28 emails since 26 April, and following a brief 30 days of the free trials, I am now unable to use CS3 Web Standard until Adobe gets around to sending me the installation media.

UPDATE: Resolved 22-June-2007

in the beginning…

In the MacroMedia days I was signed up to DevNet. Expensive. But a key benefit to me was the immediate availability of new product versions and serial numbers. When DevNet was discontinued I followed the advice in the discontinuation email at the time, to purchase a 24 month MVLP subscription. This purchase was made in January 2006 – right in the middle of the transition to Adobe – which probably caused the first couple of problems.

problem 1 : MVLP to AOO ?

In January of this year whilst in the process of purchasing Flex Builder 2 I made a couple of approaches to UK Licensing

  1. To see if I should purchase Flex Builder 2 through AOO
  2. To to see if my MVLP needed to be migrated to AOO

To the first point, I was invited to contact “Adobe Local Office for Enterprise Customers”. It became clear that the lead time to fulfilment was going to be too long so I eventually purchased Flex Builder through the Adobe UK On-line store – expensive but quick. To the second point I simply received the reassurance “Please be informed that as long as your maintenance is valid when the new version will come out ,you will receive the free upgrade automatically.”. This turns out to be a standard fob-off reply and is not based on the information of my original question.

problem 2 : MVLP agreement lost

As the release of CS3 was imminent, I had seen forum messages of other developers who had been migrated to AOO (begrudgingly), and had received email notifications with respect to CS3. Neither of these had happened for me so I contacted License Support UK again. The alarm bells rang with this part of the reply: “Since July 2006, all M.V.L.P client information has started to migrate into a Adobe Domain. Thus, I have searched and I cannot seem to find this maintenance agreement.”. Yet the rest of the email seemed to reassure me that “The account will automatically receive the upgrade information and media.”. However the fact the agreement couldn’t be found suggested to me that nothing would happen automatically, and I had to insist that some investigation take place and supplied all my certificate information.

problem 3 : MVLP to cover upgrade? – some doubt

“These details pretain to a Normal license protocol.” The suggestion here seemed to be that the MVLP certificate did not entitle me to upgrades. Somewhat confusing as it was for that reason it was purchased – I already had the rights to use Studio 8, I didn’t need MVLP to continue using it. I was invited to scan and send the certificate for further research – and did so.

Responses had been quite quick so far. At this point the ‘question’ was escelated to something called “L3 licensing”. The response from which requested details of the reseller and the invoice. Ironic, as this had been purchased directly from Adobe / Macromedia – no reseller.

problem 4 : Adobe response times here-on-in are SLOOOOOW

A week passed with no word, so I sent a nudge. The reply “Please be informed that we received your email and we re-escalate your request to the local office,we will contact you as soon as we will have an answer.”

Six days later I nudge again. The reply : “I apologize for any convenience this matter may have caused you but I’m still waiting for an answer, your issue has already been escalated from the Local office to the Licensing team and as soon i will have an answer I will contact you by email or by phone.”

Another week passes. I nudge again – rather more forcefully. But the reply looks familiar: “Your request has already been escalated from the Adobe Local office to the Licensing team and we are still waiting for a response, I will re-escalate your complaint and I will contact you as soon as I will have an answer.”

problem 5 : Welcome to the Adobe Licensing Web Site

Without announcement, on the same day at 10:22pm I received login details to the licensing site. However upon logging in my account contained nothing. No certificate. No license. No products. No serial numbers. No downloads – nothing.

I gave it a few days and checked again – no change. Time to send another nudge. The reply: “The order has been place under a wrong account number that’s why you can’t see anything. I asked if we can send the certificates that contains the serial number to your adress email and if we can send you free install CD. I am waiting for an answer, and we will contact you as soon as possible once a solution has been found.”

So, waiting again!

It is clear that UK License support do not have authority to act and are continually waiting on some other authority at each step of the process.

Another 5 days and I nudge again, 1 day short of the expiry of my trial period on CS3 products.

problem 6 : I got the certificate – now what?

By return, I had received the certificate via email. Followed by a message : “… and also we escalate your request to claim the media coupon codes.”

I was hopeful, but despite the invitation on the Flash CS3 “Software Setup” dialogue to enter the serial number on my Adobe Open Options license, the serial number is rejected.

problem 7 : trial period over, and I am without CS3

More days have passed. Apparently “its not possible to use a volume license serial number on your trial versions. Converting Trial Product to TLP or CLP Volume Licenses: Customers must uninstall the trial version and install the software using the correct media.”

And guess what? : “There was an error with the media coupon codes and the local office working with your issue”

wrapping it up

As I write this, I am waiting and fuming. I have been given no time frame during which in which I can expect fulfilment. There is a limit as to how long I can delay my work. If it comes to it I will have to go to a shop and buy it all again – can you imagine the anger that will brew up.

Frankly the people who have dealt with my emails have been curtious at every stage. However it appears to me that they are not empowered, and are probably inhibited by the processes implemented within Adobe. This goes on to enforce my opinion of Adobe’s split personality where the tool development, product evangelisation and support from the technical side of the business is second to none. But on the business side, the pricing, licensing policy and procedures are something of a let-down with plenty of room for improvement. It is particularly galling that one of the reasons given for inflated pricing outside the US, is the cost of locally employed personnel.

I have asked on a number of occasions for the contact details of a senior manager to whom I can raise my concerns. So far that information has been omitted from any replies so I gave up and blogged here to get it off my chest.

I haven’t seen many similar complaints out there. Is my case a one-off? This has been my first experience of Adobe Volume Licensing. Should I try to get out and back to standard methods of software purchasing?

I write this one day short of 7 weeks since the start my communication on this. Who knows when it will end? I’ll post an update here when there is final resolution.

UPDATE: Looks like I’m not the only one suffering, check this on the Adobe user to user forum. – How do Adobe expect their customers to be in any way satisfied with this crappy process? There really does seem to be no-one in-charge.

UPDATE (22 June 2007): As I write this, I’ve just done a 2 hour round trip to collect the package from UPS. I missed the first delivery attempt – I didn’t know the package had shipped. Stayed in all day for the second delivery attempt, but somehow between the first and the second the delivery address got messed up on the parcel – so it went back to the depot. (This whole process is jinxed). Now to see what’s in it and if it works. Note: my “Easy to use” licensing service lets me log-in – but then contains no menus, no options, nothing!

UPDATE (22 June 2007): It works! I used the Adobe Uninstaller utility to remove the trial versions of CS3 products then installed from the supplied media. Entered the serial number once. And we are in action for all the apps. What a relief. The whole process took 8 weeks. (Admittedly the last 4 days was due to messing about with the courier). If I added up the chargeable time I wasted in this process, it would have been more efficient – as well as more convenient – to have thrown away the old license and bought the software afresh. Reliance on this as a business model is not something I would recommend to Adobe. I guess mine was a special case? But it has revealed weakness after weakness and failure after failure in the system. Adobe – you need a trouble-shooter! Seriously! When you have a case that doesn’t fit the normal process, you need a human to cut through the normal red tape.

The remaining residual problem, is that I now have two accounts on the Adobe Worldwide Licensing site. On one account I can log-in, see all the controls, but not find my certificate or any other content. On the second account I can log-in, but once there, none of the menus are available. I can’t do anything other than log-out again! Fortunately the certificate was emailed to me a couple of weeks ago.

I dread having to deal with AOO licensing in future.

Update (10 July 2007): My account on  the Adobe Worldwide Licensing site is finally fixed.

Posted by creacog in Adobe, CS3, License, 1 comment

tile or repeat an image into a flex application background II

Back in November 2006, I made a step-by-step post of how to locate, copy and adapt the ApplicationBackground class from the Flex SDK, in order to tile an image across that background.

This is simply an update to that post, this time with source-code and the addition a sample of a tile image within a Canvas. You are free to take and re-use this code as you see fit.

The following examples use a programmatic skin approach, and rely on the image being embedded at compile time. This is a quick and dirty method. For more information on programmatic skins, please refer to Aral Balkin’s Quick-Start on the Adobe site.

You can get your hands on the source with a right-click (control-click on a Mac) on the following examples.

Application tile background

In this sample we have created our own ApplicationBackground class and and applied it within the Application tag. You can change the repeat policy by uncommenting the appropriate line within uk.co.creacog.skins.ApplicationBackground . Choose this link if you wish to view example 1 in a new window.

You need JavaScript and Flash plug-in 9 to view this sample.

Canvas tile background

The key thing to be aware of is that the component background is actually controled by the a decorator class primarily designed to control the component border. So in this example we are applying our uk.co.creacog.skins.CanvasBackground to the borderSkin of the Canvas component. I added a slider to control the corner radius to demonstrate that we can have both rounded corners and a tile background. Note: that the borderStyle of the the Canvas need to be set to “solid” in order for the borderSkin to be invoked. In addition the onus is upon us as the programmer of the skin to respond to the cornerRadius values. In this case by calling drawRoundRectComplex.

Should we need a drop-shadow, again the onus is upon us to implement it within our custom skin. I did not take the example that far. The information you need to do so is in Aral’s article.

Again, choose this link if you wish to view example 2 in a new window.

You need JavaScript and Flash plug-in 9 to view this sample.

Other ways

Other authors have documented approaches with variations which might suit you better. You may find the following useful…

If you know of better ways, please do add links to the comments.

I haven’t got my hands on the Flex 3 beta yet. I have my finger’s crossed that these approaches might become obsolete with the new framework?

Posted by creacog in ActionScript, Adobe, Flex, Flex 2, 7 comments

good stuff coming in the form of Flex 3

It was pretty good to see some of the new stuff coming in Flex 3 during the developer day this week at Adobe Live London. We were a tough audience and didn’t give much of a WOW feedback – sorry! Largely I think because much of the new stuff demonstrated I think we might have claimed a right to expect – such as re-factoring support and improved work-flow with the rest of CS3.

Not covered on the day, but would have got a WOW from me is ‘Framework caching’, described by Ted on Flex today.

To me this was not expected, however I tend to think it has been a long-time coming and is one of the most significant improvements within Flash Platform in a long time. I came to Flash very late (MX2004) and primarily worked with components. (I came to Flex even later – V2.) It always struck me as a little odd that Adobe/Macromedia placed such great emphasis on keeping the plugin download small which then had the knock-on of vast quatities of band-width wasted as the same component code is transmitted time after time and where you least desire it -hitting the load time of your SWF. However now being able to cache the framework now means only the code specific to the application need be transmitted. Much more net-friendly. I can’t wait!

Posted by creacog in ActionScript, Adobe, Flex, Flex 3, 0 comments

world : en.result1click.info what are you upto?

Seems my postings, along with those of some others, are being sucked into this aggregation (http://en.result1click.info/). Presented as text-only with all embedded links and images missing. This renders my posts somewhat out of context, diluted and next to useless. I also find the claim to copyright somewhat incredible considering that all the content seems to be scrounged from elsewhere. I can’t quite see the purpose of this aggregator either for good or bad.

So if you happen to be reading this on domain en.result1click.info, do yourself a favour, visit the real sites, in my case http://blog.creacog.co.uk/ and get the full context and links.

Posted by creacog, 2 comments

install Bugzilla on a HyperVM VPS running LXAdmin

Following my quest to find a suitable VPS for my needs, it was time to get the newly released Bugzilla 3 installed and running. It did take me 3 or 4 attempts to get this right. As I’ve stated previously, I am no sysadmin, so my failures were probably simple inexperience. These are my notes to save myself some time should I need to do this again.

Note: What follows assumes a clean install of the VPS.

I had started with CentOS5. But I found that as soon as I hit the button to install LXAdmin, my VPS was rebuilt as CentOS4.4. In my first attempt and in the final stages of Bugzilla installation I felt I really needed the system to be using Apache rather than the default of lighttpd. I could not find any way of persuading LXAdmin to make this switch despite the control on the ‘server’ page of the admin user interface. I later found this support thread on the LXLabs forum, and I started again…

  1. Log-in to the HyperVM control panel
  2. Rebuild the OS
  3. Choose the centos-4-i386-afull template

We now need to get and run the LXAdmin SSE installer script (apache/bind) available from the LXLabs download centre. To do this I ssh’d into the the VPS shell as root…

wget http://download.lxlabs.com/download/lxadmin/production/lxadmin-install-master.sh

sh lxadmin-install-master.sh

Once the shell script has completed you have LXAdmin installed. You need to get yourself logged in as admin and change the password. I choose to do all my LXAdmin work through SSL:

https://yourIP:7777/

If you run ‘top’ back in the shell, you should see about 8 httpd processes running and no sign of lighttpd.

UPDATE 06/06/2007: LXAdmin have since published instructions for an ‘easy switch to Apache‘.

While in LXAdmin, we should set up a plan. I have no intention of polluting my system with any FrontPage stuff, so my basic plan has FrontPage extensions disabled. Once that’s done you might as well set-up the domain you are going to serve Bugzilla through – and a MySQL database for it – noting down the database name and password – which you’ll need later. It is important that this domain does not have FontPage extensions, as they will stuff-up the .htaccess file. Before continuing, use the “Misc Config” button to “Enable Cgi In Documentroot”.

The next step is to get some system libraries installed. These can all be installed with yum. So back to the ssh session, the following are what I installed, along with any dependencies where asked…

yum install xorg-x11
yum install xorg-x11-devel
yum install expat-devel
yum install ImageMagick-*
yum install libdbi-*
yum install gd
yum install gd-devel

At some point we’ll need to edit some config files. I haven’t used vi or emacs since I really did work with a VT200 terminal, and they are now well and truly forgotten. A simplified alternative is nano, so…

yum install nano

With that lot in-place, we are ready to actually install Bugzilla. Change directory to your web files directory and download Bugzilla…

cd /home/httpd/your.domain/httpdocs/www/
wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-3.0.tar.gz

Then use gunzip and tar to extract the files to your www folder. At this point if you are running a low memory VPS like mine (max 256MB) you might find it useful to stop Apache. (I had one of the modules fail to install because the installer ran out of memory, which I solved by stopping Apache.)

At this point follow the Bugzilla instructions for running:

./checksetup.pl –check-modules

followed by:

/usr/bin/perl -MCPAN -e ‘install **SOME_MODULE**’

Substituting **SOME_MODULE** in each case for a module listed in the report. In just-about every case, accepting the default when prompted did the job. However when GD is installed you are asked a series of questions with respect to image formats (png, jpeg etc). These are fine, but in the case of Animated GIF I found I needed to choose N, or the module would fail.

Note: Due to the low memory available to my VPS. I decided not to install or use MOD_PERL module (which I read requires 30Mb per httpd).

Next step is to establish the localconfig file as per the bugzilla configuration instructions

You should now run checksetup.pl again, this time without the –check-modules switch.

Once localconfig has been created, you need to insert the mysql user and password details you established earlier. This is where nano comes in…

nano localconfig

Once you have saved the file, run checksetup.pl yet again. This time it will connect to the database and insert the tables. It should also have sorted out the .htaccess file.

We need to check that the httpd conf files are ok. There are a couple of changes I neeeded to make…

nano /home/httpd/your.domain/conf/lxadmin.your.domain

There are two <VirtualHost> blocks in this file, one for http (port 80) the other for https (port 443). For both you need to check the <Directorary> block relating to the www folder. In my case, the only change I made was “Options +Includes +ExecCgi” became “Options +Indexes +ExecCgi” in both blocks. Save the file and exit nano.

We could at this point restart Apache. However, unless you have any intention in future of hosting a FrontPage site I would (and did) remove the line that loads the frontpage_module. To do this…

nano /etc/httpd/conf/httpd.conf

The last line in this file loads the unnecessary module, and it can be commented out by prefixing a #. Doing so will save us wasting about 10Mb of RAM.

So at this point we can restart apache…

apachectl start

Our current working directory should still be www. If we now…

./testserver.pl http://your.domain/

All should be fine. If you get an error stating that localconfig is accessible, this is probably an issue with .htaccess. If you remove the .htaccess file, then re-run checksetup.pl, a new .htaccess file will be generated. Re-test and you should be ok.

As stated above this post is really my aide-memoire. It is not a substitute for reading and understanding either your hosting documentation, or the Bugzilla guide. However I hope it is of some help.

UPDATE: For some reason after following this install, my VPS would encounter a networking problem after a random period – usually not longer than 1.5 days. The quick fix was always a re-boot. However support from vaserv decided a re-install of BIND was required – which seems to have cleared the issue properly.

Posted by creacog in Bugzilla, HyperVM, LXAdmin, vps, 0 comments