Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu still aint workin'

Status
Not open for further replies.

evilmonkeys

Technical User
Jan 12, 2001
5
AU
Hey..thanks for ya help in the first place but it wont work for some reason.

I selected the button on the 'scene 1' screen and typed that in the space whre the 'object actions' thing is but nothing happens when I click.

It is a .htm file that I am trying to get to come up ..is that why?...should i change it to .html??????
Or am I doing the action things in the wrong place or screen???

HELP!!!!!!!!!?!?!

*this is what it says in 'output'.........

Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Statement must appear within on handler
On (Press)

Scene=Scene 1, Layer=Layer 1, Frame=1: Line 2: ';' expected
Get URL ("personnel.html", window="Right")

Scene=Scene 1, Layer=Layer 1, Frame=1: Line 3: ';' expected
End On

what am I doing wrong????

Please help

thanks for responding in the first place....your further help would be much appriciated.
 
Omitting the "l" in html is not the problem! I have this in one of my .flas:
getURL ("merry.htm", "mainsite");
and it's working!
Maybe the missing ";" at the end of the getURL line!
Check it out!

;-)
 
hi evil

this seems to be pretty annoying for you. If you want to send me the html and fla involved I can jazz it up for you and get it working.

dD davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
hi evil

Apologies...I posted this in the wrong thread hours ago and I've just realised.I've posted the fla to you but I'll put the explanation up here in case there's any other people who are unsure.

Flash 5 users
[ul][li]Create your buttons and drag them into position on the main stage.[/li]
[li]open your actions window from the toolbar: Window>Actions or Ctrl+Alt+A[/li]
[li]Click on the button you want to add actions to.[/li]
[li]Go into the actions window.There's an arrow at the top left, clickon that and make sure that you are in 'Normal Mode'. [/li]
[li]There are 6 submenu's on the left, click on 'Actions'.[/li]
[li]Double click the action 'on'[/li]
[li]Select 'release', 'rollover' etc to suit[/li]
[li]Double-click the action 'getURL'[/li]
[li]The three options that appear below should be filled in as follows:[/li][/ul]
URL: the-page-you-want-to-load.html
Window: the-name-of-your-target-frame
Variables: Don't send

So if you had a 'home' button on your nav-bar and wanted it to load 'home.html' into a frame named 'right', your getURL actions would look like this:

URL: home.html
Window: right
Variables: Don't send

And thats it!!!

Flash 4 users
[ul][li]Create your buttons and drag them into position on the main stage.[/li]
[li]Double-click the button you want to give actions to.[/li]
[li]Click on the + sign to add an action[/li]
[li]Select 'OnMouseEvent' and select the option for 'press', 'release' etc[/li]
[li]Click on the + sign to add an action[/li]
[li]Select 'GetURL'[/li]
[li]The three options that appear below should be filled in as follows:[/li][/ul]
URL: the-page-you-want-to-load.html
Window: the-name-of-your-target-frame
Variables: Don't send

So if you had a 'home' button on your nav-bar and wanted it to load 'home.html' into a frame named 'right', your getURL actions would look like this:

URL: home.html
Window: right
Variables: Don't send

And thats it!!!

Hope this helps
dD
davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top