Forum Moderators: martinibuster
Second - You will be violating the Google Adsense TOS if you place the Adsense code in anythong other than a web page.
The SWF has to run within a webpage, so your best bet is to simply include the Adsense JS code somewhere in the HTML.
I removed my lines of writing was not done intentionaly.
I'm not an expert.
I'm trying to find aswer to the problem.
The file is an HTML, and the added the swf inside, I guess.
I'll ask the prog team, why they want to do it that way.
I'll repost and we'll write it in a way that is following the TOS.
Best Regards.
The idea your programmers have for embedding JS into ActionScript goes against the Adsense TOS. We understood the question and offered information about it being disallowed by Google.
I am guessing they want to embed Adsense JS code within a Flash SWF that plays within an HTML page. But Google's Adsense JS should only be embedded (as is) within HTML code.