A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Auto Launching Flash Projector From CD

  1. #1
    I'm developing a promotional cd for a local company. Is there action script that I can include, that will command the Flash projector to launch once CD is loaded into the bay? Any help is appreciated, thanks.

  2. #2
    Member
    Join Date
    Aug 2000
    Posts
    37
    The code inside flash cannot invoke the system to start the player. It has nothing to so with flash, it has to do with the system and autorun.ini files on the cd that invoke the system to run the application.

  3. #3
    Senior Member
    Join Date
    May 2002
    Posts
    162
    Open Notepad and write these two lines:

    [autorun]
    open=name_of_your_projector.exe
    icon=your_icon.exe

    Save this as AUTORUN.INF file and burn it on the root of CD together with your projector. You can skip icon line if you don't want your CD to show custom icon in Windows Explorer.

    If you want to do crossplatform CD that autoruns on PC and Mac, things get a bit complicated. Check this thread, you'll find a tutorial about projectors and crossplatform CD burning:

    http://www.actionscripts.org/forums/...threadid=14844

    Hope this helps...

    DD


  4. #4
    Karma police phreakdevil's Avatar
    Join Date
    Jun 2002
    Location
    B4rc3L0c4
    Posts
    764
    While your at it, about the icon, what kind of file does it has to be??
    jpg? gif? What?? and about the size which??

  5. #5
    Senior Member
    Join Date
    May 2002
    Posts
    162
    Nope, it has to be Windows icon format, any simple grafic file won't do. Check the above tutorial, there is a link for two free programs for making icons on PC ans Mac.

    Hope this helps...

    DD


  6. #6
    Thanks DD, I appreciate the help.


    Originally posted by DD666
    Nope, it has to be Windows icon format, any simple grafic file won't do. Check the above tutorial, there is a link for two free programs for making icons on PC ans Mac.

    Hope this helps...

    DD


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center