Topic: back button

I have two problems with the optionnal back button.
-how I can place it in an other place that in the left corner
-how to attribute an adress like http://www.mysite.com/ to this button

Thank you for your help

Re: back button

The back button works the same way as the browser back button. To change this you would need to edit the actionscript source that is included with the Pro download. If you search the forums you would find:

http://www.simpleviewer.net/forum/viewtopic.php?id=8625

Mike Richards
SimpleViewer Support Team.

Re: back button

Hi,

to make the mods you mention requires modifying the source code.

how I can place it in an other place that in the left corner

Change these lines (starting at line 329 in StageManager.as) to the coords you require

//back button
mBackBtn_mc._x = 10;
mBackBtn_mc._y = 10;

how to attribute an adress like http://www.mysite.com/ to this button

Change these lines (starting at line 347 in StageManager.as)

public function goBack(){        
    if (ExternalInterface.available) {
        ExternalInterface.call("history.back");
    }
}

to this:

public function goBack(){        
    getURL("http://www.myurl.com");    
}
Felix Turner
SimpleViewer Support Team.

Re: back button

Thank you for your help.
For the second question, all is working perfectly.
I have still a problem for the first one.
If I change the numbers, effectively the back button change his position but not always the same in fonction of the screen.
Is it possible to justify his position.

Thank you again for your help.

Thierry