[Flashcoders] duplicating a movie clip into a new parent

2006-02-25 Thread Justin Bishop
let's say i have an instance already on the stage, call myClip.

I'd like to create a new movie clip:
createEmptyMovieClip(newClip, getNextHighestDepth());

and then duplicate myClip so that it's duplicate is a _child_ of
newclip.  i cannot find in the asdictionary anyway to essentially
alter the parent of a movie clip that is already on the stage or to
duplicate a movie clip into a new parent.

obviously if the movie clip is defined in the library i can attach a
new instance of it wherever with attachMovie, but this does not help
me.

duplicateMovieClip()'s parameter's don't seem to support any way to
alter who the parent of the new clip is going to be.  you can only
execute it within the scope of where the original clip is, and you can
only create the new clip within that same scope...is that correct?

Thanks for your help.

-Justin Bishop
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Sound.loadSound --- when does streaming actually start?

2006-01-05 Thread Justin Bishop
Hello All. I'm new to the flash mailing list (as in, today) and
relatively new to flash (about 2 months).  I'm loving flash and
excited to have found this great mailing list! ;o)

John, I am a newbie to flash so please take my help lightly. ;o)  But
I think what you want is to set _soundbuftime .  This is a property of
every movieclip, but it is a global variable,  Check for it in the
Actionscript dictionary. ;o)

Good luck.

-Justin Bishop

On 1/5/06, John Olson [EMAIL PROTECTED] wrote:
 If I load an external MP3 into the Flash player and set up Flash to load it
 as a streaming event, when does it start to play?

 In the AS2 language reference, it states : Streaming sounds play while they
 are downloading. Playback begins when sufficient data has been received to
 start the decompressor. So what is sufficient data?

 The reason I am asking is that I was trying to stream very low bitrate MP3s,
 but they were long (1+ minutes around). When I used the bandwidth testing in
 Flash for 56K modem, the MP3 had to almost entirely download before it
 started.

 - John





 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders