Old 02-26-2009, 08:50 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 1
Default Loading gallery into existing flash site

I am trying to load in this gallery into an existing flash site via a "Loader".

When I load it, however, the positioning of the gallery seems to depend on the size of the browser window.

Can I make it so that if I say load it at position x=0, and y=0 that it stays in that position? I'm thinking it must be something in one of the AS files that is dynamically determining the gallery's position.

Any help on this would be greatly appreciated.

- Patrick
patpetcharat is offline   Reply With Quote
Old 02-27-2009, 01:18 PM   #2 (permalink)
OXYLUS Staff
 
Razvan's Avatar
 
Join Date: May 2008
Posts: 1,266
Send a message via Skype™ to Razvan
Default

Hello, in order to do this you must go into the .as code.

1. open main.as; comment or delete these lines:
Code:
//GALLERY._x = Math.round(Stage.width/2-IMAGE["bg"]._width/2+2);
		//GALLERY._y = Math.round(Stage.height/2-IMAGE["bg"]._height/2+2);
2. open bigImage.as, line 461 comment or delete the line:

Code:
//Tweener.addTween(main.GALLERY,{_x:tox, _y:toy, time:.5, transition:"easeInOutQuad"});
3. save the .as files and compile the .fla

That's about it !

All the best !
Razvan 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 08:15 PM.