Help me, sandbox validation

if an error occurs,
SecurityError: Error #2070:
     at flash.display:: Stage / requireOwnerPermissions ()
     at flash.display:: Stage / addEventListener ()
     at VideoSurfaceManager / registerStage ()
     at VideoSurfaceManager / onAddedToStage ()
     at flash.display:: DisplayObjectContainer / addChildAt ()
     at org.osmf.containers:: MediaContainer / onAddChildAt ()
     at flash.events:: EventDispatcher / dispatchEventFunction ()
     at flash.events:: EventDispatcher / dispatchEvent ()
     at org.osmf.layout:: LayoutRendererBase / addToStage ()
     at org.osmf.layout:: LayoutRendererBase / prepareTargets ()
     at org.osmf.layout:: LayoutRendererBase / measure ()
     at org.osmf.layout:: LayoutRendererBase / validateNow ()
     at org.osmf.layout:: LayoutRendererBase $ / onExitFrame ()
What should I do?
thx

a change default value in OSMFSettings.as
public static var enableStageVideo:Boolean = true;
to
public static var enableStageVideo:Boolean = false;
and this worked.
What do these changes affect the other,
and whether in the recommended or not

Similar Messages

  • Need help in date Validation Urgent

    Hi ,
    We need help in Date Validation.
    we have 2 Date fields on the form Start Date, End Date
    The requirement is: End Date (May not be greater than 30 years from the start date).
    I have written following script on End Date Exit event. But the problem is its calculating 30 years from the Current Date not from the Start Date
    var tDate = util.scand("mm/dd/yyyy", new Date());
    var M = tDate.getMonth();
    var D = tDate.getDate();
    var Y = tDate.getFullYear();
    var SRes = util.printd("yyyy-mm-dd", new Date((Y+30), M,D) );
    //app.alert(SRes)if (SRes <= this.rawValue){
    app.alert("May not be greater than 30 years from the start date")
    xfa.host.setFocus(
    this);}
    can someone please help me
    Regards,
    Jay

    Hi,
    You'll need to get javascript date from LCD field, and calculate & compare with the future date in javascript date.
    try following script;
    var sDate = StartDate.rawValue;
    var wkStartDate = util.scand("yyyy-mm-dd", sDate);
    var nYear = wkStartDate.getFullYear();
    var nMonth = wkStartDate.getMonth();
    var nDay = wkStartDate.getDate();
    var wkFutureDate = new Date(nYear  + 30 , nMonth, nDay);
    sDate = EndDate.rawValue;
    var wkEndDate = util.scand("yyyy-mm-dd", sDate);
    if (wkEndDate.getTime() > wkFutureDate.getTime()){
      xfa.host.messageBox("May not be greater than 30 years from the start date");
      xfa.host.setFocus(this);

  • Can you please help me with validation logic for Events in Table maintenance generator

    Can you please help me with validation logic for Events in Table maintenance generator,i.e if i enter record in 1st internal table then automatically 2nd internal table should be updated.

    Hi Glen Anthony,
        Thanks for replay,
         I used foreign key relationship between those 2 internal tables....
    I used event 05: When creating a new entry. I want to know the custom logic by which my 2nd Internal table gets automatically updated when i update my 1st Internal table
    Thanks Glen.

  • Help with date validation on input boxes.

    I need some help with date validation on input boxes.
    What I�m trying to create is a form where a user inputs dates and then the rest of the form calculates the other dates for them.
    i.e. � A user inputs 2 dates (A & B) and then a 3rd date which is 11 weeks before date B is calculated automatically.
    Is this possible and if so how do I do it ???
    Thanks

    Hi,
    to get third date try this:
    java.util.Date bDate = ...;
    Calendar yourCalendar = new GregorianCalendar();
    yourCalendar.setTime(bDate);
    yourCalendar.roll(Calendar.WEEK_OF_YEAR, -11);
    java.util.Date cDate = yourCalendar.getTime();Regards
    Ldinka

  • Help with form validation

    Hi,
    I am new to dreamweaver and I need to create a site for the
    cafe I work for. I tried to make a form for making reservations
    online. I made a table and put the fileds inside it. It looks
    great. However, when I preview it in the browser, a javascript
    error message pops up and tells me that all the forms are required
    AS SOON AS I CLICK THE FORM TO START TYPIng. ALl forms ARE required
    but I want the message to come up only after clicking submit.
    Please help.
    Also, if anyone has an easy way to send the form infomation
    via email, it would be greatly appreciated.
    Thanks,
    Aaron
    Norfolk, VA

    Check the behaviors panel, your validation script is probably
    set to fire onFocus, in design view click on the form button, then
    set the 'Validate Form' behavior to onClick, you can select it from
    the menu. When you set the behavior most of the time DW changes to
    onFocus evan though you select onCLick.
    What scripting language are you using ASP PHP CFM, there are
    lots of products you can buy for emailing form data or look at some
    tutorials online.

  • Help On schema validation

    Hi,
    I am a newbie in XML schema territory.
    I generates a xml using 'SELECT XMLQuery( ...)' -- This finally works after upgrading to 10.2.0.3!
    1) What methods do you recommend to validate the query result agaist the schema? The query result is first returned as 'XMLType' type, and then
    I turned it into a CLOB.
    At the end, I save the output into a file (via CLOB to String).
    2) How do I register the schema in DB? Can I install the schema on the file system, instead? I am not sure which way is simpler and easier. I'd yearn for any simpler method, if any --- a common complaint from any beginner, I guess.
    A few pointers will help me a great deal.
    Sun

    Sun,
    You can take a look at an FAQ thread on this topic: How does XML DB handle XML Schema Validation ?
    Regards,
    Geoff

  • Help Required regding: Validation on Data Loading from Flat File

    Hi Experts,
    I need u r help in the following issue.
    I need to validated the transactional data loading to the GL Cube from Flat file,
    1) The transactional data to the Cube to be loaded <b>only if master data</b> record exists for the <b>“0GL_ACCOUNT”</b> info object.
    2) If the master data record does not exits then the record need to be skipped from the loading and after the loading  the system should throw a message saying that these many records have been skipped (if there are any skipped records.).
    I would really appriciate u r help and suggestions on solving this issue.
    Regds
    Hari

    Hi, write a <b>start routine</b> in transfer rules like this.
      DATA: l_s_datapak_line type TRANSFER_STRUCTURE,
            l_s_errorlog TYPE rssm_s_errorlog_int,
            <b>l_s_glaccount type /BI0/PGLACCOUNT</b>,
            new_datapak type tab_transtru.
           refresh new_datapak.
           loop at datapak into l_s_datapak_line.
           select single * from /BI0/PGLACCOUNT into l_s_glaccount
             where CHRT_ACCTS eq l_s_datapak_line-<b>field name in transfer structure/datsource for CHRT_ACCTS</b>
    and GL_ACCOUNT eq l_s_datapak_line-<b>field name in transfer structure/datsource for GL_ACCOUNT</b>
    and OBJVERS eq 'A'.
           if sy-subrc eq 0.
             append l_s_datapak_line to new_datapak.
           endif.
           endloop.
           datapak = new_datapak.
           if datapak[] is initial.
    abort <> 0 means skip whole data package !!!
             ABORT = 4.
           else.
             ABORT = 0.
           endif.
    i have already some modifications but U can slightly change it to suit your need.
    regards
    Emil

  • JTA Transaction--please help-----Xid not valid

    HI,
    I am writing a small application which i am posting at the end.This is decription of my application.I am writing a jsp.Later on i will be using in some other way.
    I am using Oracle XA implementation to communicatewith my RM which oracle8.1.7 .
    I am creating two XAConnection with two data instances 'test' and 'test3' .These two reside on my local machine in the same database server.
    With the code which i am sending you i have tried two cases.
    First Case
    1)i use only one XAConnection object of say 'test'.
    2)enlist its XADataSource with my transaction Object
    3) get two connection objects and execute two sql's on themMy code works fine and maintains the transaction.
    Second Case
    1) I use create two XAConnection objects. one of 'test' and other of 'test3'.
    2) enlist their XAResources with transaction object.
    3) Now i take one connection from each of XAConnection and execute two sqls, oneon each of them.
    It gives me exception while enlisting second XAResource with transaction objeectsaying that "The Xid is not valid".
    below is the stackTrace.
    javax.transaction.SystemException: start() failed on resource 'oracle.jdbc.xa.client.OracleXAResource':XAER_NOTA : The XID is not valid
    oracle.jdbc.xa.OracleXAException at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:483)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:190)
    at weblogic.transaction.internal.ServerResourceInfo.start(ServerResourceInfo.java:1165)
    at weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResourceInfo.java:1108)
    <----------------------CODE------------------------------------------------------>
    <html>
    <body bgcolor=tan>
    <%@page session="true" %>
    <%@page import="java.util.Hashtable,java.sql.*,javax.naming.*,javax.transaction.*,javax.sql.*,oracle.jdbc.xa.client.OracleXADataSource,javax.rmi.PortableRemoteObject,javax.transaction.xa.XAResource" %>
    <%!
    private static XAConnection getFirstXAConnection() throws java.sql.SQLException{
         OracleXADataSource oxadsFirst = new OracleXADataSource();
         String urlFirst = "jdbc:oracle:thin:@70.7.51.80:1521:test";
         oxadsFirst.setURL(urlFirst);
         XAConnection xaConnectionFirst = oxadsFirst.getXAConnection("scott","tiger");
    return xaConnectionFirst;
    private static XAConnection getSecondXAConnection() throws java.sql.SQLException{
              OracleXADataSource oxadsSec= new OracleXADataSource();
              String urlSec = "jdbc:oracle:thin:@70.7.51.80:1521:test3";
              oxadsSec.setURL(urlSec);
              XAConnection xaConnectionSec = oxadsSec.getXAConnection("scott","tiger");
    return xaConnectionSec;
    %>
    <%
    Context ctx = null;
         Hashtable ht = new Hashtable();
         ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
         ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
         try{
              ctx = new InitialContext(ht);
              //javax.transaction.UserTransaction transaction = (javax.transaction.UserTransaction)ctx.lookup("java:comp/UserTransaction");
              System.out.println("Before Lookup JNDI UserTransaction and TransactionManager......................");
              //javax.transaction.UserTransaction userTx = (javax.transaction.UserTransaction)ctx.lookup("javax.transaction.UserTransaction");
              javax.transaction.TransactionManager transactionManager = (javax.transaction.TransactionManager)ctx.lookup("javax.transaction.TransactionManager");
              System.out.println("After Lookup TransactionManager......................");
    try{
                   transactionManager.begin();
                   Transaction transaction = transactionManager.getTransaction();
                   System.out.println("Transaction Object ----------------------------->"+transaction);
    XAConnection xaConFirst = getFirstXAConnection();
    XAResource xaResourceFirst = xaConFirst.getXAResource();
    System.out.println("xaResourceFirst Object ----------------------------->"+xaResourceFirst);
    XAConnection xaConSecond = getSecondXAConnection();
    XAResource xaResourceSecond = xaConSecond.getXAResource();
    System.out.println("xaResourceSecond Object ----------------------------->"+xaResourceSecond);
    if(!xaResourceFirst.isSameRM(xaResourceSecond) )
    System.out.println("<-----------------BOTH THE RESOURCES ARE NOT SAME SMAE SAME----------------------------->");
    boolean firstEnlistBool = transaction.enlistResource(xaResourceFirst);
    System.out.println("firstEnlistBool ----------------------------->"+firstEnlistBool);
    boolean secondEnlistBool = transaction.enlistResource(xaResourceSecond);
    System.out.println("secondEnlistBool -------------------------> "+secondEnlistBool);
    java.sql.Connection firstConn = xaConFirst.getConnection();
    Statement stmt = firstConn.createStatement();
    stmt.executeQuery("insert into dept values(60,'MARKETING','NEW DELHI')");
    java.sql.Connection secondConn = xaConSecond.getConnection();//xaConFirst.getConnection();//
    stmt = secondConn.createStatement();
    //stmt.executeQuery("insert into account values(20,20)");
    stmt.executeQuery("insert into salgrade values(10,10,10)");
    if(Status.STATUS_ACTIVE == transactionManager.getStatus() )
    System.out.println("Before committing status "+transactionManager.getStatus() );
    transactionManager.commit();
    System.out.println("After committing");
              } catch(SQLException sqlE){
                        sqlE.printStackTrace();
                        catch(Exception e){
                                            e.printStackTrace();
         } catch (Exception ex) {
              ex.printStackTrace();
              finally {
                   try {
                        ctx.close();
                        catch (Exception e) {
                             e.printStackTrace();
                   } // close finally
    %>
    <form method="post">
    <input type="submit" name="submit" value="Call Transaction Bean">
    </form>
    </html>
    <-------------------------------------------------------------------------------->
    please help in this..I am stuck with this and dont kow how to move ahead to remove this problem..
    Best Regards
    Akhil Nagpal

    Hi,
    Hi Vicky,
    I think we are in different time zones. I am south
    korea.I have tried your suggestion but it gives me
    the same exception.Yes ,there is a difference of 3.5 hours , I am in India(Mumbai).
    This is what i am trying to achieve.
    My aim is to create some aplication to which i can
    register my XADataSources and this application should
    be able to handle the distributed transactions among
    them.I will be using the TransactionManager of some
    application server.SO i am using weblogic7.0.
    For the testing purpose i have creaed a jsp as i
    i posted the code. I am very new to this JTA and may
    be i am doing wrong.Can you help me this but putting
    insights into your experience may be that will
    increase my enthusiasm :-) ....
    please help me in this.
    I am extracting the following from the docs
    public interface TransactionManager
    The TransactionManager interface defines the methods that allow an application server to manage transaction boundaries.
    public interface UserTransaction
    The UserTransaction interface defines the methods that allow an application to explicitly manage transaction boundaries
    So as per your specs I can understands your application is trying to explicitily control the boundaries of the transaction, so you should use the UserTransction instance to begin the Transaction.My understanding says the TransactionManager will come in picture for declarative transaction and UserTransaction for the your case.I think you have tried that , I would have tried this out here but I dont work on weblogic.Do the things cooly and try to understand the concept.Let me know of the results.
    Regards
    Vicky

  • Help need on Validations in inline-popup task flow

    Hi,
    I create a adf application, which refer ready only table and in toolbar, there are some button, which used to insert and edit records. For insert and edit i used a edit.jspx page which come as a inline poup in taskflow. In inline popup i used a button called submit, which used for two purposes.
    1) To validate two fields(ex:- effectiveto should be greather than effectivefrom)
    2) To close inline popup.
    i have done the validaitons using a managedbean and facesconfig.xml validators. My problem is can i do this both requirements by pressing only submitt button, i mean if validation are passed then automatically close the popup.
    Really appreciate if anyone can help me on this issue.
    Yaham.

    Hi,
    use the button "action" or "action listener" property to close the popup. Validation is processed after the apply request phase in the JSF lifecycle and thus comes before actions to be executed, which will be in invoke application phase.
    Frank

  • Help with W3 validation

    I have 5 errors on my page:  http://www.healthquestpt.com/hpc/index.html and because these are related to working with an external javascript, I dont know how (or if I should) to fix them and have it all still work properly.  Any help is greatly appreciated!

    Thank you very much Mr. Powers.  I got the ampersand taken care of as well as the upper to lower case issues.  I still have one error that I cant figure out how to resolve.  I actually have it 3x's but it's only flagging the first one.
    <td class="tabnav"  background="images/tab1.gif" width="120" height="25" valign="bottom">
              <center><a href="hospitals.html"
                  onmouseover="jsfx.fadeIn('tvscreen','hospital')"
                  onmouseout="jsfx.fadeOut('tvscreen')"><b>Hospitals</b></a></center></td>
              <td class="tabnav" background="images/tab2.gif" width="170" height="25" valign="bottom">
              <center><a href="clinical.html"
                  onmouseover="jsfx.fadeIn('tvscreen','practice')"
                  onmouseout="jsfx.fadeOut('tvscreen')"><b>Clinical Practices</b></a>
              </center>
              </td>
              <td class="tabnav" background="images/tab1.gif" width="120" height="25" valign="bottom">
    It says "no background attribute"  I tried using css to define the backbround image but it would cut them off.
    Here is the full code of the table these are nested in:
      <div class="col2">
      <table width="412" align="center" class="style1">
              <tr>
              <td class="tabnav"  background="images/tab1.gif" width="120" height="25" valign="bottom">
              <center><a href="hospitals.html"
                  onmouseover="jsfx.fadeIn('tvscreen','hospital')"
                  onmouseout="jsfx.fadeOut('tvscreen')"><b>Hospitals</b></a></center></td>
              <td class="tabnav" background="images/tab2.gif" width="170" height="25" valign="bottom">
              <center><a href="clinical.html"
                  onmouseover="jsfx.fadeIn('tvscreen','practice')"
                  onmouseout="jsfx.fadeOut('tvscreen')"><b>Clinical Practices</b></a>
              </center>
              </td>
              <td class="tabnav" background="images/tab1.gif" width="120" height="25" valign="bottom">
              <center><a href="patients.html"
                  onmouseover="jsfx.fadeIn('tvscreen','patient')"
                  onmouseout="jsfx.fadeOut('tvscreen')"><b>Patients</b></a></center></td></tr></table>
                    <table width="412" cellspacing="0" cellpadding="0" border="1" align="center" bgcolor="#ffffff">
                          <tr>
                          <td background="images/window1.gif">
                                <img name="tvscreen"
                                    src="images/window1.gif" width="412" height="217" class="imgFader" border="0" alt="" /></td>
                          </tr>
            </table> </div>      
    Here are the related CSS classes:
    .col2
    float: left;
    margin-left: 70px;
    .style1
    font-family: Arial;
    font-size:14px;
    font-weight: bold;
    text-align: center;
    .tabnav a
    text-decoration: none;
    font-family: "arial narrow";
    font-weight: bold;
    font-size: 14px;
    color: #0052a4;
    padding: 0;
    .tabnav a:hover
    color: #1e1e1e;
    text-decoration: underline;
    Since the W3 validation is only flagging Line 73 and not the other <td>'s do I need to worry about fixing it?  If so, please help because everything I tried messsed it up.
    Thanks!!!!!!!!!!!!!!!

  • Any help on building Validation on Taxanomy.

    Hi,
    I am new to MDM, could any one guide me how to built validations on taxanomy?
    There are 2 taxanomy tables and i have to check wheather a field value is same in both taxanomy tables.
         It will be great help if some one forward some links where i can know abt building validation on taxanomy.
    Regards,

    Hi Rajeev,
    Assuming that the product table is link to the fields from both taxonomy tables...
    You go to the validation tab in MDM data manager and from fields select your taxonomy1 field name and then from operators select '=' and then again from fields select taxonomy2 field name and you are all set. The expression should look like something this
    Category [Name] = Category2 [Name]
    This expression will return false if the values are not equal and true (no errors) if they are.
    -Y

  • Please help on reservation validity

    Dear All,
    User created the reservation using transaction code MB21 on 2nd December 2008 and 16th Dec 2008, when he is transfering materials he is getting the error message "Document does not contain any selected items" when I check the reservation
    Goods movement for reservation allowed --> checked
    Final issue for this reservation -- compleated (checked)
    Item is deleted -- Checked
    Base Date is --> 02-12-2008 check againest factory calender
    in OMBN Transaction configration setting are as below
    Goods movement for reservation allowed --> checked
    No. of days, if 'movement allowed' is set automatically --> 10
    Retention period, in days, for reservation items --> 30
    Please check and do the needful.
    Thanks & Regards,
    MK

    Hi Srinivas,
      That means it is valid only 10days from base date am i right? ( but my user is trying to move the stock before 10days still its not working), please help me to solve this issue.
    Thanks & Regards,
    Murali.

  • Help Pls -- Simple Validation Script not working

    -- yet another form I am working on --
    I have a numeric field and the entry number can't be no larger than 7 -- I have tried different variations of the script, and I don't know why it isn't working. I know it's something simple..just can't see it!
    Please help!
    ----- topmostSubform.Page1.NumericField12[0]::exit: - (JavaScript, client) -------------------------
    if topmostSubform.Page1.NumericField12[0].rawValue >= 8
    xfa.host.messageBox("Invalid Number Must be 7 or smaller");

    Thanks..you helped me before.....thanks a million...
    I got it to work with the validation feature also...
    I'm gonna take this opportunity to solve another problem -- a real one this time..
    Fields A and B - read only numeric fields (calculated)
    new field C - requires Field A divided by Field B and then check to see if correct radio button is checked and if not then put an asterick beside number in Field C! Hope this makes sense...
    Field C - a/b I get an arithmetic overflow/underflow message...
    Please help again!

  • Help V1.5 Validation Gone!

    Two problems since doing the upgrade to 1.5
    Old forms which looked fine now show the spry messages when
    you view them in the browser.
    This form which I carefully worked over so it appears correct
    in DreamWeaver 9 will not validate any filed no color coding shows
    up at all. Like it can't find or use the CSS.
    In IE you see the color coding but now validation happens in
    Firefox neither. And of course IE still has the display problem
    with Selects that no one ever responded to.
    You can access the page at
    The
    Become A
    Member
    I really need help with this I am basically stuck on
    something I thought was almost done.

    OK I havenarrowed it down.
    If I remove this
    var state = new Spry.Widget.ValidationSelect("state"
    {validateOn:["change"]});
    it works fine
    This is supposed to go with this select
    <tr id="state">
    <td bgcolor="#FFFFFF">State:</td>
    <td bgcolor="#FFFFFF"><div
    spry:region="states"><span id="states">
    <select name="state" spry:repeatchildren="states">
    <option value="{@abbreviation}">{@name}</option>
    </select>
    <span class="selectRequiredMsg">Please select a
    State.</span></span></td>
    </tr>
    So what am I doing wrong?

  • Help!  After validation failure, Detail region of Master Detail page does not refresh.

    Hello.
    I am running a validation to prevent deletion of a purchase order (PO) when invoices exist for the PO.
    When the condition is found (invoices exist), the deletion process is halted and a message is posted to the page.
    I would like for both Master and Detail data of the PO to be refreshed.  However, only the Master
    record is refreshed.  I get the following error for the detail data:  The detail is found through the Master Header primary Key (DetailRecord.PO_ID = :P230_PO_ID )
    ORA:01445: Cannot select ROWID from, or sample, a join view without a key preserved table.
    ORA-06510 - PL/SQL unhandled user-defined exception.
    I'm not sure why this message should come up.  I do not clear cache or reset the page or anything like that.
    Any hints?

    Just an FYI for everybody who may have this very same problem in the future.  I fixed the error and it had nothing to do with ROWID or views or anything like that.  Under the Page Rendering section where you define the region definition under the source section, I had included the 'order by' clause in my SQL statement.  This was the cause of my ORA-01445 error!  When I removed the clause from the source definition and instead included it within the Report Attributes by checking the Sort box for the appropriate column (thus allowing APEX to generate the sort for me), the error disappeared!  The Oracle error message would NEVER have given me a clue into what caused the error.  I just happened to think 'what if I take the order by clause out'!  How's that for a flukey fix! 

Maybe you are looking for

  • After 1 year of use FCPX crawls and unusable?

    I purchased the 1st version of FCPX one year ago and produced an awesome 5 minute music video with no problems whatsoever on a OSX 10.6.8 Mac Pro Quad Core with 6mb of Ram, 3 one TB hard drives (1 for the system, 1 for Video, 1 for Audio).  it worked

  • How do I change a printers workgroup??? HP OfficeJet Pro 8500A Plus

    Hi   I purchased a new printer direct from HP, a HP-OfficeJet Pro 8500 Plus. My setup has 5 PC's 3 servers & 1 laptop. Hard-wired network & 2 wireless networks. 2 Network Hubs and 1 ADSL2 Modem/Router This is a pro setup and I am a very experienced u

  • Pixelated pre view images

    Many of my pre view photos are becoming pixelated. Only psd & jpeg not my raw files. once they are opened everything is ok. Anybody know what this is about?

  • Beginner question: can't get same view as David Power's tutorial

    I am following the adobe website tutorial written (very well) by David Powers. (http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt2.html) I am on part 2. Step 1 is make sure the Check Magazine site is selected in the Files panel (see F

  • Neo 2 Which SATA?

    Im currently using SATA 1 & 2 but was just wondering if this would have any effect on my oc's seem to be hitting the ceiling at about 238fsb, just thinking about the K8N NEO (754) using 3 & 4 was better