Flash Question??
- Started
- Last post
- 3 Responses
- heavyt
having problems loading XML into var textfield.
here is the source:
as: http://www.tr1design.com/xml.txt…
xml:
http://www.tr1design.com/prices.…in my MC, i have a textfiled with Var set to:Var60
it works fine when i publish this swf, but when i call this swf to load into my main movie, nothing shows up.
thanks for the help,
TR1
- unfittoprint0
first i would use a boolean to check if the opeartion was a success:
function myOnLoad (success) {
iif (success){
//your code
}else{
trace("oops!");
}second, an more important, when you're loading your file, the path to the xml is the same
"file.xml"
instead of
"folder/file.xml"
meaning, is the main movie in the same folder as the xml file?
- heavyt0
unfit,
i placed a copy of the XML file in the root directory too just to make sure that it coudl call it.
still, no luck.
i didnt have any luck with your load detect AS either. it actually made the XML not load in the swf (which it did do before)...
any other guesses ???
i tried using a static text box, and that shows up fine, so i know that it isnt as simple as another object obstructing the view.
thanks,
TR1
- heavyt0
still not havign any luck...
it seems it is loading fien in the original swf, but when that swf is called from another swf, it doesnt appear.
although, the cursor turns into a caret when i mouseover the area that the text is supposed to be.
no errors when publishing that it cant locate file.
i moved it to the front, top layer.any ideas????
TR1