I integrated a paypal button into my flash site. The code starts as such on (release) { cmd = "_xclick"; Code (markup): I need to change it so the link will engage on mouse over My full PayPal "action" reads like this: on (release) { cmd = "_xclick"; business = "me@notreal"; item_name = "123 product"; item_number = "zf1"; amount = "10.00"; shipping = "0.00"; Return = "http://www.mykuji.com/html/thankyou.htm"; cancel_return = "http://www.mykuji.com/html/cancel.htm"; no_note = "1"; getURL('https://www.paypal.com/cgi-bin/webscr', "_blank", "POST"); Code (markup): The link part of this works fine, but click on the button is a bit cumbersome, and will only work in some parts (the direct center). I figure mouse over will help solve this problem
Got a link to the flash file? Is the values dynamic? Or is that button always going to have that value?
thanks for your reply The button will always hold the same value, but I figure mouse over will allow of easier execution by the user. no link to the site currently, working offline
I'm assuming you haven't tried the button using rollover. If a user rolls over like 2,3 times it will open 2,3 times. Are you ok with that? EDIT: I was just playing around with it in flash sample.
True that would be very annoying. . . Why is my button only accepting clicks from the center of the button. All I did was apply an action script to an imported image? I notice the button responds on release, what other options do I have in terms of actions execution besides the mouse over, and on release
That's basically it. The other options result in the same things, just minor changes. Like rollover and rollout would do the same thing in this case. To not annoy the user, I would leave it as on release. Try it like this: import image select and hit F8 type: button select button and enter the actions source (if available) paste the actionscript I just did that in a sample here and the whole thing is a button.
Thanks for your reply, I test out. Do any side work? As there are a few other actions I am having issues with as well
Hi, From my experience and based on what you're describing, the problem is that the button you're using has a fill only in its central part (maybe it's a text button?) so the hit area is by default the filled area, you can easily fix this by assigning a fill area with a solid fill all over your button area. This should fix your issue.
Thanks wassim that work!!! Now the button is so much easier to use. I'm kinda learning flashing by doing. Rep given to wassim & idotcom