Jump to content

problems with swapping depths, (in a hurry)!


Fekke

Recommended Posts

Hi, I´m making a commersial banner for a poker company online, and what´s supposed to happend is that the dealer grabs cards from his deck and give two to each three persons on the table. Next he swings a card up in the air which becomes really big, and the news is on that card. My problem is that when one card after anoter dissapears from the top of the deck they land under the players´ hand. I´m talking about the six cards that are not news now. When the card with the news on is sent up it goes underneath everything else so I figured I need a swapDepths function, but all the tutorials explain only the swapDepths function with a mouse action to set it off, but I need some sort of onEnterFrame because the user shouldn´t need to interact. Please help! I´m sorry, but I can´t post the .fla file because this is a project I´m doing for a major firm, and I´m not allowed to give anything to anyone else.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...