-
if statement
Hi All,
I am loading a photo gallery with this code.
The problem is, I have an arrow that slides from each category to the next. So if you click on COMMISSIONS_MC, the arrow slides up so you know you're on that category. Since the photo gallery takes a few seconds to load, the arrow gets stuck while the photo gallery is preloading. How can I make it so the arrow loads, THEN load the photo gallery.
if (e.target.name == "commissions_mc"){
TweenMax.to(SiteGroup.arrowThingy, .6, {delay:0, alpha:1, y:-101, ease:Strong.easeIn});
req = new URLRequest("project_moms.swf");
commissionsPage.myLoader.addEventListener(Event.IN IT, loaderInit);
commissionsPage.myLoader.load(req);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|