/    Sign up×
Community /Pin to ProfileBookmark

run flash player

I created a Flash website.
Now I have published it and it created an index.html & index.swf.
I look at the index.swf and love the way it works 700×500 flash player and all.
When set up within the website host, it runs automatically the index.html.

Is there a way to have it NOT run the index.html and/or load the index.swf in a Flash media player ONLY?

basically when someone types in my website, i would like for it to open the Flash Player and have it run my .swf at that point (just as though i double clicked the index.swf on my computer)?

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Sux0rZh_jc0rzAug 20.2003 — no clue how to help you, but it seems interesting. Don't think it can be done but when you get it running(if on webpage or flash player like u want) send me a PM and tell me the address.

*waits for the buffer to catch up with him due to downloading massive things off bearshare and listening to music at the same time and typing extremely fast*
Copy linkTweet thisAlerts:
@andrew1234Aug 25.2003 — hey here is a posble solution..

tell your isp to instruct the server to load that file on startup

just an idea

let me know if it works

Andrew
Copy linkTweet thisAlerts:
@TonyV125Aug 26.2003 — Aceman, not many people have the stand-alone FlashPlayer. When someone views a website requiring the FlashPlayer, they are prompted to download the browser version. Most people only have the ActiveX/Plug-in FlashPlayer in their browser.

There is a solution to your problem, though.

What you need to do is make a copy of index.html and call it something else (e.g. flashpage.html). You may have to adjust the topmargin and leftmargin in the body tag to 0 if you want the flash tight to the edges. Then change the original index.html so that it just has a simple splashscreen or something (doesn't need to have any flash) that launches a pop-up window when it opens using a window_onload javascript function containing a command like

popUpWin('flashpage.html', 700, 500);

Actually, you'll probably need to use a number larger than 500 for the height to compensate for the typical browser menu, buttons, address bar).
×

Success!

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