A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Feedback please

Hybrid View

  1. #1
    Member
    Join Date
    Sep 2006
    Posts
    33

    Feedback please

    Hi everyone,

    I finished a sample site (helped by a fellow FKer) but need some feedback on ways to make the animation a little smoother...

    the 360 VR animation plays choppy the first go around, but then smoothly thereafter. I have a preloader working, so I am wondering why it's playing choppy...is it a caching problem or is my preloader faulty?

    Thanks for looking!
    Robin

    www.studio2photo.com/zoom

  2. #2
    Member
    Join Date
    Sep 2006
    Posts
    33
    here is the code I am using for the preloader...

    Code:
    lBytes = _root.getBytesLoaded();
    tBytes = _root.getBytesTotal();
    percentLoaded = Math.floor((lBytes/tBytes)*100);
    loader.bar._xscale = percentLoaded;
    loader.percent.text = percentLoaded+"% ";
    if (lBytes>=tBytes && tBytes>0) {
    	if (count>=12) {
    		gotoAndStop("main");
    	} else {
    		count++;
    		gotoAndPlay("preload");
    	}
    } else {
    	gotoAndPlay("preload");
    }

    and the animation is a mc with 36 images taken at 10 degree increments and put thogether to make it spin...

    TIA

  3. #3
    Senior Member
    Join Date
    Apr 2006
    Posts
    431
    could it be that the jpegs are too large? just wondering

  4. #4
    Member
    Join Date
    Sep 2006
    Posts
    33
    yes the jpgs are large, per the clients request (so when you zoom in, it's sharp enough to read the details and not be pixelized...they don't really care about the bandwidth needed.

    I just don't understand why, if the preloader is working, the animation plays back choppy.

    Is there a way to fix that without changing the size of the jpgs?

  5. #5
    Senior Member
    Join Date
    Apr 2006
    Posts
    431
    I'm pretty sure that's the problem. I've noticed that the more information the Flash Player has to read, the crapier it moves.

    And about the preloader: I don't think that's the problem. As long as you can see the bar growing and the precentage growing, and it goes to the next frame only when it reaches 100%, I don't think there's something wrong with it.
    Last edited by cristi_b_1; 04-09-2007 at 01:55 PM.

  6. #6
    Member
    Join Date
    Sep 2006
    Posts
    33
    Thanks for looking, any feedback, including knowing that the preloader is working properly is appreciated!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center