A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Koolmoves and iframes bug

Hybrid View

  1. #1
    Junior Member
    Join Date
    May 2006
    Posts
    2

    Koolmoves and iframes bug

    To all,
    I am new to koolmoves and started to build a HTML frame based
    webpage. I wanted to use a flash button control to update the lower 2
    frames. I looked all over in the support section on this and could
    not find out why my flash buttons don't work. I can get the buttons
    to pop up a new and display what I want but not get them to show up
    in a lower frame on the same page.
    I found a nice demo on Necromanthus website called iframes.
    I downloaded the demo and it worked fine.
    Since it had the iframes.fun file in it I decided to just export it
    out as a movie and replace the existing iframes.swf file. Well, I get
    the same problem here as well. The local test button doesn't do
    anything to load the local file. only the koolmoves button loads a
    webpage from the net. The test button doesn't work (This seems to be
    the same problem).
    Third thing I tried was to export the iframes as a SWF and HTML page
    giving it a new name iframes2. I got a new iframes2.swf and
    iframes2.html page to launch it.
    I added the <DIV> style stuff from the index.html in the demo so I
    could position the frame in the same place as the demo. WOW, now the
    newer HTML generated file has the run_FL_content java script stuff in
    the file and the <DIV> position:absolute doesn't work anymore.
    I am a registered user of koolmoves and using 5.6.3.
    Has anybody ran any of these older demos to see if there are any
    problems....
    -Technobob

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    That's because of a buggy browser (MSIE6 & FireFox) security policy.

    And because we always have to find workarounds to "skip" their bugs, do in the following way:
    1) edit the HTML file and insert these lines in the BODY:
    Code:
    <script language="JavaScript">
     function openFrame(frame_name) {
      window.open(frame_name,"I2");
     }
    </script>
    2) edit the FUN file and change the actions for those buttons in this way:
    Code:
    on (release) {
     getURL("JavaScript:openFrame('test.html');");
    }
    
    on (release) {
     getURL("JavaScript:openFrame('http://www.koolmoves.com/resources.html');");
    }
    
    on (release) {
     getURL("JavaScript:openFrame('http://www.flashkit.com/board/forumdisplay.php?forumid=24');");
    }
    That's all.

    And here is the updated package:
    http://necromanthus.com/KoolMoves/iFrames/iFrames.html

    cheers

  3. #3
    Junior Member
    Join Date
    May 2006
    Posts
    2

    Koolmoves and iframes bug

    Necromanthus,
    Thanks GREATLY!!
    This was starting to really take some time. I guess the title of this thread should have been
    MSIE6 and FireFox security help
    Anyway, thanks for the quick response to my email and clearing this up for me.
    I will try your suggestion and download the iframes update.
    Thanks again for the guidance.
    -Technometz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center