View Full Version : pop-up screen size
S_F_H
10-04-2005, 05:18 PM
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!
jscheuer1
10-04-2005, 06:25 PM
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 (http://dynamicdrive.com/dynamicindex8/popwin.htm) but the flash button will either need to be replaced with an image or have its window launching function disabled somehow.
S_F_H
10-04-2005, 07:35 PM
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..
jscheuer1
10-04-2005, 08:24 PM
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:
getURL("javascript:Launch(\'diable.html\')");
to:
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):
<script type="text/javascript">
function myLaunch(url){
window.open(url, '', 'width=400 height=350 resizable=1')
}
</script>
S_F_H
10-05-2005, 12:54 AM
... 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??
S_F_H
10-05-2005, 01:02 AM
what about sending u my .swf and .fla file and my html page.. maybe you'd see where is the precise launch command..
S_F_H
10-06-2005, 02:39 AM
bump plz
jscheuer1
10-06-2005, 05:57 AM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.