[quoted text, click to view] 123lionel wrote:
> Hi I'm looking for Flash solutions, please help.
>
> I want to do:
> - create a CD that contains a Flash Animation and a game
> - upon inserting the CD, Windows will first play the Flash Animation (The
> computer must have the autoplay enabled.) May be it should involve a small EXE
> that checks for existence of a Flash Player and if it is not in there, the
> small EXE will prompt the user and initiate the installation of the Flash
> Player first
create a projector from Flash and you can forget about the user having
Flash player or not
for autoplay add a plain text file named AUTORUN.INF containing:
[autorun]
OPEN=YOUR_PROJECTOR_NAME.EXE
ICON=YOUR_ICON.ICO
[quoted text, click to view] > - The Flash Animation is being played. Within the Flash, there are scripts
> that reads the content of a TXT file and have the content displayed on the
> screen via the design of the animation
loadVars class
[quoted text, click to view] > - Then, after the Flash introduction is done, it continues and launch the game.
>
> Any pointers? or good way to handle that? Many thanks...
>
Thanks John,
Any samples that I can look at the use of LoadVars class in a Flash.
Also, within Flash, can I launch another EXE (similar to the Shell command in WIN)?
[quoted text, click to view] 123lionel wrote:
> Thanks John,
>
> Any samples that I can look at the use of LoadVars class in a Flash.
lv = new LoadVars();
lv.load("text.txt");
lv.onLoad = function(success) {
if (success) {
yourField.text = this.var1;
}
};
text.txt
--------
var1=Put here the text you want to display ...
[quoted text, click to view] > Also, within Flash, can I launch another EXE (similar to the Shell command in WIN)?
yes: fscommand("exec", filename);
not that depending on your version could be some restrictions. for