hi alan,

you can duplicate an existing flash member either with

oldFlashMem.duplicate(newMemPosition)

or with

new(#flash, member(newMemPosition, newMemCastlibNameOrNum) ).media = oldFlashMem.media

cheers,
valentin

Alan Skinner wrote:
I think I found it


tMember = new(#flash, castLib "LibName")

-----Original Message-----
From: Alan Skinner
Sent: 18 January 2006 14:18
To: Lingo programming discussion list
Subject: RE: <lingo-l> Dynamically duplicating SWF in Director


Bit of background which I should have mentioned.
My XML file contains a list of buttons which I want to create on the
stage.
Each button (where button=flash object!) will call a specific callback
and perform some function.

Each button is actually some text and 2 inner buttons, the button name
and back/forward

Ie "< colour >"
  "< width >"
Etc...

I was hoping I could just create my flash buttons using newObject or
something then I could position them on the stage somewhere. But I
don't think this is possible.

Do I have to draw them manually using lingo image stuff?


-----Original Message-----
From: Alan Skinner
Sent: 18 January 2006 14:10
To: Lingo programming discussion list
Subject: <lingo-l> Dynamically duplicating SWF in Director


Hi everybody.

I have a .swf clip that I want to be able to dynamically add to my
director scene.

I want to add as many as my .xml config specifies.

Is this possible?

If so how would this be done?

Cheers

alan


--
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.

If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of DA Group.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email lingo-l@penworks.com  (Problems, email
[EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming Lingo. Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to