Flash - upload movies/AS

Out of context: Reply #8

  • Started
  • Last post
  • 8 Responses
  • hiatus0

    I've got this for my btn:
    on (rollOver) {
    gotoAndPlay("active");
    }
    on (releaseOutside, rollOut) {
    gotoAndPlay("inactive");
    }

    on (release) {
    _root.main_bkgd.gotoAndStop(200...
    loadMovie("http://allinonecarrie... "_level1");
    _root.onEnterFrame = function(){
    _level1.gotoAndStop(3)
    }
    }

    should I be using something like this - I don't think the getBytes formula is working:

    on (release) {
    _root.main_bkgd.gotoAndStop(200...
    loadMovie("products.swf", "_level1");
    _root.onEnterFrame = function(){
    if(_level1.getBytesLoaded()>0 && _level1.getBytesLoaded() == _level1.getBytesTotal()) {
    _level1.gotoAndPlay("3")
    }
    }
    }

    • I have stop(); on the products.swf file frame 3 and also within the mc its should play on that frame.... still buggy.hiatus
    • but swfs play as soon as a frame is loaded, so you need stop on frame 1, not 3.uan
    • i'll just make frame one blank i suppose.hiatus

View thread