World: r3wp
[Rebol/Flash dialect] content related to Rebol/Flash dialect
older newer | first last |
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 |
Oldes 25-Oct-2007 [238] | It is possible to create drag'n'drop editor in the dialect as well.. but first I have other goals. And maybe one day you will be able to create layout from Rebol VID too. |
james_nak 25-Oct-2007 [239] | Just keep up the good work Oldes. |
Oldes 26-Oct-2007 [240x2] | Version 2.11.0 - Improved ImportStream command, new example here: http://box.lebeda.ws/~hmm/rswf/example/swf8-bbpositioner |
ImageStream | |
Gregg 26-Oct-2007 [242] | Very cool Oldes! |
Vladimir 26-Oct-2007 [243] | Great job Oldes! I'm more then impressed.... :) |
james_nak 4-Nov-2007 [244x2] | Oldes, is there something special about the getURL command. I have a function in "doAction" and it clearly gets to it as the cmsg is displayed, but I can't get it to actually go to another URL. My flash settings are good because your "horse" link works. Any ideas? Thanks, |
Actually, it had something to do with the keyword "_self" ...it didn't like it. Now all I have to do is figure out where to attach the code to. Thanks. | |
Oldes 4-Nov-2007 [246x5] | this is working here: |
rebol [ type: 6 file: %test.swf background: 0.0.0 size: 260x185 ] doAction [getURL("http://box.lebeda.ws/~hmm/rswf/""_self") ] showFrame end | |
Just had to add folder with made swf file to allowed locations here: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.html | |
Make sure you are not in folder with Always deny settings | |
on server it should not be a problem | |
james_nak 4-Nov-2007 [251] | Oldes, yes, I did figure out that it works perfectly under 6 and kinda under 8. That took a while until I noticed that your slideshow was created under 6. Thanks. |
Oldes 14-Nov-2007 [252x2] | I have a question... I use this code patern quite often now: if something = undefined [something: defaultValue] Don't you know some better way how to write it? |
But maybe it's not so useful. | |
Pekr 14-Nov-2007 [254] | if not value? something [something: default-value] |
Oldes 14-Nov-2007 [255x2] | That would lead into same bytecode. I was thinking about something else... something like: set-if-undefined something defaultValue but cannot find name for it. But because it's usually inside function, maybe I could add default value settings inside fhe func definition block. But I'm not sure now if I need it so much. |
anyway... I would rather use: UNLESS instead of IF NOT | |
Henrik 14-Nov-2007 [257] | any [value? 'something something: defaultValue] |
james_nak 14-Nov-2007 [258] | Thanks Henrik, I've often wondered how to approach that. |
Terry 16-Nov-2007 [259x13] | Oldes, do you have a MXML dialect? |
Using rebol to call mxmlc.exe and deliver it some Rebol generated xml gives you a Flash 9 .swf file all set to go.. kinda cool. | |
Actually . .. that's not cool at all. What's REALLY cool is the new adobe flex plugin for Apache... hand Apache some mxml, and it generates the .swf automatically .. Wow. | |
To give you an example.. this.. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute"> <mx:Panel title="My Application" width="200" height="300" x="0" y="0"> <mx:Label text="Welcome to Flex!" mouseDownEffect="WipeRight" height="45"/> </mx:Panel> <mx:PopUpButton x="483" y="20" label="PopUpButton"/> <mx:Accordion x="441" y="50" width="200" height="200"> <mx:Canvas label="Accordion Pane 1" width="100%" height="100%"> </mx:Canvas> <mx:Canvas label="asdf" width="100%" height="100%"> </mx:Canvas> <mx:Canvas label="asdf" width="100%" height="100%"> </mx:Canvas> <mx:Canvas label="adsf" width="100%" height="100%"> </mx:Canvas> </mx:Accordion> <mx:CheckBox x="441" y="258" label="Checkbox"/> <mx:DateChooser x="238.5" y="31"/> </mx:Application> | |
.. becomes this.. http://atom.thruhere.net/delme.mxml | |
I smell a Kommonwealth Flex IDE by the middle of next week ;) | |
Using Adobe Air, Flex code doubles as a desktop app as well, complete with it's own SQLite DB. | |
The Flex framework is a free, open source development framework for quickly building RIAs. These RIAs can run on Adobe Flash Player runtime in the browser or Adobe AIR can be used to deliver them to the desktop. The Flex 3 SDK beta includes all of the required tools from the Adobe AIR SDK. | |
Adobe AIR beta provides additional features to enhance operating system integration: * Background applications * System tray icon (Windows) / Dock bar bounce (Mac OS X) notification * Default windows menus * Z-order control for native windows * Bitmap drag-and-drop support * Customization of program folder entry * New Mac and Windows install location | |
Ok.. enough spamming here ;) | |
er.. one more.. At a high level, Adobe AIR accomplishes this by taking the world-class WebKit browser engine (most notably used in Safari), and wrapping it alongside Flash and PDF technologies, as a cohesive desktop runtime. | |
An embeded webkit browser (aka Safari)... when is Rebol doing that? | |
moving this to Vent | |
older newer | first last |