Hi, philip Thank you , I thought this is talking about swf making , I get know now ! thanks. Winster B.R.
On 6月11日, 下午12時09分, Philip Hutchison <[email protected]> wrote: > Hi Winster > > This list is for SWFObject questions, not general Flash help (SWFObject is > only used for embedding SWFs in HTML files). > > You might want to try a more Flash-specific forum such as actionscript.orgor > kirupa.com. > > Cheers > - philip > > 2009/6/10 Winster <[email protected]> > > > > > > > Hi all > > If my statement is not clear , please tell me . > > Thanks > > Winster > > B.R. > > > On 6月10日, 下午4時54分, Winster <[email protected]> wrote: > > > Hi all > > > I have a simple problem and can't think out why it doesn't work,please > > > give a hand. > > > I have some code for loading a external file.txt and trace out a > > > variable:String as following : > > > > this.createTextField("textField", this.getNextHighestDepth(), 10, > > 10, > > > 10, 10); > > > textField.autoSize = "left"; > > > var LV_load:LoadVars = new LoadVars(); > > > LV_load.load("file.txt"); > > > var linkURL:String; > > > LV_load.onLoad = function(success:Boolean) { > > > if (success){ > > > textField.text = this.tContent ; > > > textField._visible = false; > > > linkURL = textField.text ; //get > > file.txt' s URL > > > } > > > else { > > > trace("no file exist or no response !") > > ;} > > > }; > > > > trace(linkURL); > > > > My problem is > > > I can trace the var linkURL in if(success) block but fail in > > > global as I wrote .Why and how can I use the var linkURL in global , > > > thanks a lot . > > > > Winster > > > B.R. > > > 2009-06-10- 隱藏被引用文字 - > > - 顯示被引用文字 - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
