View Full Version : Scenes - Why Bad??
snurf
05-09-2004, 03:16 PM
Hi, Im a complete novice at flash, just gatting into it to try and build a website... Iv been flicking through posts on this site and was wondering why so many people say you shouldnt use scenes, whats the big problem, and what you do instead of using them to split up your project??? Any opinions would be helpfull... cheers :)
stealthelephant
05-09-2004, 03:36 PM
its a nightmare to develop using them, have you ever tried it yet? if not give it a shot and find out first hand ;)
CyanBlue
05-09-2004, 03:45 PM
Howdy and Welcome... :)
Try this thread...
http://www.actionscript.org/forums/showthread.php3?s=&threadid=14126
snurf
05-09-2004, 06:12 PM
Right... Now im just as confused (im a Muppet when it comes to Flash)... Are you saying that they cause problems when it comes to Actionscript, cause I can barely understand actionscript (Iv spent the last few years doing Lingo Programming in Director and Actionscript looks completley bizzare)... From what Iv seen Scenes seem really good for organaising timelines. Oh and what do you mean by "develop" stealthelephant?? God nothing seems to make sense anymore :)
its a nightmare to develop using them
I believe he means it sucks "creating" a Flash Web site using scenes. :) I'm kinda new too and have yet to find a need for them other than for a preloader.
ARob109
05-09-2004, 07:33 PM
I am having a problem continuously looping my scenes, how do i fix this? Should i just move everything to one scene and have millions of frames?
Why don't you just convert your scenes to movie clips and loop them?
CyanBlue
05-09-2004, 08:53 PM
Why don't you just convert your scenes to movie clips and loop them?
Exactly... :)
Scenes are very useful to our EYES since it visually divides things for us...
BUT Scenes are painful thing to use to our BRAIN if we don't use them wisely...
For example... I have 10 frames in the first scene, SceneA... and 15 frames in the second scene, SceneB... When Flash compiles the movie, it generates 25 frame long SWF file which is basically ONE scene to the eyes of Flash... That's where all the problem gets occured...
If I say gotoAndPlay(1) from SceneB, Flash thinks that you want to go to the first frame of your Flash movie(1/25) whereas you might have meant to go to the first frame of the SceneB... That's just an example, but that sort of things happen all the time...
To get away from those conflicts, you've got to utilize the FRAME LABEL... Just add "SCENE_A" in the frame 1 of SceneA and "SCENE_B" in the frame 1 of SceneB, and use _level0.gotoAndPlay("SCENE_B"); to get away from that problem...
Well... If you really don't understand what I am trying to say here, forget about what I just said and just use one scene to save some of you hair... :)
ARob109
05-10-2004, 08:59 PM
aright thanks guys... just got Flash MX the other day so I'm still learning
sandman9
05-11-2004, 05:44 PM
Job well done cyanblue ..... you really know your sh*t
basically like cyanblue says .... it gets compiled into one long timeline. So flash has to use intelligence to figure out that frame 5 in scene two isn't frame 5 anymore when compiled. Although with frame labels it doesn't matter if it all gets put in one long timeline b/c it's just looking for a name
Sandman9
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.