public function calculateWidth(x:int):int {
if (x > 800){
siteContainer.horizontalScrollPolicy = "off";
return x;
}
else{
siteContainer.horizontalScrollPolicy = "on";
return 800;
}
}
public function calculateHeight(y:int):int {
if (y > 600){
siteContainer.verticalScrollPolicy = "off";
return y;
}
else{
siteContainer.verticalScrollPolicy = "on";
return 600;
}
}
Follow along with the video below to see how to install our site as a web app on your home screen.
Napomena: this_feature_currently_requires_accessing_site_using_safari