Asset property refresh?

If I generate an H264 file that is VBR and import it into an Encore Project and later decide to re-render the H264 file as CBR from Premiere, Encore appears to retain properties from the VBR file because it will build an unusable ISO image that is half the size of the H264 file that was imported after it was changed to CBR.  How can I get Encore to forget the original files characteristics?  It would seem Encore should detect the change in the file and handle this.
I have verified that this is what is happening by using a new project with the CBR file and it builds correctly.  I have tried the replace asset function and that won't do the trick.  I have already authored a finished progect with all the chapter markers and links to five menu pages and I don't want to start over.
I also have yet to get CS5.1 to import my H264 files without an error.  The same files work fine in CS5 with the exception of the problem mentioned above.
Terry

I was wondering if the file's properties are stored in any kind of editable file such as xml.
I think the conclusion in the past has been that, because Encore is built on the sonic authorcore, its project file is very different from Premiere (an XML file that can be edited just as you propose). But no one has stepped up to explain how this might be done in Encore.
My other idea was to save all my menus as files and just start a new project and import them.  That saves a lot of the work, but I can't figure out a way the export or save or copy/paste the chapter markers and poster frames.  I don't want to sound whiney, but this project is long and there are probably over sixty of them and to play though the timeline to re-establish all of them is time consuming.
Here is my method for a redo.
Create new project with new name. Some people advocate a new directory, but I think I usually skip that. The new project name will create new directories under it.
Import as menu, and I usually just go to the old menu directory from the bad project and pull the menus from there. I rarely found that the problems requiring a redo were in the psd menu file itself. That is risky in some situations, but I suspect not yours. On the side of caution, yes, "save menu as file" and bring into the new project.
All relinking simply has to be done again.
Poster frames are clearly the most painful, but I just bite the bullet and do the following. When setting the chapter points in the original project, I make sure they are on gop breaks, unless the timeline was not transcoded. (I now do all that part using dynamic link and set the chapters in Premiere.) And same for the poster frames. When preparing for a redo, I just go through the original Encore project, step by chapter, select the chapter, and write down the chapter point time code and poster frame time code. On the redo, just reverse the process.  Go to a timecode, set a chapter, select the chapter, and set the poster frame. (You can do this in the properties panel, so you don't need to hunt around in the timeline.)
We fantasize about a new feature in Encore where you can import chapter points and poster frames from a test file.

Similar Messages

  • Unable to set property Refresh Completed Items for UWL system

    Hello Experts,
    We are on NetWeaver 7.40 SP2 and UWLJWF version is 1000.7.40.2.0.20130411234700.
    We have configured a system object with system alias SAP_ECC_HumanResources pointing to the backend ECC system.
    I am creating a UWL WebFlowConnector system with this same system alias in the UWL Administration page to fetch ABAP Workflow workitems from the backend and display those in the portal UWL.
    When I try to check the checkbox for the Refresh Completed Items: property and click Save it shows me an error message saying Could not connect to back end SAP_ECC_HumanResources to check if it supports direct custom retrieval feature.
    I have already followed the steps for Prerequisites for Enabling Refresh of Completed Items and Activation in Back-end System mentioned in the link Enabling Refresh of Completed Items but still getting the above error.
    I have also tried restarting the UWL service as given here (UWL) Error while configuring the Refresh of Completed Items Mechanism
    Can anyone give any suggestions what else needs to be checked for this property to work for the UWL system?
    Regards,
    Saurabh
    Message was edited by: Vera Gutbrod

    Hello Experts,
    I have managed to resolve this problem. The RFC Destination configured for UWL WebFlowConnector had some problems and it was not able to ping to the backend system. I got this RFC Destination re-configured and then restarted the UWL service and following this I am now able to set the Refresh Completed Items property for the UWL WebFlowConnector system.
    However now when I am trying to set a value of 30 seconds in the Delta Pull Channel Refresh Period (in Seconds): property and saving the change, I am getting a warning message The backend of system SAP_ECC_HumanResources is not configured for optimized delta pull.
    How do I go about setting this value for the delta pull refresh?
    Regards,
    Saurabh

  • Problem with property refresh in code view

    I am suddenly noticing a problem in CS3 (v 9.0 build 3481),
    OSX 10.4.11. In Code view (NOT Split view), any change to the code
    causes the property inspector to display the message "You have made
    changes to the code. To edit selection properties click refresh or
    press F5".
    It is my understanding that this feature is intended to
    refresh the Design view when working in Split mode. I have not used
    DW much in the last few weeks, but I never recall having this come
    up before, and I work in code view quite a bit. Also, possibly
    related, the tag selector strip at the bottom goes blank at the
    same time the message appears in the property inspector.
    This will be a significant impediment if it continues. Am I
    crazy and it's always been this way, or is there a bug or setting
    that I've inadvertently changed? I understand why refreshing is
    necessary in Split view but I cannot see what purpose this could
    possibly serve in Code view.
    Ted

    quote:
    Originally posted by:
    Tedly61Am I crazy and it's always been this way, or is
    there a bug or setting that I've inadvertently changed? I
    understand why refreshing is necessary in Split view but I cannot
    see what purpose this could possibly serve in Code view.
    This is how it's always been for me with both DW 8 and DW CS3
    for Windows. Can't say with regard to the Mac versions.

  • DVDSP 4.1.2 - Assets not refreshing or are corrupt when changed

    I've been frustrated with this time and again. I burn a test project built in DVDSP then make a change to either the main "feature" or to a menu video in FCP. I export it using compressor, using the same name (overwriting the old version). When I open DVDSP I'm asked if I want to refresh assets since some have changed. I click on refresh. When I simulate the project there is a blank (or green) screen - no video. When I try to delete the asset I can't - says it's in use. I can try re-importing the asset but same results. The only way I've found around this is to delete the "Feature", delete the menu used by the asset then delete the asset. Essentially, start over again.
    So, what's up here? Am I missing something?
    Carl

    The parsed files are the problem (at least they were for me)
    In the same directory as where your asset is, you should find a PAR folder. Trash the parsing file that matches the name of your asset. When you relaunch the DSP project, it will reparse the assets and everything should be honky dory. It does seem like the asset does not reparse well when updated/relinked etc.
    I was getting blank tracks after recompressing (keeping the original file name) and this fixed it/
    Good luck

  • ADF Task Flow Binding - Refresh ifNeeded being invoked even WITHOUT any Parameter change

    Using JDeveloper 11.1.1.6.0
    Issue: Task Flow Binding property "refresh = ifNeeded" seems to be triggered even without the mutation of the input parameter.
    As per definition, "ifNeeded: refresh the ADF Region if the value of a task flow binding parameter changes." (Reference: 17.5 Refreshing an ADF Region)
    Now for the setup which reproduces the issue.
    I'll focus at the fragment bounded task flow level and will skip the jspx side.
    taskflow: main-flow.xml
    contains a single fragment mainFgmt.jsff
    has a managed bean defined SampleBean.java as pageFlow scope.
    taskflow: sub-flow.xml
    contains a single fragment subFgmt.jsff
    has an inputParameter SampleBean.java (because it is an input parameter, by default it will be at pageFlow scope)
    !important - has a nested taskflow (task flow call as defined in the component pallete) called inner-flow (see below)
    the nested taskflow is the default activity
    the nested taskflow has an outcome pointing to subFgmt where outcome = "return"
    taskflow: inner-flow.xml
    contains a single fragment called stop.jsff
    has a return activity without outcome = "return"
    stop.jsff has a navigation pointing to the outcome.
    Finally mainFgmt.jsff has a task flow binding (pageDef)
    with id = "sub-flow.xml"
    refresh = "ifNeeded"
    parameter SampleBean being submitted as sub-flow's input parameter. (id=sampleBean, value=#{pageFlowScope.mainSampleBean})
    Assume that code compiles.
    In this scenario where the only tricky condition is the inner nesting (defined by !important), when the inner nesting decides to invoke its outcome to visit sub-flow's fragment, mainFgmt is restarting its taskflow which makes sub-flow start over again.
    Another way of saying it is, if sub-flow starts a nested activity and that nested activity exits out to utilize sub-flow's view. The high level definition which is mainFgmt's refresh ifNeeded is restarting sub-flow.
    In the above example if you notice, the bean (SampleBean) is not really being utilized except that it is completing the purpose of refresh=ifNeeded. This scenario is only to simplify the setup - in practical use this bean will be mutated to be utilized as a refresh mechanism.
    Now interestingly, if I change the pattern a bit then the issue will not happen:
    Don't use the nested taskflow (inner-flow) as the default activity, let a fragment of sub-flow hold the initial view.
    Navigate to the nested flow.
    Exit nested flow.
    Everything works.
    Now in this scenario, it seems like the sub-flow needs to have a view established first for it to be properly be used.
    So my questions are as follows:
    Can I consider the behavior of the refresh=ifNeeded as a bug in this usecase?
    Would it be better to utilize a different way of refreshing (maybe combination of refresh condition) to get around the issue?
    Is the use of the task flow as defined logical or does it cross any boundary or best practice that might be causing this behavior?

    Hi,
    actually you lost me in your description due to complexity. I lived under assumption that sub-flow already is a region on a view in main flow, but then you sad that
    "!important - has a nested taskflow (task flow call as defined in the component pallete) called inner-flow (see below)"
    which then confused me as to I have no idea if inner flow now is the second level nesting or first level nesting (should be second level nesting). If sub-flow is a region then having "has an inputParameter SampleBean.java (because it is an input parameter, by default it will be at pageFlow scope)"  is an unnecessary broad scope because the region wont live longer than view scope.
    Anyway, it seems that a region refresh is triggered by the lifecycle involved, which can be by design or a bug. I suggest you file a Service Request with support and provide a test case as purely from the description, its hard to parse and understand what is going on.
    Frank

  • SAP B1 Fixed Assets query

    Good Morning,
    Could someone please comment on whether the SAP B1 fixed assets add-on would accommodate the following two issues, which one of our Accountants has requested?
    (1)     We are introducing a restoration provision policy that creates a restoration asset and could increase/ decrease the book value of this asset on a yearly basis.  I am looking into the practical issues of booking this and whether the SAP fixed asset register can cope with regular changes in the value of a restoration asset (both up/down).
    (2)     Adding in terminal/residual values for existing assets.
    Thankyou,
    regards
    Kelly

    Hi Kelly
    This response may be a little late, but I hope it helps. 
    The SAP Fixed Assets add-on is very thin, not very deep, and very European (both vernacular and accounting).  For some US clients, it may not work because of shortcomings with GAAP and/or Federal Tax compliance.  I have known this for several years. 
    SAP asked me to develop a full-featured Fixed Assets addon several years ago.  I have been in the Fixed Assets commercial software business for over 30 years, and developed the solution now offered by Microsoft Dynamics GP (Great Plains).  Our SAP Business One add-on product is now available for both Versions 2007 and 8.8.  It is written using the SAP Business One SDK, so it integrates fully with SAP Business One and has the same look-and-feel.
    From a function-feature perspective, it is desinged to exceed the accounting functionality of mid-market products such as FAS (from Sage), QBE, and even Dynamics GP.  It also provides considerable capabilities for managing Assets (Maintenance Contracts and Service Requets, Lease Accounting and Tracking, Physical Inventory, Custodial Control, Component Assets, Property Tax, etc.). 
    The respondant in February was correct - with the SAP addon you can do what you asked, but you have to jump through a hoop to do it.  With our B1-FAM addon, you not only can do the things you need, and do them in a very straightforward manner, but will have choices reagrding the best way to do them.  Plus, you wil have a comprehensive solution that works as it is supposed to in the US.
    Feel free to vist our website at www.B1FixedAssets.com.
    Best of luck
    Joe Lewis

  • Property boosting in Search in CQ5 Version 5.5 SP2 not working

    I have a use-case where in I have to boost certain properties to get a higher score value in search. Following is the rule section I have used for the same.
    <index-rule nodeType="nt:unstructured">
                 <property boost="10">dc:title</property>
                 <property boost="5">dc:description</property>
    </index-rule>
    I created a sample data of about 10 DOC files in DAM having the below values for the Title and Description properties.
    Document 1:-
         Title: TestWord1 TestWord2 TestWord3
         Description: TestWord4 TestWord5 TestWord6
    Document 2:-
         Title: TestWord4 TestWord5 TestWord6
         Description: TestWord1 TestWord2 TestWord3
    Document 3:-
         Title: TestWord1 TestWord2 TestWord3
         Description: TestWord1 TestWord2 TestWord3
    Search Term Used: TestWord1
    Even with the property boosting in place the score for Document 1 and Document 2 is coming same. Ideally with the boosting in place the order must have been:
    Document 3
    Document 1
    Document 2
    The complete indexing_config.xml used is as follows:
    <?xml version="1.0"?>
              <!DOCTYPE configuration SYSTEM "http://jackrabbit.apache.org/dtd/indexing-configuration-1.2.dtd">
              <configuration
              xmlns:cq="http://www.day.com/jcr/cq/1.0"
              xmlns:dam="http://www.day.com/dam/1.0"
              xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
              xmlns:jcr="http://www.jcp.org/jcr/1.0"
              xmlns:dc="http://purl.org/dc/elements/1.1/"
              xmlns:sling="http://sling.apache.org/jcr/sling/1.0">
               <!-- Do not index content of subassets -->
              <index-rule nodeType="nt:resource"
              condition="ancestor::subassets/@jcr:primaryType='{http://www.jcp.org/jcr/nt/1.0}unstructured'">
              </index-rule>
               <!--
              Exclude some well known properties from the node scope
              fulltext index. Do not add rules below this one, since
              this rule matches any node and acts as a default/fallback.
              -->
              <index-rule nodeType="nt:base">
              <property nodeScopeIndex="false">analyticsProvider</property>
              <property nodeScopeIndex="false">analyticsSnippet</property>
              <property nodeScopeIndex="false">hideInNav</property>
              <property nodeScopeIndex="false">offTime</property>
              <property nodeScopeIndex="false">onTime</property>
              <property nodeScopeIndex="false">cq:allowedTemplates</property>
              <property nodeScopeIndex="false">cq:childrenOrder</property>
              <property nodeScopeIndex="false">cq:cugEnabled</property>
              <property nodeScopeIndex="false">cq:cugPrincipals</property>
              <property nodeScopeIndex="false">cq:cugRealm</property>
              <property nodeScopeIndex="false">cq:designPath</property>
              <property nodeScopeIndex="false">cq:isCancelledForChildren</property>
              <property nodeScopeIndex="false">cq:isDeep</property>
              <property nodeScopeIndex="false">cq:lastModified</property>
              <property nodeScopeIndex="false">cq:lastModifiedBy</property>
              <property nodeScopeIndex="false">cq:lastPublished</property>
              <property nodeScopeIndex="false">cq:lastPublishedBy</property>
              <property nodeScopeIndex="false">cq:lastReplicated</property>
              <property nodeScopeIndex="false">cq:lastReplicatedBy</property>
              <property nodeScopeIndex="false">cq:lastReplicationAction</property>
              <property nodeScopeIndex="false">cq:lastReplicationStatus</property>
              <property nodeScopeIndex="false">cq:lastRolledout</property>
              <property nodeScopeIndex="false">cq:lastRolledoutBy</property>
              <property nodeScopeIndex="false">cq:name</property>
              <property nodeScopeIndex="false">cq:parentPath</property>
              <property nodeScopeIndex="false">cq:segments</property>
              <property nodeScopeIndex="false">cq:siblingOrder</property>
              <property nodeScopeIndex="false">cq:template</property>
              <property nodeScopeIndex="false">cq:trigger</property>
              <property nodeScopeIndex="false">cq:versionComment</property>
              <property nodeScopeIndex="false">jcr:createdBy</property>
              <property nodeScopeIndex="false">jcr:lastModifiedBy</property>
              <property nodeScopeIndex="false">sling:alias</property>
              <property nodeScopeIndex="false">sling:resourceType</property>
              <property nodeScopeIndex="false">sling:vanityPath</property>
              <property isRegexp="true">.*:.*</property>
              </index-rule>
               <!-- Cq Page for jcr:contains(jcr:content, "...") searches -->
              <aggregate primaryType="cq:PageContent">
              <include>*</include>
              <include>*/*</include>
              <include>*/*/*</include>
              <include>*/*/*/*</include>
              </aggregate>
               <aggregate primaryType="dam:Asset">
              <include>jcr:content</include>
              <include>jcr:content/metadata</include>
              <include>jcr:content/metadata/*</include>
              </aggregate>
               <!-- nt:file child axis orderby index -->
              <aggregate primaryType="nt:file">
              <include>jcr:content</include>
              <include>jcr:content/jcr:lastModified</include>
              </aggregate>
               <!-- cq:Page child axis orderby index -->
              <aggregate primaryType="cq:Page">
              <include>jcr:content</include>
              <include>jcr:content/cq:lastModified</include>
              </aggregate>
               <!-- add your project specific search indexing configuration here -->
               <index-rule nodeType="nt:unstructured">
                 <property boost="10">dc:title</property>
                 <property boost="5">dc:description</property>
               </index-rule>
               <index-rule nodeType="dam:Asset">
                 <property boost="10">dc:title</property>
                 <property boost="5">dc:description</property>
                 <property boost="20">inventorytype</property>
               </index-rule>
              </configuration>

    Hi alok sharma,
    Make sure
    *  The project specific search indexing configuration added at begining in indexing_config.xml
    *  To rebuild the index (in case you are verfying for already created assets)
    *  Verify your query that it is using the boost property + order by score to show the impact on the score value.
    Thanks,
    Sham
    @adobe_sham

  • Clear all rows in a Bean Data Control

    I am using JDeveloper 11.1.1.6
    In my use case I have a screen that interacts with a Bean Data Control I have followed the steps in the following URL to create a Bean Data Control
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html
    My screen successfully interacts with the Bean Data Control. This screen lives in a Bounded Task Flow (BTF). I can add rows using a Create Insert binding and can delete Rows as well. Once the user gets all rows into the Bean Data Control that they want inserted to a DB table, I can iterate through the Bean Data Control and post those records to the DB. It is possible for the users to add rows to the Bean Data Control and then link to a brand new screen which is in a different BTF which leaves rows in the Bean Data Control. Now the user goes back to the original screen. Upon returning, I want to empty (clear all rows) for the Bean Data Control so that they have a fresh start. Could you please provide guidance on what I might need to do to be able to clear a Bean Data Control when entering a BTF

    Hi,
    You can create a method to clear your Bean Data Control and call it with an invokeAction with property refresh="ifNeeded" and refreshCondition="#{pageFlowScope.isTimeToClearAll}", so pageFlowScope.isTimeToClearAll must be true only when you need to clear the BDC.
    Check this article: http://www.gebs.ro/blog/oracle/oracle-adf-invokeaction/
    AP

  • Can't view filtered VO properly in a dynamic region

    Hi all,
    I am using Jdeveloper 11.1.1.0
    I have a view object (myVO) that has some view criterias (FilteredVO1, FilteredVO2, ecc.)
    In myPage I have a dynamic region in which I can view different fragments. These fragments contain filtered data (FilteredVO1, FilteredVO2, ecc.), but I always see all the data (myVO)
    If I run the application module, in FilteredVO1, FilteredVO2, ecc. I see the data properly (I see the filtered data, not all the data).
    Also if I run a normal page (without fragments) with a panel tab for every FilteredVO, I see the filtered (and not all) data.
    In myPageDef I have set the property "refresh" on "ifNeeded".
    What's the problem? Any suggestions?
    Thanks
    Andrea

    Hi Andrea,
    Why do you want to set the refresh parameter? Is your task-flow has any parameters set..? Refresh parameter should be used only when you want the dynamic region to respond based on task-flow parameter. Otherwise, the dynamic region can automatically refresh based on different task-flow selection. So, precisely if you reset this param to default, it should work as expected provided these fragments uses different task-flows. See this document section [16.2 Creating ADF Dynamic Regions|http://download.oracle.com/docs/cd/E15051_01/web.1111/b31974/taskflows_regions.htm] for more info.
    Regards,
    ~Krithika

  • Getting error while importing the data to scsm

    Hi,
    We are planing to iport data from another Ticketing tools .For this i have created a .CSV and .XML .While iporting i am getting below error
    And the Xml File is 
    ================================================================
    <CSVImportFormat>
      <Projection Type='System.workItem.Incident.ProjectionType">
        <Seed>
          <Class Type="System.WorkItem.incident">
            <Property ID="Id"/>
            <Property ID="Source"/>
            <Property ID="TierQueue"/>
            <Property ID="Department"/>
            <Property ID="Classification"/>
            <Property ID="Title"/>
            <Property ID="Urgency"/>
            <Property ID="Impact"/>
            <Property ID="Assignedto"/>
            <Property ID="Description"/>
            <Property ID="Site"/>
            <Property ID="Priority"/>
            <Property ID="Asset"/>
            <Property ID="ChangeIncidentStatus"/>
            <Property ID="CreatedDate"/>
            <Property ID="ActualEndDate"/>
            <Property ID="ClosedDate"/>
            <Property ID="ResolutionDescription"/>
            <Property ID="SharepointBug"/>
            <Property ID="ClientContact:"/>
            <Property ID="RequestorCategory"/>
            <Property ID="CaseReason"/>
            <Property ID="Prod"/>
            <Property ID="ParentAccount"/>
            <Property ID="CustomerSupportAccount"/>
            <Property ID="Hardware"/>
            <Property ID="Browser"/>
            <Property ID="InternetConnection"/>
            <Property ID="ProblemAffectsOthers"/>
            <Property ID="IssueonDifferentWorkstation"/>
            <Property ID="PatientSpecific"/>
            <Property ID="SalesforceCase"/>
            <Property ID="TFS"/>
            <Property ID="StepstoReproduce"/>
            <Property ID="RelatedPatients"/>
            <Property ID="AffectedDevice"/>
            <Property ID="ReasonforOnHold"/>
            <Property ID="CustomerSupportAgent"/>
            <Property ID="FirstResponseDate"/>
            <Property ID="LastModified (Internal)"/>
            <Property ID="RequiredBy"/>
         </Class>
       </Seed>
       <Component Alias="AffectedUser">
         <Seed>
           <Class Type="System.Domain.User">
             <Property ID="FirstName"/>
    <Property ID="Domain"/>
             <Property ID="UserName"/>
           </Class>
         </Seed>
       </Component>
      </Projection>
    </CSVImportFormat>
    =====================================================================
    Please let me know that error in the xml file.
    Regards, H@ri

    Thanks ,I have been gone through <Projection Type='System.WorkItem.Incident.ProjectionType">.
    Now i am getting many errors while importing data.I have customized fields in servicedesk and i have created same fields in scsm incident form.When i am imported
    data i am getting below error.
    Please let me know how can i import customized feilds data to SCSM without issues.
    Regards, H@ri

  • Difficulty reinstalling after hard drive replaced

    I have Adobe Acrobat X Pro and the hard drive crashed on the computer that
    the programme was installed on.  When I went to reinstall I am getting a
    message that says unable to install on this operating system.  It is
    installed on XP.  Nothing has changed! Purchased 3/11.  I have included
    screen shot of memory.
    Thank you! 
    Tracey Mulry, BBus (Asset & Property Mgement)
    Email:  [removed by moderator]
    Mobile:  [removed by moderator]
    Fax:   [removed by moderator]

    Thank you so much for your response.  I installed SP3 and was then able to install Acrobat X Pro -  now very happy! J
    regards
    Tracey Mulry

  • Quick dumb image question

    I have a datagrid I want to display an image in. I got the
    image component created and in there. All works great, except the
    image are not scaling to the width and height I want. I am getting
    a 300px by (maybe) 10px image. How can I control the width, but let
    the height scale with it?
    <mx:Image source="/assets/property/{data.imageName}"
    verticalAlign="middle" width="300" horizontalAlign="left"
    scaleContent="false" maintainAspectRatio="true"/>

    "projectproofing" <[email protected]> wrote
    in message
    news:g8bq1g$pbq$[email protected]..
    >I have a datagrid I want to display an image in. I got
    the image component
    > created and in there. All works great, except the image
    are not scaling to
    > the
    > width and height I want. I am getting a 300px by (maybe)
    10px image. How
    > can I
    > control the width, but let the height scale with it?
    >
    > <mx:Image source="/assets/property/{data.imageName}"
    > verticalAlign="middle"
    > width="300" horizontalAlign="left" scaleContent="false"
    > maintainAspectRatio="true"/>
    have you tried setting variableRowHeight on the dg to true?

  • Width/height/x/y value mismatch with the reality and what is coded

    hello there everyone,
    hope i got the title right..,
    so here goes the problem i need your opinion and help to solve:
    application definition:
    i have this desktop flash application that will go fullscreen what this application do is loading external asset (mostlySWF) and play it inside this application. Each external asset will be place inside a container/holder (empty movie clip created by code), each of this container have it's own dimension ( width, height, x, y).my code all working without any warning nor error.oh and i also have an image.jpg/png as it's background and place at the bottom of display list (depth = 0), the image is customly made with using photoshop and each container location and dimension also measured there so it just needed to be writen down is the XML file..,
    the problem:
    the bug is when i loaded some image of those background image each container width,height,x,y  will mismatch with what i have in the XML file.
    the funny thing is when i trace the value of each container width,height,x,y it value is the same with what the XML has yet by seeing with eye you know that is wrong..,
    here's the code i used:
    var myXML:XML; //to hold the loaded xml file
    var SWFList:XMLList; //used to hold a list of all external swf source,atribute and etc
    var xmlLoader:URLLoader = new URLLoader(); //intance of URLloader class used to XML file
    var totalSWF:int; //hold the total number of external swf there is to be loaded
    var mainContainer:MovieClip =new MovieClip();//act as the main container
    var SWFContainer:MovieClip; //hold the loaded SWF as it's child
    var swfLoader:Loader; //instance of loader class used to load the external swf
    var myCounter:int = 0; //used to track how many external swf has been loaded and added to stage
    var bgImageURL:String;//hold the url of the background image
    var imageLoader:Loader;//intance of loader class used to load background image
    // Stage Setting
    //========================================================================================
    this.stage.align = StageAlign.TOP_LEFT;
    this.stage.scaleMode = StageScaleMode.NO_SCALE ;
    this.stage.displayState = StageDisplayState.FULL_SCREEN;
    //load the xml file
    //======================================================================================== ==
    xmlLoader.load(new URLRequest("FlashBlock[s].xml"));
    xmlLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(e:Event):void
        e.target.removeEventListener(Event.COMPLETE , processXML);
        myXML = new XML(e.target.data);
        bgImageURL = myXML.Background.text();
        SWFList = myXML.BLOCK;
        totalSWF = myXML.BLOCK.length();   
        doSizeUpMainContainer();
        loadBackgroundImage();
    function doSizeUpMainContainer():void
        //resizing the mainContainer dimension
        //in this case i just make the size the same as the screen dimension
        addChild(mainContainer);
        mainContainer.graphics.beginFill(0xFD562D, 0);
        mainContainer.graphics.drawRect(0,0, stage.stageWidth, stage.stageHeight);
        mainContainer.graphics.endFill();
    function loadBackgroundImage():void
        //load the background image
        imageLoader = new Loader();
        imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onBgImageLoadComplete);
        imageLoader.load(new URLRequest(bgImageURL));
    function onBgImageLoadComplete(e:Event):void
        e.target.removeEventListener(Event.COMPLETE, onBgImageLoadComplete);
        mainContainer.addChild(imageLoader.content);
        imageLoader.x = (stage.stageWidth - imageLoader.content.width)/2;
        imageLoader.y = (stage.stageHeight - imageLoader.content.height)/2;
        loadSWF();
    function loadSWF():void
        swfLoader = new Loader();
        swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE , swfSetting);
        swfLoader.load(new URLRequest(SWFList[myCounter].@source));
    function swfSetting(e:Event):void
        e.target.removeEventListener(Event.COMPLETE , swfSetting);
       SWFContainer = new MovieClip();
        mainContainer.addChild(SWFContainer);
        // i did this so i can resize the movieclip size to what i need..,
        SWFContainer.graphics.beginFill(0xff6633, 0);
        SWFContainer.graphics.drawRect(0,0, Number(SWFList[myCounter].@width), Number(SWFList[myCounter].@height));
        SWFContainer.graphics.endFill();
        SWFContainer.x = SWFList[myCounter].@left;
        SWFContainer.y = SWFList[myCounter].@top;
        SWFContainer.addChild(e.target.content);
        //load and add another SWFContainer untill all swf listed in the swf added
        if(myCounter < (totalSWF-1))
            myCounter++;
            swfLoader = null;
            loadSWF();
    i really do not have any idea why this could happen and how to solve it..,
    any help would be greatly apprecited cause i'm literally meeting a dead end with this bug..,

    hello there kglad,
    thanks for responding in this thread..,
    i did what you told me :
    i did check all of my loader instance till myLoader.parent.parent.parent and it return 1 for every single one of them
    but by removiing the "this.stage.displayState = StageDisplayState.FULL_SCREEN;"
    i do get new error which is:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at slideshow_fla::MainTimeline/doAspectRatio()
    well from what it tokd me it came from my slideshow swf..,(this swf also fully code and has nothing placed on stage by manually)
    the thing is in my mine swf code i never refer to what external asset property, i just told to load it and when the load is complete i put it in the display list..,
    from googling i suspect that it played to early beacause i put the script in the first frame of the timeline of slideshow.swf
    and for the moment i'm trying to find what error do cause it..,
    (but why this didn't happen all the time??)
    here is the slideshow code:
    import fl.transitions.*;
    import fl.transitions.easing.*;
    import flash.display.*
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    //list of global variables
    var mySlideSpeed:Number; //determine how long each image displayed
    var myTransitionName:String; //the name of the transition to be used
    var myxmlList : XMLList;//reference to the list of the image
    var myTotal:int;     //total of image to be displayed
    var myImage:Loader;//load the image into the container
    var tempWidth:int;
    var tempHeight:int;
    var myTraansitionInDuration:int = 2;//the duration of transition in effect
    var myTraansitionOutDuration:int = 2;//the duration of transition out effect
    var myThumbHolderArray : Array = [];//to hold each thumbimage of the image
    var Counter : Number = 0; //to count how many image has been successfully loaded
    var myMC : MovieClip = new MovieClip(); //as the container of the picture so that it can be manipulated with transition manager
    var container: MovieClip = new MovieClip();//hold the image after transition
    var myImageTracker :Number = 0; //to know which image is in the stage
    var myTimer :Timer; //the timer
    var myTM:TransitionManager = new TransitionManager(myMC);//instance of transitionmanager class;used to give transition effect the image
    //creating the loader instance n loading the file
        var myXML:XML;
        var XMLLoader :URLLoader = new URLLoader();
        XMLLoader.addEventListener(Event.COMPLETE, processXML);
        var base:String = this.root.loaderInfo.url;
        base = base.substr(0, base.lastIndexOf("/") + 1);
        XMLLoader.load(new URLRequest(base + "slideshow.xml"));
    function processXML(e:Event):void
        e.target.removeEventListener(Event.COMPLETE, processXML);
        XML.ignoreWhitespace = true;
        myXML =new XML(e.target.data) ;
        mySlideSpeed = Number(myXML.transition.@slidespeed) + myTraansitionInDuration + myTraansitionOutDuration ;
        myTimer = new Timer (mySlideSpeed*1000);
        myTimer.addEventListener(TimerEvent.TIMER, imageRemover);
        myTransitionName = myXML.transition.@name;
        myxmlList = myXML.IMAGE;
        myTotal = myXML.IMAGE.length();
        imageLoader();
    function imageLoader():void
        for (var i:Number = 0; i < myTotal; i++)
            var imageURL:String = base + myxmlList[i];
            var myLoader:Loader = new Loader();
            myLoader.load(new URLRequest(imageURL));
            myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete)
            //transfering each thumb image loaded to a variable to be able to be refered back when the show is running
            myThumbHolderArray.push(myLoader);
    function onComplete(e:Event):void
        Counter ++;
        if(Counter == myTotal)
            e.target.removeEventListener(Event.COMPLETE, onComplete);
            showStarter();
    function showStarter():void
            addChild(container);
            addChild(myMC);
    //        myMC.x = container.x = myMC.y = container.x = 0;
            doAspectRatio();
            imageSlider();
    function doAspectRatio():void
        for (var i:Number = 0; i < myTotal; i++)
            myImage = Loader (myThumbHolderArray[i]);
            if (myImage.width > myImage.height)
                tempWidth = myImage.width;
                tempHeight = myImage.height;
                //supposedly to access the container dimension holding this swf as it's child
                myImage.width = this.parent.width;
                myImage.height = (tempHeight * this.parent.height)/tempWidth ;
            else if (myImage.width < myImage.height)
                tempWidth = myImage.width;
                tempHeight = myImage.height;
                myImage.height = this.parent.height;
                myImage.width = (tempWidth * this.parent.width)/tempHeight ;
    function imageSlider():void
        if (getChildIndex(container)== 1)
            swapChildren(myMC, container);
        myImage = Loader (myThumbHolderArray[myImageTracker]);
        myMC.addChild(myImage);
        //center the image
        myImage.x = (this.parent.width - myImage.width)/2;
        myImage.y = (this.parent.height - myImage.height)/2;
        if (myTransitionName == 'Fly')
            myTM.startTransition({type:Fly, direction:Transition.IN, duration:myTraansitionInDuration, easing:None.easeIn, startPoint:7});
        else
        if (myTransitionName == 'Zoom')
            myTM.startTransition({type:Zoom, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn});
        else
        if (myTransitionName == 'Photo')
            myTM.startTransition({type:Photo, direction:Transition.IN, duration:myTraansitionInDuration, easing:None.easeIn});
        else
        if (myTransitionName == 'Squeeze')
            myTM.startTransition({type:Squeeze, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn, dimension:0});
        else
            myTM.startTransition({type:Fade, direction:Transition.IN, duration:myTraansitionInDuration, easing:Strong.easeIn});
        myTM.addEventListener("allTransitionsInDone", holdDelay);
    function holdDelay(e:Event):void
        this.removeEventListener("allTransitionsInDone", holdDelay);
        myTimer.start();
        container.addChild(myImage);
        if (getChildIndex(myMC)== 1)
            swapChildren(container, myMC);
    function imageRemover(e:Event):void
        myImageTracker ++;
        if (myImageTracker == myTotal)
            myImageTracker =0;
        imageSlider();
    and by the way can you tell me the reason you told me to remove "this.stage.displayState = StageDisplayState.FULL_SCREEN;" line ??

  • Splitting a list (loop and insert)

    I have a text file with about 65000 records to be looped and
    inserted into a
    database. I am using cfhttp to read the list and turn it into
    a query. I am
    then using that query to loop and insert the records into a
    database.
    However, its too large and the server is timing out. Is there
    a break the
    list into 2 pieces and do it in serial?
    I am using:
    <cffunction name="getResidential" access="private"
    returntype="void"
    output="false" hint="">
    <cfargument name="ResFile" type="string"
    required="yes">
    <cfhttp timeout="6600"
    url="
    http://www.mywebsite.com/assets/property/#ResFile#"
    method="GET"
    name="Property" delimiter="|" textqualifier=""
    firstrowasheaders="yes" />
    <cfloop query="Property">
    <cfquery name="loopProperty" datasource="bpopros">
    INSERT STATEMENT HERE
    </cfquery>
    </cfloop>
    </cffunction>
    Is it possible to do something like:
    Function 1
    <cfloop from="1" to="40000" index="i">
    </cfloop>
    Function 2
    <cfloop from="40001" to="#Query.RecordCount#"
    index="i">
    </cfloop>
    Any ideas? Thanks
    Wally Kolcz
    MyNextPet.org
    Founder / Developer
    586.871.4126

    I like your second solution, but wouldn't I need access to
    the actual web
    server? I need to do this on hosting. I am downloading the
    files from a Real
    Comp and then looping the data into my client's database for
    searching. I
    wanted to just use the files as a flat database and just
    query or query off
    of it, but there is a new file everyday. Only one update
    (Sunday) is the
    master list of 45-60k records. All the rest (Mon-Sat) are
    just small
    updates.
    "Dan Bracuk" <[email protected]> wrote in
    message
    news:fdrgde$6qu$[email protected]..
    > It's possible, but it's a better idea to look for ways
    to do it without
    > cold
    > fusion.
    >
    > Food for thought, I have a requirement to move data from
    one db to
    > another. I
    > use Cold Fusion to query the first db, output to text,
    and ftp the text
    > files
    > to another server. I also have a scheduled job that
    looks for these text
    > files
    > and loads them into db2.
    >

  • Overlap 2 queries below each other

    Hi Experts,
    I made a single query based on char. GL account with a hierarchy and some balance keyfigures.
    Obviously the GL account hierarchy contains both debit and credit nodes/leaves.
    In a BEX workbook i would like to show that <b>query two times</b>, below each other  (not besides). So i <b>don't</b> want to make 2 similar querys, with different filter settings. 1) should represent the debit view and 2 the credit side).
    At this moment when i open the workbook both query's start at hierarchy level 0 (for both debit and credit side). But when i expand the Debit side, now it overlaps the credit side.
    So my question is: is there somewhere a property that can auto position that 2nd query from the first? So if the 1st query is expanded 1 or 2 lines, the 2nd query starts 1 or 2 lines lower?
    Kind regards,
    Bart

    Thanks for quick reply,
    What should i explain more clear?
    Maybe with small graphical illustration?
    On start up is should look like this:
    <u>Q1a) Debit</u>
    > Fixed assets
    > Current assets
    >...etc
    <i>(1 or 2 empty rows)</i>
    <u>Q1b) Credit</u>
    > Equity
    > Provisions
    >...etc
    and then when i open fixed assets everything should move down.
    <u>Debit</u>
    + Fixed assets
    -Property
    - Int. assets
    -...etc
    > Current assets
    >....etc
    <i>(1 or 2 empty rows)</i>
    <u>Credit</u>
    > Equity
    > Provisions
    >...etc
    About your hint, what do you mean insert query?
    To insert a query i goto 'design mode' --> 'insert analysis grid' --> 'select infoprovider' etc.
    Is there another way?

Maybe you are looking for