/    Sign up×
Community /Pin to ProfileBookmark

targeting loaded swf from an html link with java ?

Hi All,

O.K here goes, I have a flash site that has a home page with an empty movie clip, I load swf’s into this movie clip with the loadMovie function.

loadMovie (“external.swf”, “_root.emptymovieclip”);

Now I am constructing a newsletter, the links on this html newsletter need to target the relevant movie clip, so the html link needs to tell the flash movie to load external.swf into emptymovieclip.

I’m thinking this is not possible, but if it is my guess is javascript would be the language that could do it.

Any thoughts, ideas or complete solutions would be gratefully recieved.

Thanks in advance.

mr mooch

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@sciguyryanSep 01.2004 — Nope, Sorry I do not think Javascript can do this.
Copy linkTweet thisAlerts:
@AdamGundrySep 01.2004 — You can do this by passing a variable on the query string. This article explains how:

http://www.permadi.com/tutorial/flashQueryString/

Adam
×

Success!

Help @mr_mooch 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.15,
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,
)...