Closed Thread Icon

Preserved Topic: Javascript in Flash5?? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18498" title="Pages that link to Preserved Topic: Javascript in Flash5?? (Page 1 of 1)" rel="nofollow" >Preserved Topic: Javascript in Flash5?? <span class="small">(Page 1 of 1)</span>\

 
Gynot
Bipolar (III) Inmate

From: Brooklyn, NY
Insane since: Jan 2002

posted posted 01-06-2002 08:05

Anyone know of a way to add Javascript window properties such as exact sizing, position, no scroll, thru Flash's Action Script. Also am dying to get controll of the status bar from Flash also.

~Peace~
Gary

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 01-06-2002 10:18

Yep, that's possible. Have a look at http://www.macromedia.com/support/flash/ts/documents/tn4160.html

In Flash, you have to use the FSCommand function. Then you add the Javascript which detecs what the FSCommand function sends and executes any Javascript you want. You'll find everything you need on Macromedia's page.

Tilo

Weadah
Maniac (V) Mad Scientist

From: TipToToe
Insane since: Aug 2000

posted posted 01-06-2002 12:23

Things like :

getURL ("javascript:functionName('"+_root.anyClip.var+"','"+this.var+"','"+_root.var+"');");

Work too.

[This message has been edited by Weadah (edited 01-06-2002).]

« BackwardsOnwards »

Show Forum Drop Down Menu