robin robin wrote:
> 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);