Compiler GONE MAD!
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Compiler GONE MAD!

  1. #1
    Junior Member
    Join Date
    Aug 2017
    Posts
    7

    Compiler GONE MAD!

    Hello

    Using Adobe CS5.5.

    I have the most WEIRD compiler problem and wondering if anyone else has experienced the same?

    I have 4 Scene's as follows :


    Scene_1 (3 frames)
    Scene_2 (110 frames)
    Scene_3 (1 frame)
    Scene_4 (210 frames)

    Here's the problem :

    I had an error show up by the compiler which was correct (missing end brace), it said FRAME.254 (Scene_4) but there's ONLY 210 FRAMES IN THE SCENE!
    I then put intentional errors on another scene and again the compiler is giving a frame number that is wrong or exceeds the number of frames in the scene!

    For example, i put an intentional error on frame 30 and the compiler tells me its frame 55.

    I've noticed the game crashing sometimes even though it compiled correctly.
    I'm wondering if the software has become confused and compiling the frames incorrectly as a simple gotoAndPlay(1); can cause a crash.

    Any help would be much appreciated.
    Thanks
    Ron

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,701
    HI,

    We would need to see the fla to help really Ron, many say try to avoid using scenes too as they are prone to errors and make accesing things a tad trickier.
    maybe just use movieclips.

  3. #3
    Junior Member
    Join Date
    Aug 2017
    Posts
    7
    Quote Originally Posted by fruitbeard View Post
    HI,

    We would need to see the fla to help really Ron, many say try to avoid using scenes too as they are prone to errors and make accessing things a tad trickier.
    maybe just use movieclips.
    Hi Fruitbeard, sorry for late reply.

    I did eventually solve the problem and as i see you were a step ahead.

    I adjusted everything, removed scenes leaving a loader scene and a main scene and it worked fine.
    Have been using flash from the beginning but i must start coding in one .as file and keep everything in one scene.

    It's rare i get a problem but this really did have me stumped .
    Cheers!
    Ron

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center

Poll by Flashkit.com