AS3 Merge Arrays in Turn

I have two arrays:
Animals: (cat, dog, mouse)
Colors: (red, blue, yellow, green)

I would like to merge them into a third array, pulling a record from each source array in turn, with the remainder just being added to the end (cat, red, dog, blue, mouse, yellow, green).

Is there a way to do this in AS3?

Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

var animals:Array = ["cat", "dog", "mouse", "frog"];
                        var colors:Array = ["red", "blue", "yellow", "green"];
                        var combine:Array = animals.slice(0);
                        var min:uint = Math.min(animals.length, colors.length);
                        for(var z:uint = 0; z < min; z++)
                              combine.splice((z * 2) + 1, 0,  colors[z]);
                        combine = combine.concat(colors.splice(z));

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nice tutorial for learning all Array functions, I will use for my job interviewers :)
length, slice, splice, concat
tmbdesignAuthor Commented:
Ha! Yeah, it has it all.  Plus it works like a charm.

Thank you so much!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.