Solved

Mac Flash Player

Posted on 2001-06-19
6
185 Views
Last Modified: 2010-04-03
I'm experiencing difficulty with a movie when played back on the MAC.  It's using PHP to talk to a MySQL database which we know is working because we can log in fine and get personalised data back.

Were hitting problems with a loadVariablesNum which puts the data into level0.

We're sending the variable "load" at the end of the string, and using the following script to verify everything is loaded:

if (load != undefined) {
    gotoAndPlay ("Scene 3", 1);
} else {
    gotoAndPlay (26);
}

...where frame 26 is the one preceding the frame with this script on so it loops until data has arrived.  This is working perfectly on PCs, but failing on the Mac, where it loops contantly.  We've tested it on a variety of Macs, but all using IE5 and the latest Flah player.

This is also the technique we used on our login script, so we know it works on the Mac at least sometimes...

Any ideas?
0
Comment
Question by:nert
  • 4
  • 2
6 Comments
 
LVL 3

Expert Comment

by:jeffbeasley
ID: 6224790
Is anything loading on the MAC have you put a test var on swf and viewed on the  mac to see if any thing loads?
Also are you writing to this file as well?
You might try in your loadvariables loading the last variable
(ex.
>>input file
var1=23&var2=456&var3=546&load=0
>>actionscript
//frame 1
load=-1
//frame 3
loadVariables("someplace.php",load)
//frame 5
if(load>=0){
gotoAndPlay(26);
}else{
gotoAndPlay(2);
}
This will assure that all your Var are loaded and continue to load them til load is loaded I did something similar using coldfusion and mySQL
Jeff
jeffbeasley.com
straxis.com
0
 
LVL 3

Expert Comment

by:modder
ID: 6314433
nert,

You seem to be experiencing some difficulty with this site.

Our experts are willing to spend some of their precious time to help you solve your problem. The only thing we're asking in return is some feedback. Did the suggestion help? If it did, grade the question. If it did not, tell the expert so they understand and are able to try again.

Experts-Exchange is not a news group, in which you can post a question, get the answer, and walk away. The way the site is set up encourages dialogue.

You can read more about how the site works in our member agreement: http://experts-exchange.com/jsp/infoMemberAgreement.jsp

modder
Community Support
0
 
LVL 3

Expert Comment

by:jeffbeasley
ID: 6326827
There has been no reply and this user seems to be new.  He has only asked this question.  

Jeff
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 3

Accepted Solution

by:
jeffbeasley earned 50 total points
ID: 6338470
Also are you writing to this file as well?
You might try in your loadvariables loading the last variable
(ex.
>>input file
var1=23&var2=456&var3=546&load=0
>>actionscript
//frame 1
load=-1
//frame 3
loadVariables("someplace.php",load)
//frame 5
if(load>=0){
gotoAndPlay(26);
}else{
gotoAndPlay(2);
}
This will assure that all your Var are loaded and continue to load them til load is loaded I did something
similar using coldfusion and mySQL
Jeff
jeffbeasley.com
straxis.com
0
 
LVL 3

Expert Comment

by:jeffbeasley
ID: 6369899
Nert,
Didi this answer your question?

Jeff
0
 
LVL 3

Expert Comment

by:modder
ID: 6375684
The nert account has been suspended for failure to provide feedback even after repeated requests.

I force-accepted your suggestion

modder
Community Support
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question