Need to allow users to upload images (jpg) in the flash (.swf) from your local computer (with the drive C). Help, please.

Faly .swf is on the server.
The user loads the page HTMl file .swf.
By clicking on button_mc the user can select from your computer (local disk) image file to upload not on the server and temporarily - to flash - the file.
Фалй .swf находится на сервере.
Пользователь загружает страницу HTMl с файлом .swf.
По нажатию на кнопку button_mc пользователь может выбрать на своем компьютере (локальном диске) файл картинки для загрузки не на сервер, а временно - во flash - файл.
Below given code works only if the image file .swf are in the same directory (folder).
I know the file name, but I can not find the full local path to his computer to the selected file.
Ниже приведенный код работает, только если картинка и файл .swf находятся в одной папке (folder).
Я могу узнать имя файла, но не могу выяснить полный локальный путь на его компьютере до выбранного файла.
How do I get my site you can download at home in my swf file to a photo to her dalsche work?
Как сделать, чтобы пользователь моего сайта мог у себя дома загрузить в мой файл swf свою картинку, чтобы с ней дальще работать?
button_mc.addEventListener(MouseEvent.CLICK, buttonClick);
function buttonClick(event:MouseEvent):void {
var mm:String = new String();
var myFileReference:FileReference = new FileReference();
var myFileFilter:FileFilter = new FileFilter("Images", "*.png;*.gif;*.jpg");
try {
myFileReference.browse([myFileFilter]);
myFileReference.addEventListener(Event.SELECT, onSelectFile);
function onSelectFile(event:Event):void {
mm = FileReference(event.target).name;
var loaderPic:Loader;
loaderPic = new Loader();
loaderPic.contentLoaderInfo.addEventListener(Event.INIT, initListenerPic);
var urlClipPic:URLRequest = new URLRequest(mm);
loaderPic.load(urlClipPic);
function initListenerPic(event:Event):void {
addChild(loaderPic.content);
} catch (illegalOperation:IllegalOperationError) {
trace("Ошибка");
button_mc.buttonMode = true;

My question was too difficult for everyone?
Nobody has been able to help.
I thought that in this forum a lot of professionals.
It seems - I was wrong.
If there is someone who can help, contact us.
[email protected]

Similar Messages

  • How do I allow users to upload personal files through website?

    How do I allow users to upload personal files through our website?
    I am trying to allow the visitors the ability to upload images for a future contest we will be hosting. I am trying to build a submit form with personal fields (already got this done) along with a field they can upload 1 or 2 images. I want the form to send me an email with details along with image files. I have a BC webbasic+ account and I am using Muse for my web editing.
    Can someone point me in the right direction?

    Hi,
    You could apply a "file attachment" field within the web form.  If needing more than 1 file attachment you'll need to access your form code and hard-code the additional field. 
    The form will collect the file(s) and will be held within the case details under "related files".  You can also assign a workflow to recieve notifications however only 1 file will appear in each email.  To see the other files you'll need to access your order details. 
    All this can be create and managed within your site's admin.  yoursite.com/admin 
    Within the site admin...
    http://helpx.adobe.com/content/help/en/business-catalyst/using/create-insert-form.html (Creation of webform, etc)
    http://helpx.adobe.com/content/help/en/business-catalyst/sbo/customer-database.html#id_227 59 (Manage customer web form submissions)
    Hope this helps!
    -Sidney

  • Allowing visitors to upload images

    I would like to allow visitors to upload images to my site
    (.jpg and .gif ONLY). I have searched online and found a few
    different codes, but I would like to make it so that I would have
    to appove the images first (they would either be emailed to me or
    saved in the file manager). I also want it so people don't have to
    register before uploading an image. My site is not that popular.
    Does ANYONE know how to do this.. The closest thing I found
    was this page:
    http://www.abynex.com/imageupload.html
    I paid for the code, but don't completely understand it. Is
    there another way to get this action on my site.
    I don't know what PHP and MySQL are or how to use them. I do
    have a paid site and domain. Does this have anything to do with the
    website settings. Under that section, I see the Absolute Root Path
    & FTP Host/User .
    I am lost
    Thanks

    Don't you get any help files with the purchase?
    The first place to ask the question would be to the author of
    the script no?
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.DreamweaverResources.com
    |Tutorials|SEO |CSS Templates
    http://www.csstemplates.com.au
    http://www.adobe.com/devnet/dreamweaver/css.html
    CSS Tutorials for Dreamweaver
    "Miss_Angela" <[email protected]> wrote in
    message
    news:ee3d1s$4rm$[email protected]..
    I would like to allow visitors to upload images to my site
    (.jpg and .gif
    ONLY). I have searched online and found a few different
    codes, but I would
    like
    to make it so that I would have to appove the images first
    (they would
    either
    be emailed to me or saved in the file manager).
    Does ANYONE know how to do this.. The closest thing I found
    was this page:
    http://www.abynex.com/imageupload.html
    I paid for the code, but don't completely understand it. Is
    there another
    way
    to get this action on my site.
    I don't know what PHP and MySQL are or how to use them. I do
    have a paid
    site
    and domain. Does this have anything to do with the website
    settings. Under
    that
    section, I see the Absolute Root Path & FTP Host/User .
    I am lost
    Thanks

  • How do i create a website that allows customer to upload images and text?

    I need some help i have a friend who has asked me if i can create a website that allows them to upload their own images and text at their leisure.
    His company is in the car sales trade so they need to regularly be updating their stock, and this needs to be done by somebody with limited computer knowledge so ease of use is fairly important.
    I am using dreamweaver cs4 on a G5 Imac running Snow leopard 10.6.8, my skills are limited to creating uncomplicated websites but i am very keen to learn, i am aware of content management systems such as Druplal but have zero knowledge on how to use these.
    Any assistance would be greatly appreciated
    Andy Barrington
    www.andybarrington.com

    You can take a read here
    http://www.hotscripts.com/category/php/scripts-programs/classified-ads/autos/
    http://icloudcenter.com/auto-dealer-car-sales-script.htm
    Although putting together a form that would upload images and all the descriptions required seems like a fairly straghtforward project, depending on your current skill set.
    Gary

  • Allow user to change image of a document set

    Hello all,
    is it possible to allow user to upload and set an image in the welcome page of a document set ?
    For example, I want to create a document set for each customer, to store document related to this customer. In the document set welcome page, I would like to display the customer logo.
    Is it possible in a easy way ? :)
    Thank you !

    Hi David- automatically? No, unless you're ready for some major coding. Also, what permissions do you plan on giving the customer?
    The only way I can see this happening is if you provide the title for the image to your customer, then give them access to the library where it's stored and hope they use the exact title to replace the file that's there.
    cameron rautmann

  • I'm trying to reinstall Mavericks on used Macbook Pro. When I log in to my Apple ID, it says it was not the same ID used to purchase Mountain Lion. I need to change user/admin as a lot of the folders and apps are in Chinese!

    I'm trying to reinstall Mavericks on used Macbook Pro. When I log in to my Apple ID, it says it was not the same ID used to purchase Mountain Lion. I need to change user/admin as a lot of the folders and apps are in Chinese!

    The first thing you should do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. If you don't have the media, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able toauthorize it under your ID. In that case, contact iTunes Support.

  • How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive.

    How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive without clicking on save option everytime when saving an image. I'm using firefox ver 35.0.1 for windows 7.

    Click on the Firefox menu. Then click "Options". Go to "Applications" tab. Search for jpg and png file type. You will find they have "Always ask" action attribute. Change it to "Save file".
    Hope it will work fine for you.

  • When I finally 'upload' a book from iphoto my computer freezes.  Can you help?

    When I finally 'upload' a book from iphoto my computer freezes.  Can you help?

    Boot into Safe Mode and try again.
    If that doesn't work:
    Remember: we cannot see your machine. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS.  So to get help you need to give as much information as you can. Basic things like :
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • HT4059 Being new to iBook publishing I need to know if stats are available to determine how many times my iBook has been downloaded. Can anyone help please? Mr Ignorant

    Being new to iBook publishing I need to know if stats are available to determine how many times my iBook has been downloaded. Can anyone help please? I need to persuade someone that this really is worthwhile. Mr Ignorant.

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • DOES ANYONE KNOW HOW I CANT DELETE MY APPLE ID I JUST GOT A NEW AND NO LONGER NEED THE OLD 1 HELP PLEASE

    DOES ANYONE KNOW HOW I CANT DELETE MY APPLE ID I JUST GOT A NEW AND NO LONGER NEED THE OLD 1 HELP PLEASE

    As far as I know they can't be deleted, just remove any personal info from it (credit card details etc) and stop using it.
    If you downloaded any content via it then you will need to remember it and it's password, as content is tied to the account that bought/downloaded it, so if you move to a new computer you'll need to authorise the account on it if you want to use any of its content there (or if you bought apps with it you'll only be able to download updates to them via that account)

  • After installing ios5 and having had to change my apple id to e-mail address I am unable to download updates as they were purchased under my previous id and it will not allow me to get back into the old id  Help please.

    After installing ios5 and having had to change my apple id to e-mail address I am unable to download updates as they were purchased under my previous id and it will not allow me to get back into the old id  Help please.

    Make sure you enter your new Id in settings/message, settings/facetime.  ANy content that you downloaded with the old ID is forever linked to that old ID and if you have apps that were downloaded with the old ID and you want to update them you can only do that with the old ID.  You could delete those apps and downlad them again ( and pay for them if they are not free apps)

  • Why would you allow firefox to update computer web-browsers if you have an idea that it will no longer work after the update? And why would you not include instructions for, how to fix the problem? Help Please! Can I go back to the old one?

    Why would you allow firefox to update computer web-browsers if you have an idea that it will no longer work after the update? And why would you not include instructions for, how to fix the problem? Help Please! Can I go back to the old one?
    Ron Bell
    [email protected]

    Mozilla, like many other software companies, thoroughly test their software before releasing it to the public and I'm sure that no problem you are having is intentional.
    I do not work for Mozilla but I do have experience of releasing software for public usage.
    Firefox has no way of knowing what other software is already on your computer and with millions of combinations it isn't always possible to test for every scenario.
    You can go back to the old version of Firefox but that won't always solve your problem.
    The web site below tells you how:
    https://support.mozilla.com/en-US/kb/Installing%20a%20previous%20version%20of%20Firefox

  • I would like to allow users to upload pictures to my server

    hello;
    I would like for users to be able to upload jpgs from a HTML
    interface;
    the pictures will then be available to be dynamically loaded
    into the website;
    PROBLEM 1 : can a HTML webpage access a user's computer to
    get the picture?
    PROBLEM 2 : how to upload it to the server? Javascript does
    not have access to the server, PHP does not have access to the
    webpage;
    PROBLEM 3 : checking for filetypes of pictures;
    any thoughts?
    thanks
    dsdsdsdsd

    dsdsdsdsd wrote:
    > David, thank you very much; I was not expecting that
    HTML would have a
    > form.input type that would do this;
    It's even available with a single click in Dreamweaver. Just
    select File
    Field from the Forms category of the Insert bar. It's
    completely
    cross-browser, and automatically generates the Browser
    button.
    > would you please check your "PHP Solutions" link; I
    would like to read it but
    > I am getting an Error 404;
    The link is fine. I had a temporary problem logging onto my
    mail account
    a little earlier, so it's possible that the server might have
    been down
    for a short while.
    > but might you tell me in a nutshell about the security
    issue? seems to me that
    > the PHP developer does not need to be concerned about
    security, but instead
    > only the innocent websurfer needs to be concerned about
    the security of their
    > pc's directory structure;
    There is absolutely nothing for the innocent websurfer to
    worry about,
    and everything for the PHP developer to guard against. The
    form is
    entirely under the control of the user. The browse facility
    simply lets
    the user select the file to be uploaded.
    You, as the PHP developer, on the other hand, need to make
    sure that
    what's being uploaded doesn't exceed a maximum size, that
    it's of an
    acceptable MIME type, that it doesn't contain a script that
    attempts to
    probe the file system on your server, and that it doesn't
    contain
    offensive or illegal material. Letting unknown people upload
    files to
    your server makes you vulnerable to a whole slew of malicious
    attacks.
    You probably cannot eliminate all potential problems
    (particularly
    regarding obscene or illegal material), but you can take a
    lot of
    precautions to minimize your risk.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to allow users to upload a flat file to BW

    Hi All,
    For a planning application I would like to permit our users to upload a flat file on their local desktop to the infopackage and execute the load.
    We would like to empower the users to prepare and upload their flat files into BW from their desktop without asking for BW support.
    Please let me know if any of you have followed this approach.
    Thanks
    Karen

    Hi,
    The possible steps..
    1. Create a small program and then give
    Selection Screen:
    FIle name : -
    Note: Ask users give always same file name i.e. xyz.csv
    Once user will give file name and execute it then file will save in Application Server (You fix the path like  /usr/sap/BI1/DVEBMGS00/work, you create seperate folder in Application server)
    2. Create a small Program with is using Events..
    REPORT  ZTEST_EV.
    DATA: EVENTID LIKE TBTCJOB-EVENTID.
    DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
          EVENTID = 'ZEVENT1'.
          EVENTPARM = 'ZEVENTPARAM'.
    CALL FUNCTION 'RSSM_EVENT_RAISE'
              EXPORTING
                I_EVENTID                         = EVENTID
                I_EVENTPARM                  = EVENTPARM
              EXCEPTIONS
               BAD_EVENTID                            = 1
               EVENTID_DOES_NOT_EXIST       = 2
               EVENTID_MISSING                     = 3
               RAISE_FAILED                           = 4
               OTHERS                                    = 5
            IF SY-SUBRC <> 0.
                     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
    3. Once user will upload the file in Step 1, then he need to run this Program,.
    4. You craetea Process Chain using this Event, then once User will run this program then the Data Loads will happen through Process Chain.
    Note: Eventhough this is lengthy process, it is protected 100%, because we are not giving any access to User, we just given reports/programs to execute.
    Thanks
    Reddy
    Thanks
    Reddy

  • Allow users to change images

    Hello,
    A firm I work for is looking to create a pdf registration form template for our employees to complet and hand-in to us.
    The form should have text boxes & image boxes.
    The text and image boxes should be editable by the users.
    Does anyone have an idea on how-to replicate this? Or have an existing template we can use?
    Thank you,

    Image Fields are editiable. Users can choose & upload an image (e.g their photo) and submit the form to LiveCycle.
    Please note that there are two fields available in the Object Library
         1. Image (not editable by users)
         2. Image Field (editable, bindable, changeable)
    You should use second field.
    Nith

Maybe you are looking for

  • Will macros in excel work properly if I switch Office 2013 32 bit to Office 2013 64 bit?

    hi, Will macros in excel created with Office 2013 32 bit work properly if i switch to Office Execl 2013 64 bit? Thanks

  • Imac G3 won't install Os or boot from cd/dvd

    Hi I have an imac G3 450 with DVD-rom currently running OS X 10.3.9 It has 576 megs of ram and a 20gig hard drive. I want to install Tiger but when the computer restarts it spits the disc out I have also tried to boot 10.3 from the CD and it does the

  • Working directly from time capsule

    Does any one have any experience working on files located on a Time Capsule through the ethernet connection? Especially with video software. We are adding a second work station to our small video company. A simple and cheap way for two people to have

  • How to get a windows 8 64 iso?

    Just got a brand new MSI GE60 laptop with Windows 8 64 pre-installed; does anyone know how to get an ISO of Windows??  I know about the MSI Burn Recovery stuff, but that simply makes an image of your entire system, not simply windows 8 . 

  • 'Embed system time as timecode' not accurate?

    It appears that the "system time" timecodes are not updated on every frame, even when 'Embed system time as timecode' is checked, and 'Frame Interval' is set to 1. The timecodes routinely latch onto a certain value, so that several timecodes in a row