Can AS3 recognize operating system & call appropriate file (wmv vs. mov)?

Hi, I'm using Flash CS3 to create a graphical interface with
multiple buttons--each of which opens a different linked file. The
interface and linked files will all be included on a memory stick
given out to people. The code below works perfectly for calling up
a .wmv file (from a folder in the root drive called "linked_files")
when a button is clicked. But my question is this:
Is there a way for AS3 to recognize whether a computer is
running Windows (in which case it would open the .wmv) or Mac OS
(in which case it would open a .mov instead)?
I need to do the same thing with a couple of .exe files.
Obviously Mac won't read them, in which case I need an appropriate
alternative to open.

Hi dreamrhts,
Take a look at the os property of the capabilities class:
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/Capabilities.html#o s
You can't use navigateToUrl to execute an exe file.
Your only option for this would be through fscommand (only
works in standalone projector!). Depending one your needs
third-party projector tools maybe necessary.
Dont know anything about mac executables though.
Good luck !
travisdk

Similar Messages

  • MacBook (black) can't recognize operating system

    My sis has a black MacBook that originally has Mac OS X 10.6.3. She wanted windows on her computer, but forgot to split her hard drive ending up with only windows on her computer. I believe the mac os is deleted. Luckily, she has the time machine hard drive. Any ideas on how to fix this??

    Hi,
    have a look here http://discussions.apple.com/thread.jspa?threadID=1964018#14
    Hope it helps
    Stefan

  • Is it possible to call operating system command after file receive?

    Hi expert,
    I'm trying to call operating system command after file receive comm.channel receive a txt file.
    operating system command uses txt file name as parameter.
    Is it possible? How?
    Thanks.

    Hi,
    It should be possible, actually we have two options that are
    1.RUN OS command before message processing
    2.RUN OS command after message processing.
    So you can give the commands in the RUN OS command after message processing.
    Check this links for more info
    http://wiki.sdn.sap.com/wiki/display/XI/SAP%20XI%20File%20Adapter%20OS%20Command%20Line%20Feature
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/556cb799c93677e10000000a114a6b/content.htm
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1690747750DB11724434094963199241End?blog=/pub/wlg/10392
    Regards
    Ramesh

  • System log shows operating system call recv failed(error no.73)

    hi all,
      here i have some doubt in system log please clarify me,
    here in my (sm21)system log files i find more no  of logs for dispatcher and it indicates operating system call recv failed(error no.73)
    system log  Short Text shows:
    Operating system call &5&5&4 failed (error no. &>E5)
    The specified operating system call was returned with an error.
    For communication calls (receive, send, etc) often the cause of errors are network problems.
    It could also be a configuration problem at operating system level. (file cannot be opened, no space in the file system etc.).
    what is means

    Hello,
    Yes, you are right, these kind of problems (OS Error 73) are usually caused by network issues. Error 73 means 'connection reset by peer'. In most cases, this is because the connection was interupted by the communication partner or an active network component between.
    I provide you some recommendations:
    - Check your Network environment. You can use NIPING tool to diagnose it (note 500235), check your MTU stability.
    - Check note 27320 - keep alive and gui_auto_logout profile param
    - Also you can implement note 1002075 for a possible solution
    I hope this helps you.
    Regards,
    Blanca

  • Operating system calls from apex

    Question about operating system calls from apex.
    I created a java file which is wrapped with pl/sql like
    create or replace java source named "ExternalCall" as
    import java.io.*;
    I do the steps from this web page http://www.oracle.com/global/de/community/tipps/oscalls/index.html
    The page is in german, but for experienced users the code on this page says everything.
    In apex i have an application which calls this function with the "move" command in a sql-report region.
    Let's say move c:\work1\file.txt c:\work2\file.txt
    Everything works fine on one host(pc) but if i want to transfer the file from my host to another one then
    i get the messgage "no access" although i have read, write access on the other host.
    By the way, on both hosts i have admin rights.
    Why can't i transfer the file over a network ?
    Thanks in advance for any kind of help.
    Regards
    Stefan
    null

    You say that "on both hosts i have admin rights".
    Remember that Oracle doesn't log in as "you", so Oracle may not have rights to the remote host.
    There are a lot of different permissions that can be assigned to java stored procedures. This chapter in the documentation might help:
    http://download-east.oracle.com/docs/cd/B19306_01/java.102/b14187/chnine.htm#BABFBDGG
    You might get better help from the JVM forum:
    Java in the Oracle Database

  • Operating System Calls from APEX with Java and PL/SQL

    Question about operating system calls from apex.
    I created a java file which is wrapped with pl/sql like
    create or replace java source named "ExternalCall" as
    import java.io.*;
    I do the steps from this web page http://www.oracle.com/global/de/community/tipps/oscalls/index.html
    The page is in german, but for experienced users the code on this page says everything.
    In apex i have an application which calls this function with the "move" command in a sql-report region.
    Let's say move c:\work1\file.txt c:\work2\file.txt
    Everything works fine on one host(pc) but if i want to transfer the file from my host to another one then
    i get the messgage "no access" although i have read, write access on the other host.
    By the way, on both hosts i have admin rights.
    Why can't i transfer the file over a network ?
    Thanks in advance for any kind of help.
    Regards
    Stefan

    I guess you are working on a Windows host. In this case Oracle processes are running as Windows services with a build-in MS system account. This account has no access to network ressources. You have two ways to get out of your windows box:
    Assign Oracle services a network enabled account, e.g. domain user with local administrator privileges. (I never tried this and I don't like to recommend it.)
    Use a command script for copying files and use explicite authentication within this script:-
    net use \\myserver\ipc$ tiger /user:scott
    copy c:\temp\xxx1 \\myserver\share\temp
    copy c:\temp\xxx2 \\myserver\share\temp
    Michael

  • Error on WAS no. 10054 SAP Basis System: Operating system call

    Hi All,
    Error on WAS no. 10054 SAP Basis System: Operating system call
    we got the following error message in the syslog of the WAS:
    SAP Basis System: Operating system call  recv failed (error no. 10054)
    The system still works. What can we do?
    Thanks.
    Best Regards,

    Hi,
    Please check the folloiwng notes
    Error no. 10054
    34116 - Syslog: "Operating System call xxxx failed"
    Thanks
    Adil

  • Operating system command in file adaptor

    Hi,
    I am doing file to Idoc scenario, can i use the Operating system command in file adaptor to compress the file at FTP server and decompress the file at IE. I don’t know is it possible and if yes then how or is there any other way to handle the big files as the network speed is very low.
    Any clues!!!!!!!!!!!
    Thanks in advance
    Regards
    Swatantra

    Have a look into these threads - they seem to have the solution u need (i havnt tried it though)
    Unzip file using operating system command in file/ftp receiver adapter
    How to zip and unzip xml files dynamically by XI

  • Operating system call w2k and linux

    Hello:
    I am not a programmer but i nedd a routine to do an operating system call and execute a batch or shell set of commands,
    do anyone know how can i do it?
    thanks a lot in advance

    Or maybe Runtime.exec is enough for you. MUCH simpler than JNI, as long as a shell executing a script is all you want.
    Read this first:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    %

  • I fail to start the sap server with error:Operating system call recv failed

    I fail to start the sap server in SAP R3 Management Console and the message in the syslog was :
    R/3 Basis System: Operating system call           recv failed (error no. 10053)
    Is there any one could tell me how to resolve the problem or give me some advice?I will appreciate him/her very much.Thank you.

    trc file: "dev_disp", trc level: 1, release: "620"
    Sun May 07 13:14:30 2000
    kernel runs with dp version 3(ext=1) (@(#) DPLIB-INT-VERSION-3)
    length of sys_adm_ext is 304 bytes
    systemid   560 (PC with Windows NT)
    relno      6200
    patchlevel 0
    patchno    674
    intno      20020600
    pid        3628
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3628) [dpxxdisp.c   978]
         shared lib "dw_xml.dll" version 674 successfully loaded
         shared lib "dw_xtc.dll" version 674 successfully loaded
         shared lib "dw_stl.dll" version 674 successfully loaded
    Sun May 07 13:14:32 2000
    WARNING => DpNetCheck: NiAddrToHostCanon() took 2 seconds
    Sun May 07 13:14:37 2000
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3212]
    MtxInit: -2 0 0
    DpShMCreate: sizeof(wp_adm)          12784     (752)
    DpShMCreate: sizeof(tm_adm)          1690816     (8412)
    DpShMCreate: sizeof(wp_ca_adm)     18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)     192000     (384)
    DpShMCreate: sizeof(wall_adm)     (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 001E0040, size: 1977824)
    DpShMCreate: allocated sys_adm at 001E0040
    DpShMCreate: allocated wp_adm at 001E0560
    DpShMCreate: allocated tm_adm_list at 001E3750
    DpShMCreate: allocated tm_adm at 001E3778
    DpShMCreate: allocated wp_ca_adm at 00380438
    DpShMCreate: allocated appc_ca_adm at 00384A88
    DpShMCreate: allocated comm_adm_list at 003861F8
    DpShMCreate: allocated comm_adm at 00386210
    DpShMCreate: allocated ca_info at 003B5010
    DpShMCreate: allocated wall_adm at 003B5018
    MBUF state OFF
    Sun May 07 13:14:38 2000
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 2458 MB
    <ES> 2457 blocks reserved for free list.
    ES initialized.
    ***LOG Q0K=> DpMsAttach, mscon ( db01) [dpxxdisp.c   9115]
    CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6200, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   941]
    DpMsgAdmin: Set patchno for this platform to 674
    Release check o.K.
    Sun May 07 13:15:18 2000
    ERROR => W2 (pid 4776) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W2
    Sun May 07 13:15:38 2000
    ERROR => W5 (pid 4548) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W5
    ERROR => W8 (pid 4592) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W8
    ERROR => W9 (pid 4584) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W9
    ERROR => W12 (pid 4676) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W12
    ERROR => W13 (pid 4272) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W13
    my types changed after wp death/restart 0xbf --> 0xb7
    Sun May 07 13:15:58 2000
    ERROR => W4 (pid 4888) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W4
    ERROR => W6 (pid 4788) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W6
    ERROR => W15 (pid 4596) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W15
    Sun May 07 13:16:18 2000
    ERROR => W1 (pid 4892) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W1
    ERROR => W3 (pid 4904) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W3
    ERROR => W7 (pid 4000) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W7
    ERROR => W10 (pid 4864) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W10
    my types changed after wp death/restart 0xb7 --> 0xb5
    Sun May 07 13:16:38 2000
    ERROR => W0 (pid 4900) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W0
    ERROR => W11 (pid 4500) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W11
    ERROR => W14 (pid 4636) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W14
    ERROR => W16 (pid 3532) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W16
    my types changed after wp death/restart 0xb5 --> 0x80
    DP_FATAL_ERROR => DpEnvCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    DpModState: change server state from STARTING to SHUTDOWN
    Sun May 07 13:16:42 2000
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9341]
    MBUF state OFF
    MBUF component DOWN
    ***LOG Q05=> DpHalt, DPStop ( 3628) [dpxxdisp.c   7883]

  • Error in BW ( Operating system call SiPeekPendConn failed )

    Hi All,
    This is Ganesh, new to SAP BASIS. We are facing some errors in BW, where users cannot able to run BW reports from yesterday.
    Please find below system log details:
    Operating system call recv failed (error no. 10054)
    NiConnect Unsuccessful, Return Code: -0010
    > Host: 156.5.30.34
    > Service: sapgw00
    Please help me out by providing the solution and the cause for above system log.
    Waiting for your reply.
    Best Regards,
    Ganesh

    Hi,
    check this,
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/sap-r3-to-bw-521356#M521423
    Also try to search with the error ur getting in Google or for Notes in SMP.
    Regards,
    Ravi

  • Work Process tries to restart but fails - Operating system call fork:restar

    Hi
      We have a ECC 5.0 system running on v5r4 (6.40 kernel level 159).  Some of the work processes fail and then try to restart and fail again. Thus there are many job log entries in both SAP and OS/400.
    The OS/400 logs mention the PASE (unix executable environment) and MCH3203.
    SAP mentions Operating system call fork:restart
    OSS has note #884359 which mentions a palitative but despite being at 6.40 level 159 the parameter profile as/4/wp_max_restart is said to be "unknown" by RZ10.
    We are making sure we are up to date with the APAR II14126 just in case this is the issue.
    It did start after the time change but we are not sure this is the root cause.
    We are also considering getting upto kernel 171.
    Anyone else seen this issue?
    thanks
    Matthew Milne

    We see those problems once a while, and usually they are gone when you restart the instance or after an IPL. You should report the problem to IBM, they will probably be interested in the LIC log entries that come along with the error (STRSST - Start a Service Tool - Licensed Internal Code Log). II14126 is probably a good start (for example, MF40759).
    The profile parameter as4/wp_max_restart is only known to the kernel, because it is not intended as a permament setting, but only as a temporary workaround for the problem in the PASE environment. That's why RZ11 does not know about the parameter and reports it as unknown.
    Kind regards,
    Christian Bartels.

  • Can original iPad operating system be updated beyond 5.1

    can original iPad operating system be updated beyond 5.1.1

    Since you are limited to iOS 5.1.1 on an iPad 1, this may be of interest.
    App Store: Downloading Older Versions of Apps
    http://tinyurl.com/meqxplg
    App Store: Install the latest compatible version of an app
    http://support.apple.com/kb/ht5919
    Apple’s iOS App Store now offers ‘last compatible’ versions of apps for older devices
    http://appleinsider.com/articles/13/09/17/apples-ios-app-store-now-offers-last-c ompatible-versions-of-apps-for-older-devices
     Cheers, Tom

  • Im running mac os x V10.5.8 on my macbook pro.  Is there anyway i can update the operating system to os x lion?

    im running mac os x V10.5.8 on my macbook pro.  Is there anyway i can update the operating system to os x lion?

    If it's a Core Duo Mac, no.
    If it's a Core 2 Duo or better Mac, phone the online Apple Store and order a Mac OS X DVD, and if the computer can't run 10.8, a download code for 10.7.
    (70266)

  • Can't load operating system

    So I decided to dive into the land of windows and boot camp today to test gaming performance.
    After the Macbook Air creates the operating system usb drive and partions the disc, the computer automatically reboots (persumably to open in windows installer) ecept all I get is a black screen of death that reads Error can't load operating system.
    any suggestions? I've spent a considerable time in goolgle looking for people with similar issues but everyone else seems to only have troubles after they get it installed.
    On a side note, I did install Parallels 7 and successfully got windows 7 running off the same usb drive that BCA created, but I'm under the understanding that BCA is the windows method of choice for gamers and the like.

    May you help me to understand these errors
    First it says  " Not enough Space in Runtime area!!. SMBIOS data will not be available. Press F1 to Resume
    When I press F1 it starts loading but then it brings a blue screen with a message " The BIOS in this system is not fully ACPI compliant, please contact Vender for an Updated BIOS.
    I have only one partition and no External storage on the machine. I even took this machine to HP centre here in Zambia but they could not sort out the problem. Does this mean this PC will never work?

Maybe you are looking for

  • IPhone 5 contacts local sync via usb doesn't work - updated

    Syncing an iPhone 5, AT&T 64GB, with Macbook Air 11" mid-2011, 1.8GHz / 4GB. OS X 10.10.2; iTunes 12.1.0.50; iOS 8.1.3. I am trying to sync my contacts from my OS X Contacts App to my iPhone 5 via USB. The contacts do not sync. The contacts are local

  • How can I use my Time Capsule as an external Hard Drive for my PC?  My PC can't find it.

    Hi, I just bought this Time Capsule for my home.  I've got the internet access for all my devices (Mac, iPad, PC, iPhone) and I've got the Mac backup working through Time Machine.  I'm supposed to be able to use the Time Capsule as an external drive

  • Using a string to reference a variable

    hi all, i've encountered an interesting scenario where i need to use a string to reeference the value of a variable...the following would show the scenario in a simpler way... let's say we have such function called foo: void foo(String aString) int a

  • Display a file with in the ADF screen in the edit mode.(RTF or Word format)

    Hi , As per my business need i need to display a file (.doc or .pdf) in the ADF screen in the edit mode. Later user can be able to save the document . As of now i am using a separate editor for edit the document. but that editor is supporting only fo

  • Purchasing from second stage dealer

    hi, i am purchasing a  material from a trader(second stage dealer),on that he give mi excise invoice,on which he calculate excise on qty, material     qty     rate per unit      rate of duty %    duty per unit     EXCISE Dty & Ed cess         amount