World: r3wp
[Rebol/Flash dialect] content related to Rebol/Flash dialect
older newer | first last |
Oldes 13-Sep-2007 [188x2] | there is still a lot of things to do (for example usage of Func2 action tag is not finished yet, but this is the version of the dialect I used to compile the flash site above and I was also able to compile all the old examples (except one) Some of them with a little code changes. |
what's with silverlight? | |
Graham 13-Sep-2007 [190] | Isn't that the MS version flash ? |
Oldes 13-Sep-2007 [191x4] | I still have a lot of things to imrove on my Flash compiler.. I don't want to play with some XML toy which can need ages to be available on so many computers as Flash is now |
(ok, you can use c# to create silverlight apps, but anyway... I don't believe, it will took off soon) | |
Anyway.. the main reason to rewrite the actions parser was, that everything was hardcoded, now it first translates actions into instructions, which are compiled on second pass... so it's now possible to better dubug the compilers results... for example: do http://box.lebeda.ws/~hmm/rswf/rswf_latest.r >> acompiler/translate [a: 1 + 2 + b] == [["a" 1 2 aAdd "b" aGetVariable aAdd aSetVariable]] >> compile-actions [a: 1 + 2 + b] == #{960D0000610007010000000702000000479603000062001C471D} | |
>> rswf/parse-ActionRecord compile-actions [a: 1 + 2 + b] aPush ["a" 1 2] aAdd2 #{47} aPush ["b"] aGetVariable #{1C} aAdd2 #{47} aSetVariable #{1D} | |
Pekr 13-Sep-2007 [195] | Oldes - what is the real purpose of your dialect? Is it just for you, who likes REBOL coding? I mean - do you think that eventual Flash "programmer" could find such way of creating Flash stuff useful? |
Oldes 13-Sep-2007 [196] | I find it useful and that's enough. |
Pekr 13-Sep-2007 [197] | I did not want to offend you. I never worked with Flash, so my question was just curiousity, if creating Flash stuff that way could be usefull outside REBOL community, or would 99% ppl prefer visual IDE for such purpose? |
Oldes 13-Sep-2007 [198x2] | I would like to create something like a rebol/flash vid in a future. and what I can say is, that I don't like the visual IDE too much for coding. All the actions on different frames and in different sprites. |
And it's always good to know, how something internally works. That's what I'm doing - learning. | |
Will 13-Sep-2007 [200] | Thank you Oldes! I really would like to learn using your dialect! I hate Adobe IDE as well ;-) |
Oldes 13-Sep-2007 [201] | for example now.. I've found, that there is one tag I was not aware of - 35 ( DefineBitsJPEG3 ) which is JPG compressed image with additional alpha channel. |
DanielSz 13-Sep-2007 [202x2] | Oldes' dialect is something I always wanted to study, but never managed. Adobe's products are very interesting as well to study, so I delved more time in learning actionscript directly. Next on my list is Flex. But Oldes' dialect is a feat on itself. |
Oldes: many developers don't like to code in the Flash visual IDE, like you, that's why Adobe came up with Flex. The good news is that the SDK is open source. | |
Oldes 13-Sep-2007 [204] | I know... and I can for example include compiled actionscript using the compiler with SDK. Anyway.. maybe I should check more carefully. Some scripts seems not to be working, so there is probably still something wrong with my compiler. |
DanielSz 13-Sep-2007 [205] | You can code and compile on all platforms. If you want the official Builder (based on Eclipse, or a an Eclipse plug-in), then you're tied to Windows or the Mac. |
Oldes 13-Sep-2007 [206x3] | hm, they are working here but not on the web.. will have to check it |
it will be just problem with automatic upload because the source files are missing as well:/ | |
- missing files uploaded - | |
james_nak 13-Sep-2007 [209] | Thanks Oldes. It is exciting to know you are still working on this. |
Chris 13-Sep-2007 [210] | Petr: It's been a goal of mine to find a place for Rebol/Flash within QM. |
ReViewer 13-Sep-2007 [211] | I'm glad Oldes still works on this Flash project, I'm sure I'll use it in a near future to create cool photo templates :-) |
Oldes 16-Sep-2007 [212x3] | Yesterday I started rewriting swf-parser, because the current one is from year 2002 and is full of nasty hacks and bad approaches. I already have the main part of the new one so I will soon upload new version of my dialect which will include it:-) |
The main reason I started with this rewriting is to better support foreign SWF file importing. So you will be for example able to join to SWF files into one. | |
(two) | |
Oldes 8-Oct-2007 [215x2] | Rebol/Flash dialect (RSWF) version 2.5.0 is available! compressed: http://box.lebeda.ws/~hmm/rswf/rswf_latest.r(89kB) uncompressed: http://box.lebeda.ws/~hmm/rswf/rswf_2.5.0.r(331kB) as colorized HTML: http://box.lebeda.ws/~hmm/rswf/rswf_2.5.0.html (885kB) What's new: - New swf-parser included which replaces old exam-swf function (useful for importing foreign SWF files) - Added implementation of Class definitions for SWF versions 6 and higher (I have to create some examples) - Added new 'trace function into actions (which can be use to compile swf files with or without trace calls easily) - 'require and 'include now accepts block of files or urls (I should modify my rswf code colorizer to show included files as well) Here is also new example how to include first of GUI elements: http://box.lebeda.ws/~hmm/rswf/example/swf8-cliphandler In the future I would like to create something like mini Layout dialect which will be used for better positioning of the new GUIs I'm working on. |
and one more example how to extend existing class to make a new one: http://box.lebeda.ws/~hmm/rswf/example/swf8-draggablecliphandler | |
Oldes 10-Oct-2007 [217] | Version 2.6.0 available.... now with first version of LAYOUT... (only buttons available now) http://box.lebeda.ws/~hmm/rswf/example/swf8-layout-buttons |
Pekr 10-Oct-2007 [218] | Nice, we can later go for full VID translator :-) |
btiffin 10-Oct-2007 [219] | Wicked cool Oldes! |
Oldes 17-Oct-2007 [220] | Version 2.7.0 available.... - Fixed bug import-swf (while importing swf file with ExportAssets tag) - Updated layouter (now with new 'Text, 'Scroller, 'ClipHandler and 'ScrollPane GUIs) http://box.lebeda.ws/~hmm/rswf/rswf_latest.r http://box.lebeda.ws/~hmm/rswf/rswf_2.7.0.r New example script with used ScrollPane is here: http://box.lebeda.ws/~hmm/rswf/example/swf8-scrollpane |
Oldes 19-Oct-2007 [221] | Version 2.8.0 available.... - Updated layouter (now with new 'Field, 'Password and 'Area GUIs) http://box.lebeda.ws/~hmm/rswf/rswf_latest.r http://box.lebeda.ws/~hmm/rswf/rswf_2.8.0.r New example script: http://box.lebeda.ws/~hmm/rswf/example/swf8-layout-fields |
Oldes 24-Oct-2007 [222] | Version 2.9.0 ... now with Calendar GUI and fixed one nasty bug in 'IF compilation after 'EITHER rule http://box.lebeda.ws/~hmm/rswf/example/swf8-layout-calendar |
ReViewer 24-Oct-2007 [223] | Wow! That's really great! |
Terry 24-Oct-2007 [224] | the mini dialect is cool Oldes.. but how will it fit in with R3? |
ReViewer 24-Oct-2007 [225] | I guess we don't really care for now as R3 is not yet out, in the meantime Oldes probably needs this flash UI now - btw, I'm glad he is not waiting for R3, looks like too many people are waiting this event and don't start any project.. but that's another discussion! not here! |
Steeve 24-Oct-2007 [226x2] | it's my life |
There is virtually no new scripts posted on rebol.org, it is a sign that everyone expects R3 | |
Oldes 25-Oct-2007 [228] | Rebolers are sick of waiting. .... good Rebolers don't wait. At least I have so many R2 scripts which I would like to improve... I really don't have to wait for R3.. with R3 I will be able to do other optimizations but these are not necessary for the functionality. |
Henrik 25-Oct-2007 [229] | good Rebolers don't wait ... well said. There's a lot of juice left in R2. I'll personally be using it at least for 12-18 months more for commercial projects. Full time. |
Oldes 25-Oct-2007 [230] | Version 2.10.0 - Now with new command ImageStream which creates Sprite with sequence of images on each frame Usage example is here: http://box.lebeda.ws/~hmm/rswf/example/mx-imagestream (more will be soon) |
Terry 25-Oct-2007 [231] | Oldes.. i think your work is great, but where's the advantage over using a Flash IDE? |
Oldes 25-Oct-2007 [232x5] | I would like to see you how you create the swf from above in Flash IDE... I don't say that IDE is bad... I just need something else sometimes... and it's fun for me:) And I'm sure I don't want to write apps in MXML.. It's not funny at all. Anyway... making MXML output would be much more easier than producing SWF files directly. Anyway... I have Flex as well.. it has 196MB. My dialect has 95kB |
it would be less, but the comments are not compressed:) | |
And I have Import-swf command in the dialect (not documented yet as I still change it a little bit). I'm using it to include large animations made in IDE. As I have a caching mechanism already, I can include it in my dialect and control it in miliseconds, don't have to wait many seconds to compile all the animation in the IDE every time when I change a bit of a code. | |
And I'm not limited with restrictions which you have when you use includes from external files - I have one file at the end. | |
and one more reason - to hack a default Flash gui components is for me much more difficult than make my own from scratch | |
Terry 25-Oct-2007 [237] | I can see the potential.. just thinking how difficult it would be to create complex layouts.. as opposed to just drag 'n drop with Flash IDE |
older newer | first last |