Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Mac Flash Player

Posted on 2001-06-19
6
Medium Priority
?
192 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 3

Accepted Solution

by:
jeffbeasley earned 200 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses
Course of the Month11 days, 8 hours left to enroll

916 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