PDA

View Full Version : need help getting flash button (when clk) to open in proper frame


mister ed
08-08-2001, 11:05 PM
hey.........
i am trying to create my own flash button and us it in dreamweaver.....
i exported the button with generator and placed the file in the right place so that i could pull it up in dreamweaver4...
i get the button to display but when clicked on it displayes in the same frame and not the frame that i want it to.....

the code that i have for my button ( in flash ) is
on (release) {
getURL ("http://www.santafe.cc.fl.us");
target = "mainFrame";
}


but this is not working??????!!!!!!!!
is my code just screwed up?????????????
and even when i use the drop down menu in dreamweaver to target the frame it still just display in the same frame...........
any help would be great!!!!!!!
thanks
mister ed

THOR
08-09-2001, 12:00 AM
try this, instead of having your target outside the getUrl function, do this

on(Release){
getURL ("http://www.santafe.cc.fl.us", "mainframe");
}

the frame tag should be in the quotes, also, make sure your frames are named properly within your frameset page

then again i have been known to be wrong,

[Edited by THOR on 08-08-2001 at 07:11 PM]