PDA

View Full Version : HTML problem or Actionscripting problem?



fw2803
June 22nd, 2007, 07:55 AM
Hi there
I am currently working on an assessment in school. I'm required to create a simulator to demonstrate how information is fed to different users. I'm trying to combine Flash and HTML in order to score higher marks.

I'm using the frame structure. The navigation bar is made of Flash. I applied the following codes to the first button of the navigation bar:


on (release) {
getURL("our_sls/profile.html","main")
}

where "main" is the name of the content frame. Instead of loading in the content frame, a new window hopped out. I double-checked if I've typed the wrong name. But I could spot no errors. The following shows part of the HTML code.


<HTML>
<HEAD>
</HEAD>
<FRAMESET...>
.
.
.
<FRAME name="main" src="main.html" scrolling=yes noresize>
.
.
.
</FRAMESET>
</HTML>


Can anyone tell me possible errors if there's nothing wrong above?

Thanks a lot.

lambros
June 22nd, 2007, 08:04 AM
i think therearen't any brackets around the release

fw2803
June 22nd, 2007, 08:52 AM
I've checked that. There is no syntax error.