PDA

View Full Version : Targeting FRAMES Question....



popps
January 8th, 2005, 10:27 PM
Hey all,

I'm a newbie so I apologize for what's probably going to be an elementary question... but believe me, it wasn't without thorough research. I just can't find the answer.

I've read the tutorial on targeting frames here at Kirupa:

http://www.kirupa.com/developer/flash5/frames.htm

It's helpful, but with the Flash version I have... it doesn't give the option of "window" when you're adding a URL to a button. It only has a little pop-down menu with _parent _blank _self.

I simply want to be able to make my flash buttons target other frames in my HTML document, but I can't figure out where or how to add the code to make it do so.

I've used HTML to target links with no problem, so I understand the concept. I just can't figure out how to add the option to target a specific window in Flash MX 2004.

Any help would be greatly appreciated! Thanks!

scotty
January 9th, 2005, 09:33 AM
You can't find it, because the "Basic Actions" was skipped in the Actions panel...so you have to type it yourself;)

on(release){
getURL("your.html", "name_of_your_targetFrame";
}

scotty(-:

popps
January 9th, 2005, 03:54 PM
Thanks so much. I'll try that out. Very odd that that's not in the options any more. It used to be, at least from what I've read.

Thanks again!

scotty
January 9th, 2005, 04:22 PM
welcome=)

Brave Sir Robin
April 13th, 2005, 12:03 PM
I've been having a problem with targetting frames too. I've entered the target web page and target frame in the actions window for a button yet when I click on the button it opens a new browser window. Has anyone experienced this problem, and more importantly could someone help me sort it out?!?

Cheers

Andy

thanx
May 1st, 2005, 05:16 AM
to stop it from openning a new browser window you have to use that option to open in self.
if you highlight your button and rightclick for action......geturl
you get a window frame with the following
url fill in www.whateverthesite-is
window self (means same window) blank is new browser etc play a litle to find out.