Page 1 of 1

[SOLVED] Custom flash link to "Contact Form"

Posted: 10 May 2009, 06:28
by arrawnt
Well basically is that. Although the icon says "Regà­strate" (Register) what I want is make it so when someone clicks on the custom-flash-integrated icon "Regà­strate", the "Contact" form hovers over the site (yes, imagevue's).

Any ideas?

oh, the site: www.lacomediacafebar.com
mjau-mjau wrote:You mean you want the minimal contact window to hover OVER your page when you click this icon, instead of going to the separate "contact page"?

I am not quite sure what your "REGISTRATE icon" is ...

Anyway, this may be possible by using the ASfunction in a link. This topic should be in the forum, and not in a private message, so other people can read it.
that exactly.

on a side note and off-topic, putting a "New Topic" button on the top of forum should be a good idea since you do not have to scroll all the way down to the botton of the page.

Posted: 11 May 2009, 02:32
by mjau-mjau
Thanks for posting in the forum!

I had in fact made a small list of actions to run from links:
viewtopic.php?t=4173
Code
<a href="asfunction:_root.contactfunc">Contact</a>
That is for a text link of course, but if you want to attach it to a button/movieclip, you should be able to do something similar:
Code
onPress = function(){
     _root.contactfunc();
}

Posted: 11 May 2009, 05:54
by arrawnt
mjau-mjau wrote:
Code
onPress = function(){
     _root.contactfunc();
}
Well actually I took this piece of code and made some adjustments so it could work.

I had to make it like this for it to work on my site:
Code
on (press) {
    _root.contactfunc();
}
Proof: www.lacomediacafebar.com

Posted: 12 May 2009, 00:47
by mjau-mjau
You can use that also - it's event style code. Optionally, you would have put the code on the frame where the movieclip was, and the code would be:
Code
movieClipName.onPress = function() ...