-
can any one help?
i'd like to know how to publish a flash html page that has a link to an swf movie that opens in a fixed size/non-scalable window with only the blue title bar and a save disable.
ive read posts in the archive and found some answers but have no clue about html. can any one give me an idiots walkthrough?
-
Hi there,
You need to open your swf. in a javascript window.
eg.
Code:
on (release) {
getURL ("javascript:window.open('http://www.your.swf','name','width=350,height=500,scrollbars=yes,top=0,left=0'); void(0);");
}
-
ok then..
on (release) {
getURL ("javascript:window.open('http://www.*****.***','****','width=***,height=***,scroll bars=yes,top=0,left=0'); void(0);");
}
so this code goes in the button of the flash movie i publish as an html page. where the stars are i've put in, i put my own details?
is this correct?
-
reply
if u want to open the page in a popup then search for some code for popups..or look for chromeless windows in http://www.microbians.com. u can open the chrome less popups from flash also . there in the above site u can find the kit for download and use them free of cost..
see ya
-
That's correct...you onlt need the scrollbars=yes (or "1") if you want it to scroll, otherwise the default value is "0" or "no".
-
thats done it
thanks micmac
got it sorted. only thing now is the window always opens in the corner of the screen instead of the middle.
if ne1 knows a code to fit in with the above to make it open in the middle, that would be great.
no? ok then
-
Hi there,
You can change the position by changing the values for top and left.
I think there is a script to center it as well...i'll have a look for it.
Cheers,
micmac
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|