Passing variables between Flash and Rev

RGould8 at aol.com RGould8 at aol.com
Tue May 25 16:15:09 EDT 2004


One last question, related:   Do you know if Flash can sublaunch a Rev app 
via an "alias" of that App being placed in the "fscommand" folder of the Flash 
standalone, or do I need to have the entire Rev app itself inside that folder?


In a message dated 5/25/04 3:06:44 PM, kray at sonsothunder.com writes:


> Rob,
> 
> Unfortunately, the answer is 'no' (at least not in Flash MX which is what I
> have). If the Rev app is in the 'fscommand' folder of the Flash standalone,
> you can launch it, but the security sandbox of Flash doesn't allow for
> command line arguments to be passed or any other form of communication,
> including writing of files. Flash can store things in a cache, but it's in a
> format that can't be read by Rev (AFAIK).
> 
> The only thing that you *can* do, IMHO, is to launch the Rev app and open a
> socket between the two, pass your information through the socket, and then
> close down Flash.
> 
> HTH,
> 
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
> 
> > -----Original Message-----
> > From: use-revolution-bounces at lists.runrev.com
> > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> > RGould8 at aol.com
> > Sent: Tuesday, May 25, 2004 1:41 PM
> > To: use-revolution at lists.runrev.com
> > Subject: Passing variables between Flash and Rev
> >
> >
> > I've got a client who's asking me if it's technically
> > possible to have a
> > standalone Flash Projector on Mac OS X sublaunch a Revolution
> > app and pass
> > variables to it.
> >
> > >From what little I know about Flash, it sounds like it _might_ be
> > >possible,
> > perhaps by getting the Flash projector to sublaunch the Rev
> > app and pass
> > variables to it via AppleScript using the fs command.   Am I
> > heading down the right
> > path, or is there a better way?   (Flash writing a text file
> > and Rev reading
> > it perhaps?)   Basically, they want the Flash Projector to
> > sublaunch Rev, pass
> > variables and quit itself, leaving the Rev app running.
> >
> > - Rob
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 



More information about the use-livecode mailing list