Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Child call back to parent in JavaScript? Please help. |
From: | Gregg Caines |
Date: | Thu, 6 Apr 2000 17:52:43 +0100 |
> In other words, when window A opens window B, how can I create a function
so
> that window B can communicate back to window A (in this case, change the
URL).
> Can the child call back to the parent in JavaScript?
I haven't done any js in a while, but if the parent has a name then use
FSCommand to
interface with js and tell the parent to load the new URL. I would think
this would
also be possible with GetURL by specifying the parent's name as the
'window'...
maybe _parent would work... you'll need to experiment, but it's probable
enough to
be worth the experimentation time.
> Is there a way to change the size of a flash window (opened by a
JavaScript
> function) when the user clicks a button. In other words the window opens
at
> height=450, width=300, but I want it to maximize when the user clicks a
button.
Use FSCommand to talk to the javascript and have it call a js function to
resize the
window. This can definitely be done. You'll need to look up some js
resources on the
web though, or find a js guru, because my js skills are too rusty...
Hopefully this helps. That's a definite 'probably' and a definite 'yes'.
:)
--------------------------------------------------------------
Gregg J. Caines
Neometrix Systems Inc.
gcainesneometrixsystems [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the new Flasher list books section, check it out
at http://www.chinwag.com/flasher/books.shtml
send suggestions for inclusions to helpchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Child call back to parent in Java, John Prince
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]