[thelist] Flash Button and Frames

Syed Zeeshan Haider szh at softhome.net
Wed Oct 16 14:03:01 CDT 2002


From: "Paul Bennett"
To: <thelist at lists.evolt.org>
Sent: October 15, 2002, Tuesday 2:39 AM
Subject: Re: [thelist] Flash Button and Frames


> you will be able to add an action to the button:
> add action : (select "onclick")
> options select: "get url"
> in the text fields you should be able to specify the file to load and
> the target, which can be the name of the frame you want to load the page
> into

I took a button from Flash's library and inserted following ActionScript in its
Actions panel.

<ActionScript>
on (release) {
    getURL ("KeyCodeDetector.html", parent.bottomFrame);
}
</ActionScript>

Here "bottomFrame" is the name of bottom frame in which loading of
"KeyCodeDetector.html" is required. The Flash button is in top frame.
When the button is clicked, the page is loaded in the top frame instead of
bottom frame.
What's the wrong with ActionScript?

Thank you,
Syed Zeeshan Haider.
http://syedzeeshanhaider.faithweb.com/





More information about the thelist mailing list