Results 1 to 4 of 4

Thread: External swfs not loading

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default External swfs not loading

    Hello, Could someone help me figure out why my external swfs are not loading into my empty MC? I am creating a full site in flash, with a short intro animation and transition before button clicks. On button clicks, the transition plays, but the external swfs don't play??

    This is the code on my buttons:
    I can send fla file if someone can help :-)

    b1.onRelease = function() {
    if (_root.section != "about.swf") {
    _root.section = "about.swf";
    _root.transition.gotoAndPlay("closing");
    }
    };
    b2.onRelease = function() {
    if (_root.section != "slideshow.swf") {
    _root.section = "slideshow.swf";
    _root.transition.gotoAndPlay("closing");
    }
    };
    b3.onRelease = function() {
    if (_root.section != "media.swf") {
    _root.section = "media.swf";
    _root.transition.gotoAndPlay("closing");
    }
    };

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Are you getting any errors? Are you testing locally or on a server? Are your paths right? Are the variables being set?

  3. #3
    Join Date
    May 2008
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Have you checked that your server allows them?

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Just to update, this problem has been fixed. The issue was there was a transition MC which called the loadMovie about 10 frames prior to end. The effect then was that when the button was pressed the transitional MC had to replay to load the movie.

    We took the loadMovie code out and placed it in the button actions and then checked which frame the transition MC was on. If it had already played the final frame we left it there (meaning a button had already been pressed). If it hadn't (meaning no button had been pressed yet, this was the first) it would play the transition MC then load the movie.

    All is good now
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

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