- Shopping Bag ( 0 items )
Ships from: Nashua, NH
Usually ships in 1-2 business days
Ships from: Murphy, TX
Usually ships in 1-2 business days
Ships from: Chatham, NJ
Usually ships in 1-2 business days
The pressure on web designers using Flash has been seriously stepped up. Flash 5 is a major revision over Flash 4, and the difference between the two is most apparent in the broader, deeper scope of ActionScript. To use the features of Flash 5 effectively, therefore, a thorough understanding of ActionScript is required. The desire to learn ActionScript at the basic level is addressed in the friends of ED Foundation series. Flash 5 ActionScript Studio takes this basic level of knowledge up towards commercial best practices, thanks to the contributions of a range of leading talents who present abundant real-world examples of their techniques. This book is recommended for web designers who realize that coding is the way ahead at the top end of the industry, Flash movie creators who need urgently to get deeper into interactivity, and those who are competent in ActionScript but still need guidance from the experts.
Flash 5 ActionScript Studio assumes a readership that already has a reasonable understanding of ActionScript and some HTML. Readers will likely be existing web design professionals with 4 to 6 months of experience with Flash 5, or considerable experience with Flash 4.
Things have moved on since then. Flash has revolutionized web site creation with some much-needed interactivity. ActionScript has finally grown up into a fully object-based and structured language, opening up all sorts of new avenues in terms of web site navigation. The movie clip has now attained the heady status of an object , with a full set of properties for designers to use, rather than the old, limited, timeline-based animation methods.
With this increase in versatility, though, comes something else: complexity . We have gained the freedom to design that results from a richer environment, but to make the best of it we have to plan ahead. It's not uncommon for designers to get scared off when they start to see words like modular design and hierarchy (and all the other stuff that sounds a little too much like programming) being bandied about, but it's really not that bad, as you'll soon see.
In this chapter, we'll explore the fundamentals of planning (and building)a Flash 5 FLA. When the word 'structure'appears in a chapter title, it can mean reams of wholly theoretical text, and lists of instructions: do this;avoid that. But I don't think that kind of thing is practical enough to be useful to anyone. Instead, in the second part of this chapter, I will describe a brief introductory game plan, and then dive straight into the creation of a moderately complex, moderately creative Flash movie, showing how it was all planned and structured for fast and efficient coding. As a Flash professional who often needs to get things done in a hurry, the ability to do that reliably is an attractive proposition.
For example, a factual resource needs to allow the user to get to information quickly, perhaps giving the latest news and updates the greatest priority. An entertainment site is able to deliver the information in a very different way, because the content and interface are one and the same. The interface itself provides part of the site's entertainment value, and is therefore actually part of the content in its own right.
A related consideration is the demand on bandwidth imposed by the content. A web site advertising an upcoming movie would tend to be very visual, and animation intensive. If the user is not to be faced with long pauses, methods of managing long download times need to be formulated and embedded into the site's structure. If they're not addressed, issues like these are highly likely to cause users to click away.
Sometimes, the content you're provided with by your client may simply be unsuitable for a web audience. Web surfers are notoriously resistant to any form of hard sell, and will quickly go elsewhere if all they see is a re-run of the TV commercial for Brand X soap. The average surfer is used to having something interactive to play with. In fact, this may be one of the reasons that Brand X chose to go with a Flash designer, and the structure of your final site needs to reflect this level of expectation: a simple, scene-based Flash site, with a few navigation buttons, could be commercial suicide for the professional designer. We would need to create web-based content that was different from (but complemented)the TV commercials.
Although the first few designs listed here are likely to come as nothing new to you, some of the later structures might be. Therefore, I'll treat the former fairly quickly, and concentrate in more depth on the new structures that can be useful to the advanced Flash movie creator.
It's possible to clean up a timeline like this somewhat by using scenes;the one above could, for example, be split across at least three scenes called start about and main
This structure is not just for beginners though, because it has at least one very big benefit: the lack of any subsidiary movie clips means that each frame will play as soon as it streams in (movie clips don't start playing until the whole movie clip timeline has loaded). Even for the Flash expert, this has particular advantages in applications such as banner adverts, where you want a slim download that starts running as soon as possible. It's also useful as a component of movies that use multiple levels, which we'll examine in more detail shortly.
Otherwise, however, the single timeline structure is fairly limiting to the ActionScript programmer, simply because ActionScript and streaming are two things that don't go together very well. The trouble is that attempting to jump to a frame that hasn't yet loaded causes the Flash player to go to the last loaded frame, which can be anywhere –and that kind of behavior would normally be fatal to an ActionScript movie.
Most developers of ActionScript-heavy movies (the author included)use this method in preference to the previous ones we've discussed, because it creates a more compact and efficient movie. In particular, it allows you to create modular code, which is more reusable and allows the use of common function routines.
(Although the movie can no longer stream in, this isn't a problem because ActionScript-based movies are not generally built with streaming in mind. )
This design forms the basis of all Flash movies that are ActionScript monsters –the games and sideways scrolling types that I mentioned at the start of the chapter, for example. Because it's the most versatile, it's also the one I will illustrate in the later example. Once you get your head round it, you'll find that it's actually the easiest to code up when you're writing ActionScript-heavy movies.
To make this kind of movie work well, there is a subtle twist you can use, which is to arrange (where possible)for each movie clip to control its parent. This is a major advance over a structure based only on movie clips, because you don't need to know the instance name (you instead refer to the _parent).
The next three types of movie structure are really just modifications of what we've already covered: they are ways of addressing bandwidth or content issues, and are typically employed to make use of Flash's streaming abilities to reduce download times, or to split up the overall content into separate chunks that are downloaded on demand.
As suggested above, it's a good idea only to use this effect once or twice in a Flash web site, because you can quickly cover the desktop with open windows. Some Flash designers have started to use a single pop-up that's called from a HTML page and then hosts the whole Flash site. This is perhaps the best way to use a pop-up, particularly if the Flash site takes a while to load –surfers can busy themselves with whatever's going in the original window while they wait for the pop-up to fill with a multimedia extravaganza. You may need to make it obvious that the pop-up is the main movie, so that the user doesn't close it, thinking it to be another commercial.
Posted July 7, 2001
This book is 600+ pages of straight-to-the-point lessons. It deals nothing with the boring basics that everyother flash book does. The authors assume you're smart enough to draw a line, unlike other books that spend chapters on it. Here's a section from the book which sort of sums up the books worth. 'in this book, we're assuming that you know your way around the flash interface, and that you know what the basc building blocks of a flash movie are. what you won't konw all about is flash 5 actionscript. maybe youve dabbled with the basic functions before, or you're still coming to terms with the transition from flash 4, but you wont have looked into the more advanced aspects of the language.' great, right?Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.