Topic: Tiltviewer Pro Flash Embed - How To Position

My URL: http://www.antdesigns.net/samsonchanfilms/#/CREDITS/

My Actionscript:

stage.addEventListener(Event.ENTER_FRAME,resizeTiltViewer);
function resizeTiltViewer(e:Event){       
    //example tiltViewer size and position values
    var tvWidth = stage.stageWidth/2;
    var tvHeight = stage.stageHeight/2;
    var tvX = stage.stageWidth/4;
    var tvY = stage.stageHeight/4;       
    ldr.x = tvX;
    ldr.y = tvY;
    var tiltviewer = Object(ldr.content)._app;
    if ( tiltviewer != null){
        tiltviewer.autoSize = false;
        tiltviewer.setSize(tvWidth,tvHeight);


can some help me edit this code in order to center my tiltviewer? i just need to know what values to adjust.

thanks,
Anthony

Re: Tiltviewer Pro Flash Embed - How To Position

Do you have the following in your code?

//turn off stage auto resizing
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;    
Mike Richards
SimpleViewer Support Team.

Re: Tiltviewer Pro Flash Embed - How To Position

Yes mike I have that code

Re: Tiltviewer Pro Flash Embed - How To Position

can someone from SimpleViewer please help me out here

Re: Tiltviewer Pro Flash Embed - How To Position

nevermind just bought another product with better tech support.

Re: Tiltviewer Pro Flash Embed - How To Position

I don't see any TiltViewer at that URL.

You are on the right track looking at that code. You basically want to set ldr.x and ldr.y to the position you want the top left of the TiltViewer gallery to appear. Exactly how to do that depends on how you have your top level resizng code working.

Felix Turner
SimpleViewer Support Team.

Re: Tiltviewer Pro Flash Embed - How To Position

not your fault felix but your support is too slow. i'm a paying customer and expect faster service. i understand if this product was free but good support = happy customer. went with another third party module. again not your fault just venting.

-anthony

Re: Tiltviewer Pro Flash Embed - How To Position

Re response time: 2 responses on the same day as your post doesn't seem too bad.

Felix Turner
SimpleViewer Support Team.