This is a discussion on "Flash button java pano actionscript/javascript" within the Flash & Multimedia Forum section. This forum, and the thread "Flash button java pano actionscript/javascript are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Flash button java pano actionscript/javascript
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Flash button java pano actionscript/javascript
hey folkies,
I dont suppose anybody knows what actionscript i need to use with a flash button to open a java pano.ivp on a html page? I have the following javascript function I would like to open on my html page function moon() { document.player.execgui("loadpano(\"moon.ivp\",fal se);"); } the actionscript i have for my moon button in flash is panel.buttonmoon.onRelease = function() { i need to put an action here like fscommand("myCommand", "additional data") } this flash button is basically on the same page as my applet + i would love to communicate the two.. summers coming tom |
|
|
|
|||
|
Re: Flash button java pano actionscript/javascript
Using the getUrl feature works better than fscommand from my experiences. It'd look something like:
getURL('command'); Just make sure the javascript is in the same html document as the flash button and set your parameter options to ALWAYS for it to work properly. Like this:
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
![]() |
| Tags |
| button, flash, java |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Javascript or Flash Actionscript | marSoul | Webforumz Cafe | 2 | Sep 25th, 2007 20:21 |
| Radio Button Problems in ActionScript 3.0 | dgstarr | Flash & Multimedia Forum | 1 | Sep 6th, 2007 17:11 |
| Setting the state of a button using actionscript | artdog | Flash & Multimedia Forum | 6 | Oct 18th, 2006 14:45 |
| When a button refuses to behave like a button in Flash | autumn_whispers2me | Flash & Multimedia Forum | 2 | May 24th, 2005 22:08 |