Linking swfs or exe files?

I need help with a Flash AS3 project that includes about 30 videos. I needed to break it in smaller pieces because it is a large file (over 300 mb) and every time I wanted to publish the entire project flash crashed.
Here is my test:
I have two exe files that should link back and forth.
Intro_YIM.exe, which has a button that links to Videos_FrontPage_YIM.exe
Here is my code, which is in Intro (button name= nav_4).
nav_4.addEventListener(MouseEvent.CLICK, gotoVideoFront);
function gotoVideoFront(event:MouseEvent):void {
  var url:String = "Videos_FrontPage_YIM.exe";
  var request:URLRequest = new URLRequest(url);
  try {
    navigateToURL(request, '_self');
  } catch (e:Error) {
    trace("Error occurred!");
Problem:
The link seems to work, but there is a message that says save or run. When I click run, there is another message that says the file can't be open.
Questions:
1. Is there a better way to handle links using executable files using Flash CS5 and AS3?
2. If swfs were used, how can I have a main page displaying all other swfs as they are linked?

Kglad:
Yes, initially I thought that exe files was the way to go. However, I've been searching for options and found that by using the class Loader, I can load swfs files instead of exe files.
Here is what seems to work with only swf file:
var my_loader:Loader = new Loader();
nav_4.addEventListener(MouseEvent.CLICK, startLoading);
function startLoading(e:MouseEvent):void {
    my_loader.load(new URLRequest("Videos_FrontPage_YIM.swf"));
    addChild(my_loader);
Problem: I have a interface, which loads all other files by way of buttons. For instance, nav_4 button loads the file Videos_FrontPage.swf. When this movie loaded, the interface was also gone.
How can I keep the same interface and still be able to load all other movies?
Your help is appreciated.

Similar Messages

  • Creating a link on exported exe files

    I have 9 separate projects I need to burn to a CD. I have
    created an html menu. I am exporting each of the 9 projects as
    stand alone exe files, each one automatically opening the next one.
    But at any given time I would like the viewer to be able to exit to
    the main menu. Should I just put a button linking to the main menu
    on every single screen of a single project, to allow the user to
    exit to the menu if they want?
    FYI, I had initially created the 9 projects as html files,
    linking to one another. I posted a message about that earlier. But
    I am running into browser issues and don't want to run that risk
    with the completed CD. Help! :)

    Hello Captiv8r and others,
    This thread is pretty interesting. I have been struggling
    with creating a project using Captivate 3 that will
    reside fully on a CD. I am looking at maybe three workflows
    for this, one using exe files, one using swf files and an html page
    which serves as a "menu page" (the Captivate Menu builder just does
    not have enough options, in terms
    of graphic display, buttons, etc.), and the last one (which
    is the hardest), using some sort of Flash container, a Flash
    loader, and some menu buttons built in Flash, that call up
    Captivate created swf files, etc. So far we have not had to track
    state. I am trying to develop a training course on MS Excel, and am
    using audio and Captivate for screen shots, mouse movements, etc.
    After all the BS above, I do have a question. Is there a
    reason to publish to an exe file in Captivate? Or what is the
    reason(s) to publish a Captivate project to an exe file in the
    first place. I have searched around for the answer on this, but
    have found no good answer on this. Perhaps those of you more "sage"
    Captivate users can provide some insight.
    Thanks again for a very helpful forum,
    eholz1

  • Captivate 4 link between 2 .exe files

    I work with adobe captivate 4 and i developped a lot of presentations that i want to link i published each of them in the .exe format but the thing is that when i passes from one .exe file to another one, there is a delay and we can see the first .exe file closing and the second one opening. I wish to have a continious presentation. 

    Hi there
    Sorry, but there isn't a way past that to my knowledge. The reason is because the exe has to close and the new one has to load up and open. You are wanting a behavior similar to what you have with SWF playing in the browser. In the browser setup, it appears pretty seamless because the next SWF simply loads into the browser client area and plays.
    Perhaps consider submitting a Wish Form to Adobe and who knows, maybe they will come up with some clever workaround in a future release.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Linking swf or htm files

    I'm working in RBH 8 and RoboSource 3 (finally, yeah! and I LOVE it). We have started to bring all of our hyperlinked files into the project. The challenge is that if I select to link to a multi-media file, then it defaults to being viewed inside the browser. I'd like it to show in a new window. Also, if I try to accomplish this by linking to a file, then selecting the htm file, it does not move into the project, but it will allow me to link into a new window. Suggestions?

    Kglad:
    Yes, initially I thought that exe files was the way to go. However, I've been searching for options and found that by using the class Loader, I can load swfs files instead of exe files.
    Here is what seems to work with only swf file:
    var my_loader:Loader = new Loader();
    nav_4.addEventListener(MouseEvent.CLICK, startLoading);
    function startLoading(e:MouseEvent):void {
        my_loader.load(new URLRequest("Videos_FrontPage_YIM.swf"));
        addChild(my_loader);
    Problem: I have a interface, which loads all other files by way of buttons. For instance, nav_4 button loads the file Videos_FrontPage.swf. When this movie loaded, the interface was also gone.
    How can I keep the same interface and still be able to load all other movies?
    Your help is appreciated.

  • Link external .exe file to director buttons

    I want to create a CD menu that has buttons link to differents .exe file (application) When click on the button, the application will run directly on window so I can turn it to full screen.
    However I've encountered the problems when try to link external files (exe) into cast. I got this -1 errors. I've checked previous topic and try the 'open()' command that link to the .exe file but it didn't work either. Well, I've just study Director not so long ago, so I'll appriciate your help to archive the right result.
    Thank you.

    Don't import your exe in the cast. Just put it next to the projector or in a subfolder.
    Then give the full path to open().
    Example:
    open(_movie.path & "filename.exe")

  • Linking an exe file thru JEditorPane

    Hi All,
    I would like to link an exe file thru a JEditor Pane...
    I have constructed a gui for an application using Swing and want to link a local exe file
    thru it ie i would like the exe file to execute when i click on the link provided in the JEditorPane.
    How should i go about it?
    Thanx...

    Are you talking about linking to your EXE in terms of a compiler link or just a communication link so your EXE takes care of the functionality and your java program provides the GUI only ?
    I do not know if a compiler link is possible. I've never seen anything that allows you to do it.
    If you just want your EXE to provide functionality then it is possible, but would take a fair amount of work. You can open sockets in both the EXE and Java programs and send messages back and forth. The GUI could request work to be done by the EXE and the EXE passes the results back to the GUI for display. An interesting note about this is that the EXE and GUI do not have to reside on the same machine.
    Good luck,
    Peter

  • Pass pdf pageNum to SWF or EXE

    I'm new to acrobat and acrobat's scripting API to say the least. Please forgive me if this is a NOOBIE question... but I just can't find any forums online that explain how to do this.
    Basically, I have PDF files that range between 100 and 1000 pages at my workplace. What I'm trying to do is add a button that dynamically opens a corresponding swf or exe file for that page.
    I know you can pass flashVars using the Multimedia Flash Tool option... but as far as I know you have to manually set a static value to pass. If there was a method you could use to dynamically send the current pageNum of the PDF file... that would work...
    The other way I've tried is to create a button and onMouseUp Run a JavaScript... problem here is, I can't figure out how to open a file other than another PDF file. I used the method this.pageNum to get the current page of the PDF file... but I can't open a SWF or EXE this way. Theoretically what I would be trying to do here is something like this:
    var currentPageNum = this.pageNum+1;
    app.openDoc('myswf'+currentPageNum+'.swf');
    Your help is greatly appreciated!
    Again, I apologize if this is noob stuff. Just started reading about all this last week!
    Thanks,
    Brad

    Thanks Dave for replying.
    Unfortunately, I am aware that openDoc will only open PDF's. That example is what I'm trying to do theoretically.
    Is there a way programmatically to do what I'm trying to do. It seems like it would be something simple, especially since you can link to swf files using the flash tool and pass flashVars to it using the built in tools. But you can only pass static values that way... which is why I'm trying to do this programmatically.
    Basically, I need to open a SWF or EXE file and pass a parameter (the current page of the pdf file) to it.
    Any ideas?
    Thanks again for the reply!

  • How can I convert .swf  file to exe file?

    thanks

    Hi
    Thank for your choise.
    If showing only white screen, please download the lastest version, v2.03.
    http://www.bullrushsoft.com/download.html
    This problem occurs in Win7 sp1, especially IE has been upgraded to v10.
    Our SWF to EXE Converter must need the FlashPlayer plugin for IE, it 's not a atandalone program.
    So it only 880KB.
    Our online converter is the adobe flash player exe, it can be embed the swf  into, and standalone, so its size > 4MB.
    More details, please visit http://www.bullrushsoft.com/online.html
    Best Regards.
    2013-08-11
    Bullrushsoft Support Team
    From:  mmshahid73
    Date:  2013-08-11  02:52:01
    To:  Sandro_brs
    Cc: 
    Subject:  _How_can_I_convert_.swf fileto_exe_file?
    Re: How can I convert .swf file to exe file?
    created by mmshahid73 in Flash Ad Development - View the full discussion
    Hi, I used bullrushsoft SWF to EXE converter, but the created EXE file showing only white screen, i think i need to add flash player also but i don't know how to add flash player duriing swf to exe conversion.
    Because when i converted swf into exe from my pc, it showing size 880 KB where swf file size is 413 KB, onthe other hand, I convert the same online which is playing correctly but the converted file size is 4.57 MB.
    Am i right?
    Kindly help
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5583680#5583680
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5583680#5583680
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5583680#5583680. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Flash Ad Development by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to link a exe file in labview

    hlo
    I am using labview 7, is it possible to link a .exe file to labview,
    i am using a stepper motor controller i have their software to control & set & change settings etc.. & that is a exe file which is a dos based programme, is it possible to link that exe to labview, & i should open & run that programe (motor controller) from labview.
    thanks
    sasi

    Try to launch it with "system exec.vi." This function can execute command line commands and should be able to launch any executable.
    aartjan

  • How to display PDF file, inside the SWF file or flash exe file

    I  have create the application for Employee details using flash actionscript 3.0
    This application is to view the organization employee details, iam using the tree component in this application,
    the tree component is to get the dada via xml file, this xml file save in the remote server ,
    I display the PDF file inside the swf file to using " StageWebView" class . Then i goto Publish Setting to change the  player Adobe Air 2.6 and run the flash file using
    ctr-l + Enter . It is work correctly the PDF file is Displayed inside the Swf Output. But I Publish this file to exe . then i run the exe it is not working .
    The application is run The xml data is onely get and displayed the Tree component then i click the tree item employee name the xml data in not display and the pdf file is not open .
    Pls Help...................

    hi i need to display the pdf file inside the swf file or flash exe file .
    I use the navigateToURL class this is open the pdf file on the browser. I want to display the pdf file in the swf window .
    Please suggest.

  • Trouble linking exe files

    Yet another dilemma with my CD project. I published the first
    project file (of 9 separate projects) as a standalone .exe file
    with an autostart file to burn to cd. I set the END to open another
    .exe file. When I view output, it fails to open the second .exe
    file. It opens a browser window and says it can't find the .exe
    file. All project file names are only 8 characters, so that isn't
    an issue. But it shouldn't try to open the .exe file in a browser
    window, should it? Is there any reason I can't publish all the 9
    projects as standalone .exe files and link them to one
    another?

    Hi again
    Here's the way I would think it would work.
    You have a menu and perhaps ten movies. They are all in .EXE
    format. The menu.exe would run via autorun.inf as long as nothing
    has impeded it. So you have a Menu.EXE running. Your user clicks a
    movie link and POOF! The selected movie.EXE plays. But here's the
    trick. The movie opens in a new instance of the Flash player. The
    Menu.exe is still running. It's simply covered by the new movie. If
    the user closes the new movie, the Menu.exe is uncovered. This
    allows him/her to open other movies from the menu.
    Sorry, no way I'm aware of to speed things along. For one
    thing, accessing anything off a CD will be slower to react than off
    a hard drive. For another, maybe the movie is simply very large and
    would take an inordinate amount of time to open even on a fast hard
    drive. Hard to say.
    Hope this helps a smidge... Rick

  • Converting .swf files to .exe files on a mac?

    How can I convert .swf files to .exe file on a mac?
    I am working in Flex, so if there is a way to directly export .exe files that would be even better, but either one would be great. Can't seem to find any answers on this.
    Thanks a lot!

    Have you tried asking in the Flex forum?

  • EXE files no longer link

    Hi,
    Were are creating a director file and have used buttons with
    the "jump to movie behaviour" in order to link between several
    different movies and, although though it works with the .dir files,
    when we publish the movie to .exe files, the links no longer work.
    does anyone know how we can rectify this please?

    Hi,
    Mike has answered the question but just to expand somewhat.
    As Mike said, make your EXE from the start movie and then all
    the remaining ones
    can be either DIR, DXR or DCR. You'd typically go with DXR
    (protected) for an
    executable. You can go with DCR (Shockwave) if you want to
    compress your content.
    Generally, you'd create a stub projector. Here's a tutorial
    on this:
    http://www.fbe.unsw.edu.au/learning/director/publishing/projector.asp
    If you wanted to have a single EXE with all your movies, you
    can do that but it is
    not recommended as from a speed and memory management point
    of view, it's not very
    good.
    Just one correction of Mike's message. - Once you create a
    EXE, it embeds that
    movie into the projector. You can rename the EXE to whatever
    you like but the
    original movie is still locked in there with its original
    name. So, you can link to
    that original movie inside the EXE without the need to have
    the DIR/DXR/DCR
    version.
    For example say you have:
    opening.dir
    movie1.dir
    movie2.dir
    and say they link to each other.
    You could create the following for your final delivery and
    put them in a new
    location:
    start.exe
    movie1.dxr
    movie2.dxr
    start.exe is made from opening and the other 2 movies have
    been protected.
    If you have a behavior inside 'opening' that links to
    'movie1', the start.exe will
    jump to that movie through the projector. So, you may not
    even notice there was a
    change. Same thing would happen if you now jumped to
    'movie2'. If you now jump back
    to 'opening', it will still work even though you don't have
    that file. It's because
    it can be found inside the EXE.
    regards
    Dean
    Director Lecturer / Consultant
    http://www.fbe.unsw.edu.au/learning/director
    http://www.multimediacreative.com.au

  • Change a .exe file to a .swf

    hello all ,
    how can i change a exe. file into a .swf file
    help greatly appreciated
    thanks

    Try this
    http://www.19.5degs.com/swfextractor.php#swf-extractor
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • Link to SWF or HTML file from LMS?

    Hello,
    Can someone please tell me how I should link to the captivate file from LMS.  Is it better to link to the SWF file or the HTML file (or in this case, the HTML full-screen file)?
    I would also appreciate it if you could tell me why one file is better than the other to link to from LMS.
    Thank you,
    Justin

    If you are using an LMS for the purpose of tracking data about the user's interaction with your course, it will be either using SCORM or AICC standard to achieve that.  In both cases you need the HTM file that Captivate publishes because there is quite a lot of JavaScript involved in the API communication between the course modules and the LMS.  If you were only uploading the SWF file, the LMS wouldn't be able to "talk" to your course.
    In the case of SCORM, you upload your course as a zip file that contains everything it needs to operate and communicate with the LMS.  This zip file, and all the files it contains, is what the LMS expects.
    Having said this, there are some pseudo LMS systems out there that are really more akin to content management systems (CMS) since all they really do is deliver the files to the user and track the fact that they did so.  They don't read or record scoring coming back from the course too well.  In some cases these types of LMS will expect to get the course as a single file only (because they're more used to courses in the form of PDF files or PPT presentations) and so the SWF file is about the only one you CAN upload to them with any chance of delivering content.  I don't recommend you go for these types of systems.

Maybe you are looking for