Professional Web Applications Themes

problem - Macromedia Flash Sitedesign

I created a scene named (main) in Flash MX. This scene has various (on release) action scripts, calling to frame numbers in the scene. Everything was working fine with that scene ..... Until ..... I added a preloader in a separate scene named (preloader) This scene has a total of 4 frames. I set this scene to play first, then at the end of that it redirects into the (main) scene. When I publish the swf, the (main) scenes frames have now shifted to the right 4 frames, and all of my action scripts are not lining up to the ...

  1. #1

    Default problem

    I created a scene named (main) in Flash MX. This scene has various (on
    release) action scripts, calling to frame numbers in the scene.
    Everything was working fine with that scene ..... Until ..... I added
    a preloader in a separate scene named (preloader) This scene has a
    total of 4 frames. I set this scene to play first, then at the end of
    that it redirects into the (main) scene. When I publish the swf, the
    (main) scenes frames have now shifted to the right 4 frames, and all
    of my action scripts are not lining up to the correct frames. Is it
    normal for Flash to just add the total frames from multiple scenes?
    ..... ... ...
    .... ... An obvious solution would be to just go into each action
    script and add 4 frames to the number, but there are many action
    scripts and I have multiple versions of the same Flash file that I
    would have to change. This would take a while to do and I thought
    there may be an easier way to make the (main) scene function properly,
    with the preloader working and with out it having to add the four
    frames to the beginning of the movie.

    Scott Guest

  2. #2

    Default Re: problem

    Scenes can be problematic, especially if you are using frame numbers as targets
    since, as you guesses, flash compresses all of the scenes down into a long
    single timeline when you export. The solution is to use labels on your frames,
    and then target the labels in your gotoAndStop/Play commands:

    gotoAndPlay(5) // not good
    gotoAndPlay("myLabel") // much nicer

    Cheers,
    Gil

    GilFew Guest

  3. #3

    Default Problem

    Hello,
    I need help. I have a bunch of different flash files I want to put into one.
    But I can't figure it out.
    I have a main page that has buttons on it and a content window. The buttons
    will take you to the correct content page, but the content is in other flash
    files. Any suggestions?


    ryejenk Guest

  4. #4

    Default Re: Problem

    All you have to do is to place all files in the same folder, so later you can
    upload them together, and then configure the buttons to go to the root
    directory and the flash file.
    For example if your page is at http://www.mypage.com and the flash file?s name
    is max.swf you would simply configure your button to go to
    http://ww.mypage.com/max.swf and so on!


    lowbid Guest

Similar Threads

  1. contribute problem - access denied file may not existpermission problem
    By Al1973 in forum Macromedia Contribute Connection Administrtion
    Replies: 6
    Last Post: September 17th, 04:16 PM
  2. Replies: 0
    Last Post: August 23rd, 11:56 AM
  3. Replies: 0
    Last Post: August 2nd, 03:03 PM
  4. Replies: 2
    Last Post: July 17th, 07:27 AM

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
  •  

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