Starting a flash projector from terminal

Hi everyone,
i have the following problem and it drives me mad. I´m
developing a Flash game which retrieves data from a java Server.
For presentation I have both things, the server and the
Flash-Projektor on the same Computer. What I want is: Both
programms startet with on click (one doubleclick :-) ) so I tried
to start the server using fscommand but since the Server is a never
stopping Thread, Flash blocks and waits for the application to
end...which will never happen. So my new try is to start the Flash
projector from tha java server interface via runtime.exec();
everything I need now is what I have to enter in the Terminal
(using OSX!) to start a Flash projector. I just can´t figure
it out.
Another thing would be: it doesn´t have to be a
projector...could be normal swf also...then start it with a
standalone player...but same problem: how do i start a standalone
player from the terminal giving it the file he should open? Are
there parameters I can pass to it? Anybody? Help!!!

ok well you might be able to solve this by exectuing an
AppleScript
from the terminal, I don't rememeber the exact command but it
can be
done.
You might also consider creating you app with mProjector for
OS X, it
adds many new commands into Flash including and openDocument
command
and an executeApplication command. It also allows you te
create
multiple window applications via a createWindow command - so
you may be
able to do what you need to in one application. Oh yeah and
there are
Flash Shaped windows, sometime very cool for games...
check it out the calls mentioned a all here on the API docs
page
http://www.screentime.com/software/mprojector/docs/index.html
Download the demo, it will installed the mProjector classes
right into
flash. Export your swf build the app in mProjector and away
you go..
John Pattenden
Screentime Media - Flash Tools since 1997
http://www.screentime.com

Similar Messages

  • Open flash player from terminal

    Hi everyone,
    i have the following problem and it drives me mad. I´m
    developing a Flash game which retrieves data from a java Server.
    For presentation I have both things, the server and the
    Flash-Projektor on the same Computer. What I want is: Both
    programms startet with on click (one doubleclick :-) ) so I tried
    to start the server using fscommand but since the Server is a never
    stopping Thread, Flash blocks and waits for the application to
    end...which will never happen. So my new try is to start the Flash
    projector from tha java server interface via runtime.exec();
    everything I need now is what I have to enter in the Terminal
    (using OSX!) to start a Flash projector. I just can´t figure
    it out.
    Another thing would be: it doesn´t have to be a
    projector...could be normal swf also...then start it with a
    standalone player...but same problem: how do i start a standalone
    player from the terminal giving it the file he should open? Are
    there parameters I can pass to it? Anybody? Help!!!

    The backbone of these online gaming websites is nothing but flash player. As air is necessary for breathing, similarly flash is necessary for these online gaming sites.

  • Open folder from mac flash projector from a CD... not working

    I know there are many posts out there about this, but for
    some reason it's not working for me. I thought I was doing
    everything right, so I'm hoping the smart people of this forum
    could help.
    objective:
    Flash stand alone projector interface has links that open
    folders and a website that is local on the cd.
    What I've done
    I wrote an applescript that opens the folder. I saved as an
    application and checked the run and unchecked the others. named it
    "openpdf"
    I placed this file in the "fscommand" folder. This folder is
    on the same level as my projector. In this folder I have some ini
    and exe files for the pc side (which works by the way)
    in flash I wrote on the button:
    on (release) {
    fscommand("exec", "openpdf");
    }

    Read this
    http://www.flashjester.com/?section=faq&cPath=28_41_58
    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

  • Flash projector x-platform maddness-- Can't "show extension" in Mac OS

    Hi has anyone else seen this one?  Outputting flash projectors from CS4.  No problem, in running the mac version on my platform.  The issue is that when my associate emails the projector file from the PC it turns into a folder.  I've tried to "unhide" the extension in the mac info pane (Snow leopard and Leopard) but the I can't unclick the "hide extension".  The best solution I've been able to come up with is to add ".hqx" in the file name which automatically then show the ".app" extension even though the "hide extension" is still toggled on and is greyed out (not selectable)...
    Is there a better solution?
    thanks

    hi 856105
    Just based on the information you provide, when you ...
    ... tried to just run the ojdeploy under#HOME/Oracle/Middleware/jdeveloper/jdev/bin/ojdeploy in terminal ...... and that resulted in the message ...
    ... Type the full pathname of a J2SE installation ...... have you tried to "Type the full pathname of a J2SE installation " ?
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    regards
    Jan Vervecken

  • How do you autorun a Flash Projector (Windows) from a USB drive?

    I got a Windows Flash Projector (.exe) that I need to autorun from a USB drive. I just want the user to be able to plug in the USB drive to their machine and have it start running without any menus. I've been using the following with no luck:
    [autorun]
    open=KSF_USB_main.exe
    The project is composed of a number of .swf files that load into the "KSF_USB_main.swf" file. There are also PDF and FLV links within some of the movies.
    I have the "autorun.inf" file and all other files (including the .exe Projector file) on the USB drive. When I plug it in to a PC it brings up the "What Do You Want To Do?" window and doesn't autorun.
    I've tried some 3rd party software that creates a menu file with no luck.
    Any suggestions?

    This feature may have been disabled in some versions of Windows and some types of USB drives:
    http://support.microsoft.com/kb/971029
    read carefully because it might be misleading at first glance.

  • How do I start Firefox 4 from KMenu when I downloaded and installed Firefox4.0.tar.bz2 (only launches from terminal), and 'apt-get' installs Firefox 3.6.15 even though I tried to "--purge" it from Linux?

    I downloaded and installed Firefox 4 RC using tar.bz2 so that I could still use Firefox 3.6.15 as per normal, having to start Firefox 4 using the terminal which worked great (except for many videos on different websites). When Firefox 4 was released, I suppose I was in a hurry to get it to work normal from my menu, but it kept saying that 3.6.15 was the latest version (I'll be quite embarrassed if it wasn't available for Linux users - I do love Firefox!). I did something silly, like purge Firefox from my operating system (Kubuntu 10.10) and when I reinstalled it was still 3.6.15 (it wasn't really downloading, but unpacking). Am I in too much of a hurry or is there a fix-it? I can use Firefox 4, but only through the terminal and I suspect it is slower than it should be. I would like only one version now.

    First, that cannot be an iBook G4 as that machine cannot run Snow Leopard let alone Mountain Lion.  To run Snow Leopard it has to be an Intel processor, not a G4.  What does it show as the Model Identifier in About This Mac, More Info, System Report, Hardware, Model Identifier?
    Second, if you have erased the hard drive there should not be remnants of any prior content.  Even though Disk Warrior is saying nothing is wrong with the hard drive, it sounds as though there are problems.  You may want to consider simply replacing the hard drive so there are no questions about faults.  A good source is OWC, http://www.macsales.com where they also have on-line videos showing how to do the replacement.
    Third, you could also try again to restart using the Snow Leopard DVD/CD and use Disk Utility on that install disk to erase again, and do it a couple times, then try to install.  If it continues to refuse, then it sounds as though there is a fault with the hard drive.

  • Opening an app or exe from a flash projector

    Hi everyone:
    How can I open a exe application from a flash projector. I am
    burning a project to a CD and I need (in AS3) to call out run an
    EXE when the user clicks a button.
    I tried using the code below, but what it does is it prompts
    the user to either run or download. If the user clicks run, the
    prompts them that EXE are dangerous...blah, blah....How can I make
    the EXE run from the CD automatically when the user clicks on the
    "search" button without any notices (like other CDs do)?
    I cant find this anywhere. I know in AS2 you can use
    fscommand, but I read on line that this is not supported anymore.
    thank you for your help.
    Rafael.

    Ok, Flash continues to infuriate me!
    I have removed the 'settings' file parameter from my
    fscommand call to see if my projector would at least launch the
    .exe file, as per the following code . . .
    fscommand("exec", "Ripstation Lite.exe");
    But nothing happened . . .
    I also tried another Windows .exe to see if it would work and
    again it failed to launch anything . . .
    fscommand("exec", "C:\Windows\System32\calc.exe");
    This .swf is wrapped by Zinc to produce a Projector .exe file
    but yet it fails to launch either .exe file! Why is this!?!?

  • Starting VPN Service from Terminal

    Is there a way to start a VPN service from the terminal?  I'd like to write a BASH script to return the SSID of the wireless network and if that SSID doesn't match my office SSID, intiate the VPN connection.  Returning the SSID was fairly simple, but I can't find any manpages on the built in VPN client and apropos is woefully lacking.  I've thought I could simply mark the interface (utun1) as UP, but it doesn't seem to exist until the connection is intiated in the GUI.  Any help would be greatly appreciated.
    JG

    Hi Luqman,
    Yes, You can start Oracle Service from CMD Prompt by using following CMD.
    net start oraclesrveice<SID>
    Bye

  • Reading variables from a text file into a flash projector exe

    I am using Flash CS4 and my script is in ActionScript2.
    I am developing a flash projector file that runs when a user puts in a cd to guide them through the steps they need to install a program and then kicks off the installer.
    I use fscommand to run a utility that reads the users registry to determine the PCs regional settings and then writes this to a text file in the users %temp% directory.
    I then use the LoadVariablesNum command to read in the text file and get the variables.
    This was working fine when I had the text file stored in a different directory, but when I try and refer to the %temp% directory, I get an Error opening file message.
    Is there anyway to get flash to look in the %Temp% directory?
    Thanks in advance,
    Carol Lutz

    Code-tags sometimes cause wonders, I replaced # with *, as the code tags interprets # as comment, which looks odd:
    ******...*.........To your code: Did you test it step by step, to find out about what is read? You could either use a debugger (e.g., if you have an IDE) or system outs to get a clue. First thing to check would be, if the maze size is read correctly. Further, the following loops look odd:for(int i = 0; i < maze.length; i++) {
        for(int x = 0; x < maze.length; x++) {
            if (input.hasNextLine()) {
                String insert = input.nextLine();
                maze[x] = insert.charAt(x);
    }Shouldn't the nextLine test and assignment be in the outer loop? And assignment be to each maze's inner array? Like so:for(int i = 0; i < maze.length; i++) {
        if (input.hasNextLine()) {
            String insert = input.nextLine();
            for(int x = 0; x < insert.size(); x++) {
                maze[i][x] = insert.charAt(x);
    }Otherwise, only one character per line is read and storing a character actually should fail.

  • Does Flashplayer 17 work with Windows 8.1? (Using Flash Projector)

    I recently started playing a game called "Realm of the Mad God". This is a Flash based game that can be played on IE11/Chrome/Firefox and since FP17 in built-into those browsers, I have no trouble loading it. However when I try to run the game with Flash Projector, I get a "Version Loading Error". I believe this is happening since I do not have FP17 installed on my computer, just as an addon in my browsers. I currently have a Windows 8.1 desktop and I can't seem to find a download for FP17 off Adobe's website. This is the most recent link that the game uses to open..  http://www.realmofthemadgod.com/AGCLoader1424381358.swf  .. Upon pasting this link into any of the three browsers listed above, the game launches near instantly. But when I launch this through Flash Projector, I get the error pasted in the image below. *Note "Hardware Acceleration" is enabled* Anyone have any ideas? Let me know if more specfic info is required.

    I'd recommend downloading RotMG from Steam, this uses Adobe AIR and is supported by Wild Shadow Studios:
    Realm of the Mad God on Steam
    You can also run this full screen.

  • Open files from terminal (gnome-open doesn't work properly)

    How can I open files from terminal? On Ubuntu, I used xdg-open. On Arch, I have gnome-open, but I can only open directories with that, not files directly. This sucks bucause I like navigating through my files using the terminal instead of a file manager, which doesn't make that much sense if files can't be opened directly.
    Last edited by cryptkeeper (2012-01-10 14:36:42)

    If you want to see the syntax, here is my defaults.list (so far my Xfce installation hasn't tried to switch over to mimeapps.list):
    [Default Applications]
    audio/x-wav=audacity-usercreated.desktop
    application/x-shockwave-flash=swfdec-player-usercreated.desktop
    application/x-java-jnlp-file=java-web-start-usercreated.desktop
    audio/mpeg=audacity-usercreated.desktop
    application/x-bittorrent=deluge-usercreated.desktop
    application/javascript=medit-usercreated.desktop
    application/rdf+xml=medit-usercreated.desktop
    application/zip=xarchiver-usercreated.desktop
    application/x-compressed-tar=xarchiver-usercreated.desktop
    video/mp4=mplayer-usercreated.desktop;xine-usercreated.desktop
    text/x-agr=gracegtk-usercreated.desktop;grace-usercreated.desktop
    text/html=medit-usercreated.desktop;chromium-usercreated.desktop;firefox-usercreated.desktop
    image/x-xbitmap=mirage-usercreated.desktop;gimp-usercreated.desktop;medit-usercreated.desktop
    application/postscript=evince-usercreated.desktop
    application/x-cbr=evince-usercreated.desktop
    application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=gnumeric-usercreated.desktop;xarchiver-usercreated.desktop
    text/plain=medit-usercreated.desktop
    audio/flac=audacity-usercreated.desktop
    video/x-msvideo=mplayer-usercreated.desktop;xine-usercreated.desktop
    application/x-cbz=evince-usercreated.desktop
    image/gif=mirage-usercreated.desktop;gimp-usercreated.desktop
    application/vnd.ms-powerpoint=impress-usercreated.desktop
    application/x-java-archive=xarchiver-usercreated.desktop
    application/smil=kino-usercreated.desktop
    application/vnd.oasis.opendocument.text=writer-usercreated.desktop
    image/svg+xml=inkscape-usercreated.desktop;medit-usercreated.desktop;mirage-usercreated.desktop
    video/x-flv=mplayer-usercreated.desktop
    application/vnd.ms-excel=gnumeric-usercreated.desktop
    application/vnd.openxmlformats-officedocument.wordprocessingml.document=writer-usercreated.desktop
    application/vnd.oasis.opendocument.spreadsheet=calc-usercreated.desktop
    application/x-gnumeric=gnumeric-usercreated.desktop
    image/png=mirage-usercreated.desktop;gimp-usercreated.desktop
    application/x-audacity-project=audacity-usercreated.desktop
    video/x-ms-wmv=mplayer-usercreated.desktop;xine-usercreated.desktop
    image/jpeg=mirage-usercreated.desktop;gimp-usercreated.desktop
    image/bmp=mirage-usercreated.desktop;gimp-usercreated.desktop
    application/msword=writer-usercreated.desktop;abiword-usercreated.desktop
    video/mpeg=mplayer-usercreated.desktop;xine-usercreated.desktop
    image/x-eps=evince-usercreated.desktop
    application/pdf=epdfview-usercreated.desktop;evince-usercreated.desktop
    application/vnd.oasis.opendocument.presentation=impress-usercreated.desktop
    Obviously you probably have different app preferences than me. And you'll probably have to sed away the "-usercreated" strings because I am anal about having my own desktop file for everything.

  • Flash Projector and Html together

    Hello, what I want to do is to create a CD with a Website
    that I have already done using html and flash. The problem is that
    I want this CD to work in computers without Flash Player installed.
    What if I create a flash projector movie that runs getUrl( )
    and that html file contains flash animations, will people be able
    to see them even if they do not have flash player installed?
    Any ideas?
    Thanks!
    Raf

    _RAF wrote:
    > Hello, what I want to do is to create a CD with a
    Website that I have already
    > done using html and flash. The problem is that I want
    this CD to work in
    > computers without Flash Player installed.
    > What if I create a flash projector movie that runs
    getUrl( ) and that html
    > file contains flash animations, will people be able to
    see them even if they do
    > not have flash player installed?
    > Any ideas?
    you can include the exe installer for the user.
    Have the exe projector start, than ask whether they have or
    not the player and
    if they don't you could use fscommand exec to call it from cd
    and install.
    Macromedia allow downloads if the players for cd
    distribution, you just need
    to fill up a form to get the licensing which is an instant
    process.
    you could also have HTML with detection to check for the
    player if they were
    not sure whether is it or not install.
    I have been doing the very same for years, flash projector as
    splash screen
    with all kind of add ons required for the CD, from flash
    players to adobe reader
    installer.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Flash Projector & Microphone Class

    Salutations Everyone,
    I am developing an application that accesses captured video
    & audio by the Camera and Microphone classes. The camera works
    fine, but the projector disables the microphone from the
    application. The device is still in the Settings window, but when
    selected, it gives -1 as the activity level and has no volume.
    When the movie is tested inside Flash (ctrl+enter), the mic
    comes up without a hitch, but if the SWF or EXE published is run, I
    have to start and quit the tuner software to re-initialize the
    drivers.
    Anyone run into similar circumstances with Flash projectors
    and have any possible solutions (Maybe get something like SWF
    Studio)?
    Thanks for the help,
    Matt Holcombe

    I'm pretty sure I understand what you after. And I'm saying I don't think it's possible.
    you are playing some background music
    you are recording something via the mic
    you want to mix the 2 sounds together
    but you are getting the background music through the mic as well as the voice
    when you mix the mic with the background music you are basically getting 2 copies of the background music (1 from the playback and 1 from the mic)
    to solve your problem you would have to find a way to split the mic sample and I really don't think you are going to be able to do this.
    You could try and play around with the noiseSuppression level but I don't think you'll see any good results

  • How can I determine which computer a share is connected to in /Volumes from terminal or a script?

    I run a set of virtual machines via Fusion on an iMac that we run automated tests on for our website.  There is a folder on each VM called /Automation that is shared. 
    I have a python script that runs on the host, that will find an open VM, start it up and then mount the VM's /Automation folder.  So if there is only 1 VM powered on, the folder shows up in /Volumes as /Volumes/Automation.  The  problem is when there are 2 or more VM's powered on, because then the shares start being named /Volumes/Automation-1 and Automation-2 etc.  So my question is, how can I determine which computer each share belongs to from terminal or a script?
    In other words, I'm looking for something like:
    /Volumes/Automation = "FirstVirtualMachineName.local"
    /Volumes/Automation-1 = "SecondVirtualMachineName.local"
    Is there any way to determine which computer a mounted share is connected to?  In the past, I've just unmounted all /Automation folders, and then mounted them in a particular order, but that's unreliable and messy in my opinion.  If anyone knows a better way, please let me know.  Any help is appreciated.
    Thanks,

    Well I think I have a workable solution.  It's not perfect, but I think it will do the trick. I can put a spotlight comment on the folder similar to 'HostName=OSX-Automation-1.local' and can then retrieve that value from our server with the following python snippet:
    import subprocess
    out,err = subprocess.Popen(['osascript','-e','tell application \"Finder\" to get comment of \"Macintosh HD:Volumes:Automation-1\"'],stdout=subprocess.PIPE, stderr=subprocess.PIPE).communciate()
    So I could just loop through each 'Automation*' folder in /Volumes and grab the name from the spotlight attributes on the directories.  I don't think I really need to worry about the comments being overwritten, but I may have one of our launch daemons that run on the VM check that spotlight comment once a minute or something to ensure that the correct value is there.
    If it ends up not working well in practice, I'm going to give your suggestion about a config script a shot.  It would require a little more up front work, but seems as if it would be pretty solid after that. 
    Thanks again for helping me think it through

  • How do i remove flash player from my mac? or find out if it is malware? i recently got a download and it is acting strange...

    I am concerned the flash player maybe a virus? how can I tell? I have updated software from Apple... but every time I watch youtube or other sites... a pop up  come come from flash player and asks for permission... I always deny... but this is new... I have never had this problem prior to the flash player update...  thank you

    I had the same problem today. It probably started with few downloads from some websites.
    I got mine fixed by deleting suspicious .plist files in safari.
    You can go to finder and search for safari ,  Use the + sign in the top right corner and select  system files are included in the search. Then just delete the .plist files you think are suspicious.
    In my case, I just deleted all of them. And it worked for me.
    Hope it works for you too.
    Good luck

Maybe you are looking for