thanks guys.... this is the code in question:
------------------
private function alignBases ( ) : void
{
for ( var i : uint = 0 ; i < numButtons ; i ++ )
{
var btn : Object ;
var optionBtn : String ;
var sceneToUse : Number ;
var normalTemp : Object ;
var grayTemp : Object ;
var textTemp : Object ;
var mainGapSize : Number ;
var mainSquareHeight: Number ;
var smallGapSize : Number ;
var pad : XMLList ;
var option : Number ;
option = i + 1 ;
sceneToUse = USERDATA.sceneToUse ;
pad = SELECTXML [ "scene" + sceneToUse ][
"option" + option ].attribute( "padY" ) ;
normalTemp = getChildByName("square" + (i+1)) ;
grayTemp = getChildByName("graySquare" + (i+1)) ;
textTemp = getChildByName("text" + (i+1)) ;
mainGapSize = (mainBase.height -
(normalTemp.height* numButtons)) / (numButtons + 1) ;
mainSquareHeight = mainBase.height - mainGapSize * 2 ;
smallGapSize = (mainSquareHeight - ( (
normalTemp.height * numButtons))) / 2 ;
normalTemp.x = (((mainBase.width / 2 -
normalTemp.width / 2) + i * 6) + mainBase.x)-4 ;
//normalTemp.y = (mainBase.y + mainGapSize +
((mainGapSize + normalTemp.height )*i) + normalTemp.height / 2) ;
normalTemp.y = pad ;
grayTemp.x = normalTemp.x ;
grayTemp.y = normalTemp.y ;
textTemp.x = (normalTemp.width / 2 -
textTemp.width / 2 ) + ( normalTemp.x + 12 ) ;
textTemp.y = normalTemp.y + 7 ;
trace("NORMAL TEMP Y = " + normalTemp.y )
if (i == 3) textTemp.y = normalTemp.y + 17 ;
objCords["square" +(i+1)+"X"] = normalTemp.x ;
objCords["square" +(i+1)+"Y"] = normalTemp.y ;
}
};
--------
Basically what happens is that this loop runs through a number of images and
aligns them on the screen. Unfortunatelly due to the privacy of the project
I cant share images but imagine 3 images and they have to be aligned on top
of each other. I tried one more different server and everything works fine
in testing and my personal server but the server where this is going live is
the one that Im having the issues.
One thing that I can say is that i make some javascript calls before this
rutine so I am going to make sure that everything is written properly,
specially with being case sensitive. I just never had this type of issue
before so it is really frustrating.
Thanks again....
On 3/7/08, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>
> Elaborate on what the code looks like that has the problem. Without
> seeing what you're trying to do, the only reasons I can think of are all
> external to the Flash player - Actionscript that calls external stuff
> and therefore you can have problems with case (Unix for example, is very
> case-sensitive) or with security
>
> Jason Merrill
> Bank of America
> GT&O L&LD Solutions Design & Development
> eTools & Multimedia
>
> Bank of America Flash Platform Developer Community
>
>
> Are you a Bank of America associate interested in innovative learning
> ideas and technologies?
> Check out our internal GT&O Innovative Learning Blog & subscribe.
>
>
>
>
>
>
>
> >>-----Original Message-----
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] On Behalf
> >>Of Helmut Granda
> >>Sent: Friday, March 07, 2008 9:39 PM
> >>To: Flash Coders List
> >>Subject: [Flashcoders] Debugging as3
> >>
> >>Would there be any reason why some code would work on one
> >>server and the same code would not work on another server? I
> >>have an application that is working properly in flash IDE,
> >>testing local html and testing server. but once it goes live
> >>to a different server some things do not function properly.
> >>
> >>For once is the alignment of Bitmaps.
> >>
> >>TIA
>
> >>_______________________________________________
> >>Flashcoders mailing list
> >>[email protected]
> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
--
...helmut
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders