Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

Flash / actionscript Mad Magazine fold-ins is it possible to change to start closed and fold out.

Is it possible to start with the fold closed, so it folds out. I have tried doing this by moving the elemnts in the FLA to the closed possition but when I click it opens instantly. If you then click and drag it closes opens etc correctly. I have attached the file with the elements moved. Hope you can help, Many Thanks
0
surfjoe
Asked:
surfjoe
  • 2
  • 2
1 Solution
 
surfjoeAuthor Commented:
Here is the file I have been tryoing to edit
Foldin-closed.fla
0
 
TanLiHaoCommented:
I have answered you here.

First you

Add this line of code

middleRect.rotationY = 180;

at the first line, or below variable definitions.

Then move the green rectangle (rightRect) to on top of the black rectangle. It's x coordinate should be 175. Then your fold out will work.
0
 
surfjoeAuthor Commented:
Excellent, Many Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now