# JavaScript in AS3 \[renamed\]

**URL:** <https://forum.kirupa.com/t/javascript-in-as3-renamed/324188>\
**Category:** flash\
**Created:** [August 7, 2011, 5:14pm UTC](https://forum.kirupa.com/t/javascript-in-as3-renamed/324188 "2011-08-07T17:14:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rassy7](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@rassy7](https://forum.kirupa.com/u/rassy7)\
**Post date:** [August 7, 2011, 5:14pm UTC](https://forum.kirupa.com/t/javascript-in-as3-renamed/324188/1 "2011-08-07T17:14:13Z")

</div>

Hi, quick issues: I’m attempting to add a twitter follow button ([http://twitter.com/about/resources/followbutton](http://twitter.com/about/resources/followbutton)) to an AS3 Flash SWF. The code is below and I believe the \<script\> tag is javascript. I can’t make that part appear but if I make a dynamic text field and import html.Text, I can make the rest appear.

Does anyone know how I can make the java work?

\<a href=“[http://twitter.com/RasTwit](http://twitter.com/RasTwit)” class=“twitter-follow-button” data-button=“grey” data-text-color="#FFFFFF" data-link-color="#00AEFF" data-show-count=“false”\>Follow @RasTwit\</a\>

\<script src=“[http://platform.twitter.com/widgets.js](http://platform.twitter.com/widgets.js)” type=“text/javascript”\>\</script\>

Thanks,

~Josh
