Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
returning variables directly through loadvariables and a .vbs

returning variables directly through loadvariables and a .vbs

2004-02-18       - By ryanm

 Back
> hi i 'm just simply trying to get a directory structure by calling a .vbs
> file (for a projector file). I can call loadvariables to read a text file
> that a vbs creates(by running fscommand), but i haven 't found a way to
> directly do:
>
> this.loadVariables( 'directory.vbs ');
>
> i have a feeling it has something to do with my vbs file?
>
> i tried
>
> WSCript.Echo "&test=1 "
>
> but that doesn 't work. any help?
>
It is not executing the file, but reading it in. You can 't do that in
Flash without an extender like Screenweaver. To execute a .vbs file, you
would have to call a batch file using fscommand( "exec ") that runs the script
so that it is done on a command line. You certainly couldn 't do it using
loadVariables.

Something like Screenweaver would do exactly what you 're looking for.

ryanm


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104577
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)