Page 1 of 1

C# - HtmlElement.GetAttribute being null after deploying

Posted: Sat Feb 25, 2012 1:40 pm
by Fox
Hey everybody,

OK so I'm having a crazy problem. I created a app that uses the web, and It works awesome! But only in debug mode.
I managed to track the problem to this line -

Code: Select all

flashvars = player.GetAttribute("flashvars");
In debug mode I get the desired value for flashvars. And when I deploy the app and install it on my own computer, it works fine.
But when I install the app in any other computer(tested on 2 computers running XP and 7), flashvars is always empty :?

Any ideas?

Thanks for your time.

Re: C# - HtmlElement.GetAttribute being null after deploying

Posted: Sat Feb 25, 2012 2:12 pm
by Saman
Try to install Flash plug-in and check.

Re: C# - HtmlElement.GetAttribute being null after deploying

Posted: Sat Feb 25, 2012 2:35 pm
by Fox
Hey man it worked! Thanks a lot!!

It was driving me crazy :D

I love this place :yahoo: