jefflhlow.com

It's all about everything a Malaysian techie journey!

[FLASH] Controlling Browser Window via Flash Javascript buttons [via ‘get url’ statement]

October12

Sources: http://www.actionscripts.org/forums/showthread.php3?t=23342
Author: Cheeky_monkey
Version: Macromedia Flash 5
Objectives: Client wants Flash Demo on a CD with their own Branded window.
Tools & Techniques: Oval Tool, Rectangular Tool

Controlling Browser Window via Flash Javascript buttons

1. Set size of browser window

On (Release)
Get URL (“javascript:window.opener=self; window.resizeTo(width=780,height=420)”)
End On

2. Minimise browser window
(haven’t worked out) HELP !!

3. Maximise the browser Window.

On (Release)
Get URL (“javascript:window.moveTo(0,0);window.resizeTo(wi ndow.screen.availWidth,window.screen.availHeight); “)
End On

4. Close the browser window.
(cool JS which by-passes the MSIE security prompt of “are you sure you wich to close this window”)

On (Release)
Get URL (“javascript:window.opener=self; window.close()”)
End On

posted under Flash

You must be logged in to post a comment.

 

Draw by chillicandy

Draw by chillicandy

jefflhlow is my personal initial. I am a fast learner especially in Information Communication Technology and Computing. I grow a deep passion in adopting fast growing technology, ever creative design and ever  changing programming method.

I am active in sports especially paintball had been my great passion. Paintball is the only sports I have always wanted to excel and growth with.

I love my family and putting them first in everything.

 

Smashing Magazine RSS