Old 08-02-2008, 11:57 PM   #1 (permalink)
Acf
Junior Member
 
Join Date: Aug 2008
Posts: 2
Default Align the photo to the left

Hi,
before all: great script!
For a my project I need to align the gallery's photos to the left and not centered.
I've made some test to the script with no luck, the image is always centered.
Can you help me?
Thanks!
Acf is offline   Reply With Quote
Old 08-04-2008, 10:39 AM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Hi,
Try this - open Picture.as file and at line 82 change the code to:

Code:
mcBrd._x = 10;
(10 represent the distance from the left edge)

- goto line 113 and remove or comment it:

Code:
//movex = new Tween(mcBrd, "_x", Regular.easeOut, mcBrd._x, Math.round(w/2-cw/2)+margins.left, sec, true);
- last, goto line 177 and just before this one insert a new line with this code:
Code:
img._x = mcBg._x+ib;
Open gallery.fla and republish the swf to see the results. Let me know if it works. I have tested it and it works fine.

All the best,
Adrian
Adrian is offline   Reply With Quote
Old 08-06-2008, 10:00 PM   #3 (permalink)
Acf
Junior Member
 
Join Date: Aug 2008
Posts: 2
Default

Work very well!

Thanks for your support!
Acf is offline   Reply With Quote
Reply

Bookmarks

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 10:24 PM.