David Harris's Technology Blog

ColdFusion, Flex, and other stuff...   (and 323,761 hours, 43 mins in to my plan for global domination)

Search:

Calendar:

Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Subscribe:

Enter your email address to subscribe to this blog.

Archives By Subject:

Tags:

adobe air ajax cfug coldfusion flash flex frameworks free software fxug general jpgmetadatareader mac off topic opensource papervision spry

Recent Entries:

Top Posts:

Recent Comments:

Top Commenters:

My Links:

RSS:


What version of Flash player does cfpresentation require?

This is a question I had, so, doing what all good developers do, I looked in the documentation.

Didn't find it there.

The next step a good developer does is ask the holder of knowledge, Mr Google. He didn't know either...

Third step, inspect the generated code...

The generated code uses a .JS file called "loadflash.js", which has the code snippet:

object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0" width="'+w+'" height="'+h+'" id="SlideContent" align="" VIEWASTEXT>

note the: "version=6,0,65,0"

so the answer to the question: What version of Flash player does cfpresentation require?

would be: 6+ :-)

Trace log not working on Flash Player 9,0,28,0

When I am working with Flash, I use the "trace" function ALLOT...

It's great for quick debugging and working out what your code is doing.

On XP, to define where the Flash log is writen client side you set up a file called "mm.cfg" in location: C:\Documents and Settings\[user name]

in this file, one of the settings you define is "TraceOutPutFileName", which is the location and name of the log file that is created and written to by the Flash Player as your application runs. EG: "C:\MyFlashLog.txt" would be a valid value for this variable

In FireFox, I use "Flash Tracer" to monitor the defined file while I am developing.

For some reason, it stopped working! I was trying all sorts of things, and often when the Flash log stops working it can be the version of FP installed, but I KNOW I had the right version installed. I had version 9,0,28,0 installed.

I asked on FlexCoders, and Matt Horn from Adobe answered...

The problem was that you can't define where the Flash log is written now, and it is hard coded to write to : "C:\Documents and Settings\[user name]\Application Data\Macromedia\Flash Player\Logs\flashlog.txt"

So once I pointed FireFox plugin "Flash Tracer" to that file, I started seeing my trace output again!

Thank you Matt for your response!

You can see the thread at: http://tech.groups.yahoo.com/group/flexcoders/message/63656

Image Processing and Flash

I was chatting online to another member of the CFUG the other week, and he mentioned he was thinking of doing an Image Editor in Flash...

I found this AS(3?) library... http://je2050.de/imageprocessing

It has some pretty comprehensive abilities...

Maybe he would find it useful?

Flex2 and 3D - using PaperVision3D

As you may or may not know, Flex2 compiles to ActionScript3.

There is a 3D library called "PaperVision3D" - you can find it here

I am attempting to create a simple photo album, based on the XML provided for SimpleViewer. This way I can create image galleries that can have multiple views...you know, the whole "MVC" thang...

Anyway... I have started creating a Image Viewer app in Flex2, and am looking at using PaperVision3D in the UI some how...

so at the moment I have a 2 branched approach:

Firstly: get the thing work just using standard Flex2 components and code

Secondly: Make it look really kwel using PaperVision.

I am intending sharing the code...when I have some to share!

(Paper Vision is Currently @ RC1 stage...)

Flash Turned 10

The guys @ Nectarine have put together this animation to celebrate 10 years of Flash.

I *LIKE* Flash and am trying to make time to learn it

Check it out at http://flash10.nectarine.com.au/

I am sure these guys are paid to have "tooooooo much spare time" to come up with things like this!