  | |  | JSFL timeout dialog | JSFL timeout dialog
2004-07-02 - By John Grden
Back Command line? Are we talking dos prompt?
John Grden
Senior Flash Developer
Macromedia Certified Flash MX Designer
Blitz Digital Studios
[e] John@(protected)
[c] 714.326.7211
[b] 818.762.6888 x207
[w] www.BlitzDS.com
[a] Blitz DS
? 11336 Camarillo Street
? Suite 200
? North Hollywood, CA 91602
> -- --Original Message-- --
> From: Extendflash-bounces@(protected) [mailto:Extendflash-
> bounces@(protected)] On Behalf Of Kent Carlson
> Sent: Friday, July 02, 2004 10:00 AM
> To: Extending Flash
> Subject: Re: [ExtendFlash] JSFL timeout dialog
>
> Morley,
>
> If you run your script from the command line the timeout will be
> disabled.
>
> Kent
>
> On Jun 18, 2004, at 6:57 AM, Morley Howell wrote:
>
> >
> > Hmm, an interesting idea, but in this case it may not work. My build
> > script
> > does a recursive descent of a set of inter-dependent component FLAs,
> > making
> > sure that each one 's library is up-to-date. I can 't think of a
> > convenient
> > way to break it up.
> >
> > Does anyone know of a registry setting or some other config setting
> > that
> > would allow me to change the timeout value for running JSFL scripts???
> >
> > Thanks,
> >
> > Morley
> >
> > > -- --Original Message-- --
> > > From: Extendflash-bounces@(protected)
> > > [mailto:Extendflash-bounces@(protected)]On Behalf Of Keith Peters
> > > Sent: Thursday June 17, 2004 2:19 PM
> > > To: 'Extending Flash '
> > > Subject: RE: [ExtendFlash] JSFL timeout dialog
> > >
> > >
> > > First you can break up the script into smaller pieces.
> > > Of course if you are running it as a command, the script that is
> > > running
> > > those other scripts (via runscript probably), still may be liable to
> > > timeout.
> > > The way I 've gotten around this is to create a window swf that calls
> > > each script in turn in an onEnterFrame function.
> > > You just have to update the name of the script you are calling on each
> > > iteration.
> > > Since MMExecute waits for a return value, only one will run at a time.
> > > Something like this:
> > >
> > > Scripts = [ "script1 ", "script2 ", "script3 "];
> > > Num = 0;
> > > onEnterFrame = function(){
> > > MMExecute( // run scripts[Num] here // );
> > > num++
> > > }
> > >
> > > Very rough code there just to give you an idea.
> > > Scrip1 runs, when it 's done, num increments.
> > > Next frame, script2 runs, etc.
> > >
> > > As long as no individual script causes a 15 second timeout, you are
> > > ok.
> > >
> > >
> > >
> > > > -- --Original Message-- --
> > > > From: Extendflash-bounces@(protected)
> > > > [mailto:Extendflash-bounces@(protected)] On Behalf Of
> > > > Morley Howell
> > > > Sent: Thursday, June 17, 2004 12:47 PM
> > > > To: Extendflash@(protected)
> > > > Subject: [ExtendFlash] JSFL timeout dialog
> > > >
> > > >
> > > > Hi all,
> > > >
> > > > I have a JSFL build script that takes a few minutes to run.
> > > > Given that it 's a build script, it needs to be able to run
> > > > unattended. The problem is that after it 's been running for a
> > > > little while, a dialog box appears asking if I want to
> > > > continue running the script.
> > > >
> > > > Is there a way to disable this dialog or increase the length
> > > > of time it waits before displaying it? I 've read various
> > > > postings here and there about the timeout setting in SWF
> > > > files, but I don 't think that would help in this case, since
> > > > the script isn 't running inside a SWF.
> > > >
> > > > Any help would be greatly appreciated.
> > > >
> > > > Thanks,
> > > >
> > > > Morley
> > > >
> > > >
> > > >
> > > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> > > > Extendflash mailing list
> > > > Extendflash@(protected)
> > > > http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.
> > > co.uk
> > >
> > > Courtesy of FlashGuru LTD.
> > >
> > >
> > >
> > >
> > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> > > Extendflash mailing list
> > > Extendflash@(protected)
> > > http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
> > >
> > > Courtesy of FlashGuru LTD.
> > >
> >
> >
> >
> > __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> > Extendflash mailing list
> > Extendflash@(protected)
> > http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
> >
> > Courtesy of FlashGuru LTD.
> >
>
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____
> Extendflash mailing list
> Extendflash@(protected)
> http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
>
> Courtesy of FlashGuru LTD.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Extendflash mailing list
Extendflash@(protected)
http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
Courtesy of FlashGuru LTD.
|
|
 |