Flash button java pano actionscript/javascript

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 13th, 2007, 19:53
New Member
Join Date: May 2007
Location: london
Age: 30
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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 cheerz and best wishes everyone!!!

tom
Reply With Quote

  #2 (permalink)  
Old May 16th, 2007, 22:14
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
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:
Code: Select all
FROM:
<param name="allowScriptAccess" value="sameDomain" />
TO:
<param name="allowScriptAccess" value="always" />
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
Reply

Tags
button, flash, java

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 01:45.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43