all groups > flash (macromedia) > november 2005 >
You're in the

flash (macromedia)

group:

Flash Problems on Macintosh


Re: Flash Problems on Macintosh atomic
11/22/2005 7:17:10 PM
flash (macromedia): Safari is a DOG!

Always inconsistancies.

[quoted text, click to view]
Flash Problems on Macintosh robin robin
11/22/2005 8:33:55 PM
I've looked at this site that I've developed in Flash 8 on Opera, Firefox and
IE for the PC and it works fine:

http://www.obsidianjewels.com/v2/

But I've got a Mac user using Safari that says the transitions between the
photos aren't happening. I don't have access to a Mac to test at the moment, so
I don't know exactly what the problem is.

This flash intro is a simple tweening thing with no more actionscript than a
preloader and a stop at the end of the sequence. I'm perplexed. It's published
as Flash 8/Actionscript 2.0.

Just in case, I'm attaching the code from the preloader.

Oddly enough, this file worked previously, and now I got a guy yelling at me
that it's not working (we did make some edits, but it was changing out photos).



// SYMBOL-FREE LOADER
// (1) use this code as the first frame of your movie
// with no other graphics or symbols on the first frame.
// (2) place your movie content, animation, and code starting
// on frame 2

stop();
function makeBox(objN, colr, percnt, fillMe) {
barWP = barW*(percnt/100);
with (objN) {
if (fillMe) {
beginFill(colr);
}
lineStyle(1, colr, 100);
moveTo(barStartX, barStartY);
lineTo(barStartX+barWP, barStartY);
lineTo(barStartX+barWP, barStartY+barH);
lineTo(barStartX, barStartY+barH);
lineTo(barStartX, barStartY);
if (fillMe) {
endFill;
}
}
}
//
function loadChecker() {
if (_root.getBytesLoaded() == _root.getBytesTotal() &&
_root.getBytesTotal()>10) {
_root.backbox.removeMovieClip();
_root.frontbox.removeMovieClip();
_root.outerline.removeMovieClip();
clearInterval(loadInterval);
// **** FINISHED LOADING ***
gotoAndPlay(2);

} else {
soFar = _root.getBytesLoaded()/_root.getBytesTotal()*100;
if ( ! init ){
init=true;
initBox();
}
makeBox(frontbox, 0xCCCCCC, soFar, true);
}
}
//
function initBox() {
//
_root.createEmptyMovieClip("backbox", 1);
makeBox(backbox, 0xFFFFFF, 100, true);
_root.createEmptyMovieClip("outerline", 8);
makeBox(outerline, 0xCCCCCC, 100, false);
_root.createEmptyMovieClip("frontbox", 3);
}
// Set Loader Bar dimensions here
init=false;
barW = 200;
barH = 10;
////
barStartX = (Stage.width/2)-(barW/2);
barStartY = (Stage.height/2)-(barH/2);
//
loadInterval = setInterval(loadChecker, 100);
Re: Flash Problems on Macintosh robin robin
11/22/2005 9:21:30 PM
Re: Flash Problems on Macintosh Rothrock
11/22/2005 10:01:30 PM
Looks fine on my Mac. But I have a fast one.

I see a bunch of different pictures fading quite quickly one into the next
with some little half-seen white bars sort of flashing up the page.

I'm not sure how that code would make anything like that. And I don't see
where the percent loaded is being tested, but you might want to add a check
that the clip has a width greater than zero. It is a little trick that
sometimes helps.

I'm using Safari and the Flash 8 player.
Re: Flash Problems on Macintosh robin robin
11/22/2005 10:08:15 PM
Thanks for looking at it. I'm starting to think the problem might be on the
user's end, rather than with my Flash. I tried adding that check that you
suggested and they're still having problems. They've upgraded to Flash Player
8, though, so that's at least a start.

Thanks!
Re: Flash Problems on Macintosh robin robin
11/22/2005 10:18:59 PM
I've got two people on Macs who are having problems with it, actually, now.
They say they get something that looks like a t.v. picture that hasn't quite
come in and that it looks "glitchy." If anyone else gets that, let me know. I'm
completely out of ideas at this point.
Re: Flash Problems on Macintosh robin robin
11/23/2005 7:20:33 PM
Re: Flash Problems on Macintosh Rothrock
11/23/2005 7:31:05 PM
There shouldn't be any problem with alpha fades on the Mac, per se...

That being said, alpha fades are one of the most processor intensive things
that the Flash player can be asked to do. It has been well known that for years
the Flash player has lagged in speed on the Mac platform. (No it isn't a
problem with the power of the computer it is a problem with the way the player
is written.) So often things with alpha play painfully slow on a Mac.

And as I said, on my Mac the images seem to fly by very, very quickly.

But again, I don't see anything in your code that includes alpha, so I don't
know where that would be coming in.
Re: Flash Problems on Macintosh robin robin
11/23/2005 7:53:32 PM
I had some tweening set up to fade from 0% alpha to 100% alpha with the images.
I'm guessing the Macs in question are of the slower variety. Once I changed
everything to brightness instead, I was told it was working.
AddThis Social Bookmark Button