?
Solved

Mac Flash Player

Posted on 2001-06-19
6
Medium Priority
?
194 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

580 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