Publishing the 'button' widget using the source file

Hi everyone!
I want to use Captivate 5's 'button' widget, but wanted to change the design of the buttons. The source file I found was located at: Adobe Captivate 5/Gallery/Widgets/Source/ButtonsWidget/Button.fla
The problem is, when I try to publish this source, I get an error that says "/Applications/Adobe Captivate 5/Gallery/Widgets/Source/ButtonsWidget/comp/transformTool/TransformTool.as, Line 1314    Warning: 3553: Function value used where type Boolean was expected.  Possibly the parentheses () are missing after this function reference."
What does this mean? Does anyone know how to publish this widget correctly? Please help!
Thanks.
Best regards,
~edlearner

If you are on Windows you can just create a message in Outlook Express, then save it as a .eml file. This is just a plain text file in MIME format. (You can probably do the same from most simple email client apps... except Outlook).
To load this in to a Javamail object, you will still need a Session (which in-turn means you need an SMTP Server, although the server just has to be a valid IP belonging to a computer which is network accessible). I typically use the com.sun.mail.smtp.SMTPMessage for simple SMTPMessage operations. You can load this from you .eml file like this:
FileInputStream fileSource = new FileInputStream(yourEMLFile);
Session session = Session.getInstance(null, null);
SMTPMessage message = new SMTPMessage(session, fileSource);Or if you want to use the javax.mail.internet.MimeMessage class just use this instead. It has the same session/stream constructor

Similar Messages

  • Windows Easy Transfer (WET) Issues with External Hard Drive - "Can't read from the source file or disk"

    I work for Office Depot, in the tech department. Basically, one of our associates was supposed to do a data backup, and re-install Windows 7, then transfer the files back. He used Windows Easy Transfer and compacted everything into a 163 GB file. 
    Now comes the hard part. When we try to put it back on his computer ((drag-and-drop to the desktop) which has been wiped back to factory settings using the recovery partition), it stops at 79.5 GB remaining (you know how it doesn't give you a % of completion,
    it just shows how many GB are remaining) and then says "Can't read from the source file or disk" and gives you an option to try again, or cancel. It gets hung up on the same point each time.
    Normally, this wouldn't be a huge issue, but the contents on the drive are his wife's architect blueprints and interior design stuff, along with wedding photos, etc, which are the only copies they have. On top of those, they have court documents and other
    important files that we are unable to access now.
    I wasn't involved with this transfer, so I'm trying to clean up the mess as best I can. I remembered that the customer's wife was Russian, and had some files typed with a Russian keyboard, so on and so forth. I wonder if that's the issue? If not, I really
    have no idea how to manually extract things from a ".mig" file, or how to diagnose what area is potentially corrupted.
    In light of this situation, we tried using "Recuva" to recover the files post-wipe, but everything was corrupted or unable to be opened, and it also extracted and recovered all of the "useless" photos, such as the skype logos, up and
    down arrows for browsers, etc (it was 160,000+ photos).
    Trying to avoid a potential lawsuit, unhappy customer, and costing the company lots of money to see if professionals can get into this external hard drive.
    Other relevant information:
    We used a Toshiba 500 GB (465 GB) external hard drive.
    Customer's computer is an HP Pavilion P6000 Series (Model No. p6520y) running Windows 7 Home Premium 64-bit Service Pack 1.
    Any other information that is needed can be provided, thanks in advance, and hopefully we can find a solution to this issue quickly!
    -John

    I think there's a lack of understanding somewhere.
    "If you even can't start the process, please unplug it from your new PC. Then head back to your new computer and plug
    the external drive back in to your new computer. "
    Unplug from new, head back to new, plug it back in? That doesn't make much sense! Haha.
    I knew what you meant though, somewhat. When I search through the drives after clicking yes (Has windows easy transfer
    already saved your files blah blah blah) I click on the transfer file and it says "Windows Easy Transfer could not open the file".
    Rather than drag-and-drop the file to the desktop, I now tried to double-click on the file itself while it was plugged
    into the computer. It opened, and it started transferring until it was about 70% completed, and then an error popped up saying "WET can't open the easy transfer file, make sure your USB device is plugged in or check your internet connection". 
    I checked, and the USB hard drive's light wasn't on. Now, I unplug it and plug it back in, and the light comes back on,
    so I click Retry, and it resets the bar back to nothing and says "Transfer time: 1 minute".
    Rather than continue trying, I clicked "Cancel" instead of Retry, and it says "Your transfer did not complete successfully."
    It says to click "view report" for more information, but there's no "view report button".
    At the moment, I am scanning the External Drive for bad sectors using the check disk tool in properties. It's frozen
    at "0 USN bytes processed".

  • How do I save PDF files by default to the folder of the source file?

    How do I save PDF files by default to the folder of the source file with Acrobat 9.0.0 Standard?

    I am not seeing that behaviour. If I right-click a link to a .pdf file, I get the file saved with the original filename.
    Maybe one of the settings in about:config controls that?
    pdfjs.previousHandler.preferredAction is a setting that has a value of 4 with my setup. I have no idea what that means, and I could not find any explanation anywhere. You could try using different numbers for that value and see if any make any difference. Why has nobody bothered to explain that setting anywhere?

  • How can I change the source file so it is direct from external hard drive?

    I am trying to make a movie on imovie of a snowboarding trip that I went on, there is around 80 to 100 gig of mp4 movies that will not fit on my computer that I have stored on my external harddrive. I had the movie half finished then found I could do no more as I had no space left in my mac. I had to delete everything and start again but I'm not doing this until I can find a way of changing the source file so I can take them direct from my external hard drive as to not use up all my computers available space. I have moved imovie to my external hard drive but it still tries to read from a movie file on my mac, how can I change that so it will read from a source file on my external hard drive, is it possible?? Can someone help me??

    Hi Bengt, Thanks for your input, much appreciated.
    I have a WD 1TIG hard drive and are using usb connection, is it possible to use fire wire with these? I have had trouble with a lot of the videos I Imported, once they downloaded the file in the viewer window showed up blank and when I mouse over them it places a picture of another file in the window and wont drag and drop into the movie window, like their corrupted or something? Had to delete just about all of them and start again. Also is it possible to select a bunch of videos in the viewer window as to change the dates to the correct dates? All I have been able to do is "select all" which is no help.

  • How do I stream purchased movies to my Macbook Pro if I've already downloaded them and moved the source files to an external desktop hard drive and I'm away from home?

    I recently added a number of movies to my iTunes library by redeeming digital copeis that came with Blu-rays. Due to limted disc space on my MacBook Pro, and for safe keeping, once I downloaded the movies, I moved the source files to an external desktop hard drive. When I'm home and I'm able to access that external HD via my home network, I'm able to watch the movies without an issue. However, if I'm away from home and I want to watch them, I'm not sure how to do that. I thought I could "stream" purchased movies from within iTunes  - even after downloading them - using "iTunes in the Cloud" but can't figure out how to do that, or it simply isn't possible.
    What are my options?

    I understand that I can't play my downloaded movies when my external HDD is not connected becuase iTunes is looking for the downloaded files. This is not the issue. The issue is that because my HDD is not connected (as in when I'm away from home) I'd like to be able to stream the movies via the cloud.
    If I hadn't downloaded the movies when I redeemed my codes, would I have been able to keep the movies online via Apple iCloud and watched them anytime by streaming them or must the movies be downloaded in order to be viewed on my MacBook?  I read that Apple allows movies purchased (or redeemed) via iTunes to be stored in the cloud via Apple iCloud so that they can be viewed any time, on any device.  IF this is the case, how does it work? From what I can see, it looks like movies can only be "streamed" from the cloud when useing Apple TV; on my iPhone and MacBook Pro, it looks like they need to be downloaded in order to be viewed.
    Can someone clarify this for me?
    Also - Michael - when you said that If I've already downloaded the film but I'm away from my external HDD I should "Delete the entry from the iTunes library so iTunes only sees the iTunes in the Cloud version", what exactly would this mean? Would this mean that I could then stream the movie from the cloud or would I have to re-download it to my Mac's internal HDD in order to watch it?
    Many thanks!

  • How do I relink my video files when the source files are located in an AVCHD folder structure?

    I am using FCP X 10.1.1 and I was completely done with editing a simple multicam video for a choir track and when I was exporting it it failed. I re-opened FCPX and found that there are several missing files, when I had just been working with them just a second ago! I know about relinking video files, but when I try to locate the source files (knowing where they are), the browser will not let me select ACHD file contents to get at the video files. Also, I cannot open the Library file for my project either.
    Here is a snap shot:

    If it comes down to it, use clip wrap to carve your .mov files out of the SD. I am confused tho - if you were originally able to import all you needed and still have the original media ? Why can't you do it again to add other clips? To "get in" to your Library, control click on it>show paskage... but do NOT MOVE anything only copy.
      Perhaps soeone else can shed light on this?

  • Where does Lightroom put HDR in the grid view? Is there anyway to have Lightroom stack the HDR file with the source files?

    I can't decipher where (and why) the program is putting the HDR image in the grid. I stack all of my HDR source images so they are easy to track and manage. Other apps/plugins allow you to stack resulting images with their source image. That would be great if there's a way to set that in LR preferences.

    Thanks, but this doesn't really answer the question about stacking the HDR file with the source files. Yes, it does put the file in the same folder, however many of my folders have 100s of images (that often look similar) and as far as I can tell, LR places them randomly in the sort order. It doesn't appear to put them at the beginning or end of the sort (usually by date), but somewhere randomly in the middle. Even if it could be made clear what method it is using to sort them, that would help locate one file among hundreds.
    Ideally, however it should allow you to stack with the stacked source files. Is there anyway to do this? If not, is it a feature that could be requested?

  • Could not be saved because the source file could not be read.

    I tried to download and after a while, this error message: ''[filename] could not be saved because the source file could not be read.'' I've been on google searching but I could not find the answer can someone PLEASE help me. it happened when downloading a game and I've already seen a few times before but it was less important.
    sorry for the bad english I used a translator.

    This problem isn't only happening with Firefox 4, for windows, as the System Details, and Tags indicate.
    I'm using a Mac laptop (OS X 10.5.8 -- Leopard), using Firefox 6, and have been having this problem with large files for quite a while ... possibly since FF 4, but definitely with FF 5. The large files I've had the problem with are in the 500 - 900 MB range, and from commercial sites as well as most recently with a zip file containing photos from a friend which he uploaded to dl.dropbox.com ... attempted it numerous times, after trying the various suggested "fixes", and each time at around 255 MB, the download quits, with the error that file cannot be read from the server.
    The various proposed solutions I've found on the web -- resetting the user configured options connected to downloads in FF config (about:config); deleting the compreg.dat file in the FF profile folder, don't pause the download (never have done this) etc.
    Others have opined that the problem is flaky intermittent WiFi, or Security/Anti Virus software interfering with FF's accessibility to the file during the download; or a caching problem at one's ISP -- HOWEVER Safari doesn't experience this problem at all. Each time that I've experienced it in FF, I launch Safari, and can download the file completely without any errors.
    Would really like to see someone from Mozilla respond to this ... lots of us are experiencing it.
    Whatever happened to Netscape's ability to recover from download interruptions and resume a download at the point where it had been interrupted (like when a dial up modem dropped the line in the middle of the download) -- sure would be useful to see that feature come back in FF.
    Thanks,
    Muiz

  • I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read"

    I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read". I am able to open pdf files in IE and other programs.

    I am encountering the same problem -- though with .qfx files from my bank. This worked fine in Firefox 31 ESR, but since upgrading to Firefox 33.0, I get the "<name>.qfx.part could not be saved, because the source file could not be read" when I attempt to download. (I should add that downloading PDF statements from the same site works fine, and that the qfx downloads work fine in IE and Chrome.)
    I tried safe mode, it is still broken. Tried v34 beta, no luck. I reverted to version 31, it works again.
    I guess I will stick with the older version until a solution is found...or just use an alternate browser to download my financial data.

  • How to edit the source file of a PDF form?

    Hi,
    I used a Word doc as a base to create a PDF form and have added many fields to it using Adobe X Pro.
    Now, i have to change some of the text in the Word doc. Therefore I would like to change the Word. doc and reupload it as the source file for the form.
    How can I do this?
    thanks in advance!
    regards, Laurie

    After updating the Word file create a new PDF from it. Open the old one (with the fields) and use the Replace Pages command to replace the pages of the old file with those from the new one. This will keep the fields in tact and you'll have a version with the new pages and the old fields.

  • UDF to capture the source file name or the source folder for mapping

    Hi All,
    i have 2 files -  File1 from File2 from 2 different folders- single comm channel FTP (FCC). i have to pass a constant A and B respectively to a field in target structure.
    my options are -
    either create a new field in source str populating different constants and  then map to the target str
    or a udf to get the source file name or the source folder so that i can map the constant using the value mapping/FixValue mapping.
    please suggest. thanks.
    rajib

    Hi,
    please use the UDF to determine the file name. Then based on file name either pass A or B to your target field.
    The code is as given below. Just tweak the code to pass either A or B as per your requirement.
    public String G_GetFileName(Container container) throws StreamTransformationException{
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Regards,
    Deepak.

  • Folio Builder: An error has occurred opening the source file for the article layout.

    I have been working on a Folio. When I sat down to work on my folio, I was instructed by indesign to update my Folio producer tools, which I did.
    Since then I can no longer view any article layout from that folio in indesign. Indeed any folio that I create that does not reside on my desktop give the same problem. I can import articles, add articles and they all upload to the proper place at adobe and I can view them. But I simply cannot open them up through folio builder as I previously.
    The exact error message is as below:
    An error has occurred opening the source file for the article layout.
    The InDesign file for the layout cannot be found.
    Another strange thing that seems to be happening is that the folio will randomly reoder the articles in the folio.
    I have dumped my indesign prefs, tried creating an entirely new project, made a new account and even reinstalled the entire software.
    But the problem of opening an article that I have imported or added to a folio, simply not being found to open has got me stumped. I can't proceed with a major project until I can sort this out.
    Can anyone help.
    Many thanks
    Steve
    The problem initially seemed very similar to the one linked below, but I dont get the content generation error
    http://forums.adobe.com/thread/901804?decorator=print&displayFullThread=true

    Questions about the Adobe Digital Publishing Suite should be posted in the DPS Forum.
    http://forums.adobe.com/community/dps

  • How to SQL*loader to skip some columns from the source file?

    I am using oracle9i sqlldr to load some .csv files into db.
    If I want to skip the first two columns in the source file, can I do that?
    If yes, how should I specify it in the ctl file?
    Thanks
    Wendy

    Hello Dave,
    Here is a sample of what you'll need to have in your control fileLOAD DATA
    APPEND
    INTO TABLE <target_table>
    FIELDS TERMINATED BY ','
    ( column_1  FILLER
    , column_2
    , column_3
    , column_4  FILLER
    )Hope this helps,
    Luke

  • Accessing comapny code from the source file name

    Hi,
    Iam doing FILE –FILE to scenario.
    My source file name is XXXX237061606.txt. (XXXX is company code)
    My requirement is …
    Based on company code from the source file name; I need to send the file to the corresponding receiver.
    How to retrieve the company code from the source file name?
    Thanks,
    Hem.

    hem chand wrote:>
    > Hi Varun,
    >
    > Could u please provide me detailed procedure to get the company code.
    >
    > Reg,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    This will get you the File name...TRuncate it to extract company code...
    Then have a mapping program with the receivers message type which is persent under SAP BASIS component....
    There map to the required receiver by getting the file name above..
    Create an int mapping for the above mapping and use that in ur enhanced recv determination

  • How do I map the source file name to a target table?

    I am mapping a source fixed length flat file to oracle target tables. One of the tables is a parent transaction table that stores the date, record number, status, etc. and the file name of the source flat file. The file name will change daily because the date is part of the naming convention. Is there an easy way to determine the source file name and map it?
    One option a co-worker is working on is writing a pre-mapping stored procedure. It would insert the file name into a table prior to the mapping. But I was hoping for a cleaner solution.
    Thanks!

    Hi
    Use extarnel table to load the data from the file into the table.
    Create a procedure which changes the external table definition as the filename chnages.
    Use this proceudre in the mapping as a premapping process.
    Ott Karesz
    http://www.trendo-kft.hu

Maybe you are looking for