Archive for the 'Flash' Category

09
Feb
10

My babies alive!

http://www.wrench.com.au/

Initially built using AS2 but never launched in 2006 (due to time constraints i.e. doing real work), the domain that was supposed to showcase my wares remained as a coming soon page for nigh on 4 years. Finally the bullet was bitten in the latter part of 2009 and the decision to port the entire site to AS3 and utilise the Gaia framework was made. Within 4 weeks, a fully functional, SEO compliant, user accessible site was finished and launched. Kudos to Steven for the framework, rock on Gaia!

Feel free to leave any comments you’ve got about the site; be they good, bad or otherwise…

Wrench screen grab

20
Oct
09

Loaded swf obscuring mouse events in overlapping movieclips

Long time no read. Been busy with a large Flex project, plus I’ve been trying to see a bit more of Europe - but thought it was about time to get back onto some blogging. That and I’ve come up against something that I can’t seem to figure out (and it doesn’t look like anyone else has either from the amount of Googling I’ve done looking for a solution).

Basically what I’m doing is loading an swf with an image in it, which loads over the top of another swf which has some navigation elements in it. What is occurring is the swf on top is preventing any mouseover events from reaching the buttons below the image. I’ve zipped up a test archive to try and illustrate what’s going on. If you run test2.swf, and then mouseover the part of the orange square that intersects the green square, the green squares mouseover event should fire. I’ve set mouseEnabled = false on the orange square, but the fact that it’s in a completely different swf seems to mean that this doesn’t have any effect. The part of green square underneath the orange square is simply not receiving any events.

I’m actually using the Gaia framework, so it’s doing all of the loading of the swf’s. And I thought possibly setting the ApplicationDomain of the swf’s to be the same would mean things would work - but it didn’t. So if anyone’s experienced overlapping assets in two different swf’s interfering with mouse events then please let me know in the comments below.

01
Jun
09

Flash Catalyst or Catastrophe?

I’ve been watching the large number of blog links regarding the news from Adobe labs that Flash Catalyst is now in public Beta; naturally I had to download and have a go myself.

My first impressions are not good.

It seems like they’ve decided to invent their own usability best practices for the tool shortcuts. Where the hell is the pan tool? Why doesn’t holding the space bar and then using the mouse to scroll perform a pan? Keyboard shortcuts for delete don’t seem to work in the layers panel. Where is the align panel? Do I really have to right click an asset and select an align option from a dropdown? It’s a real mouseathon in the program at the moment. These aren’t really things I see as Beta related, they should just be in the app - which they are in any other CS4 product, so I’m mystified how these issues got through QA to this stage.

Probably the biggest issue is the speed (or lack thereof) of the program. Trying to edit a button’s state is painfully slow. I’m not sure whether this is to do with my system (dual core 2.4Ghz with 4Gb RAM on Vista) but I’d like to know if I’m the only one who thinks the program runs painfully slowly.

Aside from the usability and productivity issues I’m still at a loss as to why the CS4 core wasn’t used for this (or was it?) and even why we need a further dilution of the Flash product base. Surely Flash CS could be re badged as Flash Designer and the Catalyst toolset integrated (I realise I made that sound easier than it would be, but as it stands the introduction of this third tool looks like more of a money grab than anything else). This would go nicely alongside the newly re badged Flash Builder (which incidentally looks very good, so kudos to the Flex team).

I haven’t upgraded to CS4 as yet, and it’s for some of the reasons above that I haven’t. I just don’t know where the Flash products are headed, and quite frankly if this is where they’re going I may jump ship completely onto HMS Flex and let the “designers” out there handle getting the assets I’m after into a state in which I can use them. Though the right side of my brain may have something to say about that statement…

15
Jan
09

as3 casting issue

Either I’m going slightly mad or casting using the “as” keyword works differently to the old way of casting.

Here’s some code to illustrate:

showFormItem = (((e.target as CheckBox).selected as String) == _local.displayTriggerValue[i]) ? true : false
Now this gives a different result to:
showFormItem = (String((e.target as CheckBox).selected) == _local.displayTriggerValue[i]) ? true : false

WTF?!

I’m pretty sure I’ve got my brackets in the correct spot.

Yhelp!

18
Nov
08

The all encompassing Flash Platform

Seems we’ve come a long way from the days of Flashkit users (ahh the memories ;-) asking whether Flash can be connected to a database. Now the questions is more likely to be what can’t Flash be connected to!

The formalisation of the Flash Platform helps to answer the later question, and to be honest there’s not a lot it can’t be connected to according to this image!

This is just one of the many things to have come out of the MAX conference thus far. Looks like the marketing/corporate relations team has had they’re work cut out for them, issuing 8 separate press releases yesterday!

I’m off to read about what else has been going on at MAX…

16
Sep
08

Flash Player ate all the pies!

I just checked out the latest Flash Player release candidate and was interested to see that the file size of the Mac and Linux versions are over 5.45Mb and 3.8Mb respectively. The PC version is still under 2Mb (which is very small for what it’s now capable of).

That got me to thinking about a few things. What were the average player sizes for the last few Flash Player releases? This led me to the Flash Player Archive page on the Adobe site. I downloaded the Flash 7, 8 and 9 archives and got to knocking up a quick average of the player sizes. Rather strangely there’s Linux releases in the Flash 7 archive but none in the Flash 8 archive (which I later discovered was due to there being no Flash Player 8 for linux per se as they went straight to 8.5)

Here’s the rough figures:

Note: I’m using the .zip, .exe, .hqx, .dmg or .tar.gz size not the actual size of the player inside the archive. Obviously this isn’t terribly scientific but I wanted to get a general guide to the increase in size of the actual single file end users have to download to install a player.

Flash 7 Flash 8 Flash 9 Flash 10
ActiveX
0.75Mb* 0.83Mb 1.33Mb 1.80Mb
Plugin
0.69Mb 0.95Mb 1.43Mb 1.76Mb
Mac OS X
1.68Mb (PowerPC) 1.42Mb (PowerPC) 2.10Mb 5.45Mb
Linux
1.00Mb no stats available 2.83Mb 3.78Mb

* There was a 300Kb decrease in size from the initial release to the final release of this version of the Player

So that brings up a few questions. Why is the Flash Player 10 Mac release so much bigger than the Flash Player 9 one? Is there a lot more code optimisation still to do for this release?

The Linux version also seems to be getting bigger relative to the PC version. Is this because the PC version can utilise functionality already available to it in Windows, or…?

Is there a magical size that if the Flash Player were to exceed, users would be less inclined to download it? Or even if the Player was 10Mb it would still have the same penetration it currently enjoys?

Lots of things to ponder, and comments to make!

06
Aug
08

Flash Player 10: Sound features aren’t music to my ears

Well at least it doesn’t allow me to tune my guitar using a microphone (as I was hoping the new features added to the Sound class might).

I’m currently away from my lovely Takamine acoustic guitar with built in tuner, and have a fairly dodgy classical to play with at the moment. As I don’t have my standalone guitar tuner either I started looking for applications for my phone that would allow me to tune the guitar. I found a few, but none seemed to actually do anything after installation, so I started wondering whether Flash 8, 9 or 10 might be able to do the job. I did find a reasonable flash tuner, but this didn’t make use of the microphone (like both my proper guitar tuners do). I then investigated the new Flash 10 player features only to be disappointed when I read the following (taken from kaourantin.net):

Unfortunately some features did not make it into Flash Player 10: Extracting audio data from a microphone and extracting audio from a NetStream object. We are aware that both features are highly desirable, but for various reasons it was not possible to make this happen in this release.

Adobe’s missed a good opportunity to integrate some very powerful audio capabilities into the Flash player… but I’m sure there’s a good reason for it… right?

So it’s back to tuning the good ‘ol fashion way I suppose!

22
Jul
08

Gaia Flash Framework - My Experience

I’ve been a bit busy over the last few months. Here’s what I’ve been up to…

I’ve moved to the UK
I’ve travelled home again for a family reunion
I’ve read a good portion of Moock’s Essential ActionScript 3.0
I’ve drunk more Guinness than I care to (or can) remember in Ireland
I’ve sold a car
I’ve worked on my first AS3 site
I’ve used the Gaia Flash Framework

The last point is obviously what I’d like to delve in to a bit more.

For those of you that aren’t aware (like myself about 3 months ago) what the Gaia Flash Framework is, you can find out more at Steven Sacks comprehensive website - http://www.gaiaflashframework.com. I only stumbled upon the Framework as a result of someone else (can’t remember who it was now, but thanks!) posting about it on their blog.

In essence it’s a Framework that takes a lot of the leg work out of creating page based Flash sites. By Page based I mean sites that have a fairly standard navigation hierarchy. It can be used for more complex projects, though I found I struggled against the Framework more than it helped me some of the time.

The project I decided to use it on was for the SBS Australia Documentary website - mY Generation

The main issues I came up against in using the Framework for this site were the following:

  • I couldn’t have two pages loaded on the screen from separate branches at the same time. So If I wanted a video from one section to remain visible on screen while the user navigated to the “TELL A FRIEND” section I couldn’t do this due to the way pages have to unload if there not part of the parent page node
  • Using the transition engine, although powerful, quickly became very convoluted and confusing when testing the preloading of pages and assets. Though I suspect I found this as the Framework wasn’t quite suited to this type of project
  • The file size of the entire project was larger than I would’ve preferred as each page had to have it’s own swf associated with it. This meant not easily being able to share assets like fonts amongst pages. This was partially addressed in later versions of the Framework, so I will have to see if I can utilise this functionality next time around.
  • Later on in the project new releases of the Framework became available that significantly changed the implementation of some of the Frameworks features. This made it very difficult for me to upgrade and get the benefit of the bug fixes that were made

On the up side, it’s author Steven Sacks mustn’t spend a great deal of time sleeping as he seems to hold down a full time job whilst at the same time rapidly releasing new versions of the Framework and responding with very lengthy and informative posts on the forum. The documentation is also very good, though there were a few things missing which threw me for a loop (though most users probably wouldn’t have experienced the same issues as I was pushing the boundary’s of what the Framework was capable of). The documentation also gets updated very frequently with issues that users are experiencing in the forums.

I didn’t get to use the SEO capabilities of the Framework, but am finishing up my “new” (it’s been 2 years in the making) website now and am contemplating porting it all across to Gaia just for this 1 feature.

So check out the Framework, check out the SBS site, and let us know if you’ve had any experience with Gaia.

25
Mar
08

FlashDevelop allows me to develop in Flash

Just wanted to exclaim to the world (well the handful of people that happen to read this post anyway ;-) that FlashDevelop is freaking unbelievable!

After using the Flash CS3 IDE to edit code, FlashDevelop is pure bliss! I did try it a few Beta versions back, but never for an AS2 project that was half way through. The speed with which I can code in FlashDevelop Vs. the Flash IDE is increased 3 fold. I know Vista and CS3 and my rather old hardware (yes I’ve got 2Gb of memory) are causing some of the issues I experience when editing .as files in Flash, but FlashDevelop isn’t affected by these same issues.

I just want to say thanks to Philippe for the work he’s put into this program.

Here’s hoping Adobe pull their finger out and put a usable text editor into the next version of Flash. Until then, FlashDevelop is my new best friend.

29
Jun
07

Does my bum look big in this AS3 component?

Did a little comparison today of the AS2 components versus the AS3 components. Here’s what I found:

Component AS3 AS2
Button 14Kb 26Kb
Checkbox 15Kb 27Kb
ColorPicker 19Kb NA
ComboBox 35Kb 55Kb
DataGrid 41Kb 59Kb
Label 14Kb 22Kb
List 29Kb 47Kb
NumericStepper 18Kb 28Kb
ProgressBar 16Kb 26Kb
RadioButton 16Kb 29Kb
ScrollPane 21Kb 38Kb
Slider 17Kb NA
TextArea 21Kb 39Kb
TextInput 15Kb 25Kb
TileList 33Kb NA
UILoader 15Kb 26Kb (mx.controls.Loader)
UIScrollBar 18Kb 34Kb

I also note that there is no AS3 component equivalents for the AS2 Accordian, Alert, DateChooser, DateField, Menu, MenuBar, Tree and Window components. What is the plan for these rather useful missing components? Or are they seen as being Flex related so are no longer released with the Flash IDE? Can someone shed some light on how we can get access to these missing components?




Categories

Recent Comments

Posts this month

March 2010
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031  

Archives