Results 1 to 4 of 4

Thread: Calling DHTML Window widget From within Flash

  1. #1
    Join Date
    Jun 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Calling DHTML Window widget From within Flash

    Hi, I've been trying ways of calling the DHTML Window widget from within a Flash movie (using on(release) on a Flash button), with no luck at all.

    Can anyone tell me how to call:

    Code:
    <a href="#" onClick="ajaxwin=dhtmlwindow.open('ajaxbox', 'ajax', 'external.htm', 'Ajax Win Title', 'width=650px,height=400px,left=300px,top=100px,resize=0,scrolling=1'); return false">Create/ Open Ajax Window</a>
    from withing Flash? Am not an expert at all, hence a layman-explanation would be highly appreciated.

    Thanks again

  2. #2
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking found the way to start the popup from flash

    After several hours of trying (im not programmer just a bit curious) i made a button with this as in it:

    on (release) {
    getURL ("javascript:ajaxwin=dhtmlwindow.open('ajaxbox','ajax','pageintoyourserver.htm','title','width=650px,height=400px,left=300px,top=100px,resize=0,scrolling=1');vo id(0);");
    }

    this works perfectly for me, using firefox last version and IE 6 too.

    Hope this helps you!!!!

  3. #3
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    note: dont know why a space appeared in the void word, it must be all together as here:

    on (release) {
    getURL ("javascript:ajaxwin=dhtmlwindow.open('ajaxbox','ajax','pageintoyourserver.htm','title','width=650px,height=400px,left=300px,top=100px,resize=0,scrolling=1');vo id(0);");
    }

  4. #4
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Whoops!!!! it happened again and i double checked!!! ... just remember, void MUST be all together, just one word.

Bookmarks

Posting Permissions

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