gab
02-02-2006, 11:08 AM
Hello, I'm beginning to use this program that I find excellent and I'm wondering if u can help me to solve some inconveniences:
I'm carrying out a simple presentation for CD in Flash that I've mounted it in the autoplay.
But as I have understood, the user has to have previously installed the FlashPlayer to be able to see it (I don't know if the autoplay already has included a FlashPlayer...).
What I want is when the user insert cd, it detects the version of the FlashFlayer (8.0.22.0) and if doesn't have it (that is the surest!) then Execute the installer that I attach.
• I donno if it's possible detect the version of the FlashPlayer directly in the autoplay, because in the dependences detects it and gives the option of download of internet, but that doesn't interest me because it's a CD presentation.
So what I give like a solution if the previous doesn't exist:
• Execute a Flash movie first in a low version and this say what version of FlashPlayer has, and then if doesn't have the necessary version, execute the installer.
Obviously next time that insert the Cd, this have to execute the presentation directly.
Is this possible?
Thank you in advance if u can help me with this.
__________________________________________________ ______________
And like I say, I'm beginner in autoplay, Flash I manages it very well.
So here this some the steps that I know and those that I would lack
1) The Flash has this code:
$version = 8.0.22.0
yourversion = $version
In the first frame:
onLoad = function(){
fscommand("yourversion", "");
}
2) Here it's where I don't know like it would be...
OnPreload:
-- Version
result = Flash.GetFlashVariable("Flash1", "yourversion");
if (result >= "8.0.22.0") then
--How do I tell that it continued?
--Whit the presentation
else
--How do I tell that run a program?
--(Install Flash Player 8 ActiveX.msi)
end
Flash.SetFlashVariable("Flash1","yourversion","")
:huh
I'm carrying out a simple presentation for CD in Flash that I've mounted it in the autoplay.
But as I have understood, the user has to have previously installed the FlashPlayer to be able to see it (I don't know if the autoplay already has included a FlashPlayer...).
What I want is when the user insert cd, it detects the version of the FlashFlayer (8.0.22.0) and if doesn't have it (that is the surest!) then Execute the installer that I attach.
• I donno if it's possible detect the version of the FlashPlayer directly in the autoplay, because in the dependences detects it and gives the option of download of internet, but that doesn't interest me because it's a CD presentation.
So what I give like a solution if the previous doesn't exist:
• Execute a Flash movie first in a low version and this say what version of FlashPlayer has, and then if doesn't have the necessary version, execute the installer.
Obviously next time that insert the Cd, this have to execute the presentation directly.
Is this possible?
Thank you in advance if u can help me with this.
__________________________________________________ ______________
And like I say, I'm beginner in autoplay, Flash I manages it very well.
So here this some the steps that I know and those that I would lack
1) The Flash has this code:
$version = 8.0.22.0
yourversion = $version
In the first frame:
onLoad = function(){
fscommand("yourversion", "");
}
2) Here it's where I don't know like it would be...
OnPreload:
-- Version
result = Flash.GetFlashVariable("Flash1", "yourversion");
if (result >= "8.0.22.0") then
--How do I tell that it continued?
--Whit the presentation
else
--How do I tell that run a program?
--(Install Flash Player 8 ActiveX.msi)
end
Flash.SetFlashVariable("Flash1","yourversion","")
:huh