The majority of forums are now only available as archives, which means posting/editing is disabled.
The Anything and Everything forum is still open.
The Anything and Everything forum is still open.
OnClick by flash button
|
|||
|
Rank: ? (1)
Member #: 15197 |
Hi,
My web site use some buttons for search activities: 'Search', 'Clear' and such. Each button runs JS follow OnClick event. For new graphical and functional capabilities I replaced those Input buttons with Flash (*.swf) buttons. Result: It looks & fill as flash element but the OnClick event does not do anything. I add to my function some alerts to see where the problem is but it does not work as well. Do I have to change my JavaScript functions to support Flash button? Pls. your assistance, Tsiki |
||
|
|||
|
|||
|
Rank: ? (900)
Member #: 3 |
lets see...
are you having javascript react to onclicks of your flash objects? if so, flash has actionscript that you can embed the code right in your flash swf. Let me know anymore. Perhaps we can take a look at your work, ect.
--bs0d | allsyntax.com
|
||
|
|||
|
|||
|
Rank: Unregistered
|
tsiki
Hi,
My web site use some buttons for search activities: 'Search', 'Clear' and such. Each button runs JS follow OnClick event. For new graphical and functional capabilities I replaced those Input buttons with Flash (*.swf) buttons. Result: It looks & fill as flash element but the OnClick event does not do anything. I add to my function some alerts to see where the problem is but it does not work as well. Do I have to change my JavaScript functions to support Flash button? Pls. your assistance, Tsiki ========= Probably you already solved your problem but I had the same problems when I tried to initiate a Javascript function at the onClick event of a flash button (swf). Finally I got it working by using the onActivate event instead of the onClick event. After the flash button was pressed the onActivate event initiated the javascript function and all worked fine. Maybe if somebody encounters the same problems in future it can help them out |
||
|
|||
|
This post has been removed by a moderator (reason: genius)
|
|||
|
|||
|
|||
|
Rank: Unregistered
|
Where did you find this on Activate command at ?
|
||
|
|||
|
|||
|
Rank: Unregistered
|
this anonymous coward bloke seems to be everywhere!
|
||
|
|||
|
|||
|
Rank: Unregistered
|
put onActivate in the object tag
|
||
|
|||
|
|||
|
Rank: Unregistered
|
use onActivate instead of onClick
|
||
|
|||
|
|||
|
Rank: Unregistered
|
onActivate doesn't work in Mozilla browser (in IE works fine). Any other ideas??
|
||
|
|||
|
|||
|
Rank: Unregistered
|
hw do u create a clear or reset button in flash???
eg. clear everything inside text field... thanks |
||
|
|||
|
|||
|
Rank: Unregistered
|
wankers
|
||
|
Please login or register to post a reply.
