Help with XML and video

im creating a site that uses xml...right now the images are
in a carousel affect, and when you click on one of them, the rest
disappear and the one you click slides to the left and some text
appears (all from XML doc). Instead of the text showing up, i want
to pull in either quicktime or .flv movies where the text is now.
ill give AS and XML..if you need any more info, please ask.. Thanks
anyone/everyone
Here is AS:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var numOfItem:Number = new Number();
var radiusX:Number = new Number();
var radiusY:Number = new Number();
var centerX:Number = new Number();
var centerY:Number = new Number();
var speed:Number = new Number();
var perspective:Number = new Number();
var home:MovieClip = new MovieClip();
home = this;
//numOfItem = 12;
radiusX = 400;
radiusY = 75;
centerX = Stage.width/2;
centerY = (Stage.height/3);
speed = 0.045;
perspective = 120;
theText._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function() {
var nodes = this.firstChild.childNodes;
numOfItem = nodes.length;
for(var i=0; i<numOfItem; i++) {
var t = home.attachMovie("logo", "logo"+i, i+1);
t.angle = i * ((Math.PI*2)/numOfItem);
t.onEnterFrame = mover;
t.toolText = nodes
.attributes.tooltip;
t.content = nodes.attributes.content;
t.icon.inner.loadMovie(nodes
.attributes.image);
t.ref.inner.loadMovie(nodes.attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
xml.load("image/icons.xml");
function over() {
home.tooltip.test_txt.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this, moveTip);
home.tooltip._alpha = 100;
function out() {
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
function moveTip() {
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
function released() {
home.tooltip._alpha = 0;
trace(home.tooltip.test_txt.text);
for(var i=0; i<numOfItem; i++) {
var t:MovieClip = home["logo"+i];
t.xPos = t._x;
t.yPos = t._y;
t.theScale = t._xscale;
delete t.icon.onRollOver;
delete t.icon.onRollOut;
delete t.icon.onRelease;
delete t.onEnterFrame;
if(t != this._parent) {
var tw:Tween = new Tween(t, "_xscale",
Strong.easeOut,t._xscale, 0, 1, true);
var tw2:Tween = new Tween(t, "_yscale",
Strong.easeOut,t._yscale, 0, 1, true);
var tw3:Tween = new Tween(t, "_alpha", Strong.easeOut,100,
0, 1, true);
} else {
var tw:Tween = new Tween(t, "_xscale",
Strong.easeOut,t._xscale, 100, 1, true);
var tw2:Tween = new Tween(t, "_yscale",
Strong.easeOut,t._yscale, 100, 1, true);
var tw3:Tween = new Tween(t, "_x", Strong.easeOut,t._x, 100,
1, true);
var tw4:Tween = new Tween(t, "_y", Strong.easeOut,t._y, 320,
1, true);
var tw5:Tween = new Tween(theText, "_alpha", Strong.easeOut,
0, 100, 1, true);
theText.text = t.content;
var s:Object = this;
tw.onMotionStopped = function() {
s.onRelease = unReleased;
function unReleased() {
delete this.onRelease;
var tw:Tween = new Tween(theText, "_alpha",
Strong.easeOut,100, 0, .5, true);
for(var i=0; i<numOfItem; i++) {
var t:MovieClip = home["logo"+i];
if(t != this._parent) {
var tw:Tween = new Tween(t, "_xscale", Strong.easeOut,0,
t.theScale, 1, true);
var tw2:Tween = new Tween(t, "_yscale", Strong.easeOut,0,
t.theScale, 1, true);
var tw3:Tween = new Tween(t, "_alpha", Strong.easeOut,0,
100, 1, true);
} else {
var tw:Tween = new Tween(t, "_xscale", Strong.easeOut,100,
t.theScale, 1, true);
var tw2:Tween = new Tween(t, "_yscale", Strong.easeOut,100,
t.theScale, 1, true);
var tw3:Tween = new Tween(t, "_x", Strong.easeOut,t._x,
t.xPos, 1, true);
var tw4:Tween = new Tween(t, "_y", Strong.easeOut,t._y,
t.yPos, 1, true);
tw.onMotionStopped = function() {
for(var i=0; i<numOfItem; i++) {
var t:MovieClip = home["logo"+i];
t.icon.onRollOver = Delegate.create(t.icon,over);
t.icon.onRollOut = Delegate.create(t.icon,out);
t.icon.onRelease = Delegate.create(t.icon,released);
t.onEnterFrame = mover;
function mover() {
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s:Number = new Number();
s = (this._y-perspective)/(centerY+radiusY-perspective);
this._xscale = this._yscale = s*100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale)+100);
this.onMouseMove = function() {
speed = (this._xmouse-centerX)/7500;
Here is XML:
<?xml version="1.0"?>
<icons>
<icon image="image/Dunne_Lexan.png" content="
I put the text here"/>
<icon image="image/Eley,-Howard_Lexan.png"/>
<icon image="image/Gagne_Lexan.png"/>
<icon image="image/Hackney_Lexan.png"/>
<icon image="image/Hastings_Lexan.png"/>
<icon image="image/Klee,-Randall_Lexan.png"/>
<icon image="image/Rasmussen_Lexan.png" />
<icon image="image/Snyder,-Chris_Lexan.png"/>
<icon image="image/Steckle,-Larry_Lexan.png" />
<icon image="image/Torres,-Jack_Lexan.png"/>
<icon image="image/Crumley_Lexan.png" />
<icon image="image/Chung_Lexan.png"/>
<icon image="image/Buckles_Lexan.png"/>
<icon image="image/Buchholz_lexan.png"/>
<icon image="image/Brooks_Lexan.png"/>
<icon image="image/Beall_Lexan.png"/>
<icon image="image/Bailey_Lexan.png"/>
<icon image="image/Anderson,-Bill_Lexan.png"/>
<icon image="image/Alexander,-Lyn_Lexan.png"/>
</icons>

nevermind i got it. but if someone can help me figure out how
to make it pull up the correct swf when the image is clicked, id
appreciate it

Similar Messages

  • Please help with audio and video not syncing.

    I'm using Encore 3, and have already authored a DVD a month ago without a glitch. The following are the same steps I used, but this time around, the video and audio in Encore are not syncing.
    Here's what I've done.
    1) I export my Final Cut projects to .mov using the following settings (Share > Master File).
    Format: Video and Audio
    Video codec: H.264
    Resolution: 1920x1080
    Audio file format: Quicktime Movie (AAC)
    Include chapter markers: Unchecked
    Roles as: Quicktime Movie
    2) I run the .mov file in Compressor using the "Disc Burning" preset.
    3) I then import the .ac3 and .m2v files that Compressor created into Encore.
    4) In Encore, I select both files and go to New > Timeline.
    In the Timeline window, the durations on both are the same. But I don't understand why the audio and video are not synced when I preview or when I burn a test DVD. The audio comes in just a tad late.
    Video Clip:
    Source In: 00;00;00;00
    Duration: 00;02;33;29
    In-Point: 00;00;00;00
    Out-Point: 00;02;33;29
    Audio Clip:
    Source In: 00;00;00;00
    Duration: 00;02;34;00
    In-Point: 00;00;00;00
    Out-Point: 00;02;34;00
    What's puzzling is that two of the 10 videos I've import to Encore are synced perfectly -- same export settings from FCP, same settings Compressor.
    Please help.
    Thanks!
    Mark

    Hi Mark.
    Do you have any situations where there is more than one video file in a timeline?
    Secondly - why are you using H264 HD files for a DVD? This is using lossy compression to make the H264, which is in turn then scaled & even further bitrate reduced for M2V.
    I would give it a try rendering an SD video file for use in Encore - not the H264 - and starting out with Dolby Digital or LPCM audio, not AAC.
    As with all DVD authoring programs, Encore works best with DVD compliant assets - which you are most definitely using - but I still think you are over-complicating things by using H264/AAC at all.
    Eliminating this may help.

  • Help with xml and getNextHighestDepth

    I have a thumbnail gallery that is called in with xml- On
    stage is a movieClip that covers the entire thumbnail area with the
    alpha set to 0. what I'm trying to do is onRelease- have that mc
    brought to the front and it's alpha state tween to 100- i've not
    much experience using 'getNextHighestDepth' so I'm assuming
    something is wrong here... if anyone can help I'd really appreciate
    it!
    Thanks!

    i think you want something along the lines of :
    stageFade_mc.swapDepths(theMovieOnTopAtTheMoment);
    Note that only dynamically created movies have depths. So if
    either of the movieclips in question are just sitting in your
    timeline you cant swap their depths.
    In that case you either need to duplicateMovieClip() or just
    set things _visible property where apropriate.
    good luck
    jon

  • Help with XML and Oracle 8i

    Hi Oracle XML Team,
    I really need to understand clearly about how 8i supports XML.
    Please help to answer the following questions quickly.
    1) Using the available components such as XML SQL utilities, XML
    Class gen, Parser and the Servlet. Can I use all this to develop
    an application to retrieve, store and query XML doc in 8i (do I
    need any components such as intermedia)?
    2) The licensing scheme for all the above 4 four components
    stated that it is not for commercial use? But what if I need to
    deploy my application soon ? Is there a separate licensing
    scheme for deployment?
    3) I am using 8i standard edition now, if I would to use
    iFS/intermedia....do I need to get the Enterprise Edition?
    Please help me. Thank you very much
    Sam
    null

    i think you want something along the lines of :
    stageFade_mc.swapDepths(theMovieOnTopAtTheMoment);
    Note that only dynamically created movies have depths. So if
    either of the movieclips in question are just sitting in your
    timeline you cant swap their depths.
    In that case you either need to duplicateMovieClip() or just
    set things _visible property where apropriate.
    good luck
    jon

  • Need help with xml and combo boxes

    Basically what im doing is a ui for a electronic book.
    The book is broken into 3 parts and each part has its own set
    of chapters.
    My xml schema is pasted below.
    And what i would like is to have two comboBoxes .
    The first one would list the names of the parts available,
    ie.. Part I, Part II, Part III.
    the Second one would list the chapters avalable under that
    part. For example, If Part i, is sected then the secodn combo box
    would list chapter 1-5, while if the second part is selected, the
    second combo box would list chapters 6-10.
    Im using flash 8 pro, and the xmlconnector and comboboxes.
    Maybe there is an easier way. PLEASE HALLP! This is driving me
    nuts.
    XML Schema:

    Hi
    I have just done this for another guy in this forum, I can
    send you an example using UI Components - 3 Comboboxes each shows
    the sub-options of its parent, one more than what you want. The
    secret is in the construct of the XML file and how this creates the
    correct Schema for binding.
    Post me an email address and I can send you the files.

  • Help with timecode and video freeze during Print to Video

    This has happened twice in last couple months. Timeline is usually around 22 - 23 minutes. At some point during playback to HDV deck using Print to Video via FireWire, the timecode freezes and so does the video for approx. 2-3 seconds, then resumes on 2-3 seconds later in the timeline. Everything is still in perfect sync. Playing back the timeline on computer reveals nothing. Please, does anyone have any suggestions at all??

    You should be mixing down the audio before you record to tape, try that if you haven't done it first...
    If that fails, export a self contained QuickTime movie, then see if it doesn't print to video or edit to tape better.
    Use the fastest drive you have for the QT movie's playback, and it should be something other than your startup disk.
    Jerry

  • Need help with XML response to refresh document with context and prompts

    I've been working with the Restful api for a few weeks now and have been able to figure out most of what I need to automate testing of our reports. However, one task that I have not been able to figure out is how to refresh a document that contains both a context and two prompts for dates.
    Here is what I have tried, and what the API responds with.
    1) I queried the API for this document's parameters using the following call after logging in -
    headers = {:accept=>'application/xml', :content_type=>'application/xml', :x_sap_logontoken=>@token}
    url = "http://our.url.net:6405/biprws/raylight/v1/documents/12345/parameters"
    RestClient.get(url, headers)
    The response from the API is:
    <parameters>
        <parameter dpId="DP0" type="context" optional="false">
            <id>0</id>
            <technicalName>cQuery 1</technicalName>
            <name>Select a context</name>
            <answer type="Text" constrained="true">
                <info cardinality="Single">
                    <lov partial="false">
                        <values>
                            <value id="CTX_1">LOAN</value>
                            <value id="CTX_9">LOAN_APPLICATION</value>
                        </values>
                    </lov>
                    <values>
                        <value id="CTX_1">LOAN</value>
                        <value id="CTX_9">LOAN_APPLICATION</value>
                    </values>
                    <previous>
                        <value id="CTX_9">LOAN_APPLICATION</value>
                    </previous>
                </info>
                <values>
                    <value id="CTX_9">LOAN_APPLICATION</value>
                </values>
            </answer>
        </parameter>
    </parameters>
    2) This tells me I need to supply a context, so I then replace my RestClient.get call with a RestClient.put call with the following payload:
    <parameters>
         <parameter>
                <id>0</id>
                <answer>
                      <values>
                            <value id=\"CTX_9\"/>
                      </values>
                </answer>
          </parameter>
    </parameters>
    3) This satisfies the context portion of the refresh. The API replies with the following response, telling me I need to answer two prompts -
    <parameters>
         <parameter dpId=\"DP0\" type=\"prompt\" optional=\"false\">
              <id>1</id>
              <technicalName>psEnter value(s) for Start Date of Application Received Date</technicalName>
              <name>Enter value(s) for Start Date of Application Received Date</name>
               <answer type=\"DateTime\" constrained=\"false\">\
                    <info cardinality=\"Single\"/>
               </answer>
         </parameter>
         <parameter dpId=\"DP0\" type=\"prompt\" optional=\"false\">
                <id>2</id>
                <technicalName>psEnter value for End Date of Application Received Date</technicalName>
                <name>Enter value for End Date of Application Received Date</name>\
                <answer type=\"DateTime\" constrained=\"false\">
                    <info cardinality=\"Single\"/>
                </answer>
          </parameter>
    </parameters>
    4) Here is where I am having problems. I have tried all kinds of permutations of the below payload/response body. All I ever get from the API is a 400 - BadResponse error.
    <parameters>
         <parameter>
              <id>0</id>
              <answer>
                   <values>
                        <value id=\"CTX_9\"/>
                   </values>
              </answer>
         </parameter>
    </parameters>
    <parameters>
         <parameter type=\"prompt\">
              <id > 1 </ id>
              <answer type=\"DateTime\">
                   <values>
                        <value>2012-06-11T09:50:54.000-04:00</value>
                   </values>
               </answer>
         </parameter>
         <parameter type=\"prompt\">
               <id > 2 </ id>
               <answer type=\"DateTime\">
                    <values>
                         <value>2014-07-11T09:50:54.967-04:00</value>
                    </values>
               </answer>
         </parameter>
    </parameters>
    I am not very good with XML and the terminology around it, and I haven't received much training around using the Restful API other than the SDK documentation. I have a feeling there is something very basic that Im missing here. What is the correct XML needed in the response body to properly refresh the document?

    If you are more confortable with JSON, Raylight supports it as well.
    Best regards,
    Anthony

  • I need help with XML Gallery Fade in out transition. somebody please help me :(

    I need help with XML Gallery Fade in out transition. somebody please help me
    I have my post dont want to duplicate it

    The problem doesn't lie with your feed, although it does contain an error - you have given a non-existent sub-category. You need to stick to the categories and sub-categories listed here:
    http://www.apple.com/itunes/podcasts/specs.html#categories
    Subscribing to your feed from the iTunes Store page work as such, but the episodes throw up an error message. The problem lies with your episode media files: you are trying to stream them. Pasting the URL into a browser produces a download (where it should play the file) of a small file which does not play and in fact is a text file containing (in the case of ep.2) this:
    [Reference]
    Ref1=http://stream.riverratdoc.com/RiverratDoc/episode2.mp3?MSWMExt=.asf
    Ref2=http://70.33.177.247:80/RiverratDoc/episode2.mp3?MSWMExt=.asf
    You must provide a direct link to the actual mp3 file. Streaming won't work. The test is that if you paste the URL of the media file (as given in the feed) into the address bar of a browser it should play the file.

  • Working with XML and Button

    Hi,
    How are all of you. Well I am new to Flex. But I have started
    building simple applications. One of the top most problem I am
    facing is working with XML and Button. Can you please assist me in
    this. I am explaining my problem:
    I have an external XML file like this:
    <Menu>
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    <button>
    <idnt>1</idnt>
    <label>Mental Health</label>
    <text>Mental Health pages is currently under
    construction</text>
    </button>
    </Menu>
    Now I want to generate Buttons Dynamically from this XML. And
    the second thing which is the most problematic is that how I code
    it so that when I press the Button labled "General Health", it will
    show the same text as in the XML tag coresponding to tag
    "<label>General Health</label>" ?
    I badly need this. I am realy confused on this. Kindly help
    me.
    Regards
    ..::DeX

    Let's assume that variable "node" contains one element of the
    XML. For example,
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    such that node.label would be "General Health", node.idnt
    would be 0, etc.
    You can build a Button like this:
    var b:Button = new Button();
    b.label = node.label;
    b.data = node; // more on this later
    b.width = 60;
    b.height = 26;
    addChild(b); // critical - adds the button to the display
    list so you can see it
    b.addEventHandler( MouseEvent.CLICK, handleClick );
    You must set the button's width and height unless the button
    will be in a container that will size its own children (like Tile).
    Every Flex component has a data property. You can set it to
    whatever you like. For your needs it makes sense to set each
    Button's data property to the node it relates to.
    Now suppose that code above is in a function, createButton:
    private function createButton( node:XML ) : void {
    // code from above
    Here's how to make all the buttons where "menu" is a variable
    that contains your XML:
    for(var k:int=0; k < menu.button; k++) { // menu.button is
    an XMLList
    createButton( menu.button[k] );
    Now to handle the event:
    private function handleEvent( event:MouseEvent ) : void
    var b:Button = event.currentTarget as Button;
    trace( b.data.text);
    When a button is picked, the description element will print
    in the debug console. Replace the trace with whatever code you
    need.

  • How is the best way to export my project with clips and videos?

    I would like to save my project and export the project with clips and videos included. What is the best way to do it?

    Can you clarify:
    clips and video
    Seems as though you want to retain the original media?
    Export as a Master File to get a good quality export file of your Timeline.
    Al

  • Help with writing and retrieving data from a table field with type "LCHR"

    Hi Experts,
    I need help with writing and reading data from a database table field which has a type of "LCHR". I have given an example of the original code but don't know what to change it to in order to fix it and still read in the original data that's stored in the LCHR field.
    Basically we have two Function modules, one that saves list data to a database table and one that reads in this data. Both Function modules have an identicle table which has an array of fields from type INT4, CHAR, and type P. The INT4 field is the first one.
    Incidentally this worked in the 4.7 non-unicode system but is now dumping in the new ECC6 Unicode system.
    Thanks in advance,
    C
    SAVING THE LIST DATA TO DB
    DATA: L_WA(800).
    LOOP AT T_TAB into L_WA.
    ZDBTAB-DATALEN = STRLEN( L_WA ).
    MOVE: L_WA to ZDBTAB-RAWDATA.
    ZDBTAB-LINENUM = SY-TABIX.
    INSERT ZDBTAB.
    READING THE DATA FROM DB
    DATA: BEGIN OF T_DATA,
                 SEQNR type ZDBTAB-LINENUM,
                 DATA type ZDBTAB-RAWDATA,
               END OF T_TAB.
    Select the data.
    SELECT linenum rawdata from ZDBTAB into table T_DATA
         WHERE repid = w_repname
         AND rundate = w_rundate
         ORDER BY linenum.
    Populate calling Internal Table.
    LOOP AT T-DATA.
    APPEND T_DATA to T_TAB.
    ENDLOOP.

    Hi Anuj,
    The unicode flag is active.
    When I run our report and then to try and save the list data a dump is happening at the following point
    LOOP AT T_TAB into L_WA.
    As I say, T_TAB consists of different fields and field types whereas L_WA is CHAR 800. The dump mentions UC_OBJECTS_NOT_CONVERTIBLE
    When I try to load a saved list the dump is happening at the following point
    APPEND T_DATA-RAWDATA to T_TAB.
    T_DATA-RAWDATA is type LCHR and T_TAB consists of different fields and field types.
    In both examples the dumps mention UC_OBJECTS_NOT_CONVERTIBLE
    Regards
    C

  • PO output with XML and PDF format

    Hi All,
    I need PO output with XML and PDF format. when I give print it shld go to vendor with xml and pdf format through mail. please kindly guide me on this .
    Thanks in advance
    JK

    hi,
    try this code to get in pdf form
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
                                                        " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 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.
    t_otf[] = t_otf_from_fm-otfdata[].
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 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.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    reward points if useful,
    siri

  • Does anyone have a sticky iPhone since upgrading to ios8? Scrolling is rough in iTunes (horizontal album covers) and on the iPad it's much worse with photo and video albums! iPhone5s and iPad3 retina displays.

    Does anyone have a sticky iPhone since upgrading to ios8? Scrolling is rough in iTunes (horizontal album covers) and on the iPad it's much worse with photo and video albums! iPhone5s and iPad3 retina displays.

    Lots and lots of questions
    The new Photos app in OS X should address much of this - it greatly simplifies syncing stuff across machines. Apple has details on it up here:
    https://www.apple.com/osx/photos-preview/
    It says "coming this spring" and a pre-release version has already been made available to developer testers.

  • I want to deployment WSUS for our company. So I need step by step guide line with screenshot and video link

    I want to deployment WSUS for our company. So I need step by step guide line with screenshot and video link.
    Thanks,
    Qamrul

    I was more interested in writing a script in PowerShell to automatically deny Itanium server updates.
    Would you happen to know a good article on this?
    I believe this topic has been discussed in this forum, so I'd start by searching the forum.
    Beyond that, your best friend in PowerShell script efforts is going to be CodePlex. There may be one posted there, already written.
    As a technical reference, you'll need to be familiar with the WSUS API, and the
    Software Development Kit is available on MSDN.
    You can definitely do this with PowerShell. (I actually do it with a feature of SolarWinds Patch Manager which does it via an API call.)
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Guidance with XML and templates

    I am currently saving metadata in separate xml files, each of which pertains to a particular image.
    (They all resemble the sample XML file above, but with different data, and possibly empty values
    in some fields). Currently, no fields are required (but may be in the future).
    I am now trying to define a template for the xml files...However, I am a novice with XML and am
    having trouble creating a template and its constraints.
    I would like the template to:
    - Impose an order on the metadata fields, so when I read it in, I can get the appropriate field
    at the appropriate time.
    - Validate that the type of data entered into those fields are correct.
    - If no xml file exists for that image, I will be able to pull in the field names (in order)
    into my program, and create a GUI with the field names and no data
    - If an xml file does exists for that image, I will be able to pull in the field names (in order)
    into my program, and create a GUI with the field names and the data in the xml file
    I'm assuming that this template would have to be read in each time a user requests to see the
    information associated with an image.
    SAMPLE XML FILE
    <?xml version="1.0" encoding="UTF-8"?>
    <Image>
    <metadata>
      <Miscellaneous>Here is more Jibberish to fill space</Miscellaneous>
      <Photographer>Mayor McCheese</Photographer>
      <Date>Sat, Sep 22, 1922</Date>
      <Project>44an5</Project>
      <Supervisor>Colonel Sanders</Supervisor>
      <Location>The Moon</Location>
    </metadata>
    </Image>/*
    I'm assuming the template would take on a form similar to below...
    "order" would be the order that they would be placed into the GUI.
    "type" would be the type of data allowed in that field (string, int, long, date, etc...)
    in this case 'long' is Oracles definition of long and not Javas.
    SAMPLE TEMPLATE
    <Image>
    <metadata>
      <Project order=0 type=String></Project>
      <Date order=1 type=Date></Date>
      <Photographer order=2 type=String></Photographer>
      <Supervisor order=3 type=String></Supervisor>
      <Miscellaneous order=4 type=Long></Miscellaneous>
      <Location order=5 type=String></Location>
    </metadata>
    </Image>Can anyone guide me in the right direction or offer some hints?
    Thanks,
    Dustpan

    bump?

Maybe you are looking for