Hello,
Am running into an issue here getting functions to work across servers.
Had the file working previously when it was calling the file locally, however now that it has moved the functions are no longer working.

Previous code (that worked):

on(release)
{
        if(!adIsLoaded)
        {
                ad.loadMovie("localFile.swf");
                adIsLoaded = true;
        }
        else if(ad.isPaused)
        {
                ad.play();
                ad.isPaused = false;
        }
        else
        {
                ad.stop();
                ad.isPaused = true;     
        }
}

Code that is not working on a server... it works locally.

on(release)
{
        if(!adIsLoaded)
        {
                ad.loadMovie("http://url.com/localFile.swf";);
                adIsLoaded = true;
        }
        else if(ad.isPaused)
        {
                ad.play();
                ad.isPaused = false;
        }
        else
        {
                ad.stop();
                ad.isPaused = true;     
        }
}

Any help would be greatly appreciated.
Thanks.



_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to