# Help with Variables Please help :)

**URL:** <https://forum.kirupa.com/t/help-with-variables-please-help/162685>\
**Category:** flash\
**Created:** [September 15, 2005, 9:33am UTC](https://forum.kirupa.com/t/help-with-variables-please-help/162685 "2005-09-15T09:33:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonyp](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@anthonyp](https://forum.kirupa.com/u/anthonyp)\
**Post date:** [September 15, 2005, 9:33am UTC](https://forum.kirupa.com/t/help-with-variables-please-help/162685/1 "2005-09-15T09:33:49Z")

</div>

I have loaded some variables in to my movie which ive aimed at \_root.

Here is my setting.ini

// IP Configuration

&IP=132.132.101.27

// Scene Labels

&scene1=Reading  
&scene2=Cinema  
&scene3=General  
&scene4=Romantic  
&scene5=Goodbye

// Room Labels

&room1=Kitchen  
&room2=Pool  
&room3=Garden  
&room4=Office  
&room5=Cinema  
&room6=Spare room  
&room7=Bedroom 1  
&room8=Bedroom 2  
&room9=Bedroom 3  
&room10=Bedroom 4  
&room11=Shower room  
&room12=Bathroom

The Problem i have is i cant get the FullURL line to pickup the IP address from the settings.ini file?

I i manually add the IP= line in the same fram below it picks it up but not when i include it in the settings.ini.

I can pick the other variables up fine on stage i.e. room tags but these are on labels in the stage area not in the code here?

House help would be ace, please help thanks!.

//Projector Settings  
\_root.loadVariables(“settings.ini”, \_root);  
fscommand(“fullscreen”, “true”);  
fscommand(“showmenu”, “false”);  
fscommand(“allowscale”, “false”);

// IP and URL configuration

//IP=“132.132.101.27”;  
fullUrl=“http://” + IP + “/commands.htm?”

// Default Addresses

Room=“R=4”  
Channel=“C=1”

//Scene Buttons

settbutton.onRelease=function (){  
IPTEST=IP;  
}

Button1.onRelease=function (){  
scene = “B=1”;  
settings = fullURL + room + “&” + scene + “&” + channel  
loadVariablesNum(settings, 0);  
Scroller.Display = scene1;  
Scroller.gotoAndPlay(“1”);  
}  
Button2.onRelease=function (){  
scene = “B=2”;  
settings = fullURL + room + “&” + scene + “&” + channel  
loadVariablesNum(settings, 0);  
Scroller.Display = scene2;  
Scroller.gotoAndPlay(“1”);  
}
