Flasher Archive

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


Subject: RE: FLASH: Duplicating Movie Clips
From: David Williamson
Date: Tue, 20 Jul 1999 14:57:40 +0100

Hi

I havnt had any trouble with the depth settings on the duplicate
movies, i have a movie where they are switched infront and behind elements
on mouse rollovers, and i can still place items infront of the duplicates
items.

All the duplication i am doing takes place in movieclips, the duplicates
depth seems reletive to the original item(i.e the symbol you are
duplicating), or the symbol where the duplication is taking place (i.e.
where ever the action script is that is duplicating). I havent tested which
it is yet as i havent needed to. so if you duplicate an item that is stored
in a symbol/movieclip then items can still be duplicated, whith an action
inside the same symbol/movieclip you should find that you will be able to
place items above or behind this "shell" symbol.

cheers dave
___________

http://www.oldskoolflash.com
http://www.spookyandthebandit.com

THINK New Ideas
12 Theobalds Road
London
WC1X 8PF

T:+44 (0)171 242 3300
F:+44 (0)171 242 3306



-----Original Message-----
From: Jason [webmasteratboowakwala [dot] com (mailto:webmasteratboowakwala [dot] com)]
Sent: Tuesday, July 20, 1999 10:13 AM
To: flasheratshocker [dot] com
Subject: Re: FLASH: Duplicating Movie Clips


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

------------------------------------------------------------------------
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
  Re: FLASH: Duplicating Movie Clips, Jason

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