Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-26-2005, 02:23 AM
Junior Member
 
Join Date: Jan 2005
Posts: 15
Default problem with loadVars() object

I'm using loadVars() object in actionscript to get a bunch of values from a text file on my server. It works fine in flash everytime. Howerver the call to that object only works once when tried in a compiled exe file. Is there any such problem that you guys know of?

Reply With Quote
  #2 (permalink)  
Old 01-26-2005, 09:00 PM
Junior Member
 
Join Date: Jan 2005
Posts: 15
Default Re:problem with loadVars() object

It seems as if there is a problem with clearing the properties/values of objects (i only know of loadVars) in the compliled exe files. Please let me know if there is a solution.

my problem again is that when i use loadVars to load variables from a text file, it only works the first the and doesnt work again no matter how many times the same function is called and does not reload the new values if they have been changed in the file. It works perfectly fine in flash player itself. Please help me out. thanks

for example, heres the actions in a button:

on (release){

var file:LoadVars = new LoadVars();

file.load("http://www.mydomain.com/data.txt");

file.onLoad = function(success:Boolean) {

if (success) {
myVar = file.someVar;

}
};


}


I'm experiencing the same problem using the XML() object
Reply With Quote
  #3 (permalink)  
Old 01-27-2005, 09:02 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:problem with loadVars() object

It is really very strange, we find that it doens't refresh the value even on the web. It only works in the flash authoring environment or the standalone exe published by flash.
Reply With Quote
  #4 (permalink)  
Old 01-27-2005, 01:28 PM
Junior Member
 
Join Date: Jan 2005
Posts: 15
Default Re:problem with loadVars() object

Any solution to this?? Please let me know as this is holding my entrire project and weeks worth of work. Thanks, I truly appreciate all of your support.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:38 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.