• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Accordion menu problem. Doesn't move.

Guest
Apr 11, 2012 Apr 11, 2012

Copy link to clipboard

Copied

Hello!

Here are files I've modified.

http://failiem.lv/u/jhqapxy

I was making an accordion menu after this tutorial.

http://www.thetechlabs.com/xml/build-a-dynamic-accordion-menu-in-flash-cs4-with-actionscript-30-and-...

In basic tutorial there is extra part of button where you add menu name "home, about us" etc.

But I don't need this. I needed more simplier. From xml file I load an image or swf. And then you just mouse over it and it moves and it clicks. No extra 30 pixels for button space.

If i change AS line

ldr.x=0

to ldr.x=27

then it moves, but there is extra unnecessary empty space between content things. I don't need it. What should I do?

I'm total beginer at these things, but I really need this thing.

TOPICS
ActionScript

Views

503

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 11, 2012 Apr 11, 2012

Copy link to clipboard

Copied

LATEST

You need to find where the space between is being added. If you include the relevant code in your posting you are more likely to get help.  Also, probiding screenshots to show the problem you want to solve can be helpful.

People are generally not too keen about chancing downloading files and researching tutorials or other external information when trying to help in forums.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines