-
1. Re: Content from different scene showing
Rob Dillon Nov 7, 2014 7:14 AM (in response to WizzBane)If you do not see this problem during authoring, it sounds like you have a function that moves the playback head to a new frame or frame marker in the timeline. You may have a marker in the second scene that is causing this problem. Do you get any errors when you run "Test Movie"?
-
2. Re: Content from different scene showing
kglad Nov 7, 2014 7:15 AM (in response to WizzBane)does that occur consistently at the same frame of the first scene?
if yes, check that frame.
-
3. Re: Content from different scene showing
WizzBane Nov 9, 2014 3:08 PM (in response to WizzBane)I checked the video frame by frame, and it shows nothing wrong. I also checked the AS3 and I see nothing that would warrant this behavior. Is there a way to attach files so you guys can check? Or should I upload the video online?
-
4. Re: Content from different scene showing
kglad Nov 9, 2014 4:34 PM (in response to WizzBane)go ahead and upload to a server, post a link and indicate where the problem occurs.
-
5. Re: Content from different scene showing
WizzBane Nov 10, 2014 3:31 AM (in response to kglad)Here's the link: http://studenter.miun.se/~stti1400/uppgift4_stti1400_v1.swf
The animation is about 20 seconds long. There are three buttons, all of them go to the second scene. The problem lies in the first animation of the fireworks. As you can see, you can see the picture from the second scene, which the buttons refer to, suddenly appears. I've tried commenting the as3 code for the buttons that point to the second animation--it didn't help. I've restored the code so that you can click the button and see the second scene, which appears in the fireworks animation.
Here's the fla-file in case you want to check my code: http://studenter.miun.se/~stti1400/uppgift4_stti1400_v1.fla
Thank you all for your help, much appreciated.
-
6. Re: Content from different scene showing
Rob Dillon Nov 10, 2014 7:40 AM (in response to WizzBane)You have two scenes. The first scene is looping until your user selects to go to another scene. You are using Flash's default loop mechanism to get your first scene to loop. This is causing the problem. Flash is jumping to the first frame of your second scene when it finishes the last frame of the first scene.
You can solve this problem by placing a "gotoAndPlay(2)" directive in the last frame of Scene 1. You might also solve the problem by having nothing in the first frame of scene 2 except a black frame background to match scene 1.
You should try and work without using using Scenes. They are not really all that useful and can be the source or many problems. They are an antiquated method left over from the very early days of Flash.
Good luck.



