Topic: affordable Flash Lite development?

I just checked the prices on Adobe's site. Flash Professional 8 costs $699. Flash Basic 8 ($399) doesn't support Flash Lite so that's not even an option.

How does someone who just wants to program his/her (future) clock do Flash development? Flash Professional 8 has got to be massive overkill for such a task.

Re: affordable Flash Lite development?

There are several Open and inexpensive tools out there for creating Flash movies.

I encourage people to create a wiki page listing such tools.

Incidentally, I think Flash Basic *might* work - all you have to do is export a Flash-7 compatible movie.

Re: affordable Flash Lite development?

If you are ok doing all or most of your development in ActionScript I would suggest FlashDevelop (www.osflash.org/flashdevelop).

You can do pretty much everything you need to and generates Flash 7 just fine (using the free MTASC compiler).

I am actually working on a template for the chumby that sets up the environment and provides a few useful classes / ultra light components.  I'll post something in the next few days and it would be great if this could be something we can all collaborate on.

-- Raffaele

Re: affordable Flash Lite development?

Thanks, Raffaele! I've consulted Adobe's 1378-page ActionScript "pocket reference" and changed DemoProject to draw a fat red diagonal line (with lineStyle, moveTo, and drawTo) and say "Created by [my name]". Cool!

Re: affordable Flash Lite development?

Check out the ChumbyClock in here: http://www.aromatic.org/chumby/

I did it in the Flash authoring tool just because I have to figure out how to embed the font in FlashDevelop, but otherwise everything (not that much) is done in ActionScript and I have a small sample done in FlashDevelop.

Here is the code:

function updateTimer():Void {
    var date:Date = new Date();
    time = d2(date.getHours()) + ":" + d2(date.getMinutes()) + ":" + d2(date.getSeconds());
}
function d2(n:Number):String {
    return n < 10 ? "0" + n : n;
}

var timerID:Number = setInterval(updateTimer, 100);

this.onTweenUpdate = function(v) {
    chumby._x = v;
}

this.onTweenEnd = function(v) {
    chumby._x = v;
    new mx.effects.Tween(this, 20+v, 300-v ,1000);
}


this.onTweenEnd(0);


...of course I will never know if it works, since I don't have a chumby sad smile smile

Re: affordable Flash Lite development?

Yes, it works on a chumby.

Re: affordable Flash Lite development?

Here are a few open-source development tools that we've been pointed to by various folks. Note that I'm a hardware guy, so I haven't tested any of these, but some of the Chumby team may be investigating these further. It would obviously be nice to have a completely open and free development environment for writing widgets.  smile

Open Source Flash - osflash
http://www.osflash.org

swfmill
http://swfmill.org

Motion-Twin Action Script Compiler (MTASC)
http://www.mtasc.org

HAXE: Web-oriented universal language
http://www.haxe.org


Have fun,

Joe

Re: affordable Flash Lite development?

id recommend openlaszlo. its fantastic. im yet to figure out how to do the compiling, but from what ive seen, its fantastic.

need upload space for the forums or a chumby blog? right here then
http://www.nophus.com/useru
username is chumby
password is chumby

Re: affordable Flash Lite development?

I started trying to develop widgets for chumby with "swfc" which is part of SWF Tools, and I found it to be okay, but sorta annoying.  My personality is such that I decided I'd rather use pure Actionscript, so I switched to using MTASC. 

Either way, the examples that I created are currently at http://www.risacher.org/local/reference/swf/ , which I figure might be of use to someone else trying to get started.

Re: affordable Flash Lite development?

I have coded a quick "Hello World" chumby widget with no problems using FlashDevelop.  Yes, that works fine.

It is a common quesiton:  "How do I write my own widgets without paying for the software to do it?"

I plan to write an answer to that on the wiki.

http://wiki.chumby.com/mediawiki/index. … evelopment

If anyone's interested in helping out, I hope they contribute to the wiki page head for FlashDevelop at

http://wiki.chumby.com/mediawiki/index.php/FlashDevelop

Re: affordable Flash Lite development?

My first go at the FlashDevelop how-to:

http://wiki.chumby.com/mediawiki/index. … op/Example

Hope it helps.

Re: affordable Flash Lite development?

You rock, kayakpete. Any more information beyond Hello World? For example, using graphics, timers etc?

Re: affordable Flash Lite development?

Thanks.

I would love to get some more "chapters" into the FlashDevelop on Chumby documentation, but I'm a actionscript noob.  I put a call out to see if any of the AS programmers might be able to add some docs, but have not heard anything.

If anyone has Chumby-ready FlashDevelop projects that they would like to share, send them my way... I can post them to the wiki.

Re: affordable Flash Lite development?

I also would like to see some references to writing actionscript with FlashDevelop.

Almost every actionscript book I have looked at has screen shots showing what button to push instead of actually explanation of code.

Re: affordable Flash Lite development?

pshipley wrote:

I also would like to see some references to writing actionscript with FlashDevelop.

Almost every actionscript book I have looked at has screen shots showing what button to push instead of actually explanation of code.

Yes, this is also my Problem..

I have to create a simple application in chumby for my seminar at the university. I want to use Flashdevelop and so  I am looking for tutorials or open books to learn ActionScript2, but all of them teach AS2 for Flash IDE's with many many Screenshots instead of code like pshipley writed above.

Have someone has a link for learning AS2 in Flashdevelop (maybe it is useful to say, that I have a Java-Background).

Thanksa lot!

Re: affordable Flash Lite development?

wiing1987 wrote:
pshipley wrote:

I also would like to see some references to writing actionscript with FlashDevelop.

Almost every actionscript book I have looked at has screen shots showing what button to push instead of actually explanation of code.

Yes, this is also my Problem..

I have to create a simple application in chumby for my seminar at the university. I want to use Flashdevelop and so  I am looking for tutorials or open books to learn ActionScript2, but all of them teach AS2 for Flash IDE's with many many Screenshots instead of code like pshipley writed above.

Have someone has a link for learning AS2 in Flashdevelop (maybe it is useful to say, that I have a Java-Background).

Thanksa lot!

A book that does not assume that this your first language would be good.

Eg: Flashdevelop for perl people / Flashdevelop for Java experts / Flashdevelop for Kernel C programmers :-)