Loading a Poster to a Movie Annotation

Hi,
I'm trying to add a poster to my movie annotation because when it initially loads before playing, it is a blank rectangle.
So, I thought of creating a PDF with an image of the first frame of the movie to be displayed as a poster. However, this doesn't work. Is it posible to load a poster to this type of annotation or is there a better way of doing this?
Thanks,
Kristy

Hi Leonard,
The problem is I've created a poster [Ie: PDF] and created a loadPoster function that creates an XObject and adds the poster to the page. I used this procedure to place a poster for my 3D annotation, but for some reason, it doesn't seem to work for the movie annotation.
Heres my code which loads my Poster:
// Global definitions
bool gbUseExternalPosterFile = true;
// input poster file
#ifdef PLUGIN // code for Acrobat plugin. full path.
#if WIN_PLATFORM
char* posterPath = "C:/tmp/input/ImagePoster.pdf";
#else
char* posterPath = "/tmp/input/ImagePoster.pdf";
#endif
#else // PDFL SDK
char* posterPath = "ImagePoster.pdf";
#endif
// Load Poster Function
void loadImagePoster (PDDoc pdDoc, PDAnnot newAnnot)
DURING
CosObj formXObject;
if(gbUseExternalPosterFile == true)
// Form XObject generated from an external image PDF file
formXObject = GetFormXObjectFromFileByConversion(posterPath, pdDoc);
else
// using the internal PDF Form XObject, we get form XObject through watermark generation.
formXObject = GetFormXObjectFromFileByWatermark("", pdDoc);
// Specify the poster as appearance for the movie annotation
if (!CosObjEqual(formXObject, CosNewNull()))
CosObj cosAnnot = PDAnnotGetCosObj(newAnnot);
CosDoc cosDoc = CosObjGetDoc(cosAnnot);
CosObj apprDict = CosNewDict(cosDoc, false, 1);
// Set the stream object (now a Forms XObject) as the normal (N) key
// and add to the Appearance (AP) key.
CosDictPutKeyString(apprDict, "N", formXObject);
CosDictPutKeyString(apprDict, "D", formXObject);
CosDictPutKeyString(cosAnnot, "AP", apprDict);
HANDLER
char buf[256];
AVAlertNote(ASGetErrorString(ERRORCODE, buf, 255));
END_HANDLER
Then where I create my movie annotation and set its contents, I call the poster function. [The exact same procedure I used to load my 3D Annotation Poster] Only in this case, it does not work.
Please, any help would be great.
Im just wondering if I need to add an entry called "Poster" when setting up my movie annotation and set up my stream [which is my poster] to be loaded...
Ex:
// Key = Poster, Value = true [boolean]
CosDictPutKeyString(dictMovie, "Poster", CosNewBoolean(cosDoc, false, true));

Similar Messages

  • Unable to load washington post, invalid url

    unable to load Washington Post website. Get invalid URL message

    This one? http://www.washingtonpost.com/
    That's valid as can be seen from the image I've uploaded for you.

  • How to load a jpg into my movie ???

    I want to load an image stored on my pc into my swf file. i
    know that i can use the loadMovie() method. but i didnt know how to
    enter the url of the target file. For example i have the file in
    the following directory - C:\Documents and Settings\Admin\My
    Documents\image.jpg - how can i load this file into my movie ???
    and THANX...

    aha, ok now i have a problem in duplicating nested movie
    clips. like if i have made a movieclip using the code (lets name it
    OUTSIDE) and another one inside(lets name it INSIDE) it, when i
    duplicate the movieclip OUTSIDE the INSIDE one doesnt exist in the
    new copy. i think the reason is something related to the depth but
    i'm not sure where is the problem. here is an example:
    this.createEmptyMovieClip("line",this.getNextHighestDepth());
    line.createEmptyMovieClip("lineIn",this.getNextHighestDepth());
    line.lineIn.lineStyle(10);
    line.lineIn.lineTo(100,100);
    line.duplicateMovieClip("line2",this.getNextHighestDepth());
    line2._x = 150;
    when i duplicate the the movieclip (line), the movieclip
    (lineIn) doesnt exist inside the new copy which is (line2)

  • Firefox 3.6.28 on Mac OSX 10.4.11 crashes at every attempt to load Huffington Post

    Firefox 3.6.28 on Mac OSX 10.4.11 crashes a few seconds into trying to load Huffington Post - no problems anywhere else on the net. Cannot afford new computer with current software. Can I make it work with what I have? Thanks for the info.

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Cmd+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    Firefox > Preferences > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
    Tools > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    If you open about:crashes, you should get links to online crash reports. You could post some of the crash IDs for review by volunteers here.
    Given the timing, another issue might be some ads or media in the page. There are some add-ons to block such things...

  • Posting with MM Movement Type 309 material to material: Error in WM

    Hello,
    i post an MM-Movement type (Bewegungsart) 309 (material to material).
    The MM-goods movement works, but then in warehouse mangagement there is a problem:
    The creation of the transfer order (Transportauftrag) stops in many cases.
    The aim is to post Material A to the same storage bin in Warehouse Management where Material B was before.
    I programmed this in user-exit (ZXLToU03) that by movement type 309, always taking same storage bin. But then I often get the error: transfer order could not be created. Then I have to do the creation of tranfer order in foreground and then I get an error like this:
    capacity of the bin location is not enough.
    The Problem is that I do a posting for example:
    001 010101                   to     922 Umbuchungzone    -->  Transfer order Pos 1
    922 Umbuchungszone  to    001 010101                    --> Transfer order Pos 2.
    And so the first transfer order position is not confirmed when I do the transfer order Pos 2.
    How can I confirm Pos 1 by batch-input? The Programm to do 309 should posting 1000 materials in one step. But in Warehouse management I get those problems?
    Is it possible to increase the capacitiy of the storage bin and then decrease it after creation of transfer order(where can I do this and when)???
    I hope anybody can help me.
    Thanks.

    Hello Kevin,
    I donu2019t think it is necessary to use a user exit to keep the Material B (that is transferred from Material A) in the same bin.
    This can be controlled in the customizing: indicator Post to same bin, that can be set in the WM Movement type (V_T333-KZUAP) and in the Storage type (V_T3010-KZUAP).
    Now I donu2019t know your business process but I am surprised that Material B requires more space than Material A since it is u2018bornu2019 by means of a transfer posting and not a production or packing step that makes it bigger in terms of capacity required.
    A workaround for this could be to transfer (LT10) Material A first to a separate Storage type (with the Post to same bin-flag set) that has no Capacity check and after the 309 posting transfer it back into the warehouse with LT10.
    Success and thanks beforehand for any credits!
    Kind regards,
    Bart

  • I edit movies onMac OS X using Final Cut Express and down load to desk top in .mov format. How do I load finished movie to i pad 2? i tunes will not transfer it.

    I edit movies onMac OS X using Final Cut Express and down load to desk top in .mov format. How do I load finished movie to i pad 2? i tunes will not transfer it. Thanks, stevefromnorthfreo

    Try outputting it as a MP4 or M4V
    If Final Cut won't output it, Mpegstreamclip will convert it. So will Quicktime if you have the pro version.

  • Where to configure which stock type to post in a movement type?

    Hi,
    As we know , when we carry out a posting with a movement type, e.g. mvt. typ. 261, system will automatically post to unrestricted-use stock. And if mvt.typ. 331, system will post to QI stock.
    I'd like to ask where to configure movement type to let it know which kind of stock type(not special stock, like E,K,etc.) to post.
    i.e. if I create a new mvt. typ. , where can i set it to post to unrestricted-use , QI or Blocked stock?
    I can find T156M-BUSTM and T156M-ZUSTD are relevant to stock type posting, but i don't know where to connect these fields to movement types.
    Thanks in advance!
    Wesley

    Hi,
    Normally there will be two types of  moments available broadly.Material inflow and material outflow moments.During outflows we tell the system to take the stocks from which stock type and storage location and during inflows we tell to post to which stock type and sorage location.
    The moment type 261 is a issue against an order and which has always to be from unrestricted .
    and 331 is to issue towards stock to Quality inspection.
    During inflows we can tell to the system through material master,vendor,or purchasing document to get posted to which stock.
    For outflows system always takes from unrestricted and issues and if there is no stock in the storage location unrestricted , system provides a error message.
    But however you can create a moment type at SPROMMIMMoment typescreate (OMJJ).
    Regards,

  • Creating a Movie Annotation Plug-in

    Hi,
    I'm trying to create a plug-in that creates a pdf and embeds a movie annotation into the pdf.
    The only problem i'm having is locating the correct path to the file.
    File Location-> C:/tmp/Surgery.avi
    I've tried passing in the file specification as a string via
    1) "C:/tmp/Surgery.avi"
    2) "C:\\/tmp\\/Surgery.avi"
    But none of them seem to be locating the correct movie file. I read about protecting the file path using back slashes in the PDF Reference documentation.
    My plug-in creates the pdf and begins to set up the cos object properly but cannot find the correct path ... When I run my plug-in in Acrobat 3D, a window appears saying "C:/tmp/Surgery.avi cannot be found. Would you like to choose a replacement file?"
    If someone could help me out, I would greatly appreciate it.
    Thanks,
    Kristy
    Below is my source code to setup my Cos Object
    // Create Dictionary and set its Key as "Movie" in the annot dictionary
    CosObj dictMovie = CosNewDict ( cosDoc, true, DICTIONARY_SIZE );
    CosDictPutKeyString ( cosAnnot, "Movie", dictMovie );
    // Entries in a movie dictionary
    // Key = subtype, value = Movie
    CosDictPutKeyString(dictMovie, "Subtype", CosNewName(cosDoc, false, ASAtomFromString("Movie")));
    // Key = T [Movie Title]
    CosDictPutKeyString(dictMovie, "T", CosNewString(cosDoc, false, "Movie Annotation", DICTIONARY_SIZE));
    // Key = F [File Specification], Value = movieFileName
    CosDictPutKeyString(dictMovie, "F", CosNewString(cosDoc, false, "C:/tmp/Surgery.avi", DICTIONARY_SIZE));
    // Movie Action
    CosDictPutKeyString(dictMovie, "S", CosNewName(cosDoc, false, ASAtomFromString("Movie")));
    CosDictPutKeyString(dictMovie, "Operation", CosNewName(cosDoc, false, ASAtomFromString("Play")));

    Hi
    I just tried "C:\\tmp\\Surgery.avi" and for some reason I got the exact same error. "C:\tmp\Sur" Cannot be found..."
    But, I suddenly recognized why I was getting that error. It was b/c I had my DICTIONARY_SIZE set to 10 -> Which only takes the first 10 characters of the path :)
    So, in case anyone else has this issue, make sure you specify the correct file path as well as
    // Key = F [File Specification], Value = movieFileName
    #define DICTIONARY_SIZE 30
    CosDictPutKeyString(dictMovie, "F", CosNewString(cosDoc, false, "/C/tmp/Surgery.avi", DICTIONARY_SIZE));
    Thanks PDL for your help!!! :)

  • BORGR 649 error message while posting with 105 mov type

    Hi Gurus,
    I faced a problem when I try to post with 105 mov type, when material doc is related to Inbound delivery.
    Explained better:
    I did a purchase order with inbound delivery confirmation.
    I carried out Good Receipt (related to Inb delievery) with mov type 103 (blocked stock from PO)
    When I try to post stock with 105 mov type, the following error appear:
    "Movement type 105 not allowed as it is not assigned to item category"
    Msg ID: BORGR
    Msg no: 649
    I already checked delivery item category configuration, movement types involved and transactions allowed for each mov types.
    Take care that the error mentioned doesn't occur if posting is related directly to purchase order, instead of inbound delivery..
    Thanks in advance
    Regards
    Ale

    Hi Sandra_PF
    in the inbound delivery the mov type is not 105, but 101 (correct, it's the default value for Inb delivery)
    With transaction MIGO I do 2 different operations (in 2 different moments):
    1°) Good Receipt referred to Inbound delivery (103 mov type - Blocked stock from PO)
    2°) Stock posting with 105 mov type, to transfer stock from Blocked to Unrestricted
    Here the system notice me that is not possible, because the mov type 105 is not assigned to the delivery inboud category.
    Please note that we did the same thing in another system with the same configuration, without any problems..
    Cheers,
    Ale

  • I loaded a film, made the movie now how do I export it to a dvd?, I loaded a film, made the movie now how do I export it to a dvd?

    I loaded a film, made a movie, now how do
    i get it to a dvd?

    hi
    I made a video using i movie
    I exported it to the camera roll (about 3 gb)
    worked great
    but then I exported it to my pc using simple transfer (I couldn't find the option to sync it with itunes)
    but the zipped file won't open
    do you happen to know why?is it the size?
    I created videos with imovie before and they exported just fine
    please help:)
    marta

  • I'm trying to update my iPhone 4s to iOS 7.1.2 and it just froze on the screen with the apple and the loading bar, it won't move and it's been like 45 minutes PLEASE HELP!

    I'm trying to update my iPhone 4s to iOS 7.1.2 and it just froze on the screen with the apple and the loading bar, it won't move and it's been like 45 minutes PLEASE HELP!

    iOS updates can take a while, try back in an hour or so. My iPad took half an hour for an incremental update. And that was on a fast home WiFi.

  • Post with 561 movement type without affecting MAP

    Hi all,
    I have a scenario for Raw Material with Moving Average Price.
    When posting inventory with movement type 561 we are able to enter the Amount in LC.  I have set the value here as 0.01 but once I post the document the Moving Average Price in MM03 changes with respect to this value.
    I would like to ask is there any way to book stock into inventory without affecting the Moving Average Price.
    Thanks.

    >
    jamison2004 jordan2004 wrote:
    > Hi,
    >
    > Sorry, let me elaborate my requirement.
    >
    > For example :
    > Current Moving Average Price is 1.5
    > Current Inventory Quantity is 1000
    > Current Inventory Value = 1.5 x 1000 = 1500
    >
    > Requirement :
    > Posting excess stock using 561
    > Receipt Quantity : 500
    >
    > After posting, I want the Moving Average Price to remain as 1.5
    >
    > Can you please tell me the solution for this?
    >
    > Thanks
    Do not enter any external value, just post the quantity, and SAP will not change the MAP.
    But of course your stock value will increase by 500 x 1,5
    there is NO WAY to post a quantity of 500 with no value   for a valuated stock managed material and keeping the MAP uneffected.
    if you post with value,  then the MAP keeps constant but your total stock value goes up.
    if you post with zero value, then the MAP goes down.
    OF course you can then change the MAP again with MR21, this will create the next accounting document then.

  • My iMac won't get past the loading screen, it has a little loading bar which won't move

    I had the finder and Safari windows open. Safari was on youtube then it froze so I shut it down. It turned back on once to get to the login screen but then froze once again. Know it only turns on the apple loading screen with a little loading bar which won't move.

    Please carefully read and methodically follow the instructions in http://support.apple.com/kb/ts2570.
    Good luck.

  • Load external jpeg into flash movie

    Hi, how do i load external jpeg into flash movie?
    Can someone show me the actionscript? Thanks

    hi, i pasted the code on a mc but it didn't work.
    However, when i put in on frame action, it works.
    However, i realised the image flickered (more like refreshed)
    after afew sec...
    Is this normal? Is it the loop problem? how do i get rid of
    that?

  • How 2 get rid of movie annotation 'title' using automator

    I have a bunch of home movies (.mov) which I want to transfer to my iPhone. They all have been named properly. Now when I import them to iTunes the file names appear as 'Original'. Upon viewing the movie properties in QT I came to know the my Nikkon cam has set an annotation 'Title' as "Original" for all movies recorded in it.
    So I fired up the automator and found there is an action called "set movie annotations" and i tried to use it but it has no option to set the Title. Previously, with Get a Mac ads also there was a similar problem which i resolved by selecting 'Full name' annotation and passing all my .mov ads to it. Then on opening with QT the title bar showed the file name I had set and so was the case with the name in iTunes.
    There are like more than 100 home videos and there ought to be a way to get rid of 'Title' or alteast change it to the name of the file itself.
    any help?
    thanks.
    Neerav Kothari
    Message was edited by: AceNeerav

    anyone?

Maybe you are looking for