|
It’s got me stumped. It really doesn’t
make much sense. > xml_url is set
using a set function which then calls load_data So do I understand correctly you are using
a getter/setter to conceal the underlying xml_url var? From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of I'm not really
clear on why this solves my problem. But it's worth sharing.
Originally I had: function
load_data() { var o:Object = new
Object(); } xml_url is set
using a set function which then calls load_data. The above code didn't
work. But it would work if I hard coded the URL into the function.
But I wanted to pass the URL in using FlashVars. Setting xml_url to a
local variable within load_data solved the problem. The following works: function
load_data() var t:String =
xml_url; I have no idea why
this works when the other doesn't. If anyone knows I would appreciate
your input.
Hi Chris, thanks for the
suggestion but it didn't make any difference. I'm going to try just
passing in a simple string value (ie area) and then using some static xml with
the actually script path. Probably more secure than having the script
path in the html anyway. But I can't see why this isn't working
which is very frustrating.
--- You are currently subscribed to fugli as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ |
- [fugli] Re: file path from FlashVars fails(SOLVED) Bill Lane
- [fugli] Re: file path from FlashVars fails(SOLVED) Chris Velevitch
- [fugli] Re: file path from FlashVars fails(SOLVED) Bill Lane
- [fugli] Re: file path from FlashVars fails(SOLVED) Mike Pearce
- [fugli] Re: file path from FlashVars fails(SOLVED) Bill Lane
