ActiveDen

XML 'Featured' Drawer Menu and Modal Window (AS3)

  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
ejake says
Purchased

the formatting screwed up when I posted the comment and code above. the page break didn’t come through. My actual code starts at “MovieClip…”

Don’t want you thinking I’m a complete moron.

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Ireland
  • Referred between 10 and 49 users
iamdok says
Author

Hey ejake,

Sorry I typed the name of the function correctly at the beginning of my post and incorrectly at the end. To call the function you could try this

MovieClip(this.root).drawer.minClick(null)

place it inside your onClick() functions for your Nav items.

That particular function “minClick” is a nested function, so there is still a possiility the above targeting code may not find it. But if that happens I can help you un-nest it. These comment areas are hopeless for writing code snippets, so I suggest you write me an email through the form on my profile page so we can communicate on this issue further if required.

Best regards,

Donagh

3 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
danibal says
Purchased

Helo….Is posible to make the component to loading open and if the user wants close it?

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Ireland
  • Referred between 10 and 49 users
iamdok says
Author

Hi danibal

When the content had loaded in the drawer You could call the “open” function, which would automatically open the drawer at the beginning. The user could then either drag it closed of cllose it by clicking (double on bar or single on minimise button).

The only thing, is that the content would need to load first, and depending on the users internet connection the surrounding page may have loaded already. This means that the drawer would just open a little later than “as soon as the surrounding page loads”.

The function name is “maxBtnClick”, to call this simply pass a null object like in the following example:

maxBtnClick(null) ;

Hope this helps.

Donagh

3 years ago
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
danibal says
Purchased

Thank you very much….

3 years ago
  • Has been a member for 5-6 years
  • Bought between 10 and 49 items
honolulu1986 says

Is it possible to make this file into as 2?? Thank’s

2 years ago
Author
iamdok iamdok replied

Unfortunately not. I work in AS3 exclusively.

Donagh

2 years ago
by
by
by
by
by