Strange problem...can't figure solution

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

  1. #1

    Default Strange problem...can't figure solution

    I've been building sites using template files for some time now. I've never had
    a problem with using flash files in those template pages. However, now I am
    facing an issue where the flash works fine when browsing directly to the
    template page, but viewing the site where the template page is included, the
    flash does not.

    I can only conclude it may have something to do with my action scripting,
    which was peiced together as I am not skilled enough to write from scratch. The
    movie runs fine locally, and as I said if you browse directly to the template
    file, but not if you view the page where the template file is included.

    Any suggestions? Thanks!

    CCWebhead Guest

  2. Similar Questions and Discussions

    1. Skockwave Problem : Solution
      Shockewave Problem installing.....I have been having problem with internet explorer when I updated Shockwave few days ago.... now a SOLUTION: ...
    2. Trying to figure out a nested style sheet or other solution for formatting.
      Hi Guys Im doing a directory of resources for seniors and each entry is as follows: 1) NAME OF SERVICE 250 554-4587 2) textual explanation of...
    3. Solution to Mac OSX/PS7 icon problem
      As posted in my original message: CindyDan "Icons get screwed up in OSX/PS7.0.1... any fix?" 4/7/04 6:43pm </cgi-bin/webx?13@@.2cd11bf0/2> This...
    4. Can anyone figure out my problem with this ActionScripting?
      Here's the URL (obviously it's not nearly finished): www.azsidewinders.com/test/azsidewinders.html Here's a layout of what I have Main Movie...
    5. Best solution for this problem ?
      Now, im still beginner with asp.net, and i picked up a problem that looked trivial at the beginning, but its not. I asked before on this newsgroup...
  3. #2

    Default Re: Strange problem...can't figure solution

    Hey,

    This sounds to me like this is just some strange flash gremlin. Are you having
    this problem with multiple flash movies or just one in particular? You might
    have to remake it (copy and paste) bit by bit testing if it works at each stage
    to find the problem.
    I doubt if your actionscript is the problem since it shouldn't affect how the
    flash is integrated into a html file. The only reasonable non-flash gremlin
    thing I can think of is that the flash file must be in the wrong directory and
    isn't being called properly, but you seem to have already checked that.

    Dave_090 Guest

  4. #3

    Default Re: Strange problem...can't figure solution

    Thanks for the response!

    I tried that, peiced it together one MC at a time and nothing changed. I'm
    wondering if it has something to do with the way the flash movie is loading in
    the browser, since it works fine locally? I tried creating a preloader scene,
    but for some reason I cannot get the movie to work once the preloader is
    complete and advances the movie to the next scene.

    Any suggestions on how I should tackle the preloader, knowing that my main
    movie scene has only 1 keyframe?

    CCWebhead Guest

  5. #4

    Default Re: Strange problem...can't figure solution

    Here's the AS code from the MC in Scene1 Frame1 that controls the animation:

    onClipEvent(load) {
    wait = 1;
    count = 1;
    frame = 2;
    }
    onClipEvent(enterFrame) {
    if (delay == true) {
    if (Math.floor(getTimer()/250) == lastTime+1) {
    delay = false;
    }
    }
    else if (Math.floor(getTimer()/250) == lastTime+wait) {
    lastTime = Math.floor(getTimer()/250);
    delay = true;
    _root.artistMC.layersMC["sphere"+count].gotoAndStop(frame);
    if (count >= 10) {
    if (j > artistLength){
    j = 0;
    }
    else {
    j++;
    }
    _root.changeName (j);
    }
    else {
    count++;
    }
    }
    }

    Is there something in the code that is causing this not to play when the
    preload scene advances?

    CCWebhead 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