PDA

Volledige versie bekijken : kunnen MC instanties van elkaar verschillen?


expuddle
%Europe/Berlin %943 %2005, 23:39
hoi,

Ik ben pas nieuw met Flash en ik heb een vraagje voor een project waar ik bezig mee ben. Ik heb een movieclip in de library en ik heb een instantie ervan op een frame in een layer geplaast, en de instantie een naam gegeven. Dan wil ik in dezelfde layer in een volgende frame en aangepaste versie van die movieclip hebben. Maar als ik een nieuw instantie van de movieclip op de stage plaats in de volgende frame, en hierin de wijzigingen aanbrengen, dan verandert ook de eerste instantie van de movieclip alsmede de movieclip in de library zelf. Is mijn enige optie een niuew movieclip maken? Ik dacht dat er juist verschillen tussen instanties konden zijn.

Nog een vraag: Hoe kan ik alpha aan tekst toepassen zodat deze met een tween of actionscript langzaam in beeldkomt (de actionscript code zelf begrijp ik wel, maar het likt geen effekt te hebben op tekst). bedankt voor de behulpzaamheid

Laiverd
%Europe/Berlin %945 %2005, 23:42
Rechtstreeks uit de handleiding

Using symbols, instances, and library assets overview
A symbol is a graphic, button, or movie clip that you create in Macromedia Flash MX 2004 or Macromedia Flash MX Professional 2004.

You create the symbol only once; you can then reuse it throughout your document or in other documents. A symbol can include artwork that you import from another application. Any symbol that you create automatically becomes part of the library for the current document. For more information on the library, see Using the library to manage media assets.

This chapter describes how to create symbols and instances in the Flash authoring environment. You can also create buttons, movie clips, and graphics using the Button Class and MovieClip Class (use the drawing methods of the MovieClip class to create graphics). See "Button class" and "MovieClip class"in Flash ActionScript Language Reference.

When you create a symbol in the authoring environment, each symbol has its own Timeline. You can add frames, keyframes, and layers to a symbol Timeline, just as you can to the main Timeline. For more information, see "Using the Timeline" in Getting Started with Flash. If the symbol is a movie clip or a button, you can control the symbol with ActionScript. For more information, see Chapter 5, "Handling Events" in Using ActionScript in Flash.

An instance is a copy of a symbol located on the Stage or nested inside another symbol. An instance can be very different from its symbol in color, size, and function. Editing the symbol updates all of its instances, but applying effects to an instance of a symbol updates only that instance.

Using symbols in your documents dramatically reduces file size; saving several instances of a symbol requires less storage space than saving multiple copies of the contents of the symbol. For example, you can reduce the file size of your documents by converting static graphics, such as background images, into symbols and then reusing them. Using symbols can also speed SWF file playback, because a symbol needs to be downloaded to Flash Player only once.

You can share symbols among documents as shared library assets during authoring or at runtime. For runtime shared assets, you can link assets in a source document to any number of destination document, without importing the assets into the destination document. For assets shared during authoring, you can update or replace a symbol with any other symbol available on your local network. See Using shared library assets.

If you import library assets that have the same name as assets already in the library, you can resolve naming conflicts without accidentally overwriting existing assets. See Resolving conflicts between library assets.

For an introduction to using symbols and instances, select Help > How Do I > Quick Tasks > Create Symbols and Instances.

BDisOKE
%Europe/Berlin %963 %2005, 00:07
Je kan dus dingen aan de "buitenkant" van je movieclip aanpassen.
Dingen als instancename, tint, alpha, scripts, grote, etc.
Zodra je edit in place en dus echt "in" de movieclip zit gelden die aanpassen voor overal.
En zal je die dus zien op elke plaats waar de movieclip staat. :)