Flash module add-on: Flash CS3 - working for module

This forum post has been removed

Number of replies: 17
The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Flash module add-on: Flash CS3 - working for module

by Matt Bury -
Picture of Particularly helpful Moodlers Picture of Plugin developers

The latest version of Flash (CS3 or Flash 9) is fundamentally different to all the previous versions (6,7 and 8). It uses a new scripting language which is incompatible with the previous versions too. It basically works like this:

If the user has the latest version of the Flash Player plugin installed, any version of Flash will work on it (downward compatibility).

Previous versions of Flash (6,7 and 8) use a scripting language called AS 2.0 and Flash 9 uses a different language called AS 3.0. While they are similar, they are not compatible.

A SWF (Flash file - e.g. 'myFile.swf') written in AS 2.0 should work if it's inside an AS 3.0 container (i.e. loaded into it), but not vice versa (i.e. you can't load AS 3.0 SWFs into AS 2.0 containers. This is what I've been told, I haven't experimented with it personally.

So, in order for a Flash-Moodle module to work, you'd have to keep it updated to the latest version of AS (i.e. upward compatibility!?), but don't panic, this isn't as bad as it sounds. Once someone has upgraded it to AS 3.0 any further changes would be very minor and probably unnecessary for quite some time to come (most newer, minor versions of AS 3.0 will have updates for advanced and specialised functions that are not applicable to use with Moodle).

The advantages of coding Flash in AS 3.0 are enormous. It's been long overdue for a complete overhaul and now we have it. Flash 9 can run up to 10 times faster than previous versions and it's a truly OOP language now (Object Oriented Programming), which any programmer will tell you is an absolute essential for writing complex, interactive programs.

I've looked at the code for the current Moodle Flash module and it looks like it was written for Flash Player 6 (also called Flash MX). A new version would be much faster, more compatible and more reliable. Also, the latest version of Flash Player includes a CODEC for a video format called H.264, used in iPods and the like in the MP4 container. It's the most advanced video CODEC on the web and gives incredibly high quality video at very low bitrates and much smaller file sizes too.

I've been in touch with Jamie Pratt who's worked on the Moodle Flash module. There's a possibility that we could work together on a new module but don't hold your breath, I'm very busy! I can do the Flash side of things but I need someone who can do the back end stuff in PHP. My knowledge of PHP is pretty basic!

Anyone who's interested in collaborating on such a project should post an answer on this forum thread.

In reply to Matt Bury

Re: Flash module add-on: Flash CS3 - working for module

by Josep M. Fontana -
As someone who spent (what for me was) a considerable amount of money in the development of this module, I'm glad to hear that *perhaps* this module could be saved. Jamie Pratt did an excellent job and the module has a lot of potential. Flash can offer MUCH more than quizzes. Just imagine the kinds of simulations and experiments one could build for science courses in schools and universities. I just saw a an excellent Flash movie used in a driving school where the user had to go through a series of tests simulating a real driving experience. Points were awarded or taken away depending on whether the user made the right choices. The driving simulation was really fun and much more educational than a quiz. Just imagine, being able to build these types of rich activities and having the results stored directly in the grade reports...

I would encourage everybody to try to convince the big players that this would be a great asset for Moodle. I'm surprised institutions like OU or other big universities haven't paid attention to the possibilities this module offers for on-line education. Only if it becomes a standard module, it will have a chance to survive.

JM
In reply to Josep M. Fontana

Re: Flash module add-on: Flash CS3 - working for module

by Matt Bury -
Picture of Particularly helpful Moodlers Picture of Plugin developers
I couldn't agree more! So far, what eLearning mostly offers is on-line tests and assignments and student/teacher social networking.

While these are excellent for particular circumstances, we're still missing out on a lot of the potential for realtime interactive eLearning experiences. There are plenty of others out there offering stuff like Rosetta Stone and Tell Me More (I work in EFL/ESL) and there's no reason why Moodle can't do something similar but also with the added benefits of Moodle's open source, social networking philosophy.

I believe this would make a very powerful combination!
In reply to Matt Bury

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Flash module add-on: Flash CS3 - working for module

by Matt Bury -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Flash Player 9 actually contains 2 virtual engines - so basically it's two plugins in one container. One runs AS 1.0 and AS 2.0 (AVM1) and the other runs AS 3.0 (AVM2). The player automatically detects which version the SWF file is and runs it on the appropriate engine.

Since there's already a vast number of SWFs coded in AS 1.0 and 2.0, Adobe aren't going to stop backward compatibility at any time in the forseeable future, but that's not the point.

To handle even basic things like XML, captioning, buffer-times for MP3 files and the like, developers have to write some very complicated and convoluted code. This has the added drawback of making it error intollerant and therefore unstable. The current Flash MP3 player is an example of this - Flash should be able to handle any MP3, whatever the digital encoding (audio sample rates aside), up to a bit rate of 128 kbps - there are a lot of posts on this forum that say otherwise.

AS 3.0, on the other hand, is not only great for developers, it also brings certain very useful functions within the grasp of non-developers, such as video captioning and accessibility. Since the disabled are the most likely group to benefit the most from eLearning, I think it'd be a good idea to make it easier for developers, designers and course content creators to create an interface that they can use but retains all the advantages that Flash has to offer.
In reply to Matt Bury

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Matt Bury

Re: Flash module add-on: Flash CS3 - working for module

by Josep M. Fontana -
OK, I hope all this goes somewhere. I insist, though, that the success and viability of this module depends on its adoption by Moodle as a standard module. One of the sad things about the growth of Moodle (mind you, I'm not saying that it is sad that Moodle grows) is that now it has become much more difficult to incorporate non-standard modules. There are so many people and so many additions that it has become extremely difficult to manage and keep control of everything.

For instance, I doubt that discussions in this particular forum are monitored by many, if any, of the central people in Moodle (i.e. those whose opinion really counts). The volume of messages has grown so big that there is simply no time for anybody to keep tabs on everything going on in the community. So, even if you manage to pull out something that works, in a few months, with a new version of Moodle it might stop working and then we are back to square one and you will have used a lot of time and effort for nothing.

What I'm trying to say is that perhaps, Matt and Cathy, you should post your messages in the general developers forum. There you might get the help you need or at least you have a higher chance to be heard by the people that really count. As I see it, the only chance this might really work out is if a big institution like the OU or some Moodle Partner can be convinced that it would be to their advantage to incorporate a module like this to the tool set they make available to their users or clients.

JM
In reply to Josep M. Fontana

Re: Flash module add-on: Flash CS3 - working for module

by Matt Bury -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Josep,

I couldn't agree more. I think Flash has become such an important platform for eLearning - Adobe are pushing in the direction of eLearning more and more these days - that anyone in software development for educational purposes can't afford to ignore it. In my view, it should be regarded in the same light as PHP, XML, MySQL and HTML.

Moodle provides an invaluable framework for developing and deploying eLearning interactions and the existing standard modules provide a lot of functions for giving tests, collecting assignments and collaborative activities. Without Flash, however, Moodle is limited in the learning interactions that it can offer - you can reproduce some of what Flash can do with PHP and JavaScript, but it's so difficult that it restricts what you can do because of the time it takes to develop them. They're also quite limited and often end up being more like tests than lessons.

I work with techniques and theory for cognitive learning a lot for which Flash is ideally suited. Computer Assisted Language Learning can offer some very fast and effective learning activities for languages that I simply haven't seen on any other platform. The major closed source developers have all made a strong commitment to Flash. It would be foolish for anyone who is serious about eLearning not to.

Just my two cents worth.

Matt

In reply to Matt Bury

Re: Flash module add-on: Flash CS3 - working for module

by Jurgis Pralgauskis -

alongside with flash, its worth keeping an eye on

Animated SVG - it is supported by Mozilla and Opera

and can be animated with javascript

by the way, flash can probably also be exported to SVG

In reply to Josep M. Fontana

Re: Flash module add-on: Flash CS3 - working for module

by Chris Surridge -
I also agree that Flash is a potentially invaluable resource for Moodlers. However, the current issue with compatibility has more to do with Flash versions than with Moodle versions. tongueout

There were a number of reasons why the Flash module was never absorbed as standard equipment within Moodle. Aside from the 'complication' of being joined to a non-open-source product like Adobe Flash, the module suffered from confusing and confused documentation. Even seasoned Flash users were left to scratch their heads about implementation. mixedThis is not a criticism of Jamie Pratt or the module developer group. It's simply a reality that anything as sophisticated as the flash module would need almost as much time to document as to develop. (Anyone who has ever looked for documentation for Flash Media Server will know that the lack of sufficient and useful documentation is not an open-source-only issue.)angry

I'll stand by on this project and assist in the documentation and tutorial building when the time comes. I really have high hopes that parallel teams can support the module through development and documentation. big grin

Just my two cents. smile


In reply to Chris Surridge

Re: Flash module add-on: Flash CS3 - working for module

by Josep M. Fontana -
OK, those were two interesting and convincing contributions. I totally agree with both of you. But I will repeat it again: we are not being listened to here in this forum smile. Here we are all preaching to the converted. Somebody else different than me (because I tried and I failed miserably) should make the case with the decision making people.

JM
In reply to Josep M. Fontana

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Flash module add-on: Flash CS3 - working for module

by Josep M. Fontana -
Good! Let's see what transpires. Frankly, I am really puzzled to see that a module integrating Flash with Moodle doesn't receive more attention.

JM
In reply to Josep M. Fontana

Re: Flash module add-on: Flash CS3 - working for module

by Alvaro SF -
I'm interested in Flash Module development, but I've not much experience in ActionScript. For everything which I can help you, I'm here.

In reply to Deleted user

Re: Flash module add-on: Flash CS3 - working for module

by Marcus Potter -
Hey All
Again Sorry to crash in on this subject, I am new to Moodle and trying to get my head around all different flash usages with moodle. My personal interest is in building up a "moodle AMF" via AS3 & amfphp.
Click here to view "moodleAMF" post

I'm also trying to make sure all the right people are following this, to either help out or enlighten a newbie (being right or wrong) by atleast pointing me in the right direction for getting moodle AMF'd up! :P

Cheers
Marcus