Jump to content
Search Community

loading a swf on a delay using tweenlite

donkey kong test
Moderator Tag

Recommended Posts

hi all

 

would some one beable to help me with this little problem, I am trying to load in swf movies on a time delay, first I have been trying to do using AS3, with various ways, but no joy, I am also being told that I can use TweenLite.delayedCall(numberOfSeconds, loadMovie);

 

but I am unsure how to do this, I have down loaded a menu from soulwire and developing it and am a newbie to as3 and tweenlite so need things broken down step by step.

 

would anyone beable to help me make a start as to how I can delay an swf movie from loading in after a click event action has been completed using tweenlite??

 

this is my menu, you will see that you click or use mouse scroll to navigate(mouse sroll not working with loading the swf movies yet)and at moment when you click an swf movie loads in. I would like to delay the swf movies from loading for about 3 seconds until the click event action is complete...aaarrgghhhh!!! am I making any sense

 

menu: http://art.clubworldgroup.com/rotation/

 

and also the script here

http://art.clubworldgroup.com/menu/main_script.zip

 

would anyone be able to help me with this as I am very confused as to how to implement using tween :?

 

 

this is what I have on my OnClick

 

 

private function onMenuItemClick( event:MouseEvent ):void
		{



		circleMenu.scrollToItem( event.currentTarget as DisplayObject );
		event.target.load(new URLRequest(images[event.target.name].@swf)); // new
		lastMoviePlaying = event.target; 
		lastMoveIndex = event.target.name; 
		TweenLite.delayedCall(0.5, loadMovie); <<

		}

		private function loadMovie():void    <<<
		{ trace(); 
		}
		}
		}

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...