I recovered my block of Commodore 64 to verify the port dell'emultatore FC64 proposed quache posts ago! Unfortunately, some features of the keyboard are not quite managed to make them work, so I could try and put some interesting listings (old nostalgic memories). If you remember the Commodore 64 had special combinations used when writing BASIC code, as the symbol of the negative R (reverse), or the little heart, always negative, to wipe the screen.
Articles Tagged 'Flash'
Code for Commodore 64
Commodore 64 Emulator Web
If you read the last two posts I wrote ( Net Software and Web Amiga Emulator ), this seems a direct result. Apropos, then, of emulators and Flash 9 with ActionScript 3.0, here is something really great, nostalgia aside. The project is called FC64 and wants to be low-level emulator of the glorious Commodore 64! It was written in ActionScript 3.0, so to see the movie (I feel weird to call it a movie of this kind ...), you should install version 9 of the Adobe plugin.
Net Software
It happened to turn the TV Net TV, as had happened to become the Radio Net Radio, not to mention the music! Now, as mentioned in other posts, it's official for the software to turn short in Net Software!
Adobe , which we know has recently acquired Macromedia, formalizes the Web Application - Web 2.0 - in real RIA (Rich Internet Applications) with the announcement of wanting to take on the popular Web editing software Photoshop. It is the latest ' agreement between Adobe and Photobucket to make available online a technology for video editing and remixing. Thanks to new technology developed for Flash 9 with ActionScript 3.0 , Adobe aims high, anticipating that within six months will be available online a version of Photoshop based precisely on Flash technology.
Indeed the new capabilities of ActionScript 3.0 (involving projects such as Flex and Apollo - also see Web2.0: Adobe is trying to Apollo and Ajax: Rich Internet Application ) makes it the perfect candidate for the implementation of true on the Web Ajax RIA , on the other hand, we see ousted from his throne in this new scenario. Despite the countless Ajax Framework, some of excellent quality, products over the past few years, Flash provides an environment more advanced and easy to manipulate. Also we talk about one of the world's most popular plugins: Flash has behind it a few years older than Ajax and derivatives.
Furthermore, it is obvious that Adobe Flash chooses, he being the producer now. However there are technical issues that may be considered - to date - only to be resolved in a harmonious way with technologies like Flash. Taking a look at the new ActionScript 3.0 we immediately realize the enormous potential for development offered by this new platform. The ECMA standard of language and new items made available by the framework, allowing to reach a level of detail possible with previous versions of Flash: one of all, for example, the ability to access the bitmap data of an image loaded from hard!
The attack by Adobe seems svolgerersi then on two separate fronts that share Flash technology (which remember has always been the ability to actively interact with the browser and then using Javascript Client side and Server side scripting).
The first attack came from outside, on the browser side, where the technology Apollo is really proposed as an alternative to the usual kernel of different platforms, available today (Windows, Mac OS, Linux, etc. ...); use Adobe Apollo , then, instead browser for better performance and applications (RIA true) unthinkable, thus bypassing the incompatibility between Internet Explorer, FireFox and companionship. In addition, Apollo provides a single development platform, JavaScript-like Ajax, but without compatibility problems. This last point is a significant setback to technologies like Ajax, which still suffer enormously from cross-browser compatibility issues, do not forget, also, the whole issue to the output (rendering) graphical CSS!
The other attack takes place directly from within, hitting Ajax Framework with Flash card. The winning element in this strategy is the use of Flash, the Flash technology, which applies both in Flex , both in Apollo , in both standalone as we are already accustomed to seeing (simple SWF files for instance)! There is no doubt that this scenario is extremely appealing to developers, and Web. What becomes immediately realizable in Flash reusable in various ways, without forcing me to change a single line of code and, moreover, without worrying about compatibility!
All this, in my opinion, is an important step forward, a change of considerable proportions that also involves the world of games and Marketing. We'll talk again soon, make no mistake!
Web2.0: Adobe is trying to Apollo?
Apollo is the code name (for now) of an ambitious project in the world for Adobe RIA (Rich Internet Applications) and Web 2.0, including Ajax. Someone remembers Macromedia Contribute, Macromedia Central to someone else. There is, also, who sees in Apollo simple union - or opportunity - to bring together elements of Flash and PDF (something which has already been feasible with Flash Paper)!
iPhone: The WAP is dead?
Who has had the ability and patience to see the last of Steve Jobs Keynote, which presents the new Apple iPhone, will surely find the latest wonder fascinating multi-touch technology in Cupertino.
Fantasies to "Minority Report" apart (the reality often exceeds the imagination really), what struck me most, even if already present in many smart-phone on the market for some time, is the ability to surf the Internet like a home PC. The iPhone comes in direct competition with traditional phones and not with the smart-phone market today. Apple has introduced its solution for mobile, following in his classic line guide: simplicity - then - mass distribution, as has happened with the iPod.
If the smart-phone market today, those with Windows Mobile on board for example, allow you to surf the Internet, however, are perceived by the "mass market" as a hybrid between a phone and a notebook. I mean something different from the "phone" every day. To date, a phone is a "cell" in the sense that Web browsing is relegated to the few - a few even know that you can do it - (given how cheap) with solutions very far from those of a home PC, the size of display, for the speed of bandwidth, due to the difficulty of interaction with the keyboard or mouse simulated, etc. ...
However, almost unnoticed, it seems to me that there is a small revolution in the act of considerable interest, at least for Web developers
Being able to navigate a site from the "street", without changing the technology used is a huge step forward. To date some reality on the Web are double - if not triple: WAP, Flash Lite (version for Windows Mobile or Symbian) and Internet standards. Bring together and unify the browsing technologies is an important achievement, the antechamber to the true distribution of navigaione via mobile.
The WAP, for example, as has striven to emulate the web itself is failed completely. This reminds me of the digital terrestrial!
The Net TV, for example, in this new situation may find fertile ground to flourish even more than a few years ago. So there are all prerequisites to give further impetus to the second youth of the Internet. On the one hand, new forms of aggregation of the community and the other the possibility of exploiting these "experiences" as well as at home even in the "mobility" utter.
Ajax: Rich Internet Application?
Question: We consider the Ajax applications like real prorie RIA (Rich Internet Application - RIA is a web application with all the features and functionality of a traditional desktop application for PC)?
According to Ryan Stewart, no - or at least not now.
The role of the desktop Rich Internet Applications by ZDNet 's Ryan Stewart - Rich Internet Applications have helped change the face of the web. It's interactive blackberries, Designers Have Been Able to leave Their mark and innovation in web development has soared. Rich Internet Applications helped open up the web to better Experiences and now They are doing the examination for desktop applications. Where do RIAs fit into the world of desktop development?
In fact, competition with other "approaches" - so to speak - is very high. The recent explosion in Net TV, for example, shows that the union is strength. In "Ajax" you can not see a video, for one thing. How you can make many other stuff. I do not think Ajax will be the absolute future. I see in Ajax more like a browser extension and a new way to address some of the dynamics on DU first even considered.
However, if someone had noticed it, there are still obstacles to overcome. For example:
- Improve the compatibility between different browsers on the market, enlargement topic discussed on this very Blog
- Allow greater interaction between Web pages and the operating system "host", such as a Drag & Drop from the desktop to the Web page
- Standardization of scripting: JScript, JavaScript (1.3, 1.7, ...), VBScript
- Accessibility, usability and security, given that we are on the net!
Libraries, Prototype / Script.aculo.us and YUI components: the real stumbling block?
When a developer creates a library or a frame-work to fix (once and for all) a variety of needs, start creating a monster. Often do not realize it but the developer link end-user is really convoluted. It starts, for example, with the creation of a JavaScript library can create simple windows. Just recently, and someone creates a similar library that allows you to create modal windows resizable and with the management order and overlap. After a while, 'it comes up and you also implements customized graphics ... and so on.
Basically when you get something, the instant immediately following that something is simply not enough, seems to be the standard and then seek new accessories to even further improve the performance or appearance. All end-user requests! And the developer runs, almost like a frightened dog, the end-user is always right!
This race continues, in a universe like the Internet, threatens to cast long to bring more confusion than anything else.
Web 3.0?
Lately experiences (beta) have proliferated in the Web2.0 on the network at an impressive pace. Each has brought attention to its Ajax-style application, each with its embedded solutions, relying on libraries notes, writing proprietary frame-work, etc. ...
Each experience had its peculiarities: some was visually appealing, some extremely fast, extremely customizable, and other other extremely usable.
But no one, until now, has managed to combine all this in a single environment.
Ragionandoci carefully is evident that the reason is the lack of support provided by the browser itself and by the immense complexity of the problem.
Even if someone has assimilated the browser to an operating system, it still holds a huge advantage. Foremost among these is the so-called Kernel. What is the kernel Explorer or FireFox? Both, like Opera or Safari, barely support the scripting language called JavaScript (or JScript as the case). Mozilla, FireFox is about to release its version of JavaScript 1.7, really interesting. But will Microsoft Explorer? It will install an ActiveX emulate him, wait until 2012 for the release of IE8 or use a myriad of if to understand on what platform you are working?
I can only agree with Ryan Stewart. For the moment, Ajax is a technique of great help in very specific cases, but to compare this technique (and I stress technique is not technology) to a RIA seems to me - at least for now - really eccesivo.
Macromedia / Adobe
Interesting, however, are the technologies (and I emphasize technology and non-technical) Flex / Flash and Apollo, that after the acquisition of Macromedia by Adobe are going to live a second life.
I highly recommend to all interested parties to view the Adobe Labs , where he shows a nice new policy that certainly inspires more confidence in the future of Script.aculo.us - no offense, and without detracting from the developer.
But the Internet has a unique feature, that of surprise, so I'm not surprised at all that he said - in short - a myriad of nonsense!
Class JavaScript to detect Flash
Although not done a site entirely in Flash, some components may still occur within the page such as banners, claim, RSS viewers, etc. Eco ... then a simple way to check if Flash is installed and active. We propose here a method that does not need more pages, same as proposed by Adobe. We aim to resolve all within a single page.
The class presented here allows to solve the last problem also born with Explorer, or the activation of an ActiveX control. To fix it just use JavaScript to insert the Flash component, just what makes our class.
The first thing we need is a nice JavaScript class that allows us to make all the necessary controls:
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | <! - / * Detect Flash ** Class & Object Path insertFlash ** * / { var df = { , __release: "1.0", navigator. appVersion . indexOf ( "MSIE" ) != - 1 ) ? true : false ) , _isIE: ((navigator. appVersion. indexOf ("MSIE")! = - 1)? true: false) navigator. appVersion . toLowerCase ( ) . indexOf ( "win" ) != - 1 ) ? true : false ) , _isWin: ((navigator. appVersion. toLowerCase (). indexOf ("win")! = - 1)? true: false) navigator. userAgent . indexOf ( "Opera" ) != - 1 ) ? true : false ) , _isOpera: ((navigator. userAgent. indexOf ("Opera")! = - 1)? true: false) ( i ) { getSwfVer: function (i) { / / Versions of NS / Opera from 3 onwards check for the presence of the Flash plug-in array of plug-in navigator. plugins != null && navigator. plugins . length > 0 ) { if (plugins navigator.! = null && navigator. plugins. length> 0) { navigator. plugins [ "Shockwave Flash 2.0" ] || navigator. plugins [ "Shockwave Flash" ] ) { if (navigator. Plugins ["Shockwave Flash 2.0"] | | navigator. plugins ["Shockwave Flash"]) { navigator. plugins [ "Shockwave Flash 2.0" ] ? " 2.0" : "" ; var = swVer2 navigator. plugins ["Shockwave Flash 2.0"]? "2.0": ""; navigator. plugins [ "Shockwave Flash" + swVer2 ] . description ; var = flashDescription navigator. plugins ["Shockwave Flash" + swVer2]. description; flashDescription. split ( " " ) ; var = descArray flashDescription. split (""); descArray [ 2 ] . split ( "." ) ; var = tempArrayMajor descArray [2]. split ("."); tempArrayMajor [ 0 ] ; var VersionMajor tempArrayMajor = [0]; tempArrayMajor [ 1 ] ; VersionMinor tempArrayMajor var = [1]; descArray [ 3 ] != "" ) var tempArrayMinor = descArray [ 3 ] . split ( "r" ) ; if (descArray [3]! = "") var = tempArrayMinor descArray [3]. split ("r"); tempArrayMinor = descArray [ 4 ] . split ( "r" ) ; else var = tempArrayMinor descArray [4]. split ("r"); / / tempArrayMinor [ 1 ] > 0 ? tempArrayMinor [ 1 ] : 0 ; versionRevision tempArrayMinor var = [1]> 0? tempArrayMinor [1]: 0; versionMajor + "." + versionMinor + "." + versionRevision ; var = flashVer VersionMajor + "." VersionMinor + + "." + versionRevision; var flashVer = - 1 ; FlashVer} else var = - 1; } navigator. userAgent . toLowerCase ( ) . indexOf ( "webtv/2.6" ) != - 1 ) flashVer = 4 ; else if (userAgent navigator.. toLowerCase (). indexOf ("webtv/2.6")! = - 1) flashVer = 4; navigator. userAgent . toLowerCase ( ) . indexOf ( "webtv/2.5" ) != - 1 ) flashVer = 3 ; else if (userAgent navigator.. toLowerCase (). indexOf ("webtv/2.5")! = - 1) flashVer = 3; navigator. userAgent . toLowerCase ( ) . indexOf ( "webtv" ) != - 1 ) flashVer = 2 ; else if (userAgent navigator.. toLowerCase (). indexOf ("webtv")! = - 1) flashVer = 2; 1 ; else flashVer = - 1; / / flashVer return; }, ( reqMajorVer , reqMinorVer , reqRevision ) { detectFlashVer: function (reqMajorVer, reqMinorVer, reqRevision) { parseFloat ( reqMajorVer + "." + reqRevision ) ; reqVer var = parseFloat (reqMajorVer + "." reqRevision +); var i = 25 ; i > 0 ; i -- ) { for (var i = 25; i> 0, i -) { this ._isIE && this ._isWin && ! this ._isOpera ) var versionStr = VBgetSwfVer ( i ) ; if (this. _isIE && this. _isWin &&! this. _isOpera) = var versionStr VBgetSwfVer (s); versionStr = this . getSwfVer ( i ) ; else var versionStr = this. getSwfVer (i); versionStr == - 1 ) return false ; if (versionStr == - 1) return false; versionStr != 0 ) { else if (versionStr! = 0) { this ._isIE && this ._isWin && ! this ._isOpera ) { if (this. _isIE && this. _isWin &&! this. _isOpera) { versionStr. split ( " " ) ; var = tempArray versionStr. split (""); tempArray [ 1 ] ; tempString tempArray var = [1]; tempString . split ( "," ) ; var = versionArray tempString. split (""); var versionArray = versionStr. split ( "." ) ; Var =} else versionArray versionStr. Split ("."); / / versionArray [ 0 ] ; var VersionMajor versionArray = [0]; versionArray [ 1 ] ; VersionMinor versionArray var = [1]; versionArray [ 2 ] ; var = versionRevision versionArray [2]; versionMajor + "." + versionRevision ; // 7.0r24 == 7.24 var = versionString VersionMajor + "." versionRevision + / / == 7.24 7.0r24 parseFloat ( versionString ) ; var versionNum = parseFloat (versionString); / / Is the major version> = requested major version is the minor version> = requested minor version versionMajor > reqMajorVer ) && ( versionNum >= reqVer ) ) return true ; if ((VersionMajor> reqMajorVer) && (versionNum> = reqVer)) return true; versionNum >= reqVer && versionMinor >= reqMinorVer ) ? true : false ) ; else return ((versionNum> = reqVer VersionMinor &&> = reqMinorVer)? true: false); } } reqVer ? false : 0.0 ) ; return (reqVer? false: 0.0); }, / / TO DO ( n , w , h ) { insertFlash: function (n, w, h) { this . detectFlashVer ( 8 , 0 , 0 ) ) { if (this. detectFlashVer (8, 0, 0)) { ; n + = ". swf"; '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,29,0" width="' + w + '" height="' + h + '"> \n ' ) ; document. write ('<object classid = "clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab # version = 7 , 0,29,0 "width =" '+ w +' "height =" '+ h +' "> \ n '); '<param name="movie" value="' + n + '" /> \n ' ) ; document. write ('+ n + <param name="movie" value="''" /> \ n'); '<param name="quality" value="auto" /> \n ' ) ; document. write ('<param name="quality" value="auto" /> \ n'); '<embed src="' + n + '" width="' + w + '" height="' + h + '" quality="auto" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> \n ' ) ; document. write ('<embed src = "' + n + '" width = "' + w + '" height = "' + h + '" quality = "auto" pluginspage = "http://www.macromedia. com / go / getflashplayer "type =" application / x-shockwave-flash "> </ embed> \ n '); '</object> \n ' ) ; document. write ('</ object> \ n'); document. write ( '<a id="flash_alternate" target="_blank" href="http://www.adobe.com/go/getflashplayer"></a>' ) ; Else} document. Write ('<a target="_blank" id="flash_alternate" href="http://www.adobe.com/go/getflashplayer"> </ a>'); } }; / / -> |
As usual, Internet Explorer (7) is different and takes a specially structured code in VBScript:
[Vb]
[/ Vb]
Save these two files (and df.js df.vbs js folder) and includiamoli in our page (index.html, index.php or default.html, etc. ...) inside the HEAD tag.
1 2 | "javascript1.2" type = "text/javascript" src = "js/df.js" >< / script > < script language = "JavaScript1.2" type = "text / javascript" src = "js / df.js"> </ script > "VBScript" type = "text/vbscript" src = "js/df.vbs" >< / script > < script language = "VBScript" type = "text / vbscript" src = "js / df.vbs"> </ script > |
Now we have everything you need and we can move on the page that contains the Flash object. Find the point where Flash will be displayed and enter the following code:
1 |
Here we have assumed that there is a file folder splash.swf flash! Note that it is necessary to insert the swf. The two numbers 900 and 122 are the dimensions.
Even better would support the case - remote - where JavaScript is disabled. In this circumstance you can choose to proceed in two ways:
1. Inseire code directly into the OBJECT / EMBED
2. Notify that JavaScript is disabled
In the first case we lose control on the presence of Flash and Explorer will prompt you to activate the ActiveX control. However, the movie will be visible if Flash is installed.
In the second case we can show an image and / or with Javascript turned off notoficare that is not possible to verify the presence of the Adobe Flash plug-in. For example, choosing the number 1 solution:
1 2 3 4 5 6 7 8 9 10 |
Detecting Flash and manage several alternatives, as explained on Flash detect: how to detect Flash , is not quite comfortable, at least we hope that it will not deteriorate with time.
Flash detect: how to detect Flash
How can you determine if a browser has the correct version of the Adobe Flash Plugin? To do this there is - notoriously - 5 techniques:
- Relying on self-running feature of the OBJECT tag and EMBED
- Use a script (JavaScript and / or VBScript) specifically provided by Adobe
- Use a contrivance with a single Flash movie
- Do not do anything

- Let the user choose
Ajax without HTTPRequest
How many Web developers know, before the advent of the XMLHttpRequest object, the problem of the reloading of a Web page was solved with the technique of hidden FRAME or IFRAME. This simple trick for many old are allowed to solve some otherwise intractable problems of interface. An advantage in the use of hidden FRAME, among other things, was the possibility of maintaining the HISTORY browser! What that does not allow the XMLHttpRequest object.
In addition to techniques which use HTML FRAME or IFRAME hidden, it is possible to use Flash as a sub-channel of communication between the page and the Server. Some experience in this direction are currently under development (see for example Fjax ). The idea is to "hide" a Flash movie within the HTML page (as happened with FRAME) and communicate with it via JavaScript (or VBScript for Microsoft only environment).
However, this technique a number of hidden pitfalls. First of all forces the end user to install the PlugIn of Flash, and therefore does not represent a solution HTML (pure) clean. It also requires, however, prompted the use of Javascript and Flash as an interface between the page, so much worth using the XMLHttpRequest object. Then when you start to write a framework in ActionScript want to do everything in Flash. Here is the variant that the XMLHttpRequest object starts to make little sense.
Ultimately if you do not want to use the XMLHttpRequest object, we must rely on the now-established technique of hidden FRAME. There are even those who use just a mixed technique: XMLHttpRequest + IFRAME!
However, now, Ajax (XMLHttpRequest object in form) has proved so successful that in future the XMLHttpRequest object that will be supported by improved browser vendors (Microsoft, Mozilla, Opera, etc ...). In practice, XMLHttpRequest will be a default component (as already happens in FireFox) within your browser, accessible via Javascript! So why not use it?
Adobe to the rescue: Flash 9 and Photoshop Lightroom! The beta also exes ...
After acquiring Macromedia, Adobe creates its Labs , development labs! Building on the success of Microsoft with its Internet Explorer 7 Blog - that has (and has) saved a lot of services pack - Adobe also adopted the technique of the beta version. In fact, he was now, instead of waiting for the now very long time to develop a software (be it tradition, is a Web Application) why do not propose to you the version still in development? In this way there is a real-time feedback on the actual quality of the software you are developing.
However, in all honesty, the software should haouse down a little 'prices for their software, since the beta - you pay or are paid - we do users!
With Adobe Soundbooth beta overwrites the known SoundEdit. Adobe Photoshop Lightroom is a new product aimed at professional photographers, with lots of video demos online. Flash 9 with ActioneScript 3 appears also in the alpha version to download! Although it is indicated preview! To find the mobile Flash Lite 2.1 Authoring Update , but it seems that a final release rather than anticipation. Apart from this small miscellany of beta, alpha and upgrade believe that the initiative is good, if not excellent.
So for the curious who want ahead and not wait to try a new version of software, Adobe Labs is a place of safe fun! I stress again the tendency to involve end users to the stages of development, a trend that owes its spread to the Web 2.0 generation. Most likely it will be a mode in the near future it will spread like wildfire wherever possible. You could try un'appartamente un'autombile or before it is released, for example ...







Latest Comments
vik : Users custom fields seems interesting, should be added the ability to validate the field based on ...
kOoLiNuS : @ Giovambattista Fazioli: thank you! more than willing!
Giovambattista Fazioli : @ kOoLiNuS: Quiet, you can probably anticipate that WPX Cleanfix will be free, and ...
kOoLiNuS : @ kOoLiNuS: a missing
and a 
kOoLiNuS : @ Giovambattista Fazioli: I subscribed to, but when I was my amateur use of the platform ...