Results 1 to 8 of 8

Thread: pop-up screen size

  1. #1
    Join Date
    Sep 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default pop-up screen size

    On my website, I have a window that pop up when you click on a button (its a flash animation button but the window that pop up is a html page).. now the prob is when the window open up, its dimension is way to small and is not resizeable..
    its someone else who wrote everything about the flash part.. and im wondering where would be the command of the pop up page option of not being able to re-size.. owuld it be in the flash part or should it be with the html part.. in the html part, i dont seem to see it and in the flash part, on the button itself, there's only the action of opening the name of the page.. no parameter...

    thx!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    HTML doesn't specify window size. To change it in the flash, would mean decompiling and recompiling the flash file. This type of thing can be done using javascript but the flash button will either need to be replaced with an image or have its window launching function disabled somehow.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i have Macromedia flash 8... can this be done using that proggy to recompile and decompile?? and decompiling means like going into the animation?? since i saw the action command on the button saying

    on (release)
    {
    getURL("javascript:Launch(\'diable.html\')");
    }


    thats all i got for that command button..

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well then you need to find the function (it will probably look partly like this at its beginning):

    function Launch(

    It may be included in the flash file's code somewhere or be elsewhere linked to the page or on the page itself.

    Or you may be able to just rewrite the call in the flash file:

    Code:
    getURL("javascript:Launch(\'diable.html\')");
    to:

    Code:
    getURL("javascript:myLaunch(\'diable.html\')");
    Then you could probably write your own myLaunch function on the page like this (or more involved if you like):

    Code:
    <script type="text/javascript">
    function myLaunch(url){
    window.open(url, '', 'width=400 height=350 resizable=1')
    }
    </script>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Sep 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ... didnt work.. now the link just doesnt open with the formula of myLaunch and the script.. i put the script in the head part.. is it ook??

  6. #6
    Join Date
    Sep 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    what about sending u my .swf and .fla file and my html page.. maybe you'd see where is the precise launch command..

  7. #7
    Join Date
    Sep 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    bump plz

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Sorry, I'm a little busy right now. I don't have access to any flash writing/compiling/decompiling program. Best thing would be to use the attach file option. Make up a .zip file of the source for the flash. Use the full editor here and scroll down to the manage attachments button. Attach the file to a message.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •