Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Translate Tell a Friend Script to Actionscript

Explorer ,
Jan 17, 2009 Jan 17, 2009
I have attached the html "button code".
I know I don't need the <img> tag... nor do I need the html comment tags; But my attempts to call a javascript from my .swf are all failing. Can any kind soul translate this to Actionscript 2 for me?

Please? (Crossing my fingers.)
TOPICS
ActionScript
752
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 17, 2009 Jan 17, 2009
Try something like this:
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 17, 2009 Jan 17, 2009
THANK YOU, kind sire, for attempting to assist.
With your suggestion, this is the error message I get:
Statement must appear within on/onClipEvent handler
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 17, 2009 Jan 17, 2009
attach that code to a frame, not an object.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 17, 2009 Jan 17, 2009
We're getting there, but not quite right yet. You'll see what happens if you click on the "Tell a Friend" link near the bottom of the noted URL: Clark Hulings
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 17, 2009 Jan 17, 2009
Try using void
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 17, 2009 Jan 17, 2009
Thanks, deep flash for trying to help. But now nothing happens when you click the button.
(Note: http://www.freetellafriend.com/tell/?u=3861 was changed to http://www.freetellafriend.com/tell/?u=38ref in the first response to my message. I've been changing it back to u=3861. Could that have anything to do with this?)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 19, 2009 Jan 19, 2009
LATEST
I've reverted back to the original suggestion, but changed the 38ref to 3861ref. I'm still not there. Can any kind soul help? Again?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines