|
-
How do u link flash buttons 2..
How do u link flash buttons to a website??
i tryed for an example.
getURL("www.google.co.nz", "_self");
but once my flash menu navigation finished it's sweet lil intro.. i got sent straight to google... and i didnt even click the text i added the actionscript.... too
how would i actualy link a flash button to my html page?
so when the user moves his/her mouse over the text they are able to click the menu text ( just like a GIF, JPG button ) and be linked to the next page?....
Oh and i am currently using Macromedia Flash professional 8.
_____________________
i put in
Code:
on (release) {
getURL("www.google.co.nz", "_blank");
and i got error message.
--------------------------------------------------------------------------------
> output
**Error** Scene=Scene 1, layer=Layer 19, frame=54:Line 1: Statement block must be terminated by '}'
on (release) {
**Error** Scene=Scene 1, layer=Layer 19, frame=54:Line 4: Syntax error.
Total ActionScript Errors: 2 Reported Errors: 2
is it impossible to do a navigation menu? in flash? i hope not.... because the gif file of my naviagtion looks really gay...
http://www.unforsaken.r-fh.com/flash/menu.fla
It just confuses me on why someone would put a flash file on a template which u cant edit.... :|!!!
Last edited by Masta_Name; 07-02-2006 at 04:50 AM.
-
FK'n_dog
on (release) {
getURL("www.google.co.nz", "_blank");
} // << --- NOTE : must use a closing tag '}'
// or error message will show -->> Statement block must be terminated by '}'
-
Nothing
Nope.... nothing ... i click my menu text "cheaters"
and the error comes up when i pub.
_______________________________________
**Error** Scene=Scene 1, layer=Layer 19, frame=54:Line 1: Mouse events are permitted only for button instances
on (release) {
Total ActionScript Errors: 1 Reported Errors: 1
_______________________________________
then i preview inside HTML Internet explorer and i get a new error
______________________________
Cannot find 'file://C:\Documents and Settings\Mike Jones\My Documents\9569\with_fl\flash\www.google.co.nz'.Mak e sure the path or internet address is correct.
______________________________
and i used the code
Code:
on (release) {
getURL("www.google.co.nz", "_blank");
}
can u plz tell me what i have to do... instead of spaming?
If sum1 thinks they can help me with my hard problem.... which a guy with 1000 post has trouble with..
add my msn [email protected]
Last edited by Masta_Name; 07-02-2006 at 09:21 PM.
-
FK'n_dog
Mouse events are permitted only for button instances
this error shows that your code is NOT applied to the button,
is the code applied to a frame action ???
try this -
1 - make a button on the main timeline
2 - select it with your cursor
3 - look at the Actionscript Panel
4 - make sure it says ACTION - BUTTON
5 - add your code, example below -
Code:
on (release) {
getURL("http://www.google.co.nz", "_blank");
}
6 - Publish the file and test (works OK here in MX6 )
ps .. my 8 year old son with no posts can manage this
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|