Do you use scenes? do you reverse? preload?
Posted January 8th, 2009 byCategories: straightguysca.com
1. Is it better to create a preloader in a separate swf for the whole site so it preloads and at the end loads the site.swf ? How do you create a raster preloader that shows up right away - as I have seen numerous times, in my case it shows up many seconds later.
2. When you create a site, is it best to create a new scene for each button/section? and let's say each section has something animated, do you create yet another scene to leave that section to go back to hompage or is it better to have it go in reverse in that scene, then jump back to homepage?
thx !
And as far as preloading goes, the more library items you have exporting to the first frame, the longer it will take for your preloader to show. Turn off export in first frame and place the on the stage manually after the first frame (but before they are used). Heres a tool to help that: http://www.saydesign.com/forums/viewtopic.php?t=49
But for applications then therez no need since code is more effecient and reliable most of the time.
I usually put my preloader on a separate scene tho cuz I dont want to mix em up!
Forget Scenes. Learn to build all your site pieces in separate movieClips. That way you can just show and hide them as needed. You can do all your animation with either the MM Tween Class or Fuse Kit http://www.mosessupposes.com/Fuse/index.html . No need for the timeline whatsoever.
put them in seperate movieclips, not scenes.
@korpka - Most of us do not use scenes anymore but a few pro animators still use them as pointed out by a couple of other posters
@korpka - Most of us do not use scenes anymore but a few pro animators still use them as pointed out by a couple of other posters
No. Did you not read my previous post? I have been developing for many many years and have used each method and found slapping them all in movieclips and hiding them is not a wise decision (for certain applications). Scenes are very useful in some cases. Put everything in movieclips in the same scene became popular and faddish a few years back and some still hold to it but its not always the most practical thing and its not good for performance.
It pretty stupid to religiously stick to not using scenes as if its the most terrible thing. Like I said before, each case is different. In the case of game development, performance, organization & scalability are important and balancing the use of scenes and movieclip containers are important.
This is only true in some cases. When you use separate swfs more than they should, you potentially bloat file sizes and actually can sometimes increase development difficulty. In other cases you would want to use an external swf over a scene. This all depends on each situation. But you cant just say scenes are bad and rule them out. There is nothing wrong with splitting a file into several scenes if needed.
For instance for a website you would want your content separated into separate swfs. But lets say I'm building a game, I am not going to want my preloader, splash screens, menu and game all in the same timeline. If I separate those into scenes, it increases manageability and allows me to use a file as a template for other games.
Actually, setting _visible to false stops the movie clip from being drawn to the stage. I'm not arguing for or against scenes, just saying :)
does that mean there as absolutely no reason to use them, probably not, but I can't think of a single instance where scenes are better than external swfs or internal mcs save maybe for animation which I do little of except in regards to web design...
By the way what is: "preload a shared library in the background" and how is it done?
By the way what is: "preload a shared library in the background" and how is it done?
Check this link out (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14767)...
I also prefer the external loading swfs way. So Sinister Rouge, just a question about it ( as I still learn and you are surely well informed about the optimum way to do it) :
Let's say that I have as first a swf called intro.swf ( with an animation and embedded in Html)with a button ENTER that calls itself my main menu swf called menu.swf through loadMovie function.
Each button of this menu will call again with loadMovie 5 different swfs.
The question is : do I have to have a preloader for each loaded swf ?
Thank you.
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000401.html
Personally the only time I've used them has been when updating or doing re-designs for sites others have built and they have indeed been a nightmare to work with script-wise.
#If you have any other info about this subject , Please add it free.# |