Saving Image to server from stand alone SWF using PHP

Hi all!
I´m having some problems completing the following task.
I built an information terminal for the shop of a friend of mine which uns as fullscreen application.
On this terminal the swf file is running as a stand alone file by unsing the flash player directly.
I want to save a snapshot (jpg) from a webcam if someboy presses a button.
This does work as long as I run my application (swf) by using the browser (Firefox , Apache and localhost).
But if I try to use it as it should be used no image is beeing created.
There was an error when first testing the application which forwarded me to an Adobe site where I had the possibility to grant files permissions, which I did for the file (the SWF) that needed it.
Did I do something wrong, or is there some permission thet I have to grant before it works as it should be?
Best regards and many thanks in advance!
Jan

Does nobody have any idea?!

Similar Messages

  • Is it possible to place forward/back nav buttons in a timeline based gallery. Stand alone SWF needed.

    I'm currently working on a gallery to be output as a stand-alone SWF file, and am doing it all on the timeline as I can't write actionscript for toffee
    So far, I have the gallery created with alpha tweens fading between embedded images. These images are buttons, to which I have added URL links (my only foray into actionscript), which will send the user to a specific link related to the image being shown at the time. At the moment this is just a linear timeline that flows from start to finish and loops to the start again - as per most other simple timeline based animations.
    I have now been asked if I can add two nav buttons (one each side of the frame) to allow the user to flip back and forth through the images. Is this possible on a timeline? And if so, how would it best be implimented? I just don't know if a button action can affect the flow of a timeline.
    Ideally the gallery will auto flow, until either of the forward/back nav buttons are clicked.
    Any help here would be really really appreciated.
    Paul

    Thanks for that Ned. I've had a quick look, and will research deeper later. Though being a complete and utter novice at actionscript, I am flummoxed by probably the simplest of stuff by your standards. For example, the scripts I saw briefly, using the searches you suggested appeared to not export a stand alone SWF file - with no XML files or image folders (I'm still to work out if is possible to do that for this particular use). Also, on all of the examples I saw, the buttons are embedded at the bottom of the pane, and I really need to put the buttons as plainly obvious clickable blobs on either side of the image area. This, again, I can easily do on a timeline (apart from actually making them work of course) but to do this with someone else's AS code, will need more time than I have to learn the relevent stuff.
    Does it sound like I may have to just settle for a linear, non-interactive rotating gallery? - based on my knowledge limitations, as well as needing a stand alone SWF.
    Paul.

  • How do you create a stand alone application using DAQmx when your application SCXI hardware isn't on the computer I am using to create the application?

    How do you create a stand alone application using DAQmx when your application SCXI hardware isn't on the computer I am using to create the application? The DAQmx assitant won't allow me to create a task with hardware that isn't in my system.

    You will need to have at least the DAQ device in your computer to add the chassis. When you add the chassis, don't auto detect the modules. You will have to add the terminal blocks and tell MAX which SCXI module will be connected to the DAQ device. Just make sure you don't test the chassis, when its not there.
    I hope this helps.
    Joshua

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

  • Need to print simultaneously via the network/TCP/IP & also print parallel from stand-alone PC

    1. HP LaserJet 4200 Q2427A
    2. Win7 - 32bit
    3. When I print from the Networked PC (which is on same subnet as printer) Prints come out. No problems. Then I need to print from a PC( which is a standalone PC w/ no connection to the corporate LAN, but does have a separate DSL connection to the internet) connected via the parallel cable. Prints fine no problems. When I try to then go back to the networked PC and print, The job takes 10-15 minutes print if at all- which sometimes it does not print at all.
    4. The stand-alone PC was replaced with a new windows 7 PC. The previous stand-alone PC was running windows XP. We did not experience any issues when PC was XP. PC was replaced due to Hard drive going bad and age. The windows 7 PC has a PCI parallel card installed for the parallel connection.
    Have also tried using a parallel to usb adapter with same results.

    That would be Wireless Distribution System (WDS). That is to say Wireless to Wireless. And if I recall correctly that option is not available to you.
    Bridge Mode is bridging between ethernet and WiFi.
    One way you could maybe do what you want without ethernet over powerline adaptors is to get an Airport Express (more money), attach that to the Pirelli via ethernet. Put the Express into Bridge Mode. Now have the Express provide the WDS server to the Airport Extreme Base Station. Of course you now have 3 WiFi transmiters in your home just so you can print something, but just think of the coverage in your home.
    NOTE: If for some reason you decide to try this Express to AEBS WDS system, you can create a roaming network by giving all 3 WiFi systems the same SSID and password. When everyone is using the same SSID and password you can roam around the house and your laptops will automatically switch to the base station with the strongest signal (assuming that is worth something to you).

  • Viewing HTML page saved  on the server from the browser

    Hi all
    In my application i am having some HTML pages saved on the server. I had given an option to the user to view the HTML page from my application. behind the scene what i am doing is that the view request will get handled by a servlet and from that servlet iam locating the HTML page on the server directory and sending the HTML page to browser by using the Servlet OutputStream. The HTML page is shown on the browser but the attached images are not shown. The images are also there in the server directory and are refered in the HTML file correctly. When i directly open the HTML file then the images are shown correctly.
    Can anyone suggest wat's wrong there.
    The code i m using is
    ServletOutputStream out=response.getOutputStream();
                        if(format.equalsIgnoreCase("pdf"))
                             logger.info("Seleted format is pdf..\n");
                             response.setContentType("application/pdf");
                        else
                             logger.info("Seleted format is html..\n");
                             response.setContentType("text/html");
    String file = ReportingConstants.URL_GENERATEDREPORTS+reportPath+itemName;
    // file : HTML file absolute path as string.
                        URL url=new URL(file);                    
                        BufferedInputStream bis=new BufferedInputStream(url.openStream());
                        BufferedOutputStream bos=new BufferedOutputStream(out);
                        byte[] buff = new byte[2048];
                        int bytesRead;
                        while(-1 != (bytesRead = bis.read(buff, 0, buff.length))) {
                             bos.write(buff, 0, bytesRead);
                             bos.flush();
                        }

    You have to undertsand how the browser handles images and other resources in a HTML page. In the HTML there is an image tag that has a url to an image which can be a reletive url or an absolute url (starts with a "/").
    If the url is a relative url the browser interprets the url as being relative to the url currently displayed in the address field discarding the last element of the url . So if the url in the address bar is http://www.myserver.com/myapp/mypage.html and the relative url is images/myimage.jpg, the browser will submit a request to the server for http://www.myserver.com/myapp/images/myimage.jpg
    Now let's say that you are call mypage.html from a servlet that has the url http://www.myserver.com/myapp/servlets/myservlet. Then when the browser tries to retrieve myimage.jpg it will use the url http://www.myserver.com/myapp/servlets/myservlet/images/myimage.jpg and since this is incorrect it will not be able to display the images.
    One solution to this is to change all of the image urls to absolute urls. That is the start with a slash where the slash represents the start of the url after the application domain name. For example you used an absolute url for myimage.jpg it would look like /images.myimage.jpg and when accessing the page through the servlet url (http://www.myserver.com/myapp/servlets/myservlet) the browser will discard everything after http://www.myserver.com/myapp and look for the image at http://www.myserver.com/myapp/images/myimage.jpg which is the correct url.
    A second solution is to use the HTML BASE tag which tells the browser not to interpret the image tag urls (and other resourses) using the current url in the address bar but to use the url supplied in the HTML BASE tag. The browser will still perform the same process for relative urls but now relative to the BASE tag url. Since the BASE tag url will be the same every time the page is accesssed the images should be correctly accessed no matter how the page is accessed (eg directly, using RequestDistpatcher or via your servlet)

  • Dialog Instance Java is not up after restoring the DB from Stand alone

    Dear Gurus,
    We are migrating our Stand alone Production (Dual Stack) system to Cluster hardware and we donu2019t have any dialog instances for Standalone Production system.In the process we have taken the backup from the stand alone system and restored in cluster.
    After that, the dialog instance Java in is not coming up but central instance java was working fine
    As per our analysis, due to only one entry is there for java in the stand alone database and the same database backup is restored in the cluster, the DI instance java is not coming up. Please any body give us the solution to resolve this issue.
    Your earliest reply is very much appreciated.
    Regards
    Kali

    Dear Manoj,
    Thanks for your reply.
    My Problem was solved.
    As per SAP , it won't suggest or support the DB refresh. so did export and import then it was working fine.

  • Problems in accessing EJB from stand-alone client

    Hi,
    I am trying to access a EJB deployed in RI from a stand-alone client. When I run it, I got this exception:
    Exception in thread "main" java.rmi.AccessException: CORBA NO_PERMISSION 9998 Ma
    ybe; nested exception is:
    org.omg.CORBA.NO_PERMISSION: minor code: 9998 completed: Maybe
    org.omg.CORBA.NO_PERMISSION: minor code: 9998 completed: Maybe
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemExc
    eption(ReplyMessage_1_2.java:93)
    at com.sun.corba.ee.internal.iiop.ClientResponseImpl.getSystemException(
    ClientResponseImpl.java:108)
    at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOACli
    entSC.java:136)
    at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
    at TheBeanRemoteStub.test(Unknown Source)
    at Client.main(Client.java:19)
    The following is the code of the client:
    System.setProperty(Context.SECURITY_PRINCIPAL, "achong");
    System.setProperty(Context.SECURITY_CREDENTIALS, "achong");
    Context context = new InitialContext(System.getProperties());
    Object object = PortableRemoteObject.narrow(context.lookup("MyBean"), TheBeanHome.class);
    TheBeanHome home = (TheBeanHome) object;
    I have set "support client choice" while deploying the bean, and set which roles can access which methods. Any idea? Is my code is incorrect?

    I have the same problem like you.
    If you solve it, please give me a hint.
    Thank you very much!
    [email protected]

  • Separating all.css from stand-alone mobile site

    I have come to the conclusion that I need to create a stand-alone mobile site for a client's ecommerce site. Should I copy and paste my css code from the desktop version "all.css" into the phone.css so as to keep them separate? The "Main template_phone.dwt" uses "all.css" and "phone.css" but I don't want to change any of the css for my desktop version. Thank you!

    That really depends on the situation and what if any CSS you are reusing.
    There are several ways to do what you need including, seperate CSS files, Media Queries (Dreamweaver), the BC built in mobile template system, if doing it in Muse they now have mobile capability now as well.
    So we would really need more information to advise what would be the best solution for you.

  • Changing CM Services from Stand-alone to CTS+

    Hi Team,
    We want to use CM Services in stand-alone mode as of now.
    We will later integrate it with CTS+.
    Is it possible to use the same development configuration with CTS+ which was previously used as stand-alone ?
    Regards
    Kaushik Banerjee

    No, that's not possible.
    When you create your DEV system in your CTS+ system, it will automatically create a new Development Configuration in your CM services. This will be named as the system created in STMS.
    What you can do:
    You can add the SCs of the stand-alone Dev Config to the one created by CTS+.
    But then you still need to import the SCAs/move the DCs.
    I think it's better to use CTS+ right from the beginning.
    Follow [this tutorial|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90b89739-c236-2e10-f69d-eed4adc40983].
    This document is also quite interesting:
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9076d36e-2540-2e10-3fbe-ea462491aa5d|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9076d36e-2540-2e10-3fbe-ea462491aa5d]
    Good luck

  • Security exception while trying to access EJB from stand alone client

    Hi!, I am trying a sample EJB application to R&D some security related issues. I want to access EJB through a web application as well as a stand-alone client. I have set approriate <method-permission> in EJB deployment descriptor. I am using users.properties/roles.properties file for authentication mechanism. I am using JBoss 3.2.
    - On the web application side I am using BASIC authentication and the servlet is able to access the EJB OK, as long as I am using a login/password that has access to the EJB.
    - Now I am trying to access the EJB using a stand alone Java class. These are the things I have tried till now:
    =>Created a InitialContext with appropriate principal, credentials and tried getting a reference to EJB home interface. That resulted in security exception.
    =>Logged into a LoginContext by using appropriate JBossSX classes and then tried getting a EJB home interface. Again security exception.
    Now I am not sure what to do. I read at some places about client side container but not sure what that is. Does anyone has any ideas to try? Is there any other way I can make a swing application and a web application authenticate to EJB container?
    Also can anyone point me to any documentation that gives some idea about how the security credentials gets propagated from web application/standalone client to EJB container?

    It would be better if you can post your code...and DD that way we can help you better

  • Multiple stand alone servers using one radius server?

    Hello, I have a question.
    I'm working for a company and our problem is we need a username and password for every server.
    We would like to set up a Radius server using an extension so it can use a SQL database for the users.
    Is it possible to put 1 username and 1 password for each user in this database so we don't need more then one for each server?
    Also can we set up policy's for those users so they can't access every stand-alone server.
    Kind Regards,
    Michael

    Hi,
    Based on my research, when a RADIUS client (access server) sends connection requests and accounting messages to a RADIUS server, the RADIUS server will sends back an Access-Accept message or sends back an Access-Reject message to authenticate and authorize
    the connection requests based on a set of rules and the information in the user account database. The Access-Accept message can contain connection restrictions that are implemented by the access server for the duration of the connection.
    In addition, according to your description, it seems that you used the SQL database as the User account database. Did you use NPS as a RADIUS server? If yes, maybe you can configure related network policy to restrict access. I would appreciate it if you can
    introduce more detailed information about your environment. The link below may be helpful:
    Configuring Microsoft NPS (Network Policy Server) / (Internet Authentication Service)IAS as Wireless LAN Controller (WLC) RADIUS Server
    Best regards,
    Susie

  • HTTP Server under stand-alone-apache new thread

    Sorry I closed the other thread too soon thinking I had a solution by creating an alias for libdb.so.2. ButI was mistaken.
    So once again:
    I made an installation of Oracle HTTP-Server from the Companion-CD Release 10.2 for Linux 64bit in a Suse Enterprise 10 SP1 environment.
    Installation was successfu. HTTP-Server now starts without error messages.
    But if I try to include the plsql.conf in the http_conf_local of the stand_alone-apache version 2.0 I get the message
    'cannot load modplsql.so. Wrong ELF class. ELFCLASS32.
    In the meantime I have learned that you can use 32bit-classes under 64bit Linux.
    But do I have to do to get them accepted?
    Thanks in advance for further help.
    Christine

    Well, after some more research I ended up doing the following:
    New aim is to have a fully working oracle HTTP-Server beneath another Apache and redirecting incoming URLs with /pls/ to the Oracle-HTTP-Server
    -remove all includes from the other Apache pointing to my HTTP-Server
    - correct file owner mismatches by giving the oracle user the ownership on all files within the oracle_home-path with a chown-command
    - correct file group mismatches by relating all files within the oracle_home_path with group dba using a chgrp-command
    After that the opmn-demon was able to start with ./opmnctl start
    Trying to start HTTP-Server with ./opmnctl startproc ias-component=HTTP_Server failed, but now I got logs to investigate.
    -disabled two lines in httpd.conf:
    #LoadModule rewrite_module libexec/mod_rewrite.so
    #LoadModule dbm_auth_module libexec/mod_auth_dbm.so
    then HTTP_Server starts.
    Why it can't load the mentioned modules I do not know, they are present where they are supposed to be.
    Redirect the outside listening apache to my HTTP-Server by adding into it's http_conf_local:
    ProxyPass /pls/ http://localhost:7780/pls/
    ProxyPassReverse /pls/ http://localhost:7780/pls/
    ProxyPass /htdocs/ http://localhost:7780/htdocs/
    ProxyPassReverse /htdocs/ http://localhost:7780/htdocs/
    Christine
    Edited by: candrae on Nov 5, 2008 8:55 AM

  • Differences between application for App. Server and stand alone application

    What are main differences?
    Why to use App. Server. if it is possible easily make Server application that listens port using socket classes?

    Can u please give a short example for 1, 3 and 4?The container will pool instances of your bean which aids in perfromance gain.
    You can handle security issues declaratively.
    The container manages the life cycle of your beans so that you can handle actions at bean's activation, passivation, initialization, destruction etc.

  • Instruction on how to work with images and videos in the storage azure using php

    Dear Sirs
    I followed below instruction to make video and image storage on Azure using PHP:
    http://azure.microsoft.com/en-us/documentation/articles/storage-php-how-to-use-blobs/
    Whenever I record an image on Azure storage and download stored image there is no format
    in the stored image. and end up becoming like any other regular file. Othe problem is that I cannot see the concerned image in the browser. I already have checked recipient access and it is defined as public reading. 
    Could you also please provide me with an article instructing how to make upload,  download,
    show up on the browser and remove video and images from the azure storage area?
    Thanks & Regards,
    Pedro

    Hi Pedro,
    Thanks for your posting!
    I am not familiar with PHP. But from your description, I think your need pay attention to those points in your code:
    1.When you store file or download file, please write the file name and
    suffix, for example, you need store image as blob name "image.png".
    2.When you download file from Azure blob, you need set the content type.
    if your file is image, you could set the content type as image type.
    3.You could get the blob URI, and set your image URL as blob URI. Do this, you can show the picture.
    Please see this similar issue thread:
    http://phpazure.codeplex.com/discussions/472840
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • WIH 00013 - Session Closed after try to run a report

    Hi all My system is BOXI R2 SP3  and client W2K SP4 and IE 6 SP1. When try to lauch a report, the report never end, and after 20 minutes I cancel the report and show WIH 00013 error. I try to launch the report using another web browser and work fine

  • Display error message in user-exits for ME21n

    Hi, I want to give error message in exit EXIT_SAPMM06E_013 but it is getting displayed as information and gets roll back . Can anyone help to display error message and stop there itself so that to give corret data and save. the code in this exit is a

  • Cl_gui_frontend_services= gui_download - wrong behaviour with Windows UAC

    Hello, we are using the method cl_gui_frontend_services=>gui_download to store files on the presentation front end (Windows Vista with UAC). When the user has no windows rights to the target directory and UAC is active, then the method gui_download s

  • Purchase order rejection - status update

    Hi Experts, For PO and PR release ,I am developing the custom workflow .In that workflow user decision step to approving or rejecting for PO release/reject .In approve step I am able to release the po in background using  standard method in BUS2012 b

  • 5G iPod, Charges only when connectec to Mac

    My subject pretty much describes it all. After months of working perfectly, all of a sudden I noticed my iPod wasn't charging with my car adapter. I bought a new adapter, and still no luck. Won't even just power the iPod, it'll go from the charging s