r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Rebol/Flash dialect] content related to Rebol/Flash dialect

Pekr
17-Mar-2008
[442]
But maybe I will just click thru the presentation, do screenshots 
manually, put them into word or powerpoint file, and turn it into 
pdf, dunno ...
Oldes
17-Mar-2008
[443]
That's probably the easiest way:) It's hard to say as you can have 
whatever in your files which we don't see... they can be movies for 
example:)
Pekr
17-Mar-2008
[444]
mostly a menu, and texts ... but some texts are on multiple pages, 
while still in one SWF. There is something like 30 pages, so it might 
be easiest to do screenshots ....
Robert
12-Sep-2008
[445]
I have some questions for our Flash experts:


1. Is it possible to open a plain socket from Flash to a remote host?
2. Can I modify the DOM of th browser from AS?
Oldes
12-Sep-2008
[446]
yes, yes
Robert
14-Sep-2008
[447]
Cool. So, I could use Flash & AS without any visual flash sutff just 
to open a non-http channel to a server and get answers back into 
the Browser?
Oldes
14-Sep-2008
[448x2]
yes
but there are some security issues you have to count with
Robert
15-Sep-2008
[450]
Can you be more specific about the security stuff?
Oldes
15-Sep-2008
[451x3]
No.. because I don't know, what exactly you want to do and in which 
version of Flash - the security model differs from version to version. 
http://www.google.com/search?q=flash+security+model
It's also important, if you want to access same domain or different 
domain and if you have control over the domain where you want to 
connect to.
As you have to allow the connection from the target domain. The reason 
is to prevent DoS attacks from Flash players.
Robert
15-Sep-2008
[454x2]
I just want to open a socket to the same domain the falsh was read 
from.
The different security modles per version might be tricky, but I 
think I "just" need to get it right for versions 7.8.9 to cover most 
users.
Robert
22-Sep-2008
[456x2]
What's a good tool to write AS and get a SWF compiled? Is it only 
the Adobe Flash CS3? It costs $700...
I just want to write some stuff code in AS and get it compiled.
Oldes
22-Sep-2008
[458x6]
If you want to write AS, then you can use:
 http://www.mtasc.org/
And or http://haxe.org/
And or download Flex sdk and look for /lib/asc.jar (AS compiler)
You may guess, that I'm using my own Rebol dialect instead.
For you, the first one... MTASC should be the best choice (to compile 
AS).
If you would like to compile AS3 (for Flash 9 and later) use the 
hexe. It's made by the same author.
Robert
22-Sep-2008
[464x2]
Ok, great. Thanks for the tipp.
Is your Rebol dialect able to compile all AS stuff? I'm not interested 
in the graphics stuff but only in using Flash's socket stuff to do 
some networking code.
Oldes
22-Sep-2008
[466x2]
I would not call it AS compiler. It's not AS what I'm writing in 
my dialect. But I can do whatever you do in AS. The result of my 
compiler is same bytecode as you get compiling AS code. (just don't 
have support for AS3 bytecode as I don't need it much.
I do networking stuff. For example here is my experimental IRC like 
chat http://box.lebeda.ws/~hmm/chat.html
Robert
23-Sep-2008
[468x2]
I took a look at this haxe stuff. Quite impressive. It really looks 
like these guys did a good job to give you a lingua france that can 
emit to the most common client and server technologies in use.
I think I will give it a try. We should add a Rebol emitter, using 
the PHP one as a starting point.
Pekr
23-Sep-2008
[470]
What is purpose of such emiter? Are you trying to suggest, that you 
can write general rebol code without limitations and have it "translated" 
to PHP for e.g.? Is that possible? All that REBOL dynamism, parser, 
etc.? Or are you talking about translating limited functionality, 
e.g. some dialect?
Robert
23-Sep-2008
[471]
No, you can write Haxe code and create Rebol out of it that can be 
run on a server.
Pekr
23-Sep-2008
[472]
... and the point doing so is? :-)
Robert
23-Sep-2008
[473x2]
I use one language as input and can generate the client side (flash, 
js) and server side (php, js, ... and maybe Rebol) out of my project.
Doing online apps etc. requires a non-rebol client technology as 
discussed in full-length in all kind of groups. And, I don't want 
to mess around with 100s of different technologies.
Oldes
23-Sep-2008
[475x2]
Writing Haxe code to get Rebol is useless. At least for me. I don't 
want to write Haxe, I want to write my own dialect.
As I use my dialect because I don't want to write AS.
Robert
23-Sep-2008
[477]
Yes, I know. I would like to write Rebol as well but I can't reinvent 
the world all the time. And Haxe is c-ish enough to get it into my 
brain :-)
Oldes
23-Sep-2008
[478]
It would have more sense to write Rebol dialect to get Haxe or AS 
code. I was already thinking about it in the past but I never found 
enough motives and time to do it.
BrianH
23-Sep-2008
[479]
The entire Haxe project is basically doing a REBOL-style web dialect 
in Neko instead of REBOL.
Robert
24-Sep-2008
[480x3]
Oldes, it might be the right time to start with such a thing. I need 
to play around with Haxe but it might really make sense.
Brian, sorry don't get it. Can you be more specific? I thought Haxe 
is an abstraction that can be compiled into Neko.
BTW: What is this Neko stuff about? Never heard about it. What's 
the USP of it?
Oldes
24-Sep-2008
[483x2]
Neko is another Nicolas Cannasse's (author of mtasc and haxe) project 
http://nekovm.org/
Maybe it's right time for you, but not for me as I really don't have 
a time for it at this moment. And it doesn't make too much practical 
sense to me.  Especially if I'm able to get the bytecode myself.
BrianH
24-Sep-2008
[485x2]
More specific: Haxe is based on Neko and even the Flash and other 
web target code is generated by internal Neko code, even if the target 
is not more Neko code. The web dialect that Haxe implements is similar 
to the kind of dialect that you would implement to do the same thing 
in REBOL, though the syntax is different because the language underlying 
Haxe is Neko, not REBOL.
The Haxe dialect (to use REBOL terms) can be compiled to Neko (or 
Flash, ...) but the dialect processor is implemented in Neko, and 
the surface syntax resembles Neko (last time I checked).
Oldes
8-Oct-2008
[487]
First demo with just 3 levels of game Machinarium, which I'm working 
on using my Rebol/Flash dialect, was presented on E for All festival.

Here is one recension: http://www.destructoid.com/machinarium-the-best-game-you-most-likely-have-never-heard-of-106669.phtml
Pekr
8-Oct-2008
[488]
cool gfx!
Henrik
8-Oct-2008
[489]
Would love to get more info on that game, how it's done, Oldes.
Oldes
8-Oct-2008
[490]
Hand painted, scaned, finalized in photoshop, then prepared animations 
in Flash and done interactivity in my dialect. http://www.machinarium.com/
I'm also using my dialect to get scaled versions as the original 
is 1250x790 - Flash can scale on runtime, but that would slow down 
the rendering, so I scale all graphics during compile time.
Rebolek
8-Oct-2008
[491]
Nice