Need iFrame coding help!

  • Mootz
  • Born
  • Born
  • Mootz
  • Posts: 1

Post 3+ Months Ago


I am having difficulty getting the following code to work:

ACTIONSCRIPT Code: [ Select ]
onClipEvent (load) {
   num = 2;
      button.onPress = function() {
         getURL("aboutus.html", "main_body");
  1. onClipEvent (load) {
  2.    num = 2;
  3.       button.onPress = function() {
  4.          getURL("aboutus.html", "main_body");
  5. }
  6. }

When I test the flash playback the button temporarily loops on loadup and then is ok. I also receive the following error: Symbol=menu_all, layer=item2, frame=3, Line 6 Unexpected ')' encountered. I don't have much Dreamweaver/action scripting experience but i've tried various combinations without any luck. I'm sure this is any easy fix but if someone could help me that would be awesome!

Thanks ahead of time!
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1252
  • Loc: Ro

Post 3+ Months Ago

oh, this happens when you try to do things without understanding them.
That code would actually work if you knew where to place and if it would be for the correct version of actionscript.
But if you don't know the basics, can't help you.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 6 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.