Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-08-2001, 09:49 PM   #1
rp
Registered User
 
Join Date: May 2001
Location: chicago
Posts: 2
Send a message via Yahoo to rp
Default

how do i embed some java script into a button state???
rp is offline   Reply With Quote
Old 05-08-2001, 10:34 PM   #2
rp
Registered User
 
Join Date: May 2001
Location: chicago
Posts: 2
Send a message via Yahoo to rp
Default FScommand in the scripts command???

all right .so i use the FScommand in the scripts command???
rp is offline   Reply With Quote
Old 05-09-2001, 05:01 AM   #3
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

No, you put the script in the HTML page and trigger it via button using getURL and the "javaScript://" syntax, see the example in this tutorial:

http://www.actionscripts.org/tutoria...er/index.shtml

That button triggers a javascript embeded in the parent HTML document of the Flash file.

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Flip script / attachMovie, loadMovie problems kowee ActionScript 1.0 (and below) 7 10-23-2007 06:07 PM
onEnterFrame - too much script? cannon303 ActionScript 2.0 15 01-21-2005 09:45 PM
sendAndLoad() with perl CGI script WebThumper ActionScript 1.0 (and below) 3 03-11-2003 08:18 PM
problems with targeting a movie using a script vladc77 ActionScript 1.0 (and below) 2 01-30-2003 05:48 PM
I Need To Update This Script Grump ActionScript 1.0 (and below) 9 01-27-2003 06:38 PM


All times are GMT. The time now is 03:26 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.