|
|
#1 (permalink) |
|
Junior Member
Join Date: Feb 2009
Posts: 1
|
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 |
|
|
|
|
|
#2 (permalink) |
|
OXYLUS Staff
|
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); Code:
//Tweener.addTween(main.GALLERY,{_x:tox, _y:toy, time:.5, transition:"easeInOutQuad"});
That's about it ! All the best ! |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 03:49 PM.







Linear Mode
