Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > Projectors and CDs

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-14-2002, 01:05 PM   #1
joeri
Registered User
 
joeri's Avatar
 
Join Date: Nov 2001
Location: amsterdam
Posts: 51
Question autorun & flash.swf

Hi out there,


I want to make a cd which runs a flash.swf file automatically when you insert the disc. Just by putting an autorun.inf file on the cd-rom with the next :

[open]=flash.swf

does not work. There are exe files available which open html files
but I just wanna open one swf-file with flash player6.
Is it also possible to put a file on the disc which checks if there is flash6 player already on the computer and then decides to install or not?

grtz, Joeri
joeri is offline   Reply With Quote
Old 06-14-2002, 01:40 PM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

People without Flash installed on thei system will probably not have Flash associated with .swf files. While .swfs can be loaded via IE, most people don't have the standalone player installed (it's installed when you install the Flash editting environment). You're better-off making your file an executable.
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

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
Old 06-14-2002, 03:12 PM   #3
discofly
Toon Toon!
 
discofly's Avatar
 
Join Date: May 2002
Location: London
Posts: 77
Default

Make you file into a projector file.

Open it in Flash Viewer - then goto 'file/ save as projector.'

I use them all the time. This bundles a version of flash viewer with it so it's totally self contained and means the viewer doesn't even have to have Flash installed on their system.

discofly
discofly is offline   Reply With Quote
Old 06-14-2002, 03:17 PM   #4
mad_A
The Zen of ActionScript
 
mad_A's Avatar
 
Join Date: Mar 2001
Location: Dublin, Ireland
Posts: 713
Default

alternatively you could automatically open the html page containing the flash swf file. That would open the browser for it to play.
mad_A is offline   Reply With Quote
Old 06-16-2002, 11:08 AM   #5
joeri
Registered User
 
joeri's Avatar
 
Join Date: Nov 2001
Location: amsterdam
Posts: 51
Thumbs up second problem

thanx! the projector file works great!!

But now a second problem came up.....

The original swf file has a FS command on it which is :

FScommand(fullscreen,true);

So when I open this in the player the file-menu disappears and

I dont know how get it back to create the projector file!!

Shouldn't there be some alt-f4 button or something like that to

get it back??


Joeri
joeri is offline   Reply With Quote
Old 06-16-2002, 12:56 PM   #6
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

first this chould go like that
ActionScript Code:
fscommand("fullscreen",true); //u forgot the ""

also just if u want the menu get back hit the Esc key
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI

Last edited by farafiro; 06-17-2002 at 08:28 AM..
farafiro is offline   Reply With Quote
Old 06-17-2002, 08:24 AM   #7
joeri
Registered User
 
joeri's Avatar
 
Join Date: Nov 2001
Location: amsterdam
Posts: 51
Red face

Ok that code wasn't perfect...

but the escape button only minimizes the fullscreen

to the taskbar and there is still no option to

save it as a projector file.

Joeri
joeri is offline   Reply With Quote
Old 06-17-2002, 08:30 AM   #8
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

what do u mean?? u wanna make a projector file from swf or what??
if u wanna make a projector file, just publish it as *.exe from the publish setting menu
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 06-17-2002, 08:49 AM   #9
joeri
Registered User
 
joeri's Avatar
 
Join Date: Nov 2001
Location: amsterdam
Posts: 51
Thumbs up thanx!!

Jep! It works great!!

An earlier reply to my post told me to do it from the flash player..

I know it sounds stupid but I didn't realize the publish setiings...

menu in flash.

Thanx for your valuable resource!

Joeri
joeri is offline   Reply With Quote
Old 03-03-2004, 02:31 PM   #10
binkyboo
Senior Member
 
binkyboo's Avatar
 
Join Date: Mar 2002
Location: Madison, Wisconsin
Posts: 1,307
Send a message via MSN to binkyboo
Default

Quote:
alternatively you could automatically open the html page containing the flash swf file. That would open the browser for it to play.
I know this is an old thread but I'm having an issue. Here's my code on the autorun.inf file.

Code:
[autorun]
open=index.html
The html page was not auto launched from the CD. Any ideas why? Can html pages be auto launched from a CD?

Last edited by binkyboo; 03-03-2004 at 04:36 PM..
binkyboo 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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autorun Cd alley cat ActionScript 2.0 1 08-05-2004 08:23 PM
mpeg2 autorun? texbala Other Flash General Questions 1 02-21-2004 11:11 PM
mac autorun and projectors... blkensercks1124 Projectors and CDs 3 01-26-2004 06:37 AM
Requesting Variable from Flash.swf in Dreamweaver ??? Chris Reilly Simple Stuff (Newbies) 3 11-25-2002 02:45 PM
Passing variable from Flash.swf to flash.swf michoco Other Flash General Questions 1 05-15-2002 02:28 PM


All times are GMT. The time now is 01:38 PM.


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