Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Duplicating Movie Clips
From: Jason
Date: Tue, 20 Jul 1999 10:16:33 +0100

Hi,

Has no-one found a workaround for this yet? I'm coming up against the same
problem and it is very annoying. The only suggestion I can come up with is to
put the offending article in a seperate swf file and use loadmovie. This way
the duplicated element will be on layers in a level that is totally
independent of the other objects. This is not the easiest solution but is the
only one I have for the moment. Problem comes when you need to place some
duplicated elements behind other elements and some in front...

Any other ideas would be welcome.

Jason

David Brozicevich wrote:

> I'm wondering if anybody can enlighten me with the Duplicating Movie clip
> statement in reguards to the Depth attribute. I have a simple looping
> action that creates eight instances of a target. Here is the script:
>
> Set Variable: "i" = 1
> Loop While (i<=8)
> Comment: Init TARGET POSITION
> Trace ("i="&i)
> Duplicate Movie Clip ("tgt", "tgt"&i, i)
> Set Property ("/tgt"&i, X Position) = GetProperty ( "/inv"&i, _x )
> Set Property ("/tgt"&i, Y Position) = GetProperty ( "/inv"&i, _y )
> Comment: Init Invisible OBJECT
> Set Property ("/inv"&i, Visibility) = 0
> Set Variable: "i" = i+1
> End Loop
>
> What happens is the depth of each new instance is also incremented. The
> script seems to work fine but the depth level is actually global to the
> whole Flash movie. These newly created instances sit on top of every other
> object on the stage reguardless of the layer position of the targeted movie
> clip used for duplication, or for that matter any other object in any other
> layer. I even changed the layer of where the action was called, no avail.
> Have I done something wrong? Is this a bug? Is there a work around?
>
> Dave
> www.eleven1.com
>
> ------------------------------------------------------------------------
> To UNSUBSCRIBE send: unsubscribe flasher in the body of an
> email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
> N.B. Email address must be the same as the one you used to subscribe.
> For info on digest mode send: info flasher to list-manageratshocker [dot] com

-- Around the world in 12 songs with Boowa and Kwala -
http://www.boowakwala.com
A big blue dog and a strange yellow animal will help kids with their first
clicks on the internet.
Every month during 1999 kids will find a chapter of their tale, a song, some
games and the Boowa and Kwala Club.

Le tour du monde de Boowa et Quoila en 12 chansons -
http://www.boowaquoila.com
Nos deux adorables personnages, Boowa et Quoila, accompagnent les tout-petits
pour leur premiers pas sur l'internet.
Des animations, de la musique, des bruitages, des surprises a cliquer...
Parfait pour les tout-petits !


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  FLASH: Duplicating Movie Clips, David Brozicevich

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]