Ask a Question related to Macromedia Flash, Design and Development.
-
ScareCrowe #1
Testing for myLoadVars.loaded
What is the best way to test if variables from a PHP page have been fully
loaded and available to Flash?
I've tried putting myLoadVars.loaded into a while loop but it never
evaluates to true.(Snippet below)
I am assuming I must be doing it incorrectly and haven't been able to find a
working answer when I google it.
Thanks Much,
--ScareCrowe
<snippet>
myVars = new LoadVars();
myVars.load("http://mydomain/file.php");
while(apple == false){
if(myVars.loaded == false){
apple = false;
trace("Not Loaded Yet.");
}else{
apple = true;
trace("Okay Loaded.");
}
}
</snippet>
ScareCrowe Guest
-
loaded
I am trying to figure out how to test if a jpg file is loaded into a movieclip in Flash... if (_root.beeld.loaded) { var breedte =... -
not getting bytes loaded
Hello-- I'm trying to set up a preloader, but I'm not getting the number of bytes loaded. What am I missing? var a:LoadVars=new LoadVars();... -
How can I know if a pic is loaded?
Hi all, I load a random pic file in the first frame of an animation, but I don't want the movie go on until the pic is totally loaded and shown on... -
#26240 [Opn->Bgs]: Functions of XSL-extension didn't loaded, however itself extension was loaded.
ID: 26240 Updated by: chregu@php.net Reported By: igor_udintsev at mail dot ru -Status: Open +Status: ... -
#26240 [NEW]: Functions of XSL-extension didn't loaded, however itself extension was loaded.
From: igor_udintsev at mail dot ru Operating system: Linux Red Hat 9 PHP version: 5.0.0b2 (beta2) PHP Bug Type: XSLT related... -
Andrew Bullock #2
Re: Testing for myLoadVars.loaded
ScareCrowe wrote:
load the variables into an empty mc on the stage then put an on(data) on> What is the best way to test if variables from a PHP page have been fully
> loaded and available to Flash?
> I've tried putting myLoadVars.loaded into a while loop but it never
> evaluates to true.(Snippet below)
> I am assuming I must be doing it incorrectly and haven't been able to find a
> working answer when I google it.
>
> Thanks Much,
>
> --ScareCrowe
>
> <snippet>
> myVars = new LoadVars();
> myVars.load("http://mydomain/file.php");
> while(apple == false){
> if(myVars.loaded == false){
> apple = false;
> trace("Not Loaded Yet.");
> }else{
> apple = true;
> trace("Okay Loaded.");
> }
> }
> </snippet>
>
>
that mc which will play your flash only when its loaded.
HTH
Andrew
Andrew Bullock Guest



Reply With Quote

