Old 03-16-2009, 04:25 PM   #1 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 2
Default Center the albums menu

Hello Adrian.

Thank's for that great June-Gallery.
I want to push the "album menu" (made with category title) in the horizontal center of the frame. Is it possible? Or push it more on the right then know.

I don't know where parameters of this clips are written.
Can you help me?

Thank you.
cyberill is offline   Reply With Quote
Old 03-17-2009, 04:08 AM   #2 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 12
Default

I wanted to do the same thing. Within this same thread, the author apparently says that's not possible changing tab corners
macmansc is offline   Reply With Quote
Old 03-17-2009, 10:05 AM   #3 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,969
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Hello,
I don't have the files at hand right now. If it's a small modification, I will provide the code for free, but if it requires heavy modifications, I will have to charge you for the custom work. I will come with a pertinent answer asap.
Adrian is offline   Reply With Quote
Old 03-20-2009, 04:03 PM   #4 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 12
Default

curious if there was a time frame to look at this mod. I'd really like to use it on the site that I'm working on now.
macmansc is offline   Reply With Quote
Old 03-23-2009, 06:46 AM   #5 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 12
Default space between tabs

If centering the tabs is too difficult, is there a way to add more spacing between tabs? That would allow me to "center" my tabs in my site.
macmansc is offline   Reply With Quote
Old 03-23-2009, 08:24 AM   #6 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,969
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

1. Open source\oxylus\JuneGallery\TabBar.as
2. Inside public function TabBar() { ... }, remove this code:
Code:
Stage.addListener(this);
onResize();
3. Inside public function set data(... add a new line before onResize() :
Code:
Stage.addListener(this);
4. Inside private function onResize() { ... } change if (Lst._x+totw<w) { ... } block to:
Code:
if (Lst._x+totw<w) {
var xpos:Number = w - totw;
var mid:Number = Math.round(w / 2 - totw / 2); 
xpos>mid ? Lst._x = mid : Lst._x=xpos;
}
Save and republish the swf.
Adrian is offline   Reply With Quote
Old 03-23-2009, 01:28 PM   #7 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 2
Default Great!

It's exactly what I want.
Thanks a lot Adrian.
cyberill is offline   Reply With Quote
Old 03-23-2009, 03:16 PM   #8 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 12
Default

works great....
macmansc is offline   Reply With Quote
Reply

Bookmarks

Tags
center, menu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:10 AM.