|
-
roll over with link?
hey everyone i'm tring to create a roll over.
I have got my movieclip of a little movie which when the user rolls her/his mouse over the image the cube will start to turn.
After its turned some type will come up say like "about us" i want it so that they can click on about us and it will then goto the aboutus.html page i have been trying to add
on(release){
getURL("aboutus.html()", "_self");
}
the thing is once i export the flash and try to move my mouse over the image it doesn't move anymore. but you can click on the image and it wil goto the abouts.html page.
Anyone got any ideas at all?
thanks alot
-
Senior Member
Post the fla file, and we'll take a look.
-
hey there man file is @ coa.auscstrike.com/cgi-bin/newcustomers.fla
How i want it so once the user can click on the cube at any time and it will take them to the a page.
Thx heaps!
-
Senior Member
I can't download it from there. Attach it to your next message using the "attach file" command below the message editor.
-
Senior Member
Looking at your .fla, it looks like all you need to do is add the following to your button (select the button on the stage and enter this in the actionscript panel).
code:
on(release){
getURL("aboutus.html", "_self");
}
-
Hey there mate thanks for that.
I have gone to scene 1 and added :
on(release){
getURL("aboutus.html", "_self");
}
I then got this error:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Mouse events are permitted only for button instances
on(release){
Total ActionScript Errors: 1 Reported Errors: 1
I can't seem to put:
on(release){
getURL("aboutus.html", "_self");
}
in the button though 
Would you maybe be able to try and do it in the fla and possibly send it over?
Thx so much!
-
Senior Member
The problem is that you attached the script to the frame, instead of to the button. You need to delete that script from the frame. Then select the button, so that the title in the actionscript window says "actions - movieclip" (instead of "actions - frame"). Then paste the script in there.
I'd fix it for you, but you'll learn more if you figure this bit out yourself...
-
Your a champion man thank you so much man! too easy
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
|