/    Sign up×
Community /Pin to ProfileBookmark

Get var from SWF in Opera and Mozilla

Hello everyone, i need some help.

swf:
i use dynamic text field with var name a;
i use two frame.
1st frame:

var b;
a = b;

javascript:

var myFlash = document.getElementById(“FlashMovie”);
var myWords = “Cant display in Opera and Mozilla”;
myFlash.SetVariable(“/:kata”,myWords);

It works fine in IE but not in Opera and Mozilla.

How to make it possible in those browsers?(Opera and Mozilla)
How to make a link to that swf ?

Help me. Thank you.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceJul 04.2006 — Show the HTML associated with "FlashMovie".
Copy linkTweet thisAlerts:
@malmsteenauthorJul 04.2006 — <object type="application/x-shockwave-flash" id="FlashMovie" data="flashmovie.swf">

<parame name="movie" value="flashmovie.swf"/>

</object>
Copy linkTweet thisAlerts:
@phpnoviceJul 04.2006 — From what I can tell, [b]SetVariable[/b] is a Flash-exposed (supplied) method. Thus, it would seem that you merely have to reinstall Flash for Opera and Mozilla at the same (or higher) version level as you have installed for IE.
×

Success!

Help @malmsteen spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...