Question : Problem using an if statement with a php variable in Flash - Part 2

In my previous post "Problem using an if statement with a php variable in Flash" I was trying to figure out how to use an if statement to get to a frame based on text from a MySQL. Field. I recieved feed back that did get me to correct frame but now none of the text from the MySQL is showing in the flash fields.

Here is the link to my previous post:
http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/ActionScript/Q_24372718.html


Here is the actionscript code I'm having a problem with.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
myData.onLoad = function(){
        placeTheDataIntoTheRightPlace();
if(template.text == "template 1"){
        gotoAndStop("template_1");
        }else{
        gotoAndStop("template_6");
        }
};
Open in New Window Select All

Answer : Problem using an if statement with a php variable in Flash - Part 2

are the text fields on the same timeline and are they on a different keyframe on there time line ?

It could be that they have become a different instance of the fields so on the first frame or marker arnt the same ones and the ones on the second marker... if so try clearing the keyframe and then re adding it to link them back together.
Random Solutions  
 
programming4us programming4us