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

Rebolek
30-Sep-2005
[19x3]
Terry, I understand Oldes'  POV,  their tools but really hard to 
use. The language as the foundation for GUI programs is beter than 
the actual GUI programs.
...their tools are anyhting but really hard to use....
At least, that's what he's telling me all the time... ;)))
Terry
30-Sep-2005
[22]
Well, using that same argument, ASSEMBLY is better than Rebol
Volker
30-Sep-2005
[23]
Sometimes. Thats why Carl works on rebcode :)
Rebolek
30-Sep-2005
[24]
rebcode....now, now, NOW...!!!
Alek_K
1-Oct-2005
[25]
As far as I remember, file on http://oldes.multimedia.cz/swf/isn't 
actual?!

IMO it needs mainly needs short route to first swf - eg. a) unpack 
make-swf.zip  in catalog ... b) write [code] - save it as first.rswf 
...... - there was always a problem to start again using it :)
Oldes
4-Oct-2005
[26x3]
What you should know is, that the dialect is almost useless if you 
don't know how Flash works and don't know the ActionScript. The good 
start is to registed and download SWF file format specification from 
this page: http://www.macromedia.com/licensing/developer/
and download ActionScript help file as well
And of course the dialect is not for making animations! Use drawing 
programs to make animations. The dialect is for example to do things 
like to generate games for the tiles game: http://box.lebeda.ws/~hmm/rebol/swf-tiles.r
--- I'm sure you would not like to do it in Macromedia authoring 
tool:)
Alek_K
5-Oct-2005
[29x2]
As for now, I now AS quite well :) _IMO_ there is a need to simply 
"jump-in" how-to - examples are good, but (IMO) it lacks _short_ 
 "first swf" guide.
(*I now - I know)
Oldes
5-Oct-2005
[31x12]
OK so here it is, I'm not able to make more simple:
do http://box.lebeda.ws/~hmm/rswf/rswf_1.0.0.r
make-dir %rswf/
change-dir %rswf/
make-swf/save/html http://box.lebeda.ws/~hmm/rswf/examples/swf8/swf8-filterbevelg.rswf
make-swf/save/html http://box.lebeda.ws/~hmm/rswf/examples/swf8/swf8-filterbevel.rswf
make-swf/save/html http://box.lebeda.ws/~hmm/rswf/examples/swf8/swf8-filtershadow.rswf
make-swf/save/html http://box.lebeda.ws/~hmm/rswf/examples/swf8/swf8-filterglow.rswf
make-swf/save/html http://box.lebeda.ws/~hmm/rswf/examples/swf8/swf8-filterblur.rswf
make-swf/save/html http://box.lebeda.ws/~hmm/rswf/examples/swf8/swf8-blendmode.rswf
list-dir
It all in one version of the dialect (I simplified the ucs-2 code 
to support only cp1250 charset ) The zlib dll support for decompressing 
foreign swf files is missing. Hope everything else is included - 
I used it to compile this page successfully: http://www.nohyvnebi.cz/
Volker
5-Oct-2005
[43]
how about using 'call and some exe?
Oldes
5-Oct-2005
[44]
I think this is enough, if you don't have Lash player, the exe is 
not enough
Volker
5-Oct-2005
[45]
i mean for zipping.
Oldes
5-Oct-2005
[46x3]
for the examples above you must have installed the latest flash player 
plugin (Flash8) These aree first tests of the Flash8 as I downloaded 
it yesterday)
you mean make-projector.r script? It's not included.
I'm not sure if it's legal to distribute the flash player binaries
Volker
5-Oct-2005
[49]
all i read was "he zlib dll support for decompressing foreign swf 
files is missing" and remembering there are some small zip-exes for 
commandline.
Oldes
5-Oct-2005
[50x2]
you must have zlib.dll (zlib is not zip)
That's Carl's problem anyway - there must be some bug in rebol's 
compress/decompress function
Volker
5-Oct-2005
[52]
thought there are exes, whatever it is. but the embedded stuff is 
different? other headers?
Oldes
5-Oct-2005
[53]
You can compress/decompress swf's, but some of them (the foreign) 
use probably latest zlib and Rebol cannot decompress them
Volker
5-Oct-2005
[54x2]
IIRC some script in the library says there are more options, buffer-size 
and something. rebol can output nearly gzip, but read only a specific 
version.
rebol does not need to zip if exe can do it right. data -> file, 
whatever-zip, read file. slow but could work.
Oldes
5-Oct-2005
[56x4]
Yes, the compression Rebol's using is zlib, but in Rebol must be 
used old version, because has problems with some zlib streams
anyway, you could use this: http://box.lebeda.ws/~hmm/rebol/zlib_latest.rip
I don't want to give it inside the rswf as it's not so necessary 
(you need it only if you want to examine some foreign swf file)
You can examine compressed files compiled with rswf without problems
Volker
5-Oct-2005
[60]
just tried to make a helpfull suggestion. did not want to critisize.
Oldes
5-Oct-2005
[61x4]
for example if you do the examples above, you can do: exam-swf/file 
%swf8-blendmode.swf
no problem
Just one last thing for now, it's safe to compile only to version 
swf6, I donloaded the spec for swf7 only yesterday and swf8 is not 
documented at all.
Interesting: just downloaded this free ActionScript compiler http://www.mtasc.org/
and will try if it would be possible to integrate it with the rswf 
(so I could use *.as file for actions without need to parse it in 
Rebol)
james_nak
5-Oct-2005
[65]
Oldes, can you tell me the name of that spec. I believe they are 
pdf's, right?
Oldes
5-Oct-2005
[66x2]
yes
go here: http://www.macromedia.com/cfusion/entitlement/index.cfm?e=file_format
register and download
james_nak
5-Oct-2005
[68]
Doing it now.