World: r3wp
[Rebol/Flash dialect] content related to Rebol/Flash dialect
older newer | first last |
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 | |
Pekr 16-Nov-2007 [272x2] | Terry - REBOL3 does that next to Adobe. In that area, there is no other competition for us. In fact - Adobe copies old ideas of View. |
I downloaded Air few months ago. You would not want to see its dialog box - tottally twisted sizes of UI elements. They have to learn not to use native Windows elements, yet do it right. VID3 can outshine it with VID. Or - Oldes will integrate it, that will be even better :-) You code in REBOL, run in Adobe ;-) | |
Oldes 16-Nov-2007 [274x5] | I don't have MXML dialect and don't like MXML and don't like Flash default components... sorry, but If I want a chackbox. I really don't need 168kB of compressed SWF code. |
and your example: The server at atom.thruhere.net is taking too long to respond. | |
Never mind.. version 2.12.0 http://box.lebeda.ws/~hmm/rswf/rswf_latest.r new example: http://box.lebeda.ws/~hmm/rswf/example/swf8-iconlist | |
If I would like to use Flash components, I would do it. It's not difficult at all. You just have to export all the components into SWF file (more than 250kB) which I can import using my import-swf keyword in the dialect and that's it... than I could just place imported classes. But I don't want to do it. I would rather use my own. Yes... it's more difficult in the begining, but the more freedom I have when I want to do it how I like it to be. | |
example above updated with external iconset loader and with another new style: Menu | |
Terry 16-Nov-2007 [279x2] | Well, creating a swf with a single checkbox is rather impractical... but all the components can be skinned using CSS (also cool).. so you can build things like this... http://scalenine.com/themes/wmp11/wmp11.html or this http://fleksray.org/skins/edding/Edding.html |
More flex skins here http://www.scalenine.com/ | |
Pekr 16-Nov-2007 [281x3] | Nice! |
I hope VID3 is just the same, just faster :-) | |
http://www.flauntr.com/effectsstudio/assets/app.jsp | |
Terry 16-Nov-2007 [284] | Don't want to spam Oldes site here, but VID3 will never compete with this.. ever. Rebols needs to get their head out of the sand. Not only can Rebol not compete now, the likes of Adobe, Google (as in Gears), Javascript, PHP etc etc are accelerating away faster than the galaxies. |
Pekr 16-Nov-2007 [285x2] | Terry, you are completly wrong here. What is so special about it? Simply nothing. Some of that stuff is slow as molasses. |
PHP, gee - what does have php in common with all that? | |
amacleod 16-Nov-2007 [287] | Pekr, what are you showing on that site: app.jsp |
older newer | first last |