Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-26-2004, 09:04 AM   #1
Macromedia Mercenary
thaumaturgy's Avatar
Join Date: Feb 2004
Location: Rose Bowl Country
Posts: 300
Send a message via Yahoo to thaumaturgy
Default Control SWF from outside the Flash environment --> Is it possible?

Hi, haven't been here in a hot minute. I've run into a problem, and have come here seeking wisdom and guidance, and hopefully an answer. I've scoured Google, kirupa, devshed, and flashkit, and have yet to find the answer to my question, which is:

Is it possible to send variables/commands to the timeline of an already-loaded SWF from outside the Flash environment? I've read that JavaScript can supposedly do this (to a limited degree), but I haven't found any tut's that break it down step-by-step; they all talk in generalities. I tried Macromedia, and their last word on the subject was dated 2001.

Any (solid) information for me? Anyone?
thaumaturgy is offline   Reply With Quote
Old 08-26-2004, 10:14 AM   #2
Curly Brace
Rock is alive!
Curly Brace's Avatar
Join Date: Jun 2004
Location: Russia
Posts: 603
Send a message via ICQ to Curly Brace

This works in IE:
PHP Code:


script language=javascript>

varSend() {
<BODY bgColor=#0000cc><!-- URL's used in the movie--><!-- text used in the movie-->

<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 
height=200 width=250 name="movie"><PARAM NAME="movie" VALUE="Movie1.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#0000CC">
    <EMBED src="Movie1.swf"  quality=high bgcolor=#0000CC  WIDTH=250 HEIGHT=200 
<form name=f>
<input type=text name=variable>
<input type=button value=Send onClick=varSend();>
Curly Brace is offline   Reply With Quote

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

All times are GMT. The time now is 04:45 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.