sorry...wrong brackets. it should be like that: loadExternalText=function(){ var RV=new LoadVars() RV.onData=function(){ trace("VARS LOADED")
} var LV=new LoadVars() LV.sendAndLoad('http:www.example.com/external.txt',RV) } 2007/7/16, o renken <[EMAIL PROTECTED]>:
yes..i think its a scope problem try that: load the external.swf into master.swf with MovieClipLoader() ----- inside of external.swf is a function e.g. like that loadExternalText=function(){ var RV=new LoadVars() RV.onData=function(){ trace("VARS LOADED") } var LV=new LoadVars() LV.sendAndLoad('http:www.example.com/external.txt',RV) ----- after loading external.swf in master.swf: MovieClipLoader.onLoadInit=function(mc){ mc.loadExternalText() } } greets olee 2007/7/16, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > It sounds like either a scope problem or you don't have the instance name > and/or path correct in your code. Hard to tell without seeing the AS. > > > > > This is a complex problem, with a simple solution I suspect. Doing some > > AS2 training, which I have to say feels like a whole different language > > sometimes to AS. > > > > Problem in brief: I have a master swf. -- It is loading an external > > swf -- that external swf has a dynamic text field -- which is to load an > > external .txt, -- IT IS NOT. > > > > The Master swf loads the external swf page no problem the text field is > > there, all my traces show the objects traces as they should, just the > > text field is not loading the .txt file. > > > > This is the first time I am attempting to do work with more than just > > external swfs. So the problem could be a simple. I suspect it has to do > > with the naming or reference to the container text field. > > > > Please if someone has some time, and know this stuff like the back of > > their hand, I would be extremely thankful. > > > > regards, > > > > Vdst > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- http://www.renkster.de/#/about/
-- http://www.renkster.de/#/about/ _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com