MATRIX record in swf & compounding transforms

After reading over the Flash 10 file spec I want to play a bit with transformational matricies.
If you have multiple MATRIX records in an SWF do the transforms compound each other?
Or is the matrix a complete replacement of the previous matrix?
Does flash operate similar to Postscript with gsave grestore like operators which allow the transformational matrics to be saved & restored?
Just looking to understand the mechanism in detail.
Thanks,
Mike M

After solving the problem a few weeks back I thought I would answer my own question for the benifit of others out there...
Transformation matricies in flash must be supplied with each object that is placed. (PlaceObject2)
Unlike postscript documents there is no storage of the current transformational matrix on the flash side.
(I suppose I expected too much from flash!)
As a developer you need to maintain your own matrix stack and push and pop a matrix as necessary for your needs.
Mike M.

Similar Messages

  • Move DeltaX in style change record in swf file format

    Hi
    can anybody suggest that MoveDeltaX field in
    StyleChangeRecords of swf file format is a absolute value or a
    relative value?
    Document says its a relative! But what I observed by a sample
    file created by macromedia flash publisher is absolute!!
    If i need to scale a shape,Do I need to scale the
    MoveDeltaX...as we are doing for DeltaX and DeltaY of
    StraightEdgeRecord.
    thankyou.

    Hi ,
    Thx for replies , i followed as shown in above blog and went fine but there is mapping error as shown below,
    xml format after pick by sender file adapter
      <?xml version="1.0" encoding="utf-8" ?>
      <MT_DMS_FINAL>
      <Record>
      <Row>
      <FirstName>296501_000_00</FirstName>
      </Row>
      </Record>
      </MT_DMS_FINAL>
    xml file format from test tab in Message mapping
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_DMS_FINAL>
       <Record>
          <Row>
             <FirstName>296501_000_00</FirstName>
          </Row>
       </Record>
    </MT_DMS_FINAL>
    See above xml first statment is different , how to make it equal
    Help
    Srini

  • Video Recording Slide - SWF Playing Randomly

    Hi We are making a training containing just video recorded slides. The training is for users who are new visitors to a website. SO all slides are video recorded and separate audio files are embedded on each slide.
    However, when we publish a SWF + HTML (our standard publishing practice) - we get three playable files in the folder i.e. one SWF and two firefox HTML files (XYZ firefox HTML document and the other XYZ_fs Firefox HTML document).
    However, on playing these files the published video is playing randomly.  Sometimes, the video would get stuck at the first slide with the audio continuing normally.  In some cases, the scrolling doesnt happen (has been done in the recording)
    What could be the problem?

    Ok great - I'll check the preferences.
    I actually found a sort of semi-solution to my orginal problem. I found that if I insert a recording slide (as opposed to recording a demo and then inserting the mp4) that this forces the progress bar to reflect the length of the slide (which is also the length of the video) so this is a pretty good workaround.
    The only problem now is that if someone clicks a slide title in the table of contents, it goes to that slide, plays through but then automatically jumps to the next slide and that video starts. I found that if I choose "Pause" on the "On enter" action then that will work, however it means that they have to manually click the play button when they get to the slide they want to go to.
    So just as a final question, is there a way to pause the slide at the end of the video?

  • Testing for unique records in a compound Primary Key table

    I have a table with 2 fields being primary keys. I want to write a sql script to check if there are duplicates.
    Here is what I have but not sure if this is working right. I have table with millions of records.
    SELECT COUNT(CASE WHEN A.AUNQ >1  THEN 1 ELSE NULL END)
    FROM
    SELECT (List_Cd + Account_Key) PK_ListAcc, COUNT(List_Cd) AUNQ
    FROM RAW_AML_LISTEDACCNTS_JUN GROUP BY List_Cd, Account_Key HAVING (COUNT(List_Cd) >1))
     A;
    Can someone help?
    thanks

    Yes, I agree. I am doing data profiling and testing all these tables. I am expecting that the results show me zero, however, if there were any problems with the settings, then I should get something. I think that the subquery is needed because if I used
    what you suggested above I will get the following:
    List_CD    Account_Key
    1                    a
    2                    b
    3                    c
    3                    C
    1                    a
    1                    a
    the results will be:
    List_CD    Account_Key    CountOFAccount_Key
    1                    a                       
    3
    3                    C                       
    2
    I now need to count that query results to get the total which should be 2
    do you agree? I am just trying to confirm that the sql script I listed will give me this result correctly.

  • Generat additional records in the startroutine of a transformation

    Dear "Gurus", I have the following chalange:
    the records arriving into the transformation are structured like this
    20080515 ; 20080721 ; 300'000.-    -> from  date ;    to date ;   total amount
    but what I need is a record for each single day with the corresponding part of the amount, but: only working-day have to be counted (= 20080515 - 20080721 = 48 Working days)!!
    the result should look like this:
    20080515 ; 300'000.- / 48 = 6' 250.-
    20080516 ; 6'250.-
    20080517 ; 6'250.-
    20080518 ; 6'250.-
    20080519 ; 6'250.-
    20080721; 6'250.-
    ... and now instead of the incoming record all the result records have to be proceeded trough the transformation - but how?? Does anybody have an example (once I have an example I how to "send back" more than a single record to the source_package I should be able to handle the rest ...)????
    Thanks for your help in advance!
    regards
    oliver

    Hi Oliver,
    You will need to use an 'Expert Routine'.
    Example:
        FIELD-SYMBOLS:
          <SOURCE_FIELDS>    TYPE tys_SC_1.
        DATA:
          RESULT_FIELDS      TYPE tys_TG_1.
    $$ begin of routine - insert your code only below this line        -
    DATA: L_SOURCE_PACKAGE TYPE tys_sc_1,
        l_mzfacul TYPE /bic/mzfacul.
        LOOP AT SOURCE_PACKAGE INTO L_SOURCE_PACKAGE.
          Select single * from /bic/mzfacul
                  into l_mzfacul
                  where /bic/zflyfac = l_source_package-/bic/zflyfac.
            RESULT_FIELDS-calyear = L_SOURCE_PACKAGE-calyear.
            RESULT_FIELDS-/bic/zmember = L_SOURCE_PACKAGE-/bic/zmember.
            RESULT_FIELDS-/bic/zhousing = L_SOURCE_PACKAGE-/bic/zhousing.
            RESULT_FIELDS-/bic/zexamtyp = L_SOURCE_PACKAGE-/bic/zexamtyp.
            RESULT_FIELDS-/bic/zpreeduc = L_SOURCE_PACKAGE-/bic/zpreeduc.
            RESULT_FIELDS-gender = L_SOURCE_PACKAGE-gender.
            RESULT_FIELDS-/bic/zfaculmem = L_mzfacul-/bic/zfacul.
            IF L_SOURCE_PACKAGE-/bic/zg_fhs = 0.
            ELSE.
                  RESULT_FIELDS-/bic/zfacul = 'FHS'.
                  RESULT_FIELDS-/bic/zg_EDUOFF =
                  L_SOURCE_PACKAGE-/bic/zg_fhs.
                  APPEND RESULT_FIELDS TO RESULT_PACKAGE.
            ENDIF.
        ENDLOOP.
    I hope this is enough.
    Success,
    Udo

  • Simulate update in Transformation using a single record

    In an update rule, it was possible from the monitor to simulate the update of an infoProvider.  During the simulation, you could choose to select only certain records of the PSA for simulation. This was very useful if you wanted to simulate only a single problematic record.
    In a transformation using a DTP, I can find out how to add the breakpoints and debut a start routine in a transformation, but I cannot find a way to do that simulation using only a single record from the PSA.
    The only option I can find is to create a DTP that has a filter that restricts the PSA down to a single record, but this is time consuming as you first have to find a way to filter the PSA to select a unique record.
    I have tried to use the ENTER DATA PACKAGE when setting the breakpoints, but this does not seem to allow this to happen.
    Is there a similar function in the DTP that allows you to simulate the update on a single selectable record?

    Hi Kevin,
    this function is not available from the transformation, yet check the DTP, where you can set the processing to serial. You can then change breakpoints at the processing steps of the DTP, and will also be asked to enter for which package you want to simulate the DTP or use the expert mode [next to processing mode] (I hope this is correct since I couldn't verify it in the system due to time constraints).
    Please search also the forum, since the topic simulation of DTP was already a topic here.
      Cheers
         SAP NetWeaver BI Organisation

  • Recording and playing back swfs

    I'd like to provide a users on my application the ability to record and playback what was on the swf. I can see how to capture from the camera but can't see any way to record the swf and save it as a swf (without each user buying a screen capture package).
    So I thought I might just record the basics (x,y,height,width,depth,alpha,rotation) of all the major MCs in the display list several times a second, save the details in an array and then allow the user to play the array back, creating and destroying MCs as necessary. This would be sufficient and quite efficient.
    The problem is when I loop through the display list looking for the 'object.name' of each mc I just get 'instance1, instance2' etc. I can't use that to extract the appropriate MC out of the library when I playback. How do I get a consistent name that refers to the item in the display name and the library item that I can use it to put it on stage?
    Also is there a way to create a list of all the MCs in the library?

    Just assign the objects names when you create them then use getChildByName to retreve them.
    f
    import flash.display.Sprite;
    import flash.display.DisplayObject;
    var container:Sprite = new Sprite();
    var sprite1:Sprite = new Sprite();
    sprite1.name = "sprite1";
    var sprite2:Sprite = new Sprite();
    sprite2.name = "sprite2";
    container.addChild(sprite1);
    container.addChild(sprite2);
    var target:DisplayObject = container.getChildByName("sprite1");
    trace(container.getChildIndex(target)); // 0

  • Need to edit a Captivate file that won't open. Can the SWF be edited?

    We are currently using Adobe eLearning Suite 2 (Cp5).
    We have 2 older Captivate files (Cp 3 or 4) that will not open; they act like they're opening but eventually they just time out without the error message that you normally get with a corrupt file.
    So all we have access to are the SWFs & zip files that were uploaded into our LMS.
    We are switching to a different LMS and need to quickly make an edit to these files before they are uploaded to the new LMS.
    Is it possible to edit the SWF (delete about 30 seconds of content off the end of each file) and still have them function as far as registering completion? And if so, what program would I need?

    Sorry, but only Adobe can speculate as to why the older files refuse to open in the newer version. Phase of the moon? Jupiter aligning with Mars while the house of the Moon is in retrograde?
    Personally, I'm going with the Mass Coronal Ejection theory!
    Assuming there is really no interaction going on, you *MIGHT* be able to fudge things to get that last 30 seconds to go away by playing the SWF and using Captivate to record the SWF as it plays.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Exporting swf as a single file in Captivate v3

    I need to be able to Publish a Captivate v3 project so that I
    can add it to a website using Adobe Contribute in a form that is
    viewable on a PC or Mac.
    At the moment the Publish option is creating a folder with
    four files - the swf recording, the swf skin, the html and the
    javascript.
    But Adobe Contribute will only let you link to one media file
    - so I can either add the swf recording (with no playback controls)
    or the skin (with no recording!)
    Am I doing something wrong? Or can anyone suggest a work
    around? Should I be able to export or publish as a Quicktime file?
    Many thanks!
    Vic

    Welcome to our community, Vic
    Try this. Click Project > Skin... > Borders tab and
    DE-select the "Show border" check box. Publish again and you should
    now find three files. This is because Captivate combines the
    _skin.SWF with the main part of the movie.
    Of course, the side effect is that the playback controls now
    cover the bottom part of the movie and may obscure some action you
    intended the user to see.
    Cheers... Rick

  • Coding in transformation routine

    Hi,
    As per the design there will be two DSO in the data transformtion layer. One is right optimized DSO (for correct data) and another with a ERROR DSO which will contain the erronious records.
    In the transformation routine if the check fails the record needs to go to the error dso and a messge need to be updated in the monitor.
    Please let me know how to code this. Whether to do this by raising any exception and setting the return code.. or any other mechanism is there.
    thanks,
    Jugal.

    As per the reqirement there are two DSO, One is for the correct data and the other one for the error records, which will be send to business later for reconcilation. In the record master data attribute will also be there. For certain condition we need to update/ insert record into master data table as well. I found some function modules to update the master data.
    1  RSBCTSRM_UPDATE_MASTER_DATA
    2  RSDMD_WRITE_ATTRIBUTES_TEXTS (this is working fine).
    Question 2: Let me know is there any way to update the error DSO from error stack through configuration or through coding.
    Edited by: jugal behera on Feb 5, 2008 11:50 PM

  • "xml:lang" is getting replaced by "lang" in XML Record converter class

    Hi All,
    The issue i am having is in the Record converter class which converts XML Record to JCA record, the string "xml:lang" is replaced by only "lang" due to which the transaction i am running fails as the application to which this xml is posted rejects it.
    Details:
    I have a Custom Resource Adapter(on JCA 1.5 Spec) deployed on Oracle Weblogic Server 10.3. I invoke this adapter from the BPEL process (SOA Suite 11g). I have implemented the XMLRecordConverter interface which converts the XMLRecord to JCARecord. During this conversation the "xml:lang" string is replaced by "lang" due to which the application to which this xml is posted is throwing error.
    The code snippet of the XMLRecordConverter implementation is below
    import javax.resource.ResourceException;
    import javax.resource.cci.Record;
    import javax.xml.transform.dom.DOMSource;
    import oracle.tip.adapter.api.record.RecordElement;
    import oracle.tip.adapter.api.record.XMLRecord;
    import oracle.tip.adapter.api.record.XMLRecordConverter;
    import oracle.tip.adapter.fw.record.RecordElementImpl;
    import oracle.tip.adapter.fw.record.XMLRecordImpl;
    import oracle.tip.adapter.fw.util.JCADOMWriter;
    import oracle.xml.parser.v2.DOMParser;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    public Record convertFromXMLRecord (XMLRecord xmlRecord) throws ResourceException
    String xmlString;
    RecordElement payloadRecordElement = xmlRecord.getPayloadRecordElement();
    if (payloadRecordElement != null) {
    xmlString = serialize(payloadRecordElement);
    else {
    throw new ResourceException("No data in record from EIS!");
    RecordImpl rec = new RecordImpl();
    rec.setStr_Payload(xmlString);
    return rec;
    private String serialize (RecordElement recordElement)
    if (recordElement != null) {
    org.w3c.dom.Element wsifEnvelopeRootElement =
    recordElement.getDataAsDOMElement();
    if (wsifEnvelopeRootElement != null) {
    JCADOMWriter domSerializer = new JCADOMWriter();
    String xmlString = domSerializer.print(wsifEnvelopeRootElement);
    return xmlString;
    return "<empty>";
    the resulting xml has all the occurrence of "xml:lang" replaced with "lang"
    If i add namespace ( like xmlns:xml="http://www.w3.org/XML/1998/namespace") at the root element of XML coming from BPEL process then the replacement is not happening.
    Has any of the Oracle api's used in the above code uses namespace aware parser or the BPEL engine is replacing "xml:lang" to "lang" when it passes the xml to XMLRecord Converter class?
    The above code works perfectly fine in Oracle Fusion 10g (Oracle AS 10 and SOA Suite 10g)
    Any information will be really helpful specially in the oracle api's
    Thanks,
    Amith

    Hi wilson,
    Do you know how to move or delete this thread? i didnt find any options to move or delete this thread

  • BPM - two FORKS and a Transformation issue

    my scenario is File - BPM - Proxy
    input file has multiple records and each record has 1 field that we put a validation logic in.  There will be one message created for each record, so this is a 1:N Integration Process
    I used two Forks:
    Fork #2 has two branches: Branch 1 --> Transformation Step 3;     Branch 2 ---> Fork #1.
    Validation#1 = if the validation field has null value then it will go to Transformation Step3 along Fork#2 (end receiver is Proxy-C)
    validation#2 = if the field has value then it will go inside Fork#1 which has 2 branches: Transformation Step 1 (goes to Proxy-A) and Transformation Step 2 (goes to Proxy-B)
    I am testing a file with only the null value, so I am doing validation#1 only.
    I can see the message in BPE engine  (Outbound status = Processed successfully) but the message is stucked in the BPE
    I checked on the workflow log and here is what i see:
    1) Transformation Step 3 is executed (all mapping steps 1-4 completed so this is successful)
    2) Transformation Step 2 is executed (but mapping encounters an exception so this is not successful)
    3) Transformation Step 1 is not executed already because of the exception, and therefore Send Alert is triggered.
    It seems that all records of the file passes through all the branches, which is not intended.
    My intention is that when the validation field has null value that record will only pass thru Transformation Step 3,   if it is not null then record will pass thru Transformation Step 2 & 1.
    I already created a mapping for this validation, and when I test the Interface Mapping for Transformation Step 3 (consisting of 4 mapping steps) using an actual payload  it is successfuly generating the message.  - so no problem in this Interface Mapping.
    But on Runtime, BPM triggers exception due to validation#2 failing which again is because all records of file seem to pass on both Forks.  I want that when Validation#1 is true that specific record only passes in Fork#2   and not in Fork#1 also.
    I am using ParForEach.
    Can you kindly advise how to correct this issue?

    that was a very detailed explanation!
    But on Runtime, BPM triggers exception due to validation#2 failing which again is because all records of file seem to
    pass on both Forks. I want that when Validation#1 is true that specific record only passes in Fork#2 and not in Fork#1 also
    problem with your design...Fork seems to be working fine....you need to have a Switch block which will perform the validation and then route the message accordingly.
    I already created a mapping for this validation, and when I test the Interface Mapping for Transformation Step 3
    (consisting of 4 mapping steps) using an actual payload it is successfuly generating the message. - so no problem in this
    Interface Mapping.
    Mapping success does not mean that the BPM processing will be success.

  • Manage User Matrix Like System Matrix

    Greetings Experts,
    Environment: B1 2007A, C#
    I have created a UD matrix on a UD form. I want to handle that matrix(and the table it is bound to) as if it were a child of the Service Contract form/table. This would mean that my user defined matrix would have a many-to-one relationship to the Service Contract number. BUT, how do I manage this? How can I make the Service Contract number relate to my UD matrix records and "limit" what I see on that matrix like the parent-child system objects do? Is this even possible with UDOs?
    Please let me know if you need more explanation.
    Thank you.
    Edited by: Lock45 on Jul 6, 2010 5:42 AM
    Edited by: Lock45 on Jul 6, 2010 5:43 AM

    Hi
    Do you want to open and insert data manually in your UD matrix and here you want to relate the service no. or when adding a service document you want to insert data automatically in your UD matrix ?
    you can have a field at the header of your form and open the service documents based on your condition and select the service no. and then insert data into your matrix..
    Regards

  • Compiling a CSS into SWF without merged SDK and dynamically loading

    I have a flex application that is built with the SDK merged in (for my own good reasons). This application dynamically loads a style SWF that was built without the SDK merged. Unfortunately, it seems that the loaded SWF fails to resolve its references with the SDK and gives me a 1014 run-time error.
    If I merge the SDK into the CSS SWF then it works. If I set both my application and the CSS SWF to use the SDK as an RSL then it works. In short the matrix is:
    CSS SWF, SDK merged?
    Application, SDK merged?
    Works?
    Yes
    Yes
    Yes
    Yes
    No
    Yes
    No
    Yes
    No
    No
    No
    Yes
    I do not want a big CSS SWF to dynamically load with all the SDK in it when I already have the SDK loaded with my application. Any help much appreciated.

    Hi,
    In you rsl project properties, go to Flex Library Build Path and go to library path tab. Here you can edit your imported library. There's no need in RSL to import the libraries merge into code but external(even the Adobe libraries should be loaded as external) cause you load it already from your application project (as rsl or merge into code).
    Bye!

  • How can I import or convert a .swf file into iMovie 8

    I've been searching with no luck for a way to convert a flash animation (.swf) file into a format that I can import into iMovie 8. Ideally, this would involve freeware or very inexpensive software. It is important that I maintain the quality (and audio) of the original swf file.
    Can anyone suggest a route?
    Many thanks.

    The easiest method is to use screen capture software to "record" the .swf file as it plays.
    Since .swf files use vector graphics you can scale it up in dimension (to fit your iMovie Project needs) without any loss in quality.
    I'm a happy user of SnapzProX http://www.ambrosiasw.com/utilities/snapzprox/ as it records in QuickTime formats.

Maybe you are looking for

  • Itunes stores- moving countries

    IHi I am going to move from UK to France. That means I have to change my itunes stores (country) settings) what is going to happen to tunes purchased while in UK? Thanks Jean

  • How to create Value Mapping scheme

    I want to create a new scheme and agency pair which can be listed in Scheme Selection dialog. Open ID --> Tools --> Value Mapping --> Click input helper for Scheme --> Display the Scheme Selection dialog. I want to know, how to add on scheme and acge

  • Buttons bringing in external SWFs

    Hi, I have created a button menu, but now want to program each button to bring in an external SWF of it's own. I also need it to get rid of any previous SWFs that may have been loaded in by the other buttons. Basically what I am trying to achieve is

  • CreateProcess exception during deployment...

    I've read an old article describing this problem with getting the following dump: at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.<init>(Win32Process.java:66) at java.lang.Runtime.execInternal(Native Method) at java.lang.Run

  • The iPod software update server could not be contacted. the server does not support this version of itunes its saying

    i bought a new iPod nano 6th generation and when i am trying to sync it with iTunes its saying "the iPod software update server could not be contacted. the server does not support this version of itunes" cn any one help me how to set the thing right.