Show multiple frames in a single SWFLoader

Hello,
I am loading a document contained in an .swf file, each page is in a single frame, to an SWFLoader. The SWFLoader shows a single frame at a time.
I would like to show multiple frames at once and be able to manipulate them together (scaling, positioning).
I know how to do it with a single frame easily, but is it possible with 2 or more frames?
Thank you in advance,
Mr Cartman.

A SWF can only show one frame at a time.

Similar Messages

  • How to show multiple messages for a single exception

    hi
    Please consider this example application created using JDeveloper 11.1.1.3.0
    at http://www.consideringred.com/files/oracle/2010/MultipleMessagesExceptionApp-v0.01.zip
    It has a class extending DCErrorHandlerImpl configured as ErrorHandlerClass in DataBindings.cpx .
    Running the page and entering a value starting with "err" will result in an exception being thrown and multiple messages shown.
    See the screencast at http://screencast.com/t/zOmEOzP4jmQ
    To get multiple messages for a single exception the MyDCErrorHandler class is implemented like
    public class MyDCErrorHandler
      extends DCErrorHandlerImpl
      public MyDCErrorHandler()
        super(true);
      @Override
      public void reportException(DCBindingContainer pDCBindingContainer,
        Exception pException)
        if (pException instanceof JboException)
          Throwable vCause = pException.getCause();
          if (vCause instanceof MyMultiMessageException)
            reportMyMultiMessageException(pDCBindingContainer,
              (MyMultiMessageException)vCause);
            return;
        super.reportException(pDCBindingContainer, pException);
      public void reportMyMultiMessageException(DCBindingContainer pDCBindingContainer,
        MyMultiMessageException pException)
        String vMessage = pException.getMessage();
        reportException(pDCBindingContainer, new Exception(vMessage));
        List<String> vMessages = pException.getMessages();
        for (String vOneMessage : vMessages)
          reportException(pDCBindingContainer, new Exception(vOneMessage));
    }I wonder if calling reportException() multiple times is really the way to go here?
    question:
    - (q1) What would be the preferred use of the DCErrorHandlerImpl API to show multiple messages for a single exception?
    many thanks
    Jan Vervecken

    fyi
    Looks like using MultipleMessagesExceptionApp-v0.01.zip in JDeveloper 11.1.1.2.0 (11.1.1.2.36.55.36) results in a different behaviour compared to when used in JDeveloper 11.1.1.3.0 (11.1.1.3.37.56.60)
    see http://www.consideringred.com/files/oracle/img/2010/MultipleMessages-111130versus111120.png
    When using JDeveloper 11.1.1.2.0 each exception seems to result in two messages where there is only one message (as intended/expected) per exception when using JDeveloper 11.1.1.3.0 .
    (Could be somehow related to the question in forum thread "multiple callbacks to DCErrorHandlerImpl".)
    But, question (q1) remains and is still about JDeveloper 11.1.1.3.0 .
    regards
    Jan

  • Autoflow multiple frames on a single page

    This seems like an easy question, but I can't get it to work.
    I have three text frames set up on a master page, linked 1->2, 2->3
    I want to autoflow a document through the three frames, adding pages as necessary to the end of the document.
    No matter which autoflow function I choose when placing a text document, InDesign fills two text frames and stops. It never fills the third frame on the page, and it doesn't add any pages.
    If I load the cursor from the second frame and try to autoflow into the third, it just fills the third frame and stops. I think this is because I've already modified the master by filling the first two frames - is that why I can't flow more than two frames to begin with?
    This in InDesign CS3 on a Mac, fwiw.
    Thanks,
    Ward

    WDadmin wrote:
    Exporting to .inx didn't fix the problem.
    I tried something else (based on one of your earlier comments): if I layout three WIDER text frames, and then autoflow the same document, it works (flows across all three frames and adds pages as needed). So there must be something with the spacing, line length, etc., of older Word files.
    Whatever the exact issue, though, I think the problem is solved - thank you!
    To recap: the issue seems to be that some older (i.e., Mac 2004) Word files do not import properly into InDesign CS3 when trying to autoflow placed text across multiple NARROW frames on a single page.
    The workaround is to save the Word file in a newer version. I'm not sure if exporting an RTF from Word Mac 2004 will solve the problem.
    Hey, everyone! Great detective work!
    (NOTE: I'm not hijacking this thread.)
    I'm working on something similar - it seems simple, yet elusive to narrow down to the minimum necessary to reproduce it reliably. It's not a bug. All the effort to find the irreducible minimum cause reported here is what struck a note for me.
    I'm wondering if anyone here who has a source file that fails in CS3, can test it in CS5. If it fails in CS5, it's kind of a bug, even though it seems dependent on the peculiarities of a rare file format from the past. Perhaps, it doesn't happen with every such file, only those with the long run of unhyphenated and unbreakable text that can't wrap and gets stuck at the thread's connection to the next frame. A super-niche bug.
    It might be worthwhile to test by exporting the Word Mac 2004 file to RTF, then placing it. Some of us with long memories - both a blessing and an irritation - might remember that there was at least one version of Word that couldn't open some of its own files that were saved to supposedly compatible non-Word file formats.
    If problem does persist in CS5, please report it as a bug.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Track changes showing multiple entries for a single change?

    Hi there .. I'm using Pages '09 v4.1 to edit MS Word '97 documents. I've been using the 'track changes' feature to work on chapters in a book and have done so with no problems so far (about 6 chapters so far in separate files). I went to start the next chapter and noticed that when I make a single change such as highlighting a word and making it italic, the tracking bubbles will show up as individual entries for every letter instead of for a single word. The really annoying thing is that it's not consistent .. some whole-word changes show up as a single entry, while some show as a few entries but don't necessarily correspond to how many letters are in the word being changed. When I try deleting specific tracking bubbles to see which part of the word they correspond to, it varies. For example, if I put the word "similar" in italics on page one, paragraph one, it shows up as 2 entries. When I delete the last entry, "imilar" will go back to standard font, while "s" stays italic until I delete the other entry. It's as though the words in the document are being recognized based on something other than the obvious, and certain letters are being grouped together in the program's brain, while others are separate.
    It's not isolated to italics, btw. If I reformat the entire document to be left-aligned instead of center-aligned, it will show lots of separate tracking bubbles in various places through the document, rather than showing one bubble for my single change.
    I've tried duplicating and saving a new version of the document, as well as creating a new doc and pasting everything into that and saving as a new doc, though I wasn't sure if this would carry over the problem .. It did.
    It's not the end of the world as far as finishing this job, but it's pretty annoying and will be worse for the person who ultimately verifies the changes I've made. Any help is greatly appreciated.

    TekWarrior wrote:
    I'm part of the end user computing and we are in the process of making a consolidated tnsnames.ora file as part of our migration from Windows XP to 7.
    The following two entries are to the same host, but are named different and use different ports, we can't locate the original programmer that set it up.
    I need to know if this would cause conflicts or not?
    PYRPROD.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(Host = [same hostname])(Port = 1521))
        (CONNECT_DATA =
          (SID = pyrp1)
    PYRP1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = [same hostname])(PORT = 1526))
        (CONNECT_DATA =
          (SERVICE_NAME = pyrp1)
    TekWarrior wrote:
    I'm part of the end user computing and we are in the process of making a consolidated tnsnames.ora file as part of our migration from Windows XP to 7.
    The following two entries are to the same host, but are named different and use different ports, we can't locate the original programmer that set it up.
    I need to know if this would cause conflicts or not?
    PYRPROD.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(Host = [same hostname])(Port = 1521))
        (CONNECT_DATA =
          (SID = pyrp1)
    PYRP1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = [same hostname])(PORT = 1526))
        (CONNECT_DATA =
          (SERVICE_NAME = pyrp1)
    It  won't cause any problem.

  • Premiere Elements 8 shows MULTIPLE FRAMES ON SAME CLIP AFTER RENDERING

    I  manually rendered clips on PRE8 on the time line.  When it finished I found multiple frames from the same clip on the sceneline.  Does anyone knows whether this is normal?

    Unfortunately, video from still cameras almost never works in Premiere Elements.
    The FAQs to the right of this forum offer suggestions for converting it to a more standard DV-AVI.
    http://forums.adobe.com/thread/415317?tstart=0

  • Showing Multiple Colors in a single Line series Chart

    Hi there,
    I need to show some High,Low and Normal datapoints with different colors on a single series chart
    I have to use line series.
    Can anyone help me with this, I not even sure if this is possible
    Please throw some light
    Thank you

    For the first variant.
    You have a LineSeries for all data.
    You manually divide your dataProvider for three providers: with low, hi and norm values. And Create additional PlotSeries for each part and set coloror what you want. So line will be shown by LineSeries and point will be shown and colored by PlotSerieses. Very simple variant but if you need to change the low and hi limits It's not so good. But if this limits are static and data is static it's very good.
    If data and limits are dinamic or you want to create more correct solution. It's not so difficult to create itemRenderer for LineSeries (there is a style property itemRenderer). Read about renderers in docs^ http://www.adobe.com/devnet/flex/quickstart/using_item_renderers/

  • Showing multiple Objects in a single row in Gantt Chart

    Hi,
    I am wokring on extending the cPro4.5 gantt chart.
    I have a tree hierarchy which I want to display on the Gantt Chart. But my need is to display all the children and its parent in single row i.e. in a new row bove the Poject row in the gantt tree (hierarchy shown on the left side) of existing chart.
    Is it possible with the Gantt chart?
    If yes, then where and how do I pass this information to the transformation I call in the end to convert the abap tables into XML file which is finally shown on the gantt.
    Kindly guide.
    Regards,
    Varun

    Hi Varum,
    Sorry but I think I don't understand your requirement. Do you need see on the left of your gantt project structure?
    Thanks,
    Sara

  • Does anyone know how to add multiple pictures to a single frame in iMovie?

    Does anyone know how to add multiple pictures to a single frame in iMovie?

    Maybe you would be better off posting this in the iPhoto or iDVD categories of the forums.
    http://discussions.apple.com/category.jspa?categoryID=143
    http://discussions.apple.com/category.jspa?categoryID=128
    The answer to your question depends on what you ant to do with the DVD.
    Do you want a DVD menu, slide show etc.
    iPhoto will allow you to burn straight to a DVD. Just select the album you want to burn then go to share in the tool bar and select Burn.

  • Fiori  web service  GetEntity single record show multiple times

    Hi Guys
    I have created Purchase Order GetEntity Web Service. In single Purchase order there are multiple Products. I have show that products in Line Item.
    In that line item a single records show multiple times.
    From Netweaver Geteway  GetEntity  service. I got data in below format.
        "d":
            "results":[
                    "__metadata":
                        "id":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "type":"ZHR_VF_RCV_SRV.PurchaseOrderItems",
                        "properties":{
                            "PurchaseOrderHeader":{
                                "associationuri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/$links/PurchaseOrderHeader"
                    "PoNumber":"4500000215",
                    "PoItem":"00010",
                    "PurMat":"H12",
                    "ShortText":"Trading Good,Reorder Point,Reg.Tr.",
                    "Unit":"EA",
                    "DispQuan":"20.000",
                    "PurchaseOrderHeader":{
                        "__deferred":{
                            "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/PurchaseOrderHeader"
                    "__metadata":{
                        "id":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "type":"ZHR_VF_RCV_SRV.PurchaseOrderItems",
                        "properties":{"PurchaseOrderHeader":{
                                "associationuri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/$links/PurchaseOrderHeader"
                    "PoNumber":"4500000215",
                    "PoItem":"00020",
                    "PurMat":"H11",
                    "ShortText":"Trading Good,PD,Reg.Trading",
                    "Unit":"EA",
                    "DispQuan":"20.000",
                    "PurchaseOrderHeader":{
                        "__deferred":{
                            "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/PurchaseOrderHeader"
                    "__metadata":{
                        "id":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')",
                        "type":"ZHR_VF_RCV_SRV.PurchaseOrderItems",
                        "properties":{
                            "PurchaseOrderHeader":{
                                "associationuri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/$links/PurchaseOrderHeader"
                    "PoNumber":"4500000215",
                    "PoItem":"00030",
                    "PurMat":"H21",
                    "ShortText":"Trading Good,Reorder Point,Batch-FIFO",
                    "Unit":"EA",
                    "DispQuan":"30.000",
                    "PurchaseOrderHeader":{
                        "__deferred":{
                            "uri":"http://<IP><PORT>/sap/opu/odata/sap/ZHR_VF_RCV_SRV/PurchaseOrderItems('4500000215')/PurchaseOrderHeader"
    any one please help me on that.
    Regards
    Pankaj Kamble
    [Removed by Moderator]
    Message was edited by: Michael Appleby

    Hi  RW
    I have created  NW web sevice used  'SEGW'. In that web service there are two Methods  (PurchaseOrders  &  PurchaseOrderItems )  with   two different BAPI.
    In both BAPI   "PoNumber"   is common & Primary Key.
    so please guide me. where should i set my key.
    Regards
    Pankaj Kamble

  • AE 2014 Render Multiple Frames Simultaneously issues

    This problem is two fold and I've experienced it for years.  Now I'm using a much faster system that is handicapped by not being able to use multiple cores.  I had hoped that by now this would just work.
    First, when using multiframe rendering AE often hangs attempting to initialize background processes.  As often as one RAM previews this can be quite a problem since it grinds all progress to a halt.  The solution is often restarting AE.  Checking Activity Monitor during this time shows that Adobe QT32 server is non-responsive and a whole line of the AE background rendering processes doing nothing.  I have not found a common element in projects that experience this issue, it can happen just with text on a solid. 
    Secondly, when using multiframe rendering an entire sequence can ram preview, but then disappear as soon as it finishes.  Often after this issue the first issue will pop-up. 
    A little about my setup:
    Late 2013 Mac Pro 8-Core
    64 GB Ram
    2x AMD FirePro D700
    OS X 10.9.4
    AE CC 2014 Updated to the latest patch
    Settings:
    52 GB RAM available for AE
    Render Multiple Frames Simultaneously - ON
    Only for Render Que - OFF
    RAM per CPU - 4 GB (problem persists when set to 6 GB)
    Until this feature actually works reliably I'll have to go back single frame rendering, which is a bit like owning a Ferrari and having a transmission stuck in first gear. 

    warning “RAM Preview needs 2 or more frames” after scrubbing audio in After Effects CC 2014 (13.0)

  • Data in the cube is showing multiple entries when compared with ODS

    Hello BW Gurus,
    We have a waste report in production planning on Cube and ODS separately. The same info package loads both targets (which means same infosource) but when we run a report on Cube, the records are showing multiple entries (i.e. Key Figures are not matching when compared to ODS) where as the ODS records are showing correctly as it was in R/3. There are totally 6 key figures out of which 4 pulled from R/3 and 2 are populated in BW.
    An Example:
    Waste report in PP run for plant 1000 for 12/2005 and process order 123456. The operational scrap should be 2.46% and the component scrap should be 3.00% for material 10000000. The report is showing 7.87% for planned operational waste % and 9.6% for planned component waste %. These values are not correct. The ODS values for order 123456 matched the data in R/3 for component and operational scrap.
    There is a Start routine to the ODS and also to the cube. I am not good at ABAP so requesting your Help.
    Here is the ODS Code:
    tables: /BI0/PPRODORDER.
    loop at data_package.
    select single COORD_TYPE
    PRODVERS
    into (/BI0/PPRODORDER-COORD_TYPE,
    /BI0/PPRODORDER-PRODVERS)
    from /BI0/PPRODORDER
    where PRODORDER = data_package-PRODORDER
    and OBJVERS = 'A'.
    if sy-subrc = 0.
    if /BI0/PPRODORDER-COORD_TYPE = 'XXXX'
    or /BI0/PPRODORDER-COORD_TYPE = 'YYYY'.
    data_package-PRODVERS = space.
    else.
    data_package-PRODVERS = /BI0/PPRODORDER-PRODVERS.
    endif.
    endif.
    if data_package-calday = space
    or data_package-calday = '00000000'.
    if data_package-TGTCONSQTY NE 0.
    data_package-calday = data_package-ACTRELDATE.
    endif.
    endif.
    modify data_package.
    endloop.
    Here is Cube Code:
    tables: /BI0/PPRODORDER,
    /BIC/ODS.
    TYPES:
    BEGIN OF ys_mat_unit,
    material TYPE /bi0/oimaterial,
    mat_unit TYPE /bi0/oimat_unit,
    numerator TYPE /bi0/oinumerator,
    denomintr TYPE /bi0/oidenomintr,
    END OF ys_mat_unit.
    DATA:
    l_s_mat_unit TYPE ys_mat_unit,
    e_factor type p decimals 5.
    loop at data_package.
    select single COORD_TYPE
    PRODVERS
    into (/BI0/PPRODORDER-COORD_TYPE,
    /BI0/PPRODORDER-PRODVERS)
    from /BI0/PPRODORDER
    where PRODORDER = data_package-PRODORDER
    and OBJVERS = 'A'.
    if sy-subrc = 0.
    if /BI0/PPRODORDER-COORD_TYPE = 'XXX'
    or /BI0/PPRODORDER-COORD_TYPE = 'YYY'.
    data_package-PRODVERS = space.
    else.
    data_package-PRODVERS = /BI0/PPRODORDER-PRODVERS.
    endif.
    endif.
    if data_package-calday = space
    or data_package-calday = '00000000'.
    if data_package-TGTCONSQTY NE 0.
    data_package-calday = data_package-ACTRELDATE.
    endif.
    endif.
    data_package-agsu = 'GSU'.
    data_package-agsu_qty = 0.
    select single gr_qty
    base_uom
    into (/BIC/ODS-gr_qty,
    /BIC/ODS-base_uom)
    from /BIC/ODS
    where prodorder = data_package-prodorder
    and material = data_package-material.
    if sy-subrc = 0.
    if /BIC/ODS-base_uom = 'GSU'.
    data_package-agsu_qty = /BIC/ODS-gr_qty.
    else.
    SELECT SINGLE * FROM /bi0/pmat_unit
    INTO CORRESPONDING FIELDS OF l_s_mat_unit
    WHERE material = data_package-material
    AND mat_unit = 'GSU'
    AND objvers = 'A'.
    IF sy-subrc = 0.
    IF l_s_mat_unit-denomintr <> 0.
    e_factor = l_s_mat_unit-denomintr /
    l_s_mat_unit-numerator.
    multiply /BIC/ODS-gr_qty by e_factor.
    data_package-agsu_qty = /BIC/ODS-gr_qty.
    ENDIF.
    else.
    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
    EXPORTING
    INPUT = /BIC/ODS-gr_qty
    NO_TYPE_CHECK = 'X'
    ROUND_SIGN = ' '
    UNIT_IN = /BIC/ODS-base_uom
    UNIT_OUT = 'GSU'
    IMPORTING
    OUTPUT = DATA_PACKAGE-gsu_qty
    EXCEPTIONS
    CONVERSION_NOT_FOUND = 1
    DIVISION_BY_ZERO = 2
    INPUT_INVALID = 3
    OUTPUT_INVALID = 4
    OVERFLOW = 5
    TYPE_INVALID = 6
    UNITS_MISSING = 7
    UNIT_IN_NOT_FOUND = 8
    UNIT_OUT_NOT_FOUND = 9
    OTHERS = 10.
    endif.
    endif.
    endif.
    modify data_package.
    endloop.
    some how the AGSU qyt is not populating in the cube and when I dbug the code, I could see a clean record in the internal table but not in the cube.
    your suggestion and solutions would be highly appreciated.
    thanks,
    Swathi.

    Hi Swathi
    In ODs we have option of overwriting and addition however in Cube we have only adition.Thats why you are getting multiple enteries.
    If you are running daily full load on the cube then please delete the earlier requests.
    So at one point of time there should be only one full load request in cube. Hope this will solve your problem.
    Regards,
    Monika

  • Multiple rows in a single row.

    I want to know how can I store the values of multiple rowe in a single row.for an example..
    machine name    manchine no  frequency   month
    Lathe                  MOO1          yearly         jan
    Lathe                  MOO1          halfyearly   feb
    Lathe                  MOO1         weekly       march and so on
    I want this in a single row..
    like                        jan       feb             march
    Lathe       M001   yearly     halfyearly   weekly.
    and in a single row I want this as per the month specified .
    In my report I have 12 months distribution for each machine.

    Taruna,
    Just make sure understand the scenario correctly. Would you like to store the row in DB like this:
    Lathe MOO1 yearly jan,feb,mar
    then you expect to show in the report like this:
    Lathe MOO1 yearly jan
    Lathe MOO1 yearly feb
    Lathe MOO1 yearly mar
    Yes, you can do it this way, but somehow break the 1st principle of DB schema design - Atomic
    Of course, you need to convert jan,feb,mar into list and display for each row.
    string monthStr = "jan,feb,mar";
    string [] months = monthStr.Split(",");
    Kind Regards
    -Yatsea

  • How do I insert multiple rows from a single form ...

    How do I insert multiple rows from a single form?
    This form is organised by a table. (just as in an excel format)
    I have 20 items on a form each row item has five field
    +++++++++++ FORM AREA+++++++++++++++++++++++++++++++++++++++++++++++++++++
    +Product| qty In | Qty Out | Balance | Date +
    +------------------------------------------------------------------------+
    +Item1 | textbox1 | textbox2 | textbox3 | date +
    + |value = $qty_in1|value= &qty_out1|value=$balance1|value=$date1 +
    +------------------------------------------------------------------------+
    +Item 2 | textbox1 | textbox2 | textbox4 | date +
    + |value = $qty_in2|value= $qty_out1|value=$balance2|value=$date2 +
    +------------------------------------------------------------------------+
    + Item3 | textbox1 | textbox2 | textbox3 | date +
    +------------------------------------------------------------------------+
    + contd | | | +
    +------------------------------------------------------------------------+
    + item20| | | | +
    +------------------------------------------------------------------------+
    + + + SUBMIT + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Database Structure
    +++++++++++++++++
    + Stock_tabe +
    +---------------+
    + refid +
    +---------------+
    + item +
    +---------------+
    + Qty In +
    +---------------+
    + Qty Out +
    +---------------+
    + Balance +
    +---------------+
    + Date +
    +++++++++++++++++
    Let's say for example user have to the use the form to enter all 10 items or few like 5 on their stock form into 4 different textbox field each lines of your form, however these items go into a "Stock_table" under Single insert transaction query when submit button is pressed.
    Please anyone help me out, on how to get this concept started.

    Hello,
    I have a way to do this, but it would take some hand coding on your part. If you feel comfortable hand writing php code and doing manual database calls, specificaly database INSERT calls you should be fine.
    Create a custom form using the ADDT Custom Form Wizard that has all the rows and fields you need. This may take a bit if you are adding the ability for up to 20 rows, as per your diagram of the form area. The nice thing about using ADDT to create the form is that you can setup the form validation at the same time. Leave the last step in the Custom Form Wizard blank. You can add a custom database call here, but I would leave it blank.
    Next, under ADDT's Forms Server Behaviors, select Custom Trigger. At the Basic tab, you enter your custom php code that will be executed. Here you are going to want to put your code that will check if a value has been entered in the form and then do a database INSERT operation on the Stock_table with that row. The advanced tab lets you set the order of operations and the name of the Custom Trigger. By default, it is set to AFTER. This means that the Custom Trigger will get executed AFTER the form data is processed by the Custom Form Transaction.
    I usually just enter TEST into the "Basic" tab of the Custom Trigger. Then set my order of operations in the "Advanced" tab and close the Custom Trigger. Then I go to the code view for that page in Dreamweaver and find the Custom Trigger function and edit the code manually. It's much easier this way because the Custom Trigger wizard does not show you formatting on the code, and you don't have to keep opening the Wizard to edit and test your code.
    Your going to have to have the Custom Trigger fuction do a test on the submitted form data. If data is present, then INSERT into database. Here's a basic example of what you need to do:
    In your code view, the Custom Trigger will look something like this:
    function Trigger_Custom(&$tNG) {
    if($tNG->getColumnValue("Item_1")) {
    $item1 = $tNG->getColumnValue("Item_1");
    $textbox1_1 = $tNG->getColumnValue("Textbox_1");
    $textbox1_2 = $tNG->getColumnValue("Textbox_2");
    $textbox1_3 = $tNG->getColumnValue("Textbox_3");
    $date1 = $tNG->getColumnValue("Textbox_3");
    $queryAdd = "INSERT INTO Stock_table
    (item, Qty_In, Qty_Out, Balance, Date) VALUES($item1, $textbox1_1, $textbox1_2, $textbox1_3, $date1)"
    $result = mysql_query($queryAdd) or die(mysql_error());
    This code checks to see if the form input field named Item_1 is set. If so, then get the rest of the values for the first item and insert them into the database. You would need to do this for each row in your form. So the if you let the customer add 20 rows, you would need to check 20 times to see if the data is there or write the code so that it stops once it encounters an empty Item field. To exit a Custom Trigger, you can return NULL; and it will jump out of the function. You can also throw custom error message out of triggers, but this post is already way to long to get into that.
    $tNG->getColumnValue("Item_1") is used to retrieve the value that was set by the form input field named Item_1. This field is named by the Custom Form Wizard when you create your form. You can see what all the input filed names are by looking in the code view for something like:
    // Add columns
    $customTransaction->addColumn("Item_1", "STRING_TYPE", "POST", "Item_1");
    There will be one for each field you created with the Custom Form Wizard.
    Unfortunately, I don't have an easy way to do what you need. Maybe there is a way, but since none of the experts have responded, I thought I would point you in a direction. You should read all you can about Custom Triggers in the ADDT documentation/help pdf to give you more detailed information about how Custom Triggers work.
    Hope this helps.
    Shane

  • Can't print a photo multiple times on a single page

    I just installed iLife 8 and am trying to print one 3X5 photo multiple times on a single page. When I consulted the help menu in iPhoto, I found what I thought was the answer. When I followed the instructions, I hit a snag because I don't have the Photos Per Page pop-up menu it references. Any ideas on how I can do this to save paper?
    Here's what the help menu said:
    Printing one photo multiple times on a single page
    If you have a favorite photo you want to share with many people, you can print multiple copies of that photo on a single page.
    To print one photo multiple times on a single page
    Select the photo you want to print.
    Click the Print button.
    Select the paper size (such as letter-size or legal-size).
    Select the print size (such as 2 x 3 or 4 x 6).
    If you want to make the photo a custom size, select Custom.
    Click the Customize button.
    Click the Settings button.
    Select “Multiple of the same photo per page” from the Photos Per Page pop-up menu.
    iPhoto will zoom and crop the photo to fit the space available. To make a photo appear full-frame, Control-click the photo and choose “Fit Photo to Frame Size” from the menu that appears.
    Click OK.
    Click Print.

    Well don't I feel stupid! I just installed iLife '08 and assumed that it would tell me right away if I needed any updates. I found and installed the needed updates (7.1.1), I got the right settings drop down menu to print multiples on one page. Thanks for your help

  • Scan multiple pages into a single PDF document?

    How can i scan multiple pages into a single multipage PDF file?
    I've seen similar questions posted, but I haven't found any good answers. The only advice i saw was to scan each page as a separate PDF document, then merge them into a single PDF using third-party software.
    Obviously, i don't want to have to do that.
    I can't believe that there really is no way to do it using the existing HP print/scan utilities provided with the hardware.
    My printer/scanner is the "HP Photosmart 5514 e-All-in-One Printer - B111h", and i'm running Vista (64-bit) on an HP Pavillion notebook.
    This question was solved.
    View Solution.

    Hi,
    From the HP Scan software (Start > Programs > HP > HP Photosmart 5510 Series > HP Scan) select PDF and ensure the resolution is 300 DPI or lower.
    Ensure the Show Scan Preview option is checked and click on Scan.
    Once scanning the first page completes, place the next page on the glass and click the plus button below the scan preview...
    Once you are done click on Save.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for