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.
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.
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
Helo….Is posible to make the component to loading open and if the user wants close it?
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
Thank you very much….
Is it possible to make this file into as 2?? Thank’s
COPYRIGHT © 2012 ENVATO| TERMS OF USAGE| SUPPORT/HELP| ICONS BY TANGO + WEFUNCTION + FAMFAMFAM
Adobe®, Flash®, Flex®, Fireworks®, Photoshop®, Illustrator®, InDesign® and After Effects® are registered trademarks of Adobe Systems Incorporated.
18 Purchases
26 Comments