Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 21st, 2006, 12:19 PM
Authorized User
 
Join Date: Oct 2003
Location: , , .
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Scenes in Flash?

Some say it's best to stay away from using Scenes in your Flash movies. Any reason why some would say this can cause problems?



Rudy
__________________
Rudy
Reply With Quote
  #2 (permalink)  
Old December 15th, 2006, 05:42 PM
Registered User
 
Join Date: Dec 2006
Location: , , USA.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default



From an ActionScripter's point of view, the addition of scenes adds to the complexity of controlling content with ActionScript. For example, with every scene added, you add another frame 1 to root. So a script can no longer look at the frame number alone for an accurate estimation of the current frame being played since it could be frame 1 in one of several scenes. Therefore scenes must then be tracked as a separate entity. The ability to query for and maintain scenes via ActionScript is not as robust as one would hope.

As well, scenes act to separate content in much the same way as developing each scene as if they were their own moviieclip yet without a movieclip's inherent re-usability as a library asset.

So by using Scenes you're not taking advantage of the object oriented possibilities within flash and limiting yourself.

That now begs the question, why does Adobe keep scenes in the IDE a possibility then? There are several reasons you'd want scenes. Many of the older flash 4 files used scenes since the object oriented nature of modern Flash was in it's infancy at the time and scenes was a logical way to separate sections of content. As well, scenes can still help facilitate separation of content for animators wishing to output their frames as a video file such as avi or mov. We all know of course that attempting to use movieclips and actionscript and then outputting to avi or mov can have very disappointing results.

So use frames, but have a specific problem that is being solved by their use.



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help In Flash mushahid980 C++ Programming 0 February 21st, 2007 12:20 PM
Flash help! matchew Flash (all versions) 2 February 17th, 2006 02:59 PM
switching scenes in Flash MX nancy Flash (all versions) 1 March 15th, 2005 04:42 PM
New to Flash bmains Flash (all versions) 3 July 2nd, 2004 03:08 AM
Password-Protect Certain Scenes Ben Horne Flash (all versions) 5 April 5th, 2004 11:13 AM



All times are GMT -4. The time now is 12:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.