Testing in browser SWFs not loading into levels

Ask a Question related to Macromedia Flash Sitedesign, Design and Development.

  1. #1

    Default Testing in browser SWFs not loading into levels

    Hi, everyone......

    I'm working on a project for the company that I'm working with and I'm doing my (gulp) very first Flash project. They sent me to a class and I picked up some useful stuff there. But, I'm having a helluva time with this project on a particular movie....

    [url]http://b3com.com/sundance/ownership/homes.html[/url]

    On this page, there is a base movie that loads the background in the center section, along with the three buttons that fade in on the left. It's also supposed to load into level 1 a separate SWF file for the default text that's there. Then, when you click one of the buttons, that text is supposed to disappear and another SWF file with the appropriate content is supposed to load into level 1.

    When I test it from Flash (ie: CTRL+Enter), it works fine. The default text is loaded as it should be and, when you click on the buttons, the other sections fade in as intended.

    However, when I insert the SWF file into my HTML page using Dreamweaver (Insert->Media->Flash) and test it in a browser (Internet Explorer) it doesn't work at all. The menu fades in but the default text doesn't load nor do the other content sections when you try to click on the buttons.

    The weird thing is that I've tried to test it on a local file server at work, along with uploading it to two different FTP sites and am having the same problem. BUT, someone else uploaded it to their server and it worked ok, which makes NO sense to me whatsoever.

    If anyone could have a look and give me an idea of what might be causing the problem, that'd ROCK!

    Thanks!

    Carly H. Franklin

    [url]http://b3com.com/sundance/ownership/homes.html[/url]


    cfxcreative webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Loading external scripts or swfs?
      Hello, all I?m trying to build a highscore system for my game. I?ll give away the game, so the game can be hosted in several different servers,...
    2. Loading and preloading .swfs
      Suppose I have two .swf files of size 1.5mb each. I would like to play one of them and while I play the first .swf. I'd like to start loading the...
    3. external .swfs on different levels
      Hey there, i'm having a little problem with some actionscript for my site... I have my own scrollpane that i have designed (not a component, so i...
    4. PLEASE HELP - load into levels, not working in browser
      I JUST GOT YOUR REPLYS..!!! THANKS..!! I've got a stop(); action in frame 1 of the intro because I want to make sure its totally loaded...
    5. web page not showing instanly in browser despite testing
      hi, I have written what I feel is pretty efficient code. First I execute an sp and a recordset back. I then immediatly place the recordset into...
  3. #2

    Default Re:Testing in browser SWFs not loading into levels

    I just had the exact same problem.
    This has to do with levels and where the file is located.
    When publishing it from flash, the extension of the folder the .swf file is in should be discarded. Say the button links to the .swf in this manner ("../mainfolder/images/movie1.swf"). When testing the movie it'll be able to find it. But when uploading it to the server "wwwroot", the folder named "mainfolder" is not there, because you're copying the files in it to root. Changing "mainfolder" to "wwwroot" is not the solution, but just deleting the first extension. So if it's ("../mainfolder/images/movie1.swf") works while on you're hard-drive, it should be ("../images/movie1.swf") on th server.

    This was my problem, hope that helps.


    Ash


    Ash Sammy Guest

  4. #3

    Default Re:Testing in browser SWFs not loading into levels


    I think I found your problem.
    [url]http://b3com.com/sundance/movies/thehomes_wloader.swf[/url] you can test your actual base movie and it works fine, because they are called from withing the same folder.
    The problem is that your HTML document is in /sundance/ownership/ folder
    and your movies are in /sundance/movies/ folder.
    Try eather writing:

    on (press)
    {
    getURL("../yourMovies.swf", "_level1");
    }

    instead of:

    on (press)
    {
    getURL("yourMovies.swf", "_level1");
    }

    or then puting your movies in your ownership folder

    I hope this helped


    the blue of the sea is sometimes so blue that only blood is more red..
    [#]
    Txarán webforumsuser@macromedia.com Guest

  5. #4

    Default Re:Testing in browser SWFs not loading into levels

    Thanks to everyone who replied. I guess it was just my logic that prevented me from figuring out what was wrong. I was thinking since the main movie was located in the movies folder that the other ones it'd be looking for to load in should remain in that folder and that it'd call them from there rather than looking in the folder where the HTML file is.

    But, then, upon reading these posts, I realized that the reason that it works testing it in Flash is because it generates an HTML page with the movie on it that's in the same folder as the SWFs.

    I'm learning!

    Thanks again to everyone!

    Carly



    cfxcreative webforumsuser@macromedia.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139